/* =========================================================
   CLICK SOLUTION PH
   GLOBAL RESPONSIVE STYLESHEET
========================================================= */

:root {
    --navy-950: #03132f;
    --navy-900: #071a3d;
    --navy-850: #0a214c;
    --navy-800: #0c2c60;
    --navy-700: #16477f;

    --orange-700: #db7600;
    --orange-600: #f18700;
    --orange-500: #ff9900;
    --orange-400: #ffa928;
    --orange-300: #ffc466;
    --orange-100: #fff3df;

    --green-700: #117747;
    --green-100: #e7f7ef;

    --red-700: #9c2f2f;
    --red-100: #fff0f0;

    --white: #ffffff;
    --gray-50: #f7f9fc;
    --gray-100: #eef2f7;
    --gray-200: #dfe6ee;
    --gray-300: #ccd6e2;
    --gray-400: #9caabc;
    --gray-500: #728095;
    --gray-600: #536176;
    --gray-700: #38465a;
    --gray-800: #253246;
    --gray-900: #121b2a;

    --text: #334259;
    --heading: #071f49;

    --radius-small: 8px;
    --radius: 14px;
    --radius-large: 22px;
    --radius-round: 999px;

    --shadow-small:
        0 8px 22px rgba(5, 26, 61, 0.08);

    --shadow-medium:
        0 16px 40px rgba(5, 26, 61, 0.13);

    --shadow-large:
        0 28px 70px rgba(5, 26, 61, 0.18);

    --container: 1180px;
    --header-height: 78px;
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--white);
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

main {
    min-height: 60vh;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
    margin-top: 0;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-right: auto;
    margin-left: auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
    min-height: var(--header-height);
    color: var(--white);
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.site-header.scrolled {
    background: rgba(3, 19, 47, 0.98);
    box-shadow: 0 12px 30px rgba(3, 19, 47, 0.25);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 25px;
}

.brand {
    display: flex;
    flex: 0 0 220px;
    align-items: center;
    width: 220px;
    height: 68px;
    overflow: visible;
}

/*
   mix-blend-mode helps remove the visible dark rectangle
   around a logo that has a black or dark-blue background.
*/
.brand img {
    width: 220px;
    height: 62px;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: screen;
    filter:
        brightness(1.12)
        contrast(1.08)
        saturate(1.08);
    transform: scale(1.08);
    transform-origin: left center;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.main-nav > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 11px;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.main-nav > a:not(.nav-cta)::after {
    position: absolute;
    right: 11px;
    bottom: 3px;
    left: 11px;
    height: 2px;
    content: "";
    border-radius: var(--radius-round);
    background: var(--orange-500);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-nav > a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.main-nav > a:hover::after {
    transform: scaleX(1);
}

.main-nav .nav-cta {
    min-height: 46px;
    margin-left: 10px;
    padding-right: 20px;
    padding-left: 20px;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--orange-400),
            var(--orange-600)
        );
    box-shadow: 0 10px 24px rgba(255, 153, 0, 0.27);
}

.main-nav .nav-cta:hover {
    background:
        linear-gradient(
            135deg,
            var(--orange-500),
            var(--orange-700)
        );
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 0;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.09);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: var(--radius-round);
    background: var(--white);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 23px;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--orange-400),
            var(--orange-600)
        );
    box-shadow: 0 10px 24px rgba(255, 153, 0, 0.25);
}

.btn-primary:hover {
    background:
        linear-gradient(
            135deg,
            var(--orange-500),
            var(--orange-700)
        );
    box-shadow: 0 14px 28px rgba(255, 153, 0, 0.33);
}

.btn-dark {
    color: var(--white);
    background: var(--navy-900);
    box-shadow: 0 10px 24px rgba(7, 26, 61, 0.2);
}

.btn-dark:hover {
    background: var(--navy-700);
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    color: var(--navy-900);
    border-color: var(--white);
    background: var(--white);
}

.btn-dark-outline {
    color: var(--navy-900);
    border-color: var(--navy-900);
    background: transparent;
}

.btn-dark-outline:hover {
    color: var(--white);
    background: var(--navy-900);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: var(--white);
    background:
        var(--navy-900)
        url("../images/homebanner.jpg")
        center center / cover
        no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(2, 15, 36, 0.98) 0%,
            rgba(4, 26, 59, 0.88) 38%,
            rgba(4, 26, 59, 0.37) 65%,
            rgba(4, 26, 59, 0.08) 100%
        );
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 150px;
    content: "";
    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(2, 15, 36, 0.42)
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 620px;
    padding-top: 55px;
    padding-bottom: 85px;
}

.hero-copy {
    width: min(100%, 680px);
}

.hero-eyebrow {
    display: inline-flex;
    margin-bottom: 17px;
    padding: 7px 13px;
    color: #ffd393;
    border: 1px solid rgba(255, 169, 40, 0.4);
    border-radius: var(--radius-round);
    background: rgba(255, 153, 0, 0.13);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 690px;
    margin-bottom: 16px;
    font-size: clamp(42px, 5.2vw, 70px);
    font-weight: 950;
    line-height: 0.99;
    letter-spacing: -0.045em;
}

.hero h1 span {
    display: block;
    margin-top: 8px;
    color: var(--orange-500);
}

.hero-description {
    max-width: 580px;
    margin-bottom: 27px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 550;
    line-height: 1.5;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 690px;
    margin-bottom: 28px;
    gap: 8px;
}

.hero-benefit {
    display: flex;
    align-items: center;
    min-height: 65px;
    padding: 7px;
    gap: 9px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.3;
}

.benefit-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--orange-400);
    border: 1px solid rgba(255, 169, 40, 0.43);
    border-radius: 50%;
    background: rgba(255, 153, 0, 0.1);
    font-size: 21px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
    gap: 12px;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.hero-phone-icon {
    display: inline-flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    font-size: 23px;
}

.hero-phone small {
    display: block;
    color: rgba(255, 255, 255, 0.74);
    font-size: 11px;
    font-weight: 700;
}

.hero-phone strong {
    display: block;
    font-size: 23px;
    line-height: 1.1;
}

/* =========================================================
   TRUST / ACCREDITATION
========================================================= */

.trust-section {
    position: relative;
    z-index: 5;
    padding-bottom: 8px;
    background: var(--white);
}

.trust-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: -46px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: var(--shadow-medium);
}

.trust-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 145px;
    padding: 22px 18px;
    gap: 13px;
}

.trust-item:not(:last-child)::after {
    position: absolute;
    top: 23px;
    right: 0;
    bottom: 23px;
    width: 1px;
    content: "";
    background: var(--gray-200);
}

.trust-logo-wrap {
    display: flex;
    flex: 0 0 65px;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
}

.trust-logo-wrap img {
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
}

.trust-item h3 {
    margin-bottom: 4px;
    color: var(--heading);
    font-size: 14px;
    line-height: 1.25;
}

.trust-item p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 11px;
    line-height: 1.45;
}

.trust-caption {
    margin: 15px 0 0;
    color: var(--navy-800);
    font-size: 14px;
    font-weight: 850;
    text-align: center;
}

/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 72px 0;
}

.section-heading {
    max-width: 730px;
    margin-bottom: 38px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2,
.inverter-copy h2,
.contact-copy h2 {
    margin-bottom: 14px;
    color: var(--heading);
    font-size: clamp(31px, 4vw, 48px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 16px;
}

.section-kicker,
.contact-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--orange-600);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.centered-action {
    display: flex;
    justify-content: center;
    margin-top: 27px;
}

/* =========================================================
   PACKAGES
========================================================= */

.packages-section {
    padding-top: 58px;
    padding-bottom: 64px;
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(255, 153, 0, 0.08),
            transparent 34%
        ),
        var(--white);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.package-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    min-width: 0;
    border: 1px solid rgba(241, 135, 0, 0.42);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-small);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.package-card:hover {
    border-color: var(--orange-500);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.package-capacity {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-width: 66%;
    min-height: 37px;
    margin: 14px 14px 0;
    padding: 8px 16px;
    color: var(--white);
    border-radius: 9px;
    background:
        linear-gradient(
            135deg,
            var(--navy-800),
            var(--navy-950)
        );
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
}

.package-layout {
    display: grid;
    flex: 1;
    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(110px, 0.82fr);
    padding: 15px 14px 8px;
    gap: 8px;
}

.package-information {
    min-width: 0;
}

.package-information h2,
.package-information h3 {
    margin-bottom: 8px;
    color: var(--navy-900);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.22;
}

.package-price {
    margin-bottom: 10px;
}

.package-price small {
    display: block;
    color: var(--gray-500);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.package-price strong {
    display: block;
    color: var(--orange-600);
    font-size: clamp(25px, 2.6vw, 34px);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.package-description {
    margin-bottom: 11px;
    color: var(--gray-600);
    font-size: 11px;
    line-height: 1.45;
}

.feature-list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 6px;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 18px;
    color: var(--navy-900);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.feature-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    content: "✓";
    color: var(--white);
    border-radius: 50%;
    background: var(--orange-500);
    font-size: 8px;
    font-weight: 900;
}

.package-image-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
}

.package-image-wrap img {
    width: 100%;
    max-height: 225px;
    object-fit: contain;
    object-position: center bottom;
}

.package-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 8px 14px 14px;
    padding: 9px 14px;
    color: var(--white);
    border-radius: 9px;
    background:
        linear-gradient(
            135deg,
            var(--orange-400),
            var(--orange-600)
        );
    font-size: 13px;
    font-weight: 850;
    text-align: center;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.package-button:hover {
    background:
        linear-gradient(
            135deg,
            var(--orange-500),
            var(--orange-700)
        );
    transform: translateY(-1px);
}

.package-benefit-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
    overflow: hidden;
    color: var(--white);
    border-radius: 0 0 11px 11px;
    background:
        linear-gradient(
            135deg,
            var(--navy-900),
            var(--navy-950)
        );
}

.package-benefit-bar > div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75px;
    padding: 14px 21px;
    gap: 11px;
}

.package-benefit-bar > div:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.package-benefit-bar > div > span {
    color: var(--orange-400);
    font-size: 27px;
}

.package-benefit-bar p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    line-height: 1.35;
}

.package-benefit-bar strong {
    display: block;
    color: var(--white);
    font-size: 12px;
}

/* =========================================================
   INVERTERS
========================================================= */

.inverter-section {
    padding-top: 70px;
    padding-bottom: 70px;
    background: var(--gray-50);
}

.inverter-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.83fr)
        minmax(0, 1.55fr);
    align-items: stretch;
    gap: 35px;
}

.inverter-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.inverter-copy h2 {
    font-size: clamp(31px, 3.2vw, 44px);
}

.inverter-copy > p {
    margin-bottom: 20px;
    color: var(--gray-600);
}

.orange-check-list {
    display: grid;
    margin: 0 0 26px;
    padding: 0;
    gap: 9px;
    list-style: none;
}

.orange-check-list li {
    position: relative;
    padding-left: 26px;
    color: var(--navy-900);
    font-size: 14px;
    font-weight: 700;
}

.orange-check-list li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    content: "✓";
    color: var(--white);
    border-radius: 50%;
    background: var(--orange-500);
    font-size: 10px;
}

.inverter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.inverter-option-card {
    display: grid;
    overflow: hidden;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(105px, 130px);
    align-items: center;
    min-height: 235px;
    padding: 23px;
    gap: 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.small-label {
    display: block;
    margin-bottom: 7px;
    color: var(--orange-600);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.inverter-option-card h3 {
    margin-bottom: 9px;
    color: var(--navy-900);
    font-size: 16px;
    line-height: 1.25;
}

.inverter-option-card p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 11px;
}

.inverter-option-card img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.control-room-card {
    position: relative;
    min-height: 255px;
    overflow: hidden;
    grid-column: 1 / -1;
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
}

.control-room-card > img {
    width: 100%;
    height: 100%;
    min-height: 255px;
    object-fit: cover;
}

.control-room-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: var(--white);
    background:
        linear-gradient(
            to bottom,
            transparent 24%,
            rgba(3, 19, 47, 0.92)
        );
}

.control-room-overlay span {
    color: var(--orange-300);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.control-room-overlay strong {
    font-size: 23px;
    line-height: 1.2;
}

/* =========================================================
   REFERRAL BANNER
========================================================= */

.referral-section {
    padding: 0 0 65px;
    background: var(--gray-50);
}

.referral-banner {
    position: relative;
    display: grid;
    overflow: hidden;
    grid-template-columns:
        minmax(250px, 0.9fr)
        minmax(275px, 1.02fr)
        minmax(340px, 1.35fr)
        180px;
    align-items: stretch;
    min-height: 158px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-medium);
}

.referral-banner::after {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 180px;
    content: "";
    background: var(--navy-950);
}

.referral-banner > * {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.referral-amount {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    padding: 24px 22px;
    color: var(--navy-900);
    background:
        linear-gradient(
            135deg,
            var(--orange-400),
            #ffb53e
        );
    text-transform: uppercase;
}

.referral-amount span {
    font-size: 22px;
    font-weight: 950;
    line-height: 1;
}

.referral-amount strong {
    display: block;
    max-width: 100%;
    margin-top: 7px;
    color: var(--navy-900);
    font-size: clamp(42px, 3.25vw, 56px);
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: -0.045em;
    white-space: nowrap;
    text-shadow: 0 3px 0 rgba(255, 255, 255, 0.55);
}

.referral-message {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    padding: 23px 18px;
}

.referral-message small {
    display: block;
    margin-bottom: 6px;
    color: var(--orange-700);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.referral-message h2 {
    max-width: none;
    margin: 0;
    overflow-wrap: normal;
    color: var(--navy-900);
    font-size: clamp(18px, 1.5vw, 23px);
    font-weight: 950;
    line-height: 1.08;
    text-transform: uppercase;
}

.referral-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    padding: 18px 8px;
    gap: 5px;
}

.referral-benefits > div {
    min-width: 0;
    text-align: center;
}

.referral-benefits span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-bottom: 7px;
    color: var(--orange-600);
    border: 2px solid var(--navy-800);
    border-radius: 50%;
    background: var(--white);
    font-size: 21px;
}

.referral-benefits p {
    max-width: 112px;
    margin: 0 auto;
    overflow-wrap: normal;
    color: var(--navy-900);
    font-size: 9px;
    font-weight: 850;
    line-height: 1.2;
}

.referral-button {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    min-height: 49px;
    margin: 16px;
    padding: 11px 12px;
    color: var(--navy-900);
    border-radius: 8px;
    background: var(--orange-400);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.referral-button:hover {
    background: var(--orange-500);
    transform: translateY(-2px);
}

/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding-top: 68px;
    background: var(--white);
}

.services-grid {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid rgba(241, 135, 0, 0.3);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.service-item {
    display: flex;
    align-items: center;
    min-height: 108px;
    padding: 18px;
    gap: 12px;
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    transition: background 0.2s ease;
}

.service-item:nth-child(5n) {
    border-right: 0;
}

.service-item:nth-last-child(-n + 5) {
    border-bottom: 0;
}

.service-item:hover {
    background: var(--orange-100);
}

.service-icon {
    display: inline-flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    color: var(--navy-800);
    border-radius: 10px;
    background: var(--gray-100);
    font-size: 22px;
    font-weight: 900;
}

.service-item h3 {
    margin-bottom: 0;
    color: var(--navy-900);
    font-size: 13px;
    line-height: 1.25;
}

.service-note {
    margin: 14px 0 0;
    color: var(--navy-800);
    font-size: 13px;
    font-weight: 750;
    text-align: center;
}

/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-section {
    padding-top: 50px;
    background:
        linear-gradient(
            to bottom,
            var(--white),
            var(--gray-50)
        );
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.why-card {
    display: flex;
    min-height: 180px;
    padding: 24px;
    gap: 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.why-icon {
    display: inline-flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: var(--navy-800);
    border-radius: 14px;
    background: var(--orange-100);
    font-size: 27px;
    font-weight: 900;
}

.why-card h3 {
    margin-bottom: 7px;
    color: var(--navy-900);
    font-size: 16px;
}

.why-card p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 12px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    color: var(--white);
    background:
        linear-gradient(
            110deg,
            rgba(3, 19, 47, 0.98),
            rgba(7, 45, 94, 0.96)
        ),
        url("../images/homebanner.jpg")
        center / cover
        no-repeat;
}

.contact-section::before {
    position: absolute;
    top: -160px;
    left: -190px;
    width: 500px;
    height: 500px;
    content: "";
    border: 80px solid rgba(255, 153, 0, 0.06);
    border-radius: 50%;
}

.contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(0, 1.35fr);
    align-items: center;
    gap: 52px;
}

.contact-kicker {
    color: var(--orange-300);
}

.contact-copy h2 {
    color: var(--white);
}

.contact-copy h2 span {
    color: var(--orange-400);
}

.contact-copy > p {
    margin-bottom: 23px;
    color: rgba(255, 255, 255, 0.78);
}

.contact-phone-list {
    display: grid;
    margin-bottom: 24px;
    gap: 8px;
}

.contact-phone-list a {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
}

.contact-phone-list a span {
    color: var(--orange-400);
}

.contact-benefits {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 8px;
    list-style: none;
}

.contact-benefits li {
    position: relative;
    padding-left: 27px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 700;
}

.contact-benefits li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    content: "✓";
    color: var(--navy-900);
    border-radius: 50%;
    background: var(--orange-400);
    font-size: 10px;
    font-weight: 900;
}

.contact-form-card {
    padding: 27px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-large);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-large);
}

.contact-form {
    display: grid;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.form-group {
    display: grid;
    gap: 6px;
}

.form-group label {
    color: var(--navy-900);
    font-size: 11px;
    font-weight: 850;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
    outline: none;
    border-radius: 8px;
    background: var(--white);
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 115px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.14);
}

.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--gray-600);
    font-size: 11px;
    line-height: 1.4;
}

.consent-field input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--orange-500);
}

.form-submit {
    width: 100%;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.alert {
    margin-bottom: 15px;
    padding: 13px 15px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.alert-success {
    color: var(--green-700);
    border: 1px solid #bae5cd;
    background: var(--green-100);
}

.alert-error {
    color: var(--red-700);
    border: 1px solid #f0c1c1;
    background: var(--red-100);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    color: rgba(255, 255, 255, 0.75);
    background: var(--navy-950);
}

.footer-grid {
    display: grid;
    grid-template-columns:
        1.35fr
        0.7fr
        0.9fr
        1fr;
    padding-top: 48px;
    padding-bottom: 38px;
    gap: 46px;
}

.footer-logo {
    display: inline-flex;
    width: 240px;
    height: 70px;
    margin-bottom: 13px;
    overflow: visible;
}

.footer-logo img {
    width: 240px;
    height: 68px;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: screen;
    filter:
        brightness(1.12)
        contrast(1.08)
        saturate(1.08);
}

.footer-company p {
    max-width: 330px;
    margin-bottom: 18px;
    font-size: 12px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}

.footer-socials a:hover {
    color: var(--navy-900);
    background: var(--orange-400);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.footer-column h3 {
    margin-bottom: 9px;
    color: var(--white);
    font-size: 15px;
}

.footer-column a,
.footer-column p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.45;
}

.footer-column a:hover {
    color: var(--orange-300);
}

.footer-contact a,
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.footer-contact span {
    color: var(--orange-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 62px;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 11px;
}

.footer-accreditation {
    color: var(--white);
    font-weight: 800;
    text-align: center;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    font-size: 11px;
}

/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 85px 0;
    color: var(--white);
    background:
        linear-gradient(
            110deg,
            rgba(3, 19, 47, 0.98),
            rgba(7, 46, 97, 0.9)
        ),
        url("../images/homebanner.jpg")
        center / cover
        no-repeat;
}

.page-hero::after {
    position: absolute;
    top: -110px;
    right: -90px;
    width: 400px;
    height: 400px;
    content: "";
    border: 70px solid rgba(255, 153, 0, 0.08);
    border-radius: 50%;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: 13px;
    font-size: clamp(39px, 5vw, 62px);
    font-weight: 950;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.page-hero p {
    max-width: 690px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
}

.compact-page-hero {
    padding: 68px 0;
}

.compact-page-hero h1 {
    font-size: clamp(36px, 4.5vw, 54px);
}

.inner-page-section {
    min-height: 500px;
    background: var(--gray-50);
}

/* =========================================================
   PACKAGE DETAIL
========================================================= */

.package-detail-section {
    background: var(--white);
}

.package-detail-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);
    align-items: start;
    gap: 52px;
}

.package-detail-image {
    position: sticky;
    top: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 38px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            var(--gray-50),
            var(--white)
        );
    box-shadow: var(--shadow-medium);
}

.package-detail-image img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
}

.package-detail-content h2,
.product-detail-content h2 {
    margin-bottom: 12px;
    color: var(--navy-900);
    font-size: clamp(31px, 4vw, 47px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.detail-label {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    color: var(--orange-700);
    border-radius: var(--radius-round);
    background: var(--orange-100);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-price {
    margin: 20px 0;
}

.detail-price small {
    display: block;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 700;
}

.detail-price strong {
    display: block;
    color: var(--orange-600);
    font-size: 44px;
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-description {
    margin-bottom: 25px;
    color: var(--gray-600);
    font-size: 15px;
}

.specification-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 26px;
    gap: 12px;
}

.specification-item {
    padding: 17px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--gray-50);
}

.specification-item span {
    display: block;
    margin-bottom: 3px;
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 700;
}

.specification-item strong {
    color: var(--navy-900);
    font-size: 18px;
}

.detail-features {
    margin-bottom: 24px;
    padding: 23px;
    border-radius: var(--radius);
    background: var(--gray-50);
}

.detail-features h3,
.product-specifications h3 {
    margin-bottom: 14px;
    color: var(--navy-900);
    font-size: 19px;
}

.detail-features .feature-list {
    gap: 10px;
}

.detail-features .feature-list li {
    font-size: 14px;
}

.warranty-box {
    margin-bottom: 20px;
    padding: 18px;
    color: var(--navy-900);
    border-left: 4px solid var(--orange-500);
    border-radius: 8px;
    background: var(--orange-100);
}

.warranty-box strong {
    display: block;
    margin-bottom: 5px;
}

.warranty-box p {
    margin: 0;
    font-size: 13px;
}

.estimate-disclaimer {
    margin-bottom: 22px;
    padding: 14px;
    color: var(--gray-600);
    border: 1px dashed var(--gray-300);
    border-radius: 8px;
    background: var(--gray-50);
    font-size: 11px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

/* =========================================================
   PRODUCTS
========================================================= */

.product-filter {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 34px;
    gap: 8px;
}

.product-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    color: var(--navy-800);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-round);
    background: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.product-filter a:hover,
.product-filter a.active {
    color: var(--white);
    border-color: var(--navy-900);
    background: var(--navy-900);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-small);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--gray-50),
            var(--gray-100)
        );
}

.product-image > img {
    width: 100%;
    height: 100%;
    padding: 24px;
    object-fit: contain;
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 10px;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 750;
}

.product-placeholder img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    opacity: 0.65;
}

.featured-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    color: var(--white);
    border-radius: var(--radius-round);
    background: var(--orange-500);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-content {
    padding: 22px;
}

.product-category {
    display: block;
    margin-bottom: 6px;
    color: var(--orange-600);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-content h2 {
    margin-bottom: 9px;
    color: var(--navy-900);
    font-size: 20px;
    line-height: 1.23;
}

.product-content > p {
    min-height: 66px;
    margin-bottom: 14px;
    color: var(--gray-600);
    font-size: 13px;
}

.product-price {
    margin-bottom: 17px;
}

.product-price strong {
    color: var(--orange-600);
    font-size: 21px;
}

.product-link {
    width: 100%;
}

.product-detail-section {
    background: var(--white);
}

.product-detail-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);
    align-items: start;
    gap: 52px;
}

.product-detail-image {
    position: sticky;
    top: 105px;
    overflow: hidden;
    min-height: 510px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-large);
    background: var(--gray-50);
    box-shadow: var(--shadow-medium);
}

.product-detail-image > img {
    width: 100%;
    min-height: 510px;
    padding: 42px;
    object-fit: contain;
}

.large-placeholder {
    min-height: 510px;
}

.large-placeholder img {
    width: 110px;
    height: 110px;
}

.product-sku {
    margin-bottom: 12px;
    color: var(--gray-500);
    font-size: 12px;
}

.product-detail-price strong {
    font-size: 38px;
}

.product-specifications {
    margin-bottom: 24px;
    padding: 22px;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--gray-50);
    font-size: 14px;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    max-width: 700px;
    margin: 20px auto;
    padding: 55px 28px;
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-large);
    background: var(--gray-50);
    text-align: center;
}

.empty-state img {
    width: 90px;
    height: 90px;
    margin: 0 auto 17px;
    object-fit: contain;
}

.empty-state h2,
.empty-state h3 {
    margin-bottom: 8px;
    color: var(--navy-900);
}

.empty-state p {
    margin-bottom: 0;
    color: var(--gray-600);
}

/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1120px) {
    .brand {
        flex-basis: 190px;
        width: 190px;
    }

    .brand img {
        width: 190px;
    }

    .main-nav > a {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 12px;
    }

    .main-nav .nav-cta {
        padding-right: 14px;
        padding-left: 14px;
    }

    .package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 9px);
        justify-self: center;
    }

    .referral-banner {
        grid-template-columns:
            minmax(235px, 0.86fr)
            minmax(255px, 1fr)
            minmax(300px, 1.24fr);
        background: var(--white);
    }

    .referral-banner::after {
        display: none;
    }

    .referral-amount strong {
        font-size: clamp(39px, 4.5vw, 50px);
    }

    .referral-message h2 {
        font-size: clamp(18px, 2vw, 22px);
    }

    .referral-button {
        grid-column: 1 / -1;
        width: min(100% - 40px, 320px);
        margin: 0 auto 22px;
        color: var(--white);
        background: var(--navy-900);
    }

    .referral-button:hover {
        background: var(--navy-700);
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-item:nth-child(5n) {
        border-right: 1px solid var(--gray-200);
    }

    .service-item:nth-child(3n) {
        border-right: 0;
    }

    .service-item:nth-last-child(-n + 5) {
        border-bottom: 1px solid var(--gray-200);
    }

    .service-item:last-child {
        border-bottom: 0;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   TABLET / MOBILE NAVIGATION
========================================================= */

@media (max-width: 940px) {
    :root {
        --header-height: 70px;
    }

    .header-inner {
        min-height: var(--header-height);
    }

    .brand {
        flex-basis: 210px;
        width: 210px;
        height: 62px;
    }

    .brand img {
        width: 210px;
        height: 58px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        z-index: 999;
        top: var(--header-height);
        right: 0;
        left: 0;
        display: flex;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        max-height: calc(100vh - var(--header-height));
        padding: 14px 20px 24px;
        gap: 3px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(3, 19, 47, 0.995);
        box-shadow: 0 20px 38px rgba(3, 19, 47, 0.3);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-14px);
        transition:
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .main-nav.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav > a {
        justify-content: center;
        min-height: 49px;
        padding: 10px 16px;
        font-size: 14px;
    }

    .main-nav > a:not(.nav-cta)::after {
        display: none;
    }

    .main-nav .nav-cta {
        margin: 8px 0 0;
    }

    .hero {
        min-height: 650px;
        background-position: 63% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(2, 15, 36, 0.98),
                rgba(4, 26, 59, 0.88) 61%,
                rgba(4, 26, 59, 0.48)
            );
    }

    .hero-content {
        min-height: 650px;
    }

    .trust-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-item:nth-child(2)::after {
        display: none;
    }

    .trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--gray-200);
    }

    .inverter-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-copy {
        max-width: 700px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package-detail-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .package-detail-image,
    .product-detail-image {
        position: relative;
        top: auto;
        min-height: 420px;
    }

    .product-detail-image > img,
    .large-placeholder {
        min-height: 420px;
    }
}

/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand {
        flex-basis: 190px;
        width: 190px;
    }

    .brand img {
        width: 190px;
    }

    .hero {
        min-height: 690px;
        background-position: 69% center;
    }

    .hero-content {
        min-height: 690px;
        padding-top: 45px;
        padding-bottom: 85px;
    }

    .hero-copy {
        width: min(100%, 610px);
    }

    .hero h1 {
        font-size: clamp(39px, 10.5vw, 55px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 370px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .trust-card {
        margin-top: -35px;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }

    .package-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }

    .package-benefit-bar {
        grid-template-columns: 1fr;
    }

    .package-benefit-bar > div:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .inverter-options {
        grid-template-columns: 1fr;
    }

    .control-room-card {
        grid-column: auto;
    }

    .referral-banner {
        grid-template-columns: 1fr;
        background: var(--white);
    }

    .referral-amount {
        align-items: center;
        text-align: center;
    }

    .referral-message {
        align-items: center;
        padding-top: 5px;
        text-align: center;
    }

    .referral-message h2 {
        max-width: 520px;
    }

    .referral-benefits {
        padding: 15px 20px 8px;
    }

    .referral-button {
        grid-column: auto;
        width: min(100% - 40px, 360px);
        margin-bottom: 24px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-item:nth-child(3n) {
        border-right: 1px solid var(--gray-200);
    }

    .service-item:nth-child(2n) {
        border-right: 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom-inner {
        display: flex;
        align-items: center;
        flex-direction: column;
        min-height: 100px;
        padding: 19px 0;
        gap: 8px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {
    :root {
        --header-height: 66px;
    }

    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .section {
        padding: 58px 0;
    }

    .brand {
        flex-basis: 165px;
        width: 165px;
        height: 58px;
    }

    .brand img {
        width: 165px;
        height: 55px;
        transform: scale(1.12);
    }

    .menu-toggle {
        width: 43px;
        height: 43px;
        padding: 9px;
    }

    .hero {
        min-height: 720px;
        background-position: 72% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(2, 15, 36, 0.98),
                rgba(4, 26, 59, 0.9) 70%,
                rgba(4, 26, 59, 0.62)
            );
    }

    .hero-content {
        min-height: 720px;
        padding-top: 38px;
        padding-bottom: 78px;
    }

    .hero-eyebrow {
        font-size: 10px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 51px);
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .hero-benefit {
        min-height: 58px;
        padding: 4px 0;
        font-size: 10px;
    }

    .benefit-icon {
        flex-basis: 35px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .hero-phone strong {
        font-size: 20px;
    }

    .trust-card {
        grid-template-columns: 1fr;
    }

    .trust-item {
        min-height: 110px;
        padding: 16px;
    }

    .trust-item::after {
        display: none;
    }

    .trust-item:not(:last-child) {
        border-bottom: 1px solid var(--gray-200);
    }

    .trust-logo-wrap {
        flex-basis: 57px;
        width: 57px;
        height: 57px;
    }

    .trust-logo-wrap img {
        max-width: 56px;
        max-height: 56px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2,
    .inverter-copy h2,
    .contact-copy h2 {
        font-size: clamp(29px, 9vw, 39px);
    }

    .package-layout {
        grid-template-columns:
            minmax(0, 1.08fr)
            minmax(95px, 0.92fr);
    }

    .package-capacity {
        width: calc(100% - 28px);
    }

    .package-price strong {
        font-size: 25px;
    }

    .package-image-wrap img {
        max-height: 190px;
    }

    .inverter-option-card {
        grid-template-columns: 1fr;
    }

    .inverter-option-card img {
        max-height: 180px;
    }

    .control-room-card,
    .control-room-card > img {
        min-height: 220px;
    }

    .referral-amount {
        padding: 24px 18px;
    }

    .referral-amount strong {
        font-size: clamp(42px, 14vw, 58px);
    }

    .referral-message {
        padding-right: 18px;
        padding-left: 18px;
    }

    .referral-message h2 {
        font-size: 22px;
    }

    .referral-benefits {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .referral-benefits p {
        max-width: 210px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item,
    .service-item:nth-child(2n),
    .service-item:nth-child(3n),
    .service-item:nth-child(5n) {
        border-right: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .service-item:last-child {
        border-bottom: 0;
    }

    .why-card {
        min-height: auto;
        padding: 20px;
    }

    .contact-phone-list a {
        font-size: 19px;
    }

    .contact-form-card {
        padding: 17px;
        border-radius: var(--radius);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-logo {
        width: 220px;
    }

    .footer-logo img {
        width: 220px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-content > p {
        min-height: 0;
    }

    .specification-grid {
        grid-template-columns: 1fr;
    }

    .detail-price strong {
        font-size: 36px;
    }

    .package-detail-image,
    .product-detail-image,
    .product-detail-image > img,
    .large-placeholder {
        min-height: 320px;
    }

    .package-detail-image,
    .product-detail-image > img {
        padding: 23px;
    }

    .detail-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .detail-actions .btn {
        width: 100%;
    }

    .page-hero {
        padding: 62px 0;
    }

    .page-hero h1 {
        font-size: clamp(35px, 11vw, 48px);
    }

    .page-hero p {
        font-size: 15px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
    .brand {
        flex-basis: 145px;
        width: 145px;
    }

    .brand img {
        width: 145px;
    }

    .hero {
        min-height: 750px;
    }

    .hero-content {
        min-height: 750px;
    }

    .hero-benefit {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .hero-phone strong {
        font-size: 18px;
    }

    .package-layout {
        grid-template-columns: 1fr;
    }

    .package-image-wrap {
        min-height: 180px;
    }

    .package-image-wrap img {
        max-height: 180px;
    }

    .contact-phone-list a {
        font-size: 17px;
    }
}

/* =========================================================
   CONTACT CALCULATOR SUMMARY
========================================================= */

.contact-calculator-summary {
    margin-bottom: 22px;
    padding: 18px;
    color: #ffffff;
    border: 1px solid rgba(255, 153, 0, 0.38);
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            #03132f,
            #0a3569
        );
    box-shadow:
        0 15px 35px rgba(3, 19, 47, 0.18);
}

.contact-calculator-summary-heading {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    gap: 11px;
}

.contact-calculator-summary-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    color: #ffffff;
    border-radius: 50%;
    background: #ff9900;
    font-size: 22px;
}

.contact-calculator-summary-heading small {
    display: block;
    color: #ffca72;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-calculator-summary-heading strong {
    display: block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
}

.contact-calculator-summary-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
    gap: 8px;
}

.contact-calculator-summary-grid > div {
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.07);
}

.contact-calculator-summary-grid span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-calculator-summary-grid strong {
    display: block;
    margin-top: 3px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
}

.contact-calculator-summary > p {
    margin: 0 0 7px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
}

.contact-calculator-summary > p strong {
    color: #ffca72;
}

.contact-calculator-summary-note {
    display: block;
    color: rgba(255, 255, 255, 0.53);
    font-size: 8px;
    line-height: 1.5;
}

@media (max-width: 560px) {
    .contact-calculator-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   COMPACT SOLAR CALCULATOR
========================================================= */

.compact-calculator-hero {
    position: relative;
    padding: 54px 0 48px;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #03132f 0%,
            #0b3769 100%
        );
}

.compact-calculator-hero::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 153, 0, 0.13);
}

.compact-calculator-hero .container {
    position: relative;
    z-index: 1;
}

.compact-calculator-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #ffb338;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.compact-calculator-hero h1 {
    max-width: 760px;
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
}

.compact-calculator-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.7;
}

.compact-calculator-section {
    padding: 42px 0 60px;
    background: #f4f7fb;
}

.compact-calculator-alert {
    margin-bottom: 18px;
    padding: 15px 17px;
    color: #8b1e1e;
    border: 1px solid #f0baba;
    border-radius: 10px;
    background: #fff1f1;
}

.compact-calculator-alert strong {
    display: block;
    margin-bottom: 3px;
}

.compact-calculator-alert p {
    margin: 0;
}

.compact-calculator-panel {
    overflow: hidden;
    border: 1px solid #dce3ec;
    border-radius: 14px;
    background: #ffffff;
    box-shadow:
        0 14px 35px rgba(3, 19, 47, 0.08);
}

.compact-calculator-toolbar {
    display: grid;
    grid-template-columns:
        minmax(230px, 1fr)
        minmax(170px, 0.32fr)
        auto;
    align-items: center;
    padding: 14px;
    gap: 10px;
    border-bottom: 1px solid #e4e9f0;
    background: #ffffff;
}

.compact-calculator-search {
    position: relative;
}

.compact-calculator-search span {
    position: absolute;
    top: 50%;
    left: 13px;
    color: #7b8798;
    transform: translateY(-50%);
}

.compact-calculator-search input,
.compact-calculator-toolbar select {
    width: 100%;
    height: 42px;
    padding: 9px 13px;
    color: #17243a;
    border: 1px solid #ccd5e1;
    outline: none;
    border-radius: 8px;
    background: #ffffff;
    font-size: 13px;
}

.compact-calculator-search input {
    padding-left: 38px;
}

.compact-calculator-search input:focus,
.compact-calculator-toolbar select:focus {
    border-color: #ff9900;
    box-shadow:
        0 0 0 3px rgba(255, 153, 0, 0.12);
}

.compact-clear-button {
    min-height: 42px;
    padding: 9px 16px;
    color: #344157;
    border: 1px solid #cbd4df;
    border-radius: 8px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.compact-clear-button:hover {
    color: #ffffff;
    border-color: #03132f;
    background: #03132f;
}

.compact-calculator-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.compact-calculator-table {
    width: 100%;
    min-width: 840px;
    border-collapse: collapse;
}

.compact-calculator-table th,
.compact-calculator-table td {
    padding: 11px 13px;
    border-bottom: 1px solid #e8edf3;
    text-align: left;
    vertical-align: middle;
}

.compact-calculator-table thead th {
    color: #67758a;
    background: #f7f9fc;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.compact-category-row th {
    padding: 10px 14px;
    color: #0a3569;
    border-top: 1px solid #dde5ef;
    border-bottom: 1px solid #dde5ef;
    background: #edf4fc;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.compact-appliance-row {
    transition:
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.compact-appliance-row:hover td {
    background: #fbfcfe;
}

.compact-appliance-row.selected td {
    background: #fff9ed;
}

.compact-select-cell {
    width: 58px;
    text-align: center !important;
}

.compact-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.compact-checkbox input {
    width: 19px;
    height: 19px;
    accent-color: #ff9900;
    cursor: pointer;
}

.compact-appliance-name {
    display: flex;
    align-items: center;
    min-width: 230px;
    gap: 11px;
}

.compact-appliance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    overflow: hidden;
    color: #ff9900;
    border: 1px solid #e1e7ef;
    border-radius: 9px;
    background: #f7f9fc;
    font-size: 19px;
}

.compact-appliance-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.compact-appliance-name strong {
    display: block;
    color: #0d203d;
    font-size: 13px;
}

.compact-appliance-name small {
    display: block;
    margin-top: 2px;
    color: #7b8798;
    font-size: 10px;
}

.compact-number-input {
    width: 92px;
    height: 38px;
    padding: 7px 9px;
    color: #17243a;
    border: 1px solid #cdd6e1;
    outline: none;
    border-radius: 7px;
    background: #ffffff;
    font-size: 12px;
}

.compact-number-input:focus {
    border-color: #ff9900;
    box-shadow:
        0 0 0 3px rgba(255, 153, 0, 0.11);
}

.compact-energy-output {
    color: #0a3569;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.compact-no-results {
    padding: 40px 20px;
    text-align: center;
}

.compact-no-results span {
    display: block;
    margin-bottom: 8px;
    font-size: 30px;
}

.compact-no-results h3 {
    margin: 0 0 5px;
    color: #0d203d;
}

.compact-no-results p {
    margin: 0;
    color: #758196;
}

.compact-calculator-summary {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr))
        minmax(210px, auto);
    align-items: stretch;
    padding: 14px;
    gap: 10px;
    border-top: 1px solid #e0e6ee;
    background: #f8fafc;
}

.compact-summary-stat {
    padding: 12px 13px;
    border: 1px solid #dce3ec;
    border-radius: 9px;
    background: #ffffff;
}

.compact-summary-stat span {
    display: block;
    color: #7c8899;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.compact-summary-stat strong {
    display: block;
    margin-top: 4px;
    color: #0c2345;
    font-size: 16px;
    font-weight: 950;
}

.compact-summary-stat.primary {
    border-color: #f0c77f;
    background: #fff8e9;
}

.compact-summary-stat.primary strong {
    color: #c96f00;
}

.compact-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 12px 18px;
    color: #ffffff;
    border: 0;
    border-radius: 9px;
    background:
        linear-gradient(
            135deg,
            #ff9900,
            #e97700
        );
    box-shadow:
        0 8px 20px rgba(232, 119, 0, 0.22);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.compact-submit-button:hover {
    filter: brightness(1.05);
}

.compact-calculator-note {
    margin: 13px 2px 0;
    color: #7b8798;
    font-size: 11px;
    line-height: 1.6;
}

/* =========================================================
   COMPACT CALCULATOR RESULT
========================================================= */

.compact-result-section {
    padding: 52px 0 68px;
    background: #ffffff;
}

.compact-result-heading {
    margin-bottom: 22px;
    text-align: center;
}

.compact-result-heading span {
    display: inline-block;
    margin-bottom: 7px;
    color: #d87600;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.compact-result-heading h2 {
    margin: 0 0 7px;
    color: #081b38;
    font-size: clamp(26px, 3vw, 36px);
}

.compact-result-heading p {
    margin: 0;
    color: #718096;
}

.compact-result-stat-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
    gap: 10px;
}

.compact-result-stat-grid article {
    padding: 16px;
    border: 1px solid #dfe5ed;
    border-radius: 10px;
    background: #f8fafc;
}

.compact-result-stat-grid span {
    display: block;
    color: #738095;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.compact-result-stat-grid strong {
    display: block;
    margin-top: 5px;
    color: #09264f;
    font-size: 19px;
    font-weight: 950;
}

.compact-result-stat-grid article.highlight {
    color: #ffffff;
    border-color: #0a3569;
    background:
        linear-gradient(
            135deg,
            #03132f,
            #0b437d
        );
}

.compact-result-stat-grid article.highlight span {
    color: rgba(255, 255, 255, 0.66);
}

.compact-result-stat-grid article.highlight strong {
    color: #ffb338;
}

.compact-result-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.36fr);
    align-items: start;
    gap: 18px;
}

.compact-breakdown-card,
.compact-recommendation-card {
    overflow: hidden;
    border: 1px solid #dce3ec;
    border-radius: 13px;
    background: #ffffff;
    box-shadow:
        0 12px 30px rgba(3, 19, 47, 0.06);
}

.compact-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 17px;
    border-bottom: 1px solid #e4e9f0;
}

.compact-card-heading span {
    display: block;
    color: #d87600;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.compact-card-heading h3 {
    margin: 2px 0 0;
    color: #0c2345;
    font-size: 17px;
}

.compact-card-heading > strong {
    color: #0a3569;
    font-size: 11px;
}

.compact-breakdown-table-wrap {
    overflow-x: auto;
}

.compact-breakdown-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.compact-breakdown-table th,
.compact-breakdown-table td {
    padding: 11px 13px;
    border-bottom: 1px solid #e8edf3;
    text-align: left;
    font-size: 11px;
}

.compact-breakdown-table th {
    color: #718096;
    background: #f8fafc;
    font-size: 9px;
    text-transform: uppercase;
}

.compact-breakdown-table td strong {
    color: #0b2549;
}

.compact-breakdown-table td small {
    display: block;
    color: #8390a2;
}

.compact-method-note {
    padding: 13px 16px;
    color: #6f7d91;
    background: #f8fafc;
    font-size: 10px;
    line-height: 1.6;
}

.compact-recommendation-card {
    padding: 18px;
}

.compact-recommendation-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #d87600;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.compact-recommendation-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 145px;
    margin-bottom: 13px;
    overflow: hidden;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    background: #f8fafc;
}

.compact-recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.compact-package-category {
    display: block;
    color: #718096;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.compact-recommendation-card h3 {
    margin: 4px 0 7px;
    color: #09244a;
    font-size: 20px;
}

.compact-recommendation-card > p {
    margin: 0 0 13px;
    color: #69778a;
    font-size: 11px;
    line-height: 1.6;
}

.compact-package-price {
    margin-bottom: 12px;
    padding: 11px 12px;
    border-radius: 8px;
    background: #fff6e5;
}

.compact-package-price small {
    display: block;
    color: #96703b;
    font-size: 8px;
    text-transform: uppercase;
}

.compact-package-price strong {
    display: block;
    color: #c96f00;
    font-size: 22px;
}

.compact-package-specs {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    margin-bottom: 13px;
    gap: 7px;
}

.compact-package-specs div {
    padding: 9px;
    border: 1px solid #e1e7ef;
    border-radius: 7px;
    background: #f8fafc;
}

.compact-package-specs span {
    display: block;
    color: #7b8798;
    font-size: 8px;
    text-transform: uppercase;
}

.compact-package-specs strong {
    display: block;
    margin-top: 2px;
    color: #0b2549;
    font-size: 11px;
}

.compact-package-features {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.compact-package-features li {
    position: relative;
    padding: 5px 0 5px 17px;
    color: #526176;
    border-bottom: 1px solid #edf0f4;
    font-size: 10px;
}

.compact-package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e88500;
    font-weight: 900;
}

.compact-recommendation-actions {
    display: grid;
    gap: 8px;
}

.compact-recommendation-actions .btn {
    width: 100%;
    min-height: 41px;
    padding: 9px 12px;
    font-size: 11px;
}

.compact-custom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin: 8px auto 15px;
    color: #ffffff;
    border-radius: 50%;
    background: #ff9900;
    font-size: 30px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {
    .compact-calculator-summary {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .compact-submit-button {
        grid-column: 1 / -1;
        min-height: 46px;
    }

    .compact-result-layout {
        grid-template-columns: 1fr;
    }

    .compact-recommendation-card {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .compact-calculator-toolbar {
        grid-template-columns: 1fr;
    }

    .compact-result-stat-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .compact-calculator-hero {
        padding: 42px 0 38px;
    }

    .compact-calculator-section {
        padding: 28px 0 45px;
    }

    .compact-calculator-summary,
    .compact-result-stat-grid {
        grid-template-columns: 1fr;
    }

    .compact-package-specs {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PRODUCT ORDERING
========================================================= */

.product-stock-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 6px 10px;
    color: var(--green-700);
    border: 1px solid #b8e5cc;
    border-radius: var(--radius-round);
    background: rgba(231, 247, 239, 0.96);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-stock-badge.out {
    color: var(--red-700);
    border-color: #efc3c3;
    background: rgba(255, 240, 240, 0.96);
}

.product-card-actions {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.product-card-actions form {
    min-width: 0;
}

.product-card-actions .btn {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    font-size: 11px;
}

.product-availability {
    margin: -8px 0 20px;
}

.product-availability-in,
.product-availability-out {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: var(--radius-round);
    font-size: 10px;
    font-weight: 900;
}

.product-availability-in {
    color: var(--green-700);
    border: 1px solid #b8e5cc;
    background: var(--green-100);
}

.product-availability-out {
    color: var(--red-700);
    border: 1px solid #efc3c3;
    background: var(--red-100);
}

.product-order-form {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.product-quantity-field {
    display: grid;
    gap: 5px;
}

.product-quantity-field label {
    color: var(--navy-900);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-quantity-field input {
    width: 95px;
    min-height: 50px;
    padding: 10px;
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
    outline: none;
    border-radius: 9px;
    background: var(--white);
}

.product-quantity-field input:focus {
    border-color: var(--orange-500);
    box-shadow:
        0 0 0 3px rgba(255, 153, 0, 0.14);
}

/* =========================================================
   HEADER CART
========================================================= */

.main-nav .nav-cart {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    gap: 5px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
}

.main-nav .nav-cart:hover {
    border-color: rgba(255, 169, 40, 0.6);
    background: rgba(255, 153, 0, 0.13);
}

.nav-cart-icon {
    font-size: 16px;
    line-height: 1;
}

.main-nav .nav-cart strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    color: var(--navy-950);
    border-radius: var(--radius-round);
    background: var(--orange-400);
    font-size: 9px;
    font-weight: 950;
}

/* =========================================================
   SHOPPING CART
========================================================= */

.cart-section {
    background: var(--gray-50);
}

.cart-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.34fr);
    align-items: start;
    gap: 22px;
}

.cart-items-card,
.cart-summary-card {
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.cart-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.cart-card-heading span,
.cart-summary-kicker {
    display: block;
    color: var(--orange-700);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-card-heading h2 {
    margin: 2px 0 0;
    color: var(--navy-900);
    font-size: 20px;
}

.cart-clear-button,
.cart-remove-button {
    padding: 7px 10px;
    color: var(--red-700);
    border: 1px solid #efc3c3;
    border-radius: 7px;
    background: var(--red-100);
    font-size: 9px;
    font-weight: 900;
}

.cart-clear-button:hover,
.cart-remove-button:hover {
    color: var(--white);
    border-color: var(--red-700);
    background: var(--red-700);
}

.cart-table-wrap {
    overflow-x: auto;
}

.cart-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    vertical-align: middle;
    font-size: 12px;
}

.cart-table th {
    color: var(--gray-500);
    background: var(--gray-50);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cart-table tbody tr:last-child td {
    border-bottom: 0;
}

.cart-item-unavailable td {
    background: var(--red-100);
}

.cart-product {
    display: flex;
    align-items: center;
    min-width: 260px;
    gap: 12px;
}

.cart-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 9px;
    background: var(--gray-50);
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
}

.cart-product span,
.cart-product small {
    display: block;
    color: var(--gray-500);
    font-size: 9px;
}

.cart-product strong {
    display: block;
    color: var(--navy-900);
    font-size: 13px;
}

.cart-unavailable-message {
    margin-top: 4px;
    color: var(--red-700) !important;
    font-weight: 800;
}

.cart-quantity-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-quantity-form input {
    width: 67px;
    height: 37px;
    padding: 6px 8px;
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
    border-radius: 7px;
    background: var(--white);
}

.cart-quantity-form button {
    height: 37px;
    padding: 6px 9px;
    color: var(--navy-900);
    border: 1px solid var(--gray-300);
    border-radius: 7px;
    background: var(--gray-100);
    font-size: 9px;
    font-weight: 900;
}

.cart-quantity-form button:hover {
    color: var(--white);
    border-color: var(--navy-900);
    background: var(--navy-900);
}

.cart-line-total {
    color: var(--orange-700);
    white-space: nowrap;
}

.cart-summary-card {
    position: sticky;
    top: 100px;
    padding: 22px;
}

.cart-summary-card h2 {
    margin: 4px 0 18px;
    color: var(--navy-900);
    font-size: 24px;
}

.cart-summary-row,
.cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cart-summary-row {
    padding: 12px 0;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-200);
    font-size: 12px;
}

.cart-summary-total {
    padding: 18px 0;
    color: var(--navy-900);
}

.cart-summary-total span {
    font-size: 14px;
    font-weight: 900;
}

.cart-summary-total strong {
    color: var(--orange-700);
    font-size: 25px;
    font-weight: 950;
}

.cart-summary-note {
    margin-bottom: 16px;
    color: var(--gray-500);
    font-size: 10px;
    line-height: 1.55;
}

.cart-checkout-disabled {
    width: 100%;
    cursor: not-allowed;
    opacity: 0.65;
    pointer-events: none;
}

.cart-continue-button {
    width: 100%;
    margin-top: 8px;
}

.cart-email-notice {
    margin-top: 16px;
    padding: 12px;
    color: var(--navy-900);
    border: 1px solid #f2d6a5;
    border-radius: 8px;
    background: var(--orange-100);
}

.cart-email-notice strong {
    display: block;
    margin-bottom: 3px;
    font-size: 10px;
}

.cart-email-notice p {
    margin: 0;
    font-size: 9px;
    line-height: 1.45;
}

.cart-empty-action {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* =========================================================
   CART RESPONSIVE
========================================================= */

@media (max-width: 1000px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 760px) {
    .product-card-actions {
        grid-template-columns: 1fr;
    }

    .main-nav .nav-cart {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .product-order-form {
        align-items: stretch;
        flex-direction: column;
    }

    .product-quantity-field input {
        width: 100%;
    }

    .product-order-form .btn {
        width: 100%;
    }

    .cart-card-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   CHECKOUT
========================================================= */

.checkout-section,
.otp-section,
.order-success-section {
    background: var(--gray-50);
}

.checkout-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 0.38fr);
    align-items: start;
    gap: 24px;
}

.checkout-form-card,
.checkout-summary-card,
.otp-card,
.order-success-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: var(--shadow-medium);
}

.checkout-form-card {
    overflow: hidden;
}

.checkout-card-heading {
    padding: 23px 25px;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--navy-900),
            var(--navy-800)
        );
}

.checkout-card-heading span,
.checkout-summary-kicker,
.otp-kicker,
.order-success-kicker {
    display: block;
    color: var(--orange-500);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.checkout-card-heading h2 {
    margin: 4px 0 0;
    font-size: 24px;
}

.checkout-form {
    display: grid;
    padding: 25px;
    gap: 16px;
}

.checkout-form .form-group label small {
    color: var(--gray-500);
    font-size: 9px;
    font-weight: 600;
}

.checkout-confirmation {
    display: flex;
    align-items: flex-start;
    padding: 13px;
    gap: 10px;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    border-radius: 9px;
    background: var(--gray-50);
    font-size: 11px;
    line-height: 1.5;
}

.checkout-confirmation input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--orange-500);
}

.checkout-submit {
    width: 100%;
}

.checkout-summary-card {
    position: sticky;
    top: 100px;
    padding: 22px;
}

.checkout-summary-card h2 {
    margin: 4px 0 17px;
    color: var(--navy-900);
    font-size: 24px;
}

.checkout-product-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--gray-200);
}

.checkout-product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    gap: 14px;
    border-bottom: 1px solid var(--gray-200);
}

.checkout-product-row strong,
.checkout-product-row small {
    display: block;
}

.checkout-product-row strong {
    color: var(--navy-900);
    font-size: 12px;
}

.checkout-product-row small {
    color: var(--gray-500);
    font-size: 9px;
}

.checkout-product-row > span {
    color: var(--navy-900);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}

.checkout-total span {
    color: var(--navy-900);
    font-size: 14px;
    font-weight: 900;
}

.checkout-total strong {
    color: var(--orange-700);
    font-size: 25px;
    font-weight: 950;
}

.checkout-summary-note {
    color: var(--gray-500);
    font-size: 10px;
    line-height: 1.55;
}

.checkout-email-notice,
.otp-notice,
.order-success-notice {
    padding: 13px;
    color: var(--navy-900);
    border: 1px solid #f2d6a5;
    border-radius: 9px;
    background: var(--orange-100);
}

.checkout-email-notice strong,
.otp-notice strong,
.order-success-notice strong {
    display: block;
    margin-bottom: 3px;
    font-size: 10px;
}

.checkout-email-notice p,
.otp-notice p,
.order-success-notice p {
    margin: 0;
    font-size: 9px;
    line-height: 1.5;
}

.checkout-back {
    width: 100%;
    margin-top: 12px;
}

.cart-checkout-button {
    width: 100%;
}

/* =========================================================
   OTP
========================================================= */

.otp-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
}

.otp-card h2 {
    margin: 5px 0 8px;
    color: var(--navy-900);
    font-size: 30px;
}

.otp-card > p {
    color: var(--gray-600);
    font-size: 13px;
}

.otp-form {
    display: grid;
    margin: 23px 0 20px;
    gap: 12px;
}

.otp-form label {
    color: var(--navy-900);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.otp-form input {
    width: min(100%, 330px);
    min-height: 70px;
    margin: 0 auto;
    padding: 12px;
    color: var(--navy-900);
    border: 2px solid var(--gray-300);
    outline: none;
    border-radius: 12px;
    background: var(--gray-50);
    font-size: 34px;
    font-weight: 950;
    letter-spacing: 11px;
    text-align: center;
}

.otp-form input:focus {
    border-color: var(--orange-500);
    box-shadow:
        0 0 0 4px rgba(255, 153, 0, 0.14);
}

.otp-form .btn {
    width: min(100%, 330px);
    margin: 0 auto;
}

.otp-resend {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 10px;
}

.otp-resend p {
    margin: 0;
    color: var(--gray-600);
    font-size: 11px;
}

.otp-resend .btn {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 10px;
}

.otp-return-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--navy-800);
    font-size: 11px;
    font-weight: 800;
}

.otp-return-link:hover {
    color: var(--orange-700);
}

/* =========================================================
   ORDER SUCCESS
========================================================= */

.order-success-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 34px;
    text-align: center;
}

.order-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    color: var(--white);
    border-radius: 50%;
    background: var(--green-700);
    font-size: 39px;
    font-weight: 950;
    box-shadow:
        0 13px 30px rgba(17, 119, 71, 0.24);
}

.order-success-card h2 {
    margin: 5px 0 10px;
    color: var(--navy-900);
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 950;
}

.order-success-message {
    max-width: 620px;
    margin: 0 auto 24px;
    color: var(--gray-600);
}

.order-success-products {
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    text-align: left;
}

.order-success-products > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.order-success-products > div:last-child {
    border-bottom: 0;
}

.order-success-products span {
    color: var(--navy-900);
    font-size: 12px;
}

.order-success-products strong {
    color: var(--orange-700);
    font-size: 12px;
    white-space: nowrap;
}

.order-success-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 16px;
    color: var(--white);
    border-radius: 10px;
    background: var(--navy-900);
}

.order-success-total span {
    font-size: 13px;
    font-weight: 800;
}

.order-success-total strong {
    color: var(--orange-400);
    font-size: 23px;
}

.order-success-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 22px;
    gap: 10px;
}

/* =========================================================
   CHECKOUT RESPONSIVE
========================================================= */

@media (max-width: 940px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 560px) {
    .checkout-form,
    .checkout-card-heading,
    .otp-card,
    .order-success-card {
        padding: 19px;
    }

    .otp-form input {
        font-size: 28px;
        letter-spacing: 8px;
    }

    .order-success-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .order-success-actions .btn {
        width: 100%;
    }
}

/* =========================================================
   WEBSITE MOTION AND SCROLL ANIMATIONS
========================================================= */

/*
   Elements are hidden only when JavaScript is available.
   The website remains fully visible when JavaScript is
   disabled or fails to load.
*/

.js-animations .hero-animate {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s
            cubic-bezier(0.2, 0.75, 0.25, 1),
        transform 0.75s
            cubic-bezier(0.2, 0.75, 0.25, 1);
    transition-delay:
        var(--animation-delay, 0ms);
}

.js-animations
.hero.hero-animation-ready
.hero-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Hero background and decorative movement */

.hero-overlay {
    transition:
        background 0.5s ease,
        opacity 0.5s ease;
}

.hero.hero-animation-ready .hero-overlay {
    animation:
        heroOverlayBreathing
        8s ease-in-out infinite alternate;
}

@keyframes heroOverlayBreathing {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.92;
    }
}

/* Hero benefit icons */

.hero.hero-animation-ready .benefit-icon {
    animation:
        benefitIconFloat
        4.2s ease-in-out infinite;
}

.hero-benefit:nth-child(2) .benefit-icon {
    animation-delay: 0.35s;
}

.hero-benefit:nth-child(3) .benefit-icon {
    animation-delay: 0.7s;
}

.hero-benefit:nth-child(4) .benefit-icon {
    animation-delay: 1.05s;
}

@keyframes benefitIconFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Hero phone pulse */

.hero-phone-icon {
    position: relative;
}

.hero-phone-icon::after {
    position: absolute;
    inset: -1px;
    content: "";
    border: 1px solid rgba(255, 169, 40, 0.65);
    border-radius: 50%;
    opacity: 0;
    animation:
        phonePulse
        2.7s ease-out infinite;
}

@keyframes phonePulse {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }

    28% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
        transform: scale(1.45);
    }
}

/* Scroll reveal base */

.js-animations .reveal-ready {
    opacity: 0;
    transition:
        opacity 0.72s
            cubic-bezier(0.2, 0.75, 0.25, 1),
        transform 0.72s
            cubic-bezier(0.2, 0.75, 0.25, 1);
    transition-delay:
        var(--reveal-delay, 0ms);
    will-change:
        opacity,
        transform;
}

.js-animations .reveal-up {
    transform: translateY(38px);
}

.js-animations .reveal-left {
    transform: translateX(-45px);
}

.js-animations .reveal-right {
    transform: translateX(45px);
}

.js-animations .reveal-scale {
    transform: translateY(20px) scale(0.96);
}

.js-animations .reveal-ready.is-visible {
    opacity: 1;
    transform:
        translate3d(0, 0, 0)
        scale(1);
}

/* Card pointer glow */

.package-card,
.inverter-option-card,
.why-card {
    position: relative;
    isolation: isolate;
}

.package-card::after,
.inverter-option-card::after,
.why-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    border-radius: inherit;
    background:
        radial-gradient(
            260px circle at
            var(--pointer-x, -300px)
            var(--pointer-y, -300px),
            rgba(255, 169, 40, 0.15),
            transparent 65%
        );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.package-card:hover::after,
.inverter-option-card:hover::after,
.why-card:hover::after {
    opacity: 1;
}

/* Package image movement */

.package-image-wrap img {
    transition:
        transform 0.45s
            cubic-bezier(0.2, 0.75, 0.25, 1),
        filter 0.45s ease;
}

.package-card:hover .package-image-wrap img {
    filter:
        drop-shadow(
            0 13px 15px
            rgba(7, 26, 61, 0.18)
        );
    transform:
        translateY(-5px)
        scale(1.045);
}

/* Inverter image movement */

.inverter-option-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.inverter-option-card:hover {
    border-color:
        rgba(255, 153, 0, 0.55);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.inverter-option-card img {
    transition:
        transform 0.42s
            cubic-bezier(0.2, 0.75, 0.25, 1);
}

.inverter-option-card:hover img {
    transform:
        translateY(-4px)
        scale(1.06);
}

/* Control room image zoom */

.control-room-card > img {
    transition:
        transform 0.8s
            cubic-bezier(0.2, 0.75, 0.25, 1);
}

.control-room-card:hover > img {
    transform: scale(1.045);
}

/* Trust cards */

.trust-item {
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.trust-item:hover {
    background:
        linear-gradient(
            145deg,
            var(--white),
            var(--orange-100)
        );
    transform: translateY(-3px);
}

.trust-logo-wrap img {
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.trust-item:hover .trust-logo-wrap img {
    filter:
        drop-shadow(
            0 8px 10px
            rgba(7, 26, 61, 0.15)
        );
    transform: scale(1.08);
}

/* Services */

.service-item {
    position: relative;
    overflow: hidden;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-item::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    content: "";
    background: var(--orange-500);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease;
}

.service-item:hover {
    z-index: 2;
    box-shadow:
        0 12px 25px
        rgba(7, 26, 61, 0.1);
    transform: translateY(-3px);
}

.service-item:hover::before {
    transform: scaleY(1);
}

.service-icon {
    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.35s
            cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-item:hover .service-icon {
    color: var(--white);
    background: var(--orange-500);
    transform:
        translateY(-2px)
        rotate(-4deg)
        scale(1.08);
}

/* Why choose us */

.why-card {
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.why-card:hover {
    border-color:
        rgba(255, 153, 0, 0.45);
    box-shadow: var(--shadow-medium);
    transform: translateY(-6px);
}

.why-icon {
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.35s
            cubic-bezier(0.2, 0.75, 0.25, 1);
}

.why-card:hover .why-icon {
    color: var(--white);
    background: var(--orange-500);
    transform:
        rotate(-5deg)
        scale(1.08);
}

/* Referral banner */

.referral-amount strong {
    animation:
        referralAmountFloat
        4.5s ease-in-out infinite;
}

@keyframes referralAmountFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.referral-benefits span {
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.referral-benefits > div:hover span {
    color: var(--white);
    background: var(--navy-800);
    transform:
        translateY(-4px)
        rotate(4deg);
}

/* Contact form entrance and hover */

.contact-form-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.contact-form-card:hover {
    box-shadow:
        0 32px 80px
        rgba(3, 19, 47, 0.3);
    transform: translateY(-4px);
}

/* Footer */

.footer-socials a {
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.footer-socials a:hover {
    border-color: var(--orange-400);
    transform:
        translateY(-4px)
        rotate(4deg);
}

.footer-column > a {
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-column > a:hover {
    transform: translateX(4px);
}

/* Button arrow motion */

.btn span,
.package-button span,
.referral-button span {
    transition: transform 0.2s ease;
}

.btn:hover span,
.package-button:hover span,
.referral-button:hover span {
    transform: translateX(3px);
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js-animations .hero-animate,
    .js-animations .reveal-ready {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =========================================================
   ANIMATION MOBILE ADJUSTMENTS
========================================================= */

@media (max-width: 700px) {
    .js-animations .reveal-left,
    .js-animations .reveal-right {
        transform: translateY(30px);
    }

    .contact-form-card:hover,
    .package-card:hover,
    .why-card:hover,
    .inverter-option-card:hover,
    .service-item:hover {
        transform: none;
    }

    .hero.hero-animation-ready .benefit-icon,
    .referral-amount strong,
    .hero-phone-icon::after {
        animation: none;
    }
}
/* =========================================================
   HEADER ACCREDITATIONS
========================================================= */

.header-brand-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    min-width: 0;
    gap: 14px;
}

.header-brand-group .brand {
    flex: 0 0 172px;
    width: 172px;
}

.header-brand-group .brand img {
    width: 172px;
}

.header-accreditations {
    display: flex;
    align-items: center;
    padding-left: 15px;
    gap: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.header-accreditation-item {
    display: grid;
    width: 58px;
    flex: 0 0 58px;
    justify-items: center;
    gap: 3px;
}

.header-accreditation-logo {
    display: flex;
    width: 54px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.header-accreditation-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-accreditation-logo.bir img {
    width: 31px;
    height: 31px;
}

.header-accreditation-item small {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    font-size: 7px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
}

/* =========================================================
   OUR PARTNERS
========================================================= */

.partners-section {
    position: relative;
    z-index: 5;
    padding: 0 0 18px;
    background: var(--white);
}

.partners-panel {
    margin-top: -42px;
    padding: 22px 24px 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: var(--shadow-medium);
}

.partners-heading {
    display: grid;
    justify-items: center;
    margin-bottom: 14px;
    text-align: center;
}

.partners-heading > span {
    margin-bottom: 2px;
    color: var(--orange-600);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.partners-heading h2 {
    margin: 0 0 4px;
    color: var(--heading);
    font-size: clamp(21px, 2.4vw, 29px);
    line-height: 1.15;
}

.partners-heading p {
    max-width: 660px;
    margin: 0;
    color: var(--gray-600);
    font-size: 11px;
    line-height: 1.45;
}

.partners-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 4px 0 2px;
}

.partners-static-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
}

.partners-track {
    display: flex;
    width: max-content;
    align-items: stretch;
    animation:
        partner-logo-scroll
        var(--partner-duration, 30s)
        linear
        infinite;
    will-change: transform;
}

.partners-set {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    padding-right: 14px;
    gap: 14px;
}

.partners-viewport.is-slider:hover .partners-track,
.partners-viewport.is-slider:focus-within .partners-track {
    animation-play-state: paused;
}

.partner-card {
    display: flex;
    flex: 0 0 168px;
    width: 168px;
    min-height: 102px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 11px 13px 9px;
    gap: 6px;
    color: var(--heading);
    border: 1px solid var(--gray-200);
    border-radius: 13px;
    background: var(--white);
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

a.partner-card:hover {
    color: var(--heading);
    border-color: var(--orange-300);
    box-shadow: var(--shadow-small);
    transform: translateY(-2px);
}

.partner-logo-frame {
    display: flex;
    width: 136px;
    height: 58px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-logo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.partner-name {
    display: block;
    width: 100%;
    overflow: hidden;
    color: var(--gray-700);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.partners-empty {
    margin: 8px 0 2px;
    color: var(--gray-500);
    font-size: 11px;
    text-align: center;
}

@keyframes partner-logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1120px) {
    .header-brand-group {
        gap: 10px;
    }

    .header-brand-group .brand {
        flex-basis: 150px;
        width: 150px;
    }

    .header-brand-group .brand img {
        width: 150px;
    }

    .header-accreditations {
        padding-left: 10px;
        gap: 5px;
    }

    .header-accreditation-item {
        width: 50px;
        flex-basis: 50px;
    }

    .header-accreditation-logo {
        width: 47px;
        height: 29px;
    }

    .header-accreditation-logo.bir img {
        width: 28px;
        height: 28px;
    }

    .header-accreditation-item small {
        font-size: 6.4px;
    }
}

@media (max-width: 940px) {
    .header-brand-group .brand {
        flex-basis: 180px;
        width: 180px;
    }

    .header-brand-group .brand img {
        width: 180px;
    }
}

@media (max-width: 560px) {
    .header-brand-group {
        gap: 6px;
    }

    .header-brand-group .brand {
        flex-basis: 125px;
        width: 125px;
        height: 54px;
    }

    .header-brand-group .brand img {
        width: 125px;
        height: 52px;
        transform: scale(1.08);
    }

    .header-accreditations {
        padding-left: 7px;
        gap: 3px;
    }

    .header-accreditation-item {
        width: 40px;
        flex-basis: 40px;
        gap: 2px;
    }

    .header-accreditation-logo {
        width: 38px;
        height: 24px;
    }

    .header-accreditation-logo.bir img {
        width: 23px;
        height: 23px;
    }

    .header-accreditation-item small {
        font-size: 5.6px;
        line-height: 1.05;
    }

    .partners-panel {
        margin-top: -30px;
        padding: 18px 14px 16px;
    }

    .partner-card {
        flex-basis: 148px;
        width: 148px;
        min-height: 94px;
        padding: 9px 11px 8px;
    }

    .partner-logo-frame {
        width: 120px;
        height: 52px;
    }
}

@media (max-width: 390px) {
    .header-brand-group .brand {
        flex-basis: 112px;
        width: 112px;
    }

    .header-brand-group .brand img {
        width: 112px;
    }

    .header-accreditation-item {
        width: 36px;
        flex-basis: 36px;
    }

    .header-accreditation-logo {
        width: 34px;
    }

    .header-accreditation-item small {
        font-size: 5.2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-viewport.is-slider {
        overflow-x: auto;
    }

    .partners-viewport.is-slider .partners-track {
        animation: none;
    }

    .partners-viewport.is-slider .partners-set[aria-hidden="true"] {
        display: none;
    }
}

/* =========================================================
   HOMEPAGE HERO + PARTNERS OVERLAP REFINEMENT
   Keeps the hero visually full-screen and positions Our Partners
   like the original trust/accreditation strip.
========================================================= */

.hero,
.hero-content {
    min-height: max(620px, calc(100vh - var(--header-height)));
    min-height: max(620px, calc(100svh - var(--header-height)));
}

.hero-content {
    padding-bottom: 120px;
}

.partners-section {
    position: relative;
    z-index: 6;
    padding: 0 0 18px;
    background: var(--white);
}

.partners-panel {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    align-items: center;
    min-height: 145px;
    margin-top: -72px;
    padding: 18px 22px;
    gap: 22px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: var(--shadow-medium);
}

.partners-heading {
    display: block;
    min-width: 0;
    margin: 0;
    padding-right: 20px;
    text-align: left;
    border-right: 1px solid var(--gray-200);
}

.partners-heading > span {
    display: block;
    margin-bottom: 4px;
    color: var(--orange-600);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.partners-heading h2 {
    margin: 0 0 5px;
    color: var(--heading);
    font-size: 25px;
    line-height: 1.1;
}

.partners-heading p {
    max-width: 180px;
    margin: 0;
    color: var(--gray-600);
    font-size: 10px;
    line-height: 1.4;
}

.partners-viewport {
    min-width: 0;
    width: 100%;
    padding: 3px 0;
    overflow: hidden;
}

.partners-static-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.partners-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation:
        partner-logo-scroll
        var(--partner-duration, 30s)
        linear
        infinite;
    will-change: transform;
}

.partners-set {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding-right: 12px;
    gap: 12px;
}

.partner-card {
    display: flex;
    flex: 0 0 150px;
    width: 150px;
    min-height: 96px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 9px 11px 8px;
    gap: 5px;
    color: var(--heading);
    border: 1px solid var(--gray-200);
    border-radius: 13px;
    background: var(--white);
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.partner-logo-frame {
    display: flex;
    width: 124px;
    height: 54px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-logo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.partner-name {
    display: block;
    width: 100%;
    overflow: hidden;
    color: var(--gray-700);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.partners-empty {
    margin: 0;
    color: var(--gray-500);
    font-size: 11px;
    text-align: center;
}

@media (max-width: 940px) {
    .hero,
    .hero-content {
        min-height: max(650px, calc(100vh - var(--header-height)));
        min-height: max(650px, calc(100svh - var(--header-height)));
    }

    .partners-panel {
        grid-template-columns: 175px minmax(0, 1fr);
        margin-top: -62px;
        padding: 16px 18px;
        gap: 16px;
    }

    .partners-heading {
        padding-right: 15px;
    }

    .partners-heading h2 {
        font-size: 22px;
    }

    .partners-heading p {
        font-size: 9px;
    }

    .partner-card {
        flex-basis: 138px;
        width: 138px;
    }

    .partner-logo-frame {
        width: 112px;
        height: 50px;
    }
}

@media (max-width: 760px) {
    .hero,
    .hero-content {
        min-height: max(690px, calc(100vh - var(--header-height)));
        min-height: max(690px, calc(100svh - var(--header-height)));
    }

    .hero-content {
        padding-bottom: 105px;
    }

    .partners-panel {
        grid-template-columns: 1fr;
        min-height: 0;
        margin-top: -58px;
        padding: 14px 14px 15px;
        gap: 11px;
    }

    .partners-heading {
        padding: 0 0 9px;
        text-align: center;
        border-right: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .partners-heading h2 {
        margin-bottom: 2px;
        font-size: 20px;
    }

    .partners-heading p {
        max-width: 520px;
        margin-right: auto;
        margin-left: auto;
        font-size: 9px;
    }

    .partners-static-list {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .hero,
    .hero-content {
        min-height: max(720px, calc(100vh - var(--header-height)));
        min-height: max(720px, calc(100svh - var(--header-height)));
    }

    .partners-panel {
        margin-top: -48px;
        border-radius: 18px;
    }

    .partners-heading p {
        display: none;
    }

    .partner-card {
        flex-basis: 132px;
        width: 132px;
        min-height: 86px;
        padding: 7px 9px 6px;
    }

    .partner-logo-frame {
        width: 106px;
        height: 46px;
    }

    .partner-name {
        font-size: 8px;
    }
}

@media (max-width: 390px) {
    .hero,
    .hero-content {
        min-height: max(750px, calc(100vh - var(--header-height)));
        min-height: max(750px, calc(100svh - var(--header-height)));
    }

    .partner-card {
        flex-basis: 122px;
        width: 122px;
    }

    .partner-logo-frame {
        width: 98px;
        height: 43px;
    }
}

/* =========================================================
   HOMEPAGE HERO + PARTNERS OVERLAP V3
   The partners panel is physically inside the hero so it
   straddles the hero edge instead of appearing as a section below.
========================================================= */

.hero {
    position: relative;
    overflow: visible;
    min-height: max(680px, calc(100vh - var(--header-height)));
    min-height: max(680px, calc(100svh - var(--header-height)));
    margin-bottom: 64px;
}

.hero-content {
    min-height: max(680px, calc(100vh - var(--header-height)));
    min-height: max(680px, calc(100svh - var(--header-height)));
    padding-top: 55px;
    padding-bottom: 175px;
}

.hero > .hero-partners-section {
    position: absolute;
    right: 0;
    bottom: -64px;
    left: 0;
    z-index: 8;
    width: 100%;
    padding: 0;
    background: transparent;
    pointer-events: none;
}

.hero > .hero-partners-section .container {
    pointer-events: auto;
}

.hero > .hero-partners-section .partners-panel {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    align-items: center;
    min-height: 145px;
    margin: 0;
    padding: 18px 22px;
    gap: 22px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: 0 16px 42px rgba(2, 15, 36, 0.18);
}

.hero > .hero-partners-section .partners-heading {
    display: block;
    min-width: 0;
    margin: 0;
    padding-right: 20px;
    text-align: left;
    border-right: 1px solid var(--gray-200);
}

.hero > .hero-partners-section .partners-heading > span {
    display: block;
    margin-bottom: 4px;
    color: var(--orange-600);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.hero > .hero-partners-section .partners-heading h2 {
    margin: 0 0 5px;
    color: var(--heading);
    font-size: 25px;
    line-height: 1.1;
}

.hero > .hero-partners-section .partners-heading p {
    max-width: 180px;
    margin: 0;
    color: var(--gray-600);
    font-size: 10px;
    line-height: 1.4;
}

.hero > .hero-partners-section .partners-viewport {
    min-width: 0;
    width: 100%;
    padding: 3px 0;
    overflow: hidden;
}

.hero > .hero-partners-section .partners-static-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero > .hero-partners-section .partner-card {
    display: flex;
    flex: 0 0 150px;
    width: 150px;
    min-height: 96px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 9px 11px 8px;
    gap: 5px;
}

.hero > .hero-partners-section .partner-logo-frame {
    display: flex;
    width: 124px;
    height: 54px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero > .hero-partners-section .partner-logo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* The next section begins after the floating portion of the card. */
.hero + .packages-section {
    padding-top: 58px;
}

@media (max-width: 940px) {
    .hero {
        min-height: max(700px, calc(100vh - var(--header-height)));
        min-height: max(700px, calc(100svh - var(--header-height)));
        margin-bottom: 64px;
    }

    .hero-content {
        min-height: max(700px, calc(100vh - var(--header-height)));
        min-height: max(700px, calc(100svh - var(--header-height)));
        padding-bottom: 175px;
    }

    .hero > .hero-partners-section .partners-panel {
        grid-template-columns: 175px minmax(0, 1fr);
        min-height: 138px;
        padding: 16px 18px;
        gap: 16px;
    }

    .hero > .hero-partners-section .partners-heading {
        padding-right: 15px;
    }

    .hero > .hero-partners-section .partners-heading h2 {
        font-size: 22px;
    }

    .hero > .hero-partners-section .partners-heading p {
        font-size: 9px;
    }

    .hero > .hero-partners-section .partner-card {
        flex-basis: 138px;
        width: 138px;
    }

    .hero > .hero-partners-section .partner-logo-frame {
        width: 112px;
        height: 50px;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: max(760px, calc(100vh - var(--header-height)));
        min-height: max(760px, calc(100svh - var(--header-height)));
        margin-bottom: 72px;
    }

    .hero-content {
        min-height: max(760px, calc(100vh - var(--header-height)));
        min-height: max(760px, calc(100svh - var(--header-height)));
        padding-bottom: 175px;
    }

    .hero > .hero-partners-section {
        bottom: -72px;
    }

    .hero > .hero-partners-section .partners-panel {
        grid-template-columns: 145px minmax(0, 1fr);
        min-height: 138px;
        padding: 14px;
        gap: 13px;
        border-radius: 18px;
    }

    .hero > .hero-partners-section .partners-heading {
        padding: 0 13px 0 0;
        text-align: left;
        border-right: 1px solid var(--gray-200);
        border-bottom: 0;
    }

    .hero > .hero-partners-section .partners-heading h2 {
        margin-bottom: 0;
        font-size: 20px;
    }

    .hero > .hero-partners-section .partners-heading p {
        display: none;
    }

    .hero > .hero-partners-section .partners-static-list {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .hero > .hero-partners-section .partner-card {
        flex-basis: 126px;
        width: 126px;
        min-height: 88px;
        padding: 7px 8px 6px;
    }

    .hero > .hero-partners-section .partner-logo-frame {
        width: 102px;
        height: 46px;
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: max(800px, calc(100vh - var(--header-height)));
        min-height: max(800px, calc(100svh - var(--header-height)));
        margin-bottom: 76px;
    }

    .hero-content {
        min-height: max(800px, calc(100vh - var(--header-height)));
        min-height: max(800px, calc(100svh - var(--header-height)));
        padding-bottom: 180px;
    }

    .hero > .hero-partners-section {
        bottom: -76px;
    }

    .hero > .hero-partners-section .partners-panel {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 132px;
        padding: 12px;
        gap: 10px;
    }

    .hero > .hero-partners-section .partners-heading {
        padding-right: 10px;
    }

    .hero > .hero-partners-section .partners-heading > span {
        font-size: 8px;
    }

    .hero > .hero-partners-section .partners-heading h2 {
        font-size: 18px;
    }

    .hero > .hero-partners-section .partner-card {
        flex-basis: 116px;
        width: 116px;
        min-height: 84px;
    }

    .hero > .hero-partners-section .partner-logo-frame {
        width: 94px;
        height: 43px;
    }
}
