/**
 * Cubic Self Storage — Main Stylesheet
 * /assets/css/style.css
 * 
 * Brand Colors:
 *   Primary Green:     #1db259
 *   Progressive Green: #0ae447
 *   Edgy Black:        #000000
 *   Light Grey:        #dddddd
 *   Space White:       #ffffff
 * 
 * Font: Rubik (Google Fonts)
 * Design System: BEM methodology
 */


/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Brand Colors */
    --c-green:           #1db259;
    --c-green-light:     #0ae447;
    --c-green-dark:      #169648;
    --c-green-bg:        #e8f9ef;
    --c-green-bg-subtle: #f2fcf6;

    /* Neutrals */
    --c-black:           #000000;
    --c-grey-900:        #111111;
    --c-grey-800:        #1a1a1a;
    --c-grey-700:        #2a2a2a;
    --c-grey-600:        #444444;
    --c-grey-500:        #666666;
    --c-grey-400:        #999999;
    --c-grey-300:        #bbbbbb;
    --c-grey-200:        #dddddd;
    --c-grey-100:        #eeeeee;
    --c-grey-50:         #f5f5f5;
    --c-white:           #ffffff;

    /* Semantic */
    --c-text:            var(--c-grey-800);
    --c-text-light:      var(--c-grey-500);
    --c-text-lighter:    var(--c-grey-400);
    --c-border:          var(--c-grey-200);
    --c-bg:              var(--c-white);
    --c-bg-alt:          var(--c-grey-50);
    --c-error:           #e53e3e;
    --c-success:         var(--c-green);

    /* Typography */
    --ff-primary:        'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-xs:             0.75rem;    /* 12px */
    --fs-sm:             0.875rem;   /* 14px */
    --fs-base:           1rem;       /* 16px */
    --fs-md:             1.125rem;   /* 18px */
    --fs-lg:             1.25rem;    /* 20px */
    --fs-xl:             1.5rem;     /* 24px */
    --fs-2xl:            2rem;       /* 32px */
    --fs-3xl:            2.5rem;     /* 40px */
    --fs-4xl:            3.25rem;    /* 52px */
    --fs-5xl:            4rem;       /* 64px */

    /* Spacing */
    --sp-1:              0.25rem;
    --sp-2:              0.5rem;
    --sp-3:              0.75rem;
    --sp-4:              1rem;
    --sp-5:              1.25rem;
    --sp-6:              1.5rem;
    --sp-8:              2rem;
    --sp-10:             2.5rem;
    --sp-12:             3rem;
    --sp-16:             4rem;
    --sp-20:             5rem;
    --sp-24:             6rem;
    --sp-32:             8rem;

    /* Layout */
    --container-max:     1200px;
    --container-px:      clamp(1.25rem, 4vw, 2.5rem);
    --navbar-h:          88px;
    --section-py:        clamp(4rem, 10vw, 7rem);
    --section-py-sm:     clamp(2.5rem, 6vw, 4rem);

    /* Radius */
    --r-sm:              6px;
    --r-md:              10px;
    --r-lg:              16px;
    --r-xl:              24px;
    --r-full:            9999px;

    /* Shadows */
    --shadow-xs:         0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm:         0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:         0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:         0 8px 32px rgba(0,0,0,0.1);
    --shadow-xl:         0 16px 48px rgba(0,0,0,0.12);
    --shadow-green:      0 8px 30px rgba(29,178,89,0.25);

    /* Transitions */
    --ease-out:          cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:       cubic-bezier(0.65, 0, 0.35, 1);
    --t-fast:            150ms;
    --t-base:            300ms;
    --t-slow:            500ms;
}


/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--navbar-h);
}

body {
    font-family: var(--ff-primary);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img, video, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast) ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-grey-900);
}

em {
    font-style: normal;
    color: var(--c-green);
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

::selection {
    background: var(--c-green);
    color: var(--c-white);
}


/* ============================================
   ACCESSIBILITY
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--sp-4);
    z-index: 9999;
    padding: var(--sp-3) var(--sp-6);
    background: var(--c-green);
    color: var(--c-white);
    font-weight: 600;
    border-radius: 0 0 var(--r-md) var(--r-md);
    transition: top var(--t-base) var(--ease-out);
}

.skip-link:focus {
    top: 0;
}

/* Focus visible ring */
:focus-visible {
    outline: 2px solid var(--c-green);
    outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}


/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-px);
    padding-right: var(--container-px);
}


/* ============================================
   SECTION HEADER (reusable)
   ============================================ */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--sp-16);
}

.section-header__eyebrow {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-green);
    margin-bottom: var(--sp-3);
}

.section-header__title {
    font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl));
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--sp-4);
    color: var(--c-grey-900);
}

.section-header__desc {
    font-size: var(--fs-md);
    color: var(--c-text-light);
    line-height: 1.7;
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0.75rem 1.75rem;
    font-family: var(--ff-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--r-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t-base) var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

.btn svg {
    flex-shrink: 0;
    transition: transform var(--t-base) var(--ease-out);
}

.btn:hover svg {
    transform: translateX(3px);
}

/* Primary */
.btn--primary {
    background: var(--c-green);
    color: var(--c-white);
    border-color: var(--c-green);
}

.btn--primary:hover {
    background: var(--c-green-dark);
    border-color: var(--c-green-dark);
    box-shadow: var(--shadow-green);
    transform: translateY(-2px);
}

/* Outline */
.btn--outline {
    background: transparent;
    color: var(--c-green);
    border-color: var(--c-green);
}

.btn--outline:hover {
    background: var(--c-green);
    color: var(--c-white);
    transform: translateY(-2px);
}

/* White */
.btn--white {
    background: var(--c-white);
    color: var(--c-green);
    border-color: var(--c-white);
}

.btn--white:hover {
    background: var(--c-grey-50);
    border-color: var(--c-grey-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Ghost (transparent with white border) */
.btn--ghost {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255,255,255,0.35);
}

.btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--c-white);
}

/* Sizes */
.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--fs-xs);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: var(--fs-sm);
}

.btn--block {
    width: 100%;
}


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-h);
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: transform var(--t-base) var(--ease-out),
                background var(--t-base) ease,
                border-color var(--t-base) ease,
                box-shadow var(--t-base) ease,
                height var(--t-base) var(--ease-out);
}

.navbar--scrolled {
    background: rgba(255,255,255,0.97);
    border-bottom-color: var(--c-grey-100);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    height: 76px;
}

.navbar--scrolled .navbar__logo-img {
    height: 68px;
}

.navbar--hidden {
    transform: translateY(-100%);
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--sp-6);
}

/* Logo — 2.5× bigger */
.navbar__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    transition: opacity var(--t-fast) ease, transform var(--t-fast) ease;
}

.navbar__logo:hover {
    opacity: 0.85;
    transform: scale(0.97);
}

.navbar__logo-img {
    height: 80px;
    width: auto;
    transition: height var(--t-base) var(--ease-out);
}

/* Desktop Menu */
.navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.navbar__item {
    position: relative;
}

/* Enhanced Links — with animated underline indicator */
.navbar__link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-grey-600);
    border-radius: var(--r-sm);
    position: relative;
    transition: color var(--t-base) ease, background var(--t-fast) ease;
}

/* Animated underline on hover */
.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: var(--sp-4);
    right: var(--sp-4);
    height: 2px;
    background: var(--c-green);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--t-base) var(--ease-out);
}

.navbar__link:hover {
    color: var(--c-grey-900);
}

.navbar__link:hover::after {
    transform: scaleX(1);
}

/* Active state — persistent green indicator */
.navbar__item.is-active > .navbar__link {
    color: var(--c-green);
    font-weight: 600;
}

.navbar__item.is-active > .navbar__link::after {
    transform: scaleX(1);
    background: var(--c-green);
}

/* Active nav link — scroll-based highlight */
.navbar__link--active {
    color: var(--c-green) !important;
}

.navbar__link--active::after {
    transform: scaleX(1) !important;
    background: var(--c-green) !important;
}

/* Dropdown trigger — no underline, use chevron */
.navbar__link--dropdown {
    cursor: pointer;
}

.navbar__link--dropdown::after {
    display: none;
}

.navbar__chevron {
    transition: transform var(--t-base) var(--ease-out);
    stroke: var(--c-grey-400);
}

.navbar__link:hover .navbar__chevron {
    stroke: var(--c-grey-900);
}

.navbar__item--dropdown.is-open .navbar__chevron {
    transform: rotate(180deg);
    stroke: var(--c-green);
}

/* Desktop Dropdown — enhanced with larger touch targets */
.navbar__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    background: var(--c-white);
    border: 1px solid var(--c-grey-100);
    border-radius: var(--r-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.04);
    padding: var(--sp-2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t-fast) ease, transform var(--t-fast) ease, visibility var(--t-fast) ease;
}

/* Small arrow triangle on top of dropdown */
.navbar__dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--c-white);
    border-top: 1px solid var(--c-grey-100);
    border-left: 1px solid var(--c-grey-100);
    border-radius: 2px 0 0 0;
}

.navbar__item--dropdown.is-open .navbar__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-item {
    display: block;
    padding: var(--sp-3) var(--sp-5);
    border-radius: var(--r-md);
    transition: all var(--t-fast) ease;
    border-left: 3px solid transparent;
}

.navbar__dropdown-item:hover {
    background: var(--c-green-bg-subtle);
    border-left-color: var(--c-green);
}

.navbar__dropdown-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-grey-800);
    margin-bottom: 2px;
}

.navbar__dropdown-desc {
    display: block;
    font-size: var(--fs-xs);
    color: var(--c-text-lighter);
}

/* Actions */
.navbar__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-shrink: 0;
}

.navbar__lang {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-grey-600);
    border-radius: var(--r-full);
    border: 1px solid var(--c-grey-200);
    transition: all var(--t-base) var(--ease-out);
}

.navbar__lang svg {
    width: 16px;
    height: 16px;
    transition: stroke var(--t-fast) ease;
}

.navbar__lang:hover {
    border-color: var(--c-green);
    color: var(--c-white);
    background: var(--c-green);
}

.navbar__lang:hover svg {
    stroke: var(--c-white);
}

/* Navbar CTA — elevated with subtle glow */
.navbar__cta {
    box-shadow: 0 2px 12px rgba(29,178,89,0.2);
}

.navbar__cta:hover {
    box-shadow: 0 4px 20px rgba(29,178,89,0.35);
}

/* Hamburger */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    padding: 8px;
    border-radius: var(--r-sm);
    transition: background var(--t-fast) ease;
}

.navbar__hamburger:hover {
    background: var(--c-grey-50);
}

.navbar__hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--c-grey-700);
    border-radius: 2px;
    transition: all var(--t-base) var(--ease-out);
    transform-origin: center;
}

.navbar__hamburger.is-active .navbar__hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.is-active .navbar__hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar__hamburger.is-active .navbar__hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay */
.navbar__mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-base) ease, visibility var(--t-base) ease;
}

.navbar__mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Slide-out */
.navbar__mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(380px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--c-white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: right var(--t-slow) var(--ease-out);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.navbar__mobile.is-open {
    right: 0;
}

.navbar__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-6);
    border-bottom: 1px solid var(--c-grey-100);
    flex-shrink: 0;
}

.navbar__mobile-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    transition: background var(--t-fast) ease;
}

.navbar__mobile-close:hover {
    background: var(--c-grey-50);
}

.navbar__mobile-close svg {
    stroke: var(--c-grey-600);
}

/* Mobile Menu Items */
.navbar__mobile-menu {
    flex: 1;
    padding: var(--sp-4) var(--sp-6);
}

.navbar__mobile-item {
    border-bottom: 1px solid var(--c-grey-100);
}

.navbar__mobile-item:last-child {
    border-bottom: none;
}

.navbar__mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--sp-4) 0;
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-grey-800);
    transition: color var(--t-fast) ease;
}

.navbar__mobile-link:hover {
    color: var(--c-green);
}

.navbar__mobile-item.is-active > .navbar__mobile-link {
    color: var(--c-green);
}

.navbar__mobile-chevron {
    transition: transform var(--t-base) ease;
}

.navbar__mobile-item--parent.is-expanded .navbar__mobile-chevron {
    transform: rotate(180deg);
}

/* Mobile Sub-menu */
.navbar__mobile-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base) var(--ease-out);
}

.navbar__mobile-item--parent.is-expanded .navbar__mobile-sub {
    max-height: 300px;
}

.navbar__mobile-sublink {
    display: block;
    padding: var(--sp-3) var(--sp-4);
    margin-bottom: var(--sp-1);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    color: var(--c-grey-700);
    transition: background var(--t-fast) ease;
}

.navbar__mobile-sublink:hover {
    background: var(--c-green-bg-subtle);
}

.navbar__mobile-sublink small {
    display: block;
    font-size: var(--fs-xs);
    color: var(--c-text-lighter);
    margin-top: 2px;
}

/* Mobile Footer */
.navbar__mobile-footer {
    padding: var(--sp-6);
    border-top: 1px solid var(--c-grey-100);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.navbar__mobile-contact {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.navbar__mobile-contact-link {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
    color: var(--c-grey-600);
    transition: color var(--t-fast) ease;
}

.navbar__mobile-contact-link:hover {
    color: var(--c-green);
}

.navbar__mobile-contact-link svg {
    flex-shrink: 0;
    stroke: var(--c-green);
}

.navbar__mobile-lang {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-3);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-grey-600);
    border: 1px solid var(--c-grey-200);
    border-radius: var(--r-md);
    justify-content: center;
    transition: all var(--t-fast) ease;
}

.navbar__mobile-lang:hover {
    border-color: var(--c-green);
    color: var(--c-green);
}


/* ============================================
   HERO — Cinematic Split-Reveal
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--navbar-h) + var(--sp-8)) 0 var(--sp-8);
    overflow: hidden;
    background: var(--c-grey-900);
    color: var(--c-white);
}

/* ── Video Background ── */
.hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Layered Background (sits over video) ── */
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(29,178,89,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(10,228,71,0.05) 0%, transparent 50%),
        linear-gradient(180deg, rgba(13,26,18,0.80) 0%, rgba(13,26,18,0.65) 40%, rgba(13,26,18,0.75) 100%);
}

.hero__noise {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

.hero__grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
}

/* Glow orbs */
.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero__glow--1 {
    width: 600px;
    height: 600px;
    background: var(--c-green);
    opacity: 0.08;
    top: -20%;
    left: 20%;
    animation: glowDrift 18s ease-in-out infinite;
}

.hero__glow--2 {
    width: 400px;
    height: 400px;
    background: var(--c-green-light);
    opacity: 0.05;
    bottom: -10%;
    right: 10%;
    animation: glowDrift 22s ease-in-out infinite reverse;
}

@keyframes glowDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.1); }
    66%      { transform: translate(-30px, 20px) scale(0.95); }
}

/* Floating geometric shapes */
.hero__shape {
    position: absolute;
    border: 1px solid rgba(29,178,89,0.15);
    border-radius: var(--r-sm);
    animation: shapeFloat 20s ease-in-out infinite;
}

.hero__shape--1 {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 8%;
    transform: rotate(15deg);
    background: rgba(29,178,89,0.04);
    animation-delay: 0s;
}

.hero__shape--2 {
    width: 40px;
    height: 40px;
    top: 25%;
    right: 12%;
    transform: rotate(-20deg);
    background: rgba(10,228,71,0.03);
    animation-delay: -5s;
}

.hero__shape--3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    transform: rotate(45deg);
    border-radius: var(--r-md);
    background: rgba(29,178,89,0.03);
    animation-delay: -10s;
}

.hero__shape--4 {
    width: 50px;
    height: 50px;
    bottom: 30%;
    right: 8%;
    transform: rotate(-10deg);
    background: rgba(29,178,89,0.04);
    animation-delay: -15s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) rotate(var(--r, 15deg)); }
    25%      { transform: translateY(-20px) rotate(calc(var(--r, 15deg) + 5deg)); }
    50%      { transform: translateY(10px) rotate(calc(var(--r, 15deg) - 3deg)); }
    75%      { transform: translateY(-15px) rotate(calc(var(--r, 15deg) + 2deg)); }
}

/* ── Container Layout ── */
.hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - var(--navbar-h) - var(--sp-16));
    min-height: calc(100dvh - var(--navbar-h) - var(--sp-16));
    justify-content: center;
    gap: var(--sp-12);
}

/* ── Center Content Block ── */
.hero__center {
    text-align: center;
    max-width: 900px;
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-5) var(--sp-2) var(--sp-3);
    background: rgba(29,178,89,0.1);
    border: 1px solid rgba(29,178,89,0.2);
    border-radius: var(--r-full);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-green-light);
    margin-bottom: var(--sp-8);
    backdrop-filter: blur(8px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-green-light);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(10,228,71,0.4); }
    50%      { opacity: 0.7; box-shadow: 0 0 0 6px rgba(10,228,71,0); }
}

/* ── Oversized Title with Word-by-Word Reveal ── */
.hero__title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--sp-6);
    letter-spacing: -0.02em;
    color: var(--c-white);
}

.hero__title-line {
    display: block;
    overflow: hidden;
}

.hero__title-word {
    display: inline-block;
    transform: translateY(110%);
    animation: wordReveal 0.8s var(--ease-out) forwards;
    animation-delay: var(--word-delay, 0s);
}

/* Staggered word delays set via CSS counters */
.hero__title-line:first-child .hero__title-word:nth-child(1) { --word-delay: 0.3s; }
.hero__title-line:first-child .hero__title-word:nth-child(2) { --word-delay: 0.4s; }
.hero__title-line:first-child .hero__title-word:nth-child(3) { --word-delay: 0.5s; }

.hero__title-line--accent .hero__title-word:nth-child(1) { --word-delay: 0.55s; }
.hero__title-line--accent .hero__title-word:nth-child(2) { --word-delay: 0.65s; }

/* Add spacing between words */
.hero__title-word + .hero__title-word {
    margin-left: 0.3em;
}

@keyframes wordReveal {
    to { transform: translateY(0); }
}

/* Gradient accent line */
.hero__title-line--accent {
    background: linear-gradient(90deg, var(--c-green), var(--c-green-light), var(--c-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: gradientShift 6s ease-in-out infinite;
}

/* Keep word reveal on accent children */
.hero__title-line--accent .hero__title-word {
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    background-clip: inherit;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ── Subtitle ── */
.hero__subtitle {
    font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto var(--sp-10);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s var(--ease-out) 0.8s forwards;
}

.hide-mobile { display: inline; }

/* ── Action Buttons ── */
.hero__actions {
    display: flex;
    gap: var(--sp-4);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s var(--ease-out) 1s forwards;
}

.hero__btn-primary {
    box-shadow: 0 0 40px rgba(29,178,89,0.3), 0 0 80px rgba(29,178,89,0.1);
}

.hero__btn-primary:hover {
    box-shadow: 0 0 50px rgba(29,178,89,0.4), 0 0 100px rgba(29,178,89,0.15);
}

/* Outline button override for dark bg */
.hero .btn--outline {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.2);
}

.hero .btn--outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
    color: var(--c-white);
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Stats — Clean 4-Column Grid ── */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s var(--ease-out) 1.2s forwards;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--sp-6) var(--sp-4);
    position: relative;
    white-space: nowrap;
}

/* Vertical dividers between stats */
.hero__stat + .hero__stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(29,178,89,0.25), transparent);
}

.hero__stat-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
    gap: 0;
}

.hero__stat-number {
    font-size: clamp(1.8rem, 3.6vw, 2.475rem);
    font-weight: 900;
    color: var(--c-white);
    line-height: 1;
    display: inline;
    white-space: nowrap;
}

.hero__stat-suffix {
    font-size: clamp(1.125rem, 2.25vw, 1.575rem);
    font-weight: 800;
    color: var(--c-green-light);
    line-height: 1;
    white-space: nowrap;
}

.hero__stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: var(--sp-2);
    font-weight: 500;
}

/* ── Scroll Cue (mouse icon) ── */
.hero__scroll {
    position: absolute;
    bottom: var(--sp-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    z-index: 3;
    opacity: 0;
    animation: heroFadeUp 0.6s var(--ease-out) 1.6s forwards;
}

.hero__scroll span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
}

.hero__scroll-mouse {
    width: 22px;
    height: 34px;
    border-radius: 11px;
    border: 1.5px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    padding-top: 7px;
}

.hero__scroll-wheel {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--c-green-light);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%   { opacity: 1; transform: translateY(0); }
    50%  { opacity: 0.3; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}



/* ============================================
   FEATURES (Why Cubic)
   ============================================ */
.features {
    padding: var(--section-py) 0;
    background: var(--c-white);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}

.feature-card {
    padding: var(--sp-8);
    border-radius: var(--r-lg);
    border: 1px solid var(--c-grey-100);
    background: var(--c-white);
    transition: all var(--t-base) var(--ease-out);
}

.feature-card:hover {
    border-color: var(--c-green);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-card--highlight {
    background: var(--c-green-bg-subtle);
    border-color: rgba(29,178,89,0.15);
}

.feature-card__icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: var(--c-green-bg);
    margin-bottom: var(--sp-5);
    transition: all var(--t-base) ease;
}

.feature-card:hover .feature-card__icon-wrap {
    background: var(--c-green);
}

.feature-card__icon-wrap svg {
    stroke: var(--c-green);
    transition: stroke var(--t-base) ease;
}

.feature-card:hover .feature-card__icon-wrap svg {
    stroke: var(--c-white);
}

.feature-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--sp-3);
}

.feature-card__desc {
    font-size: var(--fs-sm);
    color: var(--c-text-light);
    line-height: 1.7;
}


/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: var(--section-py) 0;
    background: var(--c-bg-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
    counter-reset: step;
}

.step {
    position: relative;
    text-align: center;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--r-full);
    background: var(--c-green);
    color: var(--c-white);
    font-size: var(--fs-xl);
    font-weight: 800;
    margin-bottom: var(--sp-6);
    box-shadow: var(--shadow-green);
}

.step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
}

.step__icon svg {
    stroke: var(--c-green);
}

.step__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--sp-3);
}

.step__desc {
    font-size: var(--fs-sm);
    color: var(--c-text-light);
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
}

.step__connector {
    display: none;
}

/* Connector line between steps (desktop) */
@media (min-width: 769px) {
    .step__connector {
        display: block;
        position: absolute;
        top: 32px;
        left: calc(50% + 48px);
        width: calc(100% - 96px);
        height: 2px;
        background: repeating-linear-gradient(
            90deg,
            var(--c-green) 0px,
            var(--c-green) 6px,
            transparent 6px,
            transparent 12px
        );
        opacity: 0.3;
    }

    .step:last-child .step__connector {
        display: none;
    }
}


/* ============================================
   SOLUTIONS — Clean Light Cards
   ============================================ */
.solutions {
    padding: var(--section-py) 0;
    background: var(--c-bg-alt);
}

.sol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-7);
}

/* ── Card ── */
.sol {
    background: var(--c-white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--c-grey-100);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sol:hover {
    border-color: rgba(29,178,89,0.2);
    box-shadow: 0 20px 48px rgba(0,0,0,0.07), 0 4px 12px rgba(0,0,0,0.03);
    transform: translateY(-6px);
}

/* ── Image ── */
.sol__visual {
    position: relative;
    margin: var(--sp-4) var(--sp-4) 0;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.sol__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sol:hover .sol__visual img {
    transform: scale(1.06);
}

/* Tag badge on image */
.sol__tag {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--c-green);
    background: var(--c-white);
    padding: 5px 12px;
    border-radius: var(--r-full);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sol__tag--accent {
    color: var(--c-white);
    background: var(--c-green);
    box-shadow: 0 2px 10px rgba(29,178,89,0.3);
}

/* ── Body ── */
.sol__body {
    padding: var(--sp-5) var(--sp-6) var(--sp-6);
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Category label */
.sol__cat {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--c-green);
    margin-bottom: var(--sp-2);
}

.sol__cat--blue { color: #2563eb; }
.sol__cat--purple { color: #7c3aed; }

/* Title */
.sol__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--c-grey-900);
    margin-bottom: var(--sp-3);
    letter-spacing: -0.01em;
}

/* Description */
.sol__desc {
    font-size: var(--fs-sm);
    color: var(--c-text-light);
    line-height: 1.7;
    margin-bottom: var(--sp-5);
}

/* Feature list */
.sol__features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.sol__features li {
    font-size: 0.84rem;
    color: var(--c-grey-700);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.sol__features li svg {
    flex-shrink: 0;
    color: var(--c-green);
}

/* CTA Button */
.sol__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--c-white);
    background: var(--c-green);
    padding: 13px 24px;
    border-radius: var(--r-lg);
    text-decoration: none;
    transition: all 0.35s ease;
    margin-top: auto;
}

.sol__cta:hover {
    background: var(--c-green-dark);
    box-shadow: 0 4px 16px rgba(29,178,89,0.3);
}

.sol__cta svg {
    transition: transform 0.3s ease;
}

.sol__cta:hover svg {
    transform: translateX(3px);
}


/* ============================================
   STORAGE TIERS — Dark Immersive Split
   ============================================ */
.tiers {
    position: relative;
    padding: var(--section-py) 0;
    background: var(--c-grey-900);
    overflow: hidden;
}

.tiers__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.tiers__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.tiers__glow--1 {
    width: 500px;
    height: 500px;
    background: var(--c-green);
    top: -120px;
    right: -80px;
    opacity: 0.12;
}

.tiers__glow--2 {
    width: 400px;
    height: 400px;
    background: var(--c-green);
    bottom: -100px;
    left: -60px;
    opacity: 0.08;
}

/* Light header variant */
.section-header--light .section-header__eyebrow {
    color: var(--c-green);
}

.section-header--light .section-header__title {
    color: var(--c-white);
}

.section-header--light .section-header__desc {
    color: rgba(255,255,255,0.55);
}

/* Panels container */
.tiers__panels {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    max-width: 920px;
    margin: 0 auto;
    align-items: stretch;
}

/* Vertical divider */
.tiers__divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-10) var(--sp-6);
}

.tiers__divider-line {
    flex: 1;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.tiers__divider-or {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    padding: var(--sp-2) 0;
}

/* ── Panel card ── */
.tier-panel {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out);
}

.tier-panel:hover {
    transform: translateY(-4px);
}

.tier-panel__inner {
    padding: var(--sp-10) var(--sp-8);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Smart panel — glass on dark */
.tier-panel--smart {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.tier-panel--smart:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

/* Elite panel — green-tinted glass */
.tier-panel--elite {
    background: rgba(29,178,89,0.06);
    border: 1px solid rgba(29,178,89,0.18);
    box-shadow: 0 0 60px rgba(29,178,89,0.06);
}

.tier-panel--elite:hover {
    border-color: rgba(29,178,89,0.3);
    box-shadow: 0 8px 60px rgba(29,178,89,0.12);
}

/* Recommended badge */
.tier-panel__badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 8px 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--c-white);
    background: var(--c-green);
}

.tier-panel--elite .tier-panel__inner {
    padding-top: calc(var(--sp-10) + 20px);
}

/* Label */
.tier-panel__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--sp-3);
}

.tier-panel__label--green {
    color: var(--c-green);
}

/* Name */
.tier-panel__name {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--c-white);
    margin-bottom: var(--sp-2);
    letter-spacing: -0.02em;
}

/* Tagline */
.tier-panel__tagline {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--sp-8);
    line-height: 1.5;
}

/* Price block */
.tier-panel__price {
    display: flex;
    align-items: baseline;
    gap: var(--sp-2);
    margin-bottom: var(--sp-7);
    padding-bottom: var(--sp-7);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tier-panel__price-from {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
}

.tier-panel__price-val {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--c-white);
    letter-spacing: -0.02em;
}

.tier-panel__price-val--green {
    color: var(--c-green);
}

.tier-panel__price-per {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.35);
    font-weight: 500;
}

/* Feature list */
.tier-panel__list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--sp-8);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    flex: 1;
}

.tier-panel__list li {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.6);
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.tier-panel__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(29,178,89,0.12);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231db259' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

/* Extra features highlighted */
.tier-panel__list-extra {
    color: var(--c-green) !important;
    font-weight: 600;
}

.tier-panel__list-extra::before {
    background-color: rgba(29,178,89,0.2) !important;
}

/* Outline light button */
.btn--outline-light {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--r-md);
    color: var(--c-white);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--t-base) ease;
    width: 100%;
    justify-content: center;
}

.btn--outline-light:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
}

/* Green glow button variant */
.btn--glow {
    box-shadow: 0 4px 24px rgba(29,178,89,0.25);
    width: 100%;
    justify-content: center;
}

.btn--glow:hover {
    box-shadow: 0 6px 32px rgba(29,178,89,0.4);
}


/* ============================================
   SIZE CALCULATOR
   ============================================ */
.size-calculator {
    padding: var(--section-py) 0;
    background: var(--c-bg-alt);
}

.size-calc {
    background: var(--c-white);
    border-radius: var(--r-xl);
    border: 1px solid var(--c-grey-100);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.size-calc__tabs {
    display: flex;
    border-bottom: 1px solid var(--c-grey-100);
}

.size-calc__tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-5) var(--sp-4);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-grey-500);
    border-bottom: 3px solid transparent;
    transition: all var(--t-base) ease;
    cursor: pointer;
}

.size-calc__tab svg {
    stroke: var(--c-grey-400);
    transition: stroke var(--t-fast) ease;
}

.size-calc__tab small {
    font-size: var(--fs-xs);
    font-weight: 400;
    color: var(--c-text-lighter);
}

.size-calc__tab:hover {
    color: var(--c-green);
    background: var(--c-green-bg-subtle);
}

.size-calc__tab:hover svg {
    stroke: var(--c-green);
}

.size-calc__tab.active {
    color: var(--c-green);
    border-bottom-color: var(--c-green);
    background: var(--c-green-bg-subtle);
}

.size-calc__tab.active svg {
    stroke: var(--c-green);
}

/* Panels */
.size-calc__panel {
    display: none;
    padding: var(--sp-10);
}

.size-calc__panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
    align-items: center;
    animation: fadeIn var(--t-base) ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Size visual room illustration */
.size-calc__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-8);
}

.size-calc__room {
    width: calc(200px * var(--room-scale, 1));
    height: calc(200px * var(--room-scale, 1));
    min-width: 100px;
    min-height: 100px;
    border: 3px solid var(--c-green);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--c-green-bg-subtle);
    transition: all var(--t-base) ease;
}

.size-calc__room-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-calc__dimension {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-green-dark);
}

.size-calc__info h3 {
    font-size: var(--fs-xl);
    font-weight: 800;
    margin-bottom: var(--sp-3);
}

.size-calc__range {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-green);
}

.size-calc__info > p {
    font-size: var(--fs-sm);
    color: var(--c-text-light);
    line-height: 1.7;
    margin-bottom: var(--sp-5);
}

.size-calc__fits {
    margin-bottom: var(--sp-5);
}

.size-calc__fits-label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-text-lighter);
    margin-bottom: var(--sp-2);
}

.size-calc__fits-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.size-calc__fits-items span {
    display: inline-block;
    padding: var(--sp-1) var(--sp-3);
    background: var(--c-grey-50);
    border-radius: var(--r-full);
    font-size: var(--fs-xs);
    color: var(--c-grey-700);
}

.size-calc__price {
    font-size: var(--fs-md);
    color: var(--c-grey-700);
    margin-bottom: var(--sp-6);
}

.size-calc__price strong {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--c-grey-900);
}


/* ============================================
   FACILITY SHOWCASE
   ============================================ */
.facility {
    padding: var(--section-py) 0;
    background: var(--c-white);
}

.facility__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
}

.facility__desc {
    font-size: var(--fs-md);
    color: var(--c-text-light);
    line-height: 1.7;
    margin-bottom: var(--sp-8);
}

.facility__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3) var(--sp-6);
    margin-bottom: var(--sp-8);
}

.facility__feature {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
    color: var(--c-grey-700);
}

.facility__feature svg {
    flex-shrink: 0;
    stroke: var(--c-green);
}

/* Gallery */
.facility__gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--sp-4);
}

.facility__gallery-item {
    border-radius: var(--r-lg);
    overflow: hidden;
}

.facility__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow) var(--ease-out);
}

.facility__gallery-item:hover img {
    transform: scale(1.04);
}

.facility__gallery-item--large {
    grid-column: 1 / -1;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--section-py) 0;
    background: var(--c-bg-alt);
}

.testimonials__carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}

.testimonial-card {
    padding: var(--sp-8);
    background: var(--c-white);
    border-radius: var(--r-lg);
    border: 1px solid var(--c-grey-100);
    transition: all var(--t-base) var(--ease-out);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-card__stars {
    color: #f59e0b;
    font-size: var(--fs-md);
    margin-bottom: var(--sp-4);
    letter-spacing: 2px;
}

.testimonial-card__quote {
    font-size: var(--fs-sm);
    color: var(--c-grey-700);
    line-height: 1.8;
    margin-bottom: var(--sp-6);
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--r-full);
    background: var(--c-green-bg);
    color: var(--c-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-card__name {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-grey-800);
}

.testimonial-card__role {
    display: block;
    font-size: var(--fs-xs);
    color: var(--c-text-lighter);
}


/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--section-py) 0;
    background: var(--c-white);
}

.faq__layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--sp-16);
    align-items: start;
}

.faq__header {
    position: sticky;
    top: calc(var(--navbar-h) + var(--sp-8));
}

.faq__header .section-header__eyebrow,
.faq__header .section-header__title {
    text-align: left;
}

.faq__header-desc {
    font-size: var(--fs-md);
    color: var(--c-text-light);
    line-height: 1.7;
    margin-bottom: var(--sp-6);
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.faq__item {
    border: 1px solid var(--c-grey-100);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}

.faq__item[open] {
    border-color: var(--c-green);
    box-shadow: 0 0 0 1px var(--c-green);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-5) var(--sp-6);
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--c-grey-800);
    cursor: pointer;
    list-style: none;
    transition: color var(--t-fast) ease;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question:hover {
    color: var(--c-green);
}

.faq__chevron {
    flex-shrink: 0;
    transition: transform var(--t-base) var(--ease-out);
    stroke: var(--c-grey-400);
}

.faq__item[open] .faq__chevron {
    transform: rotate(180deg);
    stroke: var(--c-green);
}

.faq__answer {
    padding: 0 var(--sp-6) var(--sp-5);
}

.faq__answer p {
    font-size: var(--fs-sm);
    color: var(--c-text-light);
    line-height: 1.8;
}


/* ============================================
   LOCATION
   ============================================ */
.location {
    padding: var(--section-py) 0;
    background: var(--c-bg-alt);
}

.location__layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--sp-12);
    align-items: center;
}

.location__desc {
    font-size: var(--fs-md);
    color: var(--c-text-light);
    line-height: 1.7;
    margin-bottom: var(--sp-6);
}

.location__address {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-5);
    background: var(--c-white);
    border-radius: var(--r-md);
    margin-bottom: var(--sp-5);
    font-size: var(--fs-sm);
    color: var(--c-grey-700);
    line-height: 1.7;
    border: 1px solid var(--c-grey-100);
}

.location__address svg {
    flex-shrink: 0;
    stroke: var(--c-green);
    margin-top: 2px;
}

.location__address strong {
    display: block;
    color: var(--c-grey-900);
    margin-bottom: 2px;
}

.location__contacts {
    display: flex;
    gap: var(--sp-5);
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
}

.location__contact {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-grey-700);
    transition: color var(--t-fast) ease;
}

.location__contact svg {
    stroke: var(--c-green);
    flex-shrink: 0;
}

.location__contact:hover {
    color: var(--c-green);
}

.location__map {
    border-radius: var(--r-xl);
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-grey-100);
}

.location__map iframe {
    width: 100%;
    height: 100%;
    display: block;
}


/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    padding: var(--section-py) 0;
    background: var(--c-grey-900);
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.cta__orb--1 {
    width: 500px;
    height: 500px;
    background: var(--c-green);
    opacity: 0.12;
    top: -30%;
    left: -10%;
}

.cta__orb--2 {
    width: 350px;
    height: 350px;
    background: var(--c-green-light);
    opacity: 0.08;
    bottom: -20%;
    right: -5%;
}

.cta__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta__title {
    font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl));
    font-weight: 800;
    color: var(--c-white);
    line-height: 1.15;
    margin-bottom: var(--sp-5);
}

.cta__desc {
    font-size: var(--fs-md);
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: var(--sp-10);
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
}


/* ============================================
   FOOTER
   ============================================ */

/* Newsletter Strip */
.footer__newsletter {
    background: var(--c-green);
    padding: var(--sp-12) 0;
}

.footer__newsletter-inner {
    display: flex;
    align-items: center;
    gap: var(--sp-12);
}

.footer__newsletter-text {
    flex: 1;
}

.footer__newsletter-title {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--c-white);
    margin-bottom: var(--sp-2);
}

.footer__newsletter-desc {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.8);
}

.footer__newsletter-form {
    flex: 1;
    max-width: 480px;
}

.footer__newsletter-input-wrap {
    display: flex;
    border-radius: var(--r-md);
    overflow: hidden;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    transition: border-color var(--t-fast) ease;
}

.footer__newsletter-input-wrap:focus-within {
    border-color: var(--c-white);
    background: rgba(255,255,255,0.2);
}

.footer__newsletter-input {
    flex: 1;
    padding: var(--sp-4) var(--sp-5);
    border: none;
    background: transparent;
    color: var(--c-white);
    font-size: var(--fs-sm);
    outline: none;
    min-width: 0;
}

.footer__newsletter-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer__newsletter-btn {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-6);
    background: var(--c-white);
    color: var(--c-green-dark);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all var(--t-fast) ease;
    white-space: nowrap;
}

.footer__newsletter-btn:hover {
    background: var(--c-grey-50);
}

.footer__newsletter-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.footer__newsletter-btn svg {
    stroke: var(--c-green-dark);
}

.footer__newsletter-note {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.5);
    margin-top: var(--sp-2);
}

/* Main Footer */
.footer__main {
    background: var(--c-grey-900);
    padding: var(--sp-16) 0 var(--sp-12);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: var(--sp-10);
}

.footer__logo {
    display: inline-block;
    margin-bottom: var(--sp-5);
}

.footer__logo img {
    height: 36px;
    width: auto;
}

.footer__brand-desc {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin-bottom: var(--sp-6);
}

.footer__social {
    display: flex;
    gap: var(--sp-3);
}

.footer__social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all var(--t-base) ease;
}

.footer__social-link svg {
    width: 16px;
    height: 16px;
    fill: rgba(255,255,255,0.5);
    transition: fill var(--t-fast) ease;
}

.footer__social-link:hover {
    border-color: var(--c-green);
    background: var(--c-green);
    transform: translateY(-3px);
}

.footer__social-link:hover svg {
    fill: var(--c-white);
}

.footer__col-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--c-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--sp-5);
}

.footer__links li {
    margin-bottom: var(--sp-3);
}

.footer__links a {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.5);
    transition: color var(--t-fast) ease;
}

.footer__links a:hover {
    color: var(--c-green);
}

/* Contact list */
.footer__contact-list li {
    margin-bottom: var(--sp-4);
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.5);
    transition: color var(--t-fast) ease;
}

.footer__contact-item svg {
    flex-shrink: 0;
    stroke: var(--c-green);
}

.footer__contact-item:hover {
    color: var(--c-green);
}

.footer__hours {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.5);
}

.footer__hours svg {
    flex-shrink: 0;
    stroke: var(--c-green);
}

/* Bottom Bar */
.footer__bottom {
    background: var(--c-black);
    padding: var(--sp-5) 0;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-4);
}

.footer__copyright {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.35);
}

.footer__legal {
    display: flex;
    gap: var(--sp-5);
}

.footer__legal a {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.35);
    transition: color var(--t-fast) ease;
}

.footer__legal a:hover {
    color: var(--c-green);
}

.footer__payment-icons {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.footer__payment-label {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.25);
}

.footer__payment-methods {
    display: flex;
    gap: var(--sp-2);
}

.footer__payment-methods img {
    height: 22px;
    width: auto;
    opacity: 0.5;
    transition: opacity var(--t-fast) ease;
}

.footer__payment-methods img:hover {
    opacity: 1;
}


/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: var(--sp-6);
    right: var(--sp-6);
    width: 48px;
    height: 48px;
    border-radius: var(--r-full);
    background: var(--c-green);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    box-shadow: var(--shadow-green);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--t-base) var(--ease-out);
    cursor: pointer;
    border: none;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--c-green-dark);
    transform: translateY(-3px);
}


/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: var(--sp-6);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-6);
    background: var(--c-white);
    border: 1px solid var(--c-green);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base) var(--ease-out);
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast--error {
    border-color: var(--c-error);
}

.toast__icon {
    flex-shrink: 0;
    stroke: var(--c-green);
}

.toast--error .toast__icon {
    stroke: var(--c-error);
}

.toast__text {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-grey-800);
}


/* ============================================
   MISC STRUCTURAL CLASSES
   ============================================ */
.page-home {} /* Page-level identifier for home-specific overrides */
.facility__content {} /* Text content side of facility section */
.location__info {} /* Text content side of location section */
.size-calc__panels {} /* Panels wrapper for size calculator */
.step__content {} /* Text content inside step card */

/* Mobile toggle link variant inherits from .navbar__mobile-link */
.navbar__mobile-link--toggle {
    cursor: pointer;
}


/* ============================================
   ANIMATIONS (scroll-triggered base states 
   are inlined in head.php critical CSS)
   ============================================ */

/* Floating dot animation */
@keyframes floatDot {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    25% { transform: translate(12px, -18px); opacity: 1; }
    50% { transform: translate(-8px, -30px); opacity: 0.4; }
    75% { transform: translate(15px, -12px); opacity: 0.8; }
}

/* Pulse ring — used on highlighted elements */
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(29,178,89,0.3); }
    70% { box-shadow: 0 0 0 12px rgba(29,178,89,0); }
    100% { box-shadow: 0 0 0 0 rgba(29,178,89,0); }
}

/* Gentle float — for decorative shapes */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

/* Draw line — for connector lines */
@keyframes drawLine {
    from { stroke-dashoffset: 200; }
    to { stroke-dashoffset: 0; }
}

/* Scroll progress bar — fixed top */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-green), var(--c-green-light));
    z-index: 10000;
    width: 0%;
    transition: none;
    pointer-events: none;
}

/* Step connectors — animated on scroll */
.step__connector {
    position: relative;
    overflow: hidden;
}

.step__connector::after {
    content: '';
    display: block;
    width: 2px;
    height: 100%;
    background: var(--c-green);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-stagger].is-visible .step__connector::after {
    transform: scaleY(1);
}

/* Feature cards — icon pulse on visible */
.feature-card.is-visible .feature-card__icon,
[data-stagger].is-visible .feature-card .feature-card__icon {
    animation: pulseRing 2s ease-out 0.5s;
}

/* Testimonial cards — subtle entrance */
.testimonial-card {
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Section header eyebrow — slide-in underline on visible */
.section-header__eyebrow {
    position: relative;
}

.section-header__eyebrow::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 30px;
    height: 2px;
    background: var(--c-green);
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

[data-animate].is-visible .section-header__eyebrow::after,
.section-header__eyebrow.is-visible::after {
    transform: translateX(-50%) scaleX(1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-dot,
    .parallax-shape {
        animation: none !important;
    }
    .scroll-progress {
        display: none;
    }
}


/* ============================================
   RESPONSIVE
   ============================================ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
    .hero__container {
        flex-direction: column;
        text-align: center;
    }

    .hero__stats {
        max-width: 600px;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sol-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .sol__content {
        padding: var(--sp-5);
    }

    .sol__title {
        font-size: 1.5rem;
    }

    .tiers__panels {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
        gap: 0;
    }

    .tiers__divider {
        flex-direction: row;
        padding: var(--sp-4) 0;
    }

    .tiers__divider-line {
        width: auto;
        height: 1px;
        flex: 1;
    }

    .facility__layout {
        grid-template-columns: 1fr;
        gap: var(--sp-10);
    }

    .faq__layout {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }

    .faq__header {
        position: static;
        text-align: center;
    }

    .faq__header .section-header__eyebrow,
    .faq__header .section-header__title {
        text-align: center;
    }

    .location__layout {
        grid-template-columns: 1fr;
    }

    .location__map {
        height: 350px;
    }

    .footer__newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__newsletter-form {
        max-width: 100%;
        width: 100%;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer__col--brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer__col--brand .footer__social {
        justify-content: center;
    }
}


/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
    :root {
        --section-py: clamp(3rem, 8vw, 5rem);
    }

    /* Navbar mobile adjustments */
    .navbar__menu {
        display: none;
    }

    .navbar__cta {
        display: none;
    }

    .navbar__hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        padding-top: calc(var(--navbar-h) + var(--sp-8));
    }

    .hero__title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero__shape {
        display: none;
    }

    .hero__scroll {
        display: none;
    }

    .hide-mobile {
        display: none;
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 360px;
    }

    /* Reset vertical dividers for 2-col: hide left border on 1st and 3rd items */
    .hero__stat:nth-child(3)::before {
        display: none;
    }

    /* Add a horizontal rule between rows */
    .hero__stat:nth-child(n+3) {
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .hero__stat {
        padding: var(--sp-5) var(--sp-3);
    }

    /* Features */
    .features__grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: var(--sp-6);
    }

    /* Steps */
    .steps {
        grid-template-columns: 1fr;
        gap: var(--sp-6);
    }

    .step__connector {
        display: none !important;
    }

    /* Size calculator */
    .size-calc__tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .size-calc__tab {
        min-width: 110px;
        padding: var(--sp-4) var(--sp-3);
    }

    .size-calc__panel.active {
        grid-template-columns: 1fr;
        padding: var(--sp-6);
        gap: var(--sp-6);
    }

    /* Testimonials */
    .testimonials__carousel {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__col--brand {
        grid-column: 1 / -1;
    }

    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--sp-3);
    }

    .footer__legal {
        justify-content: center;
    }

    .footer__payment-icons {
        justify-content: center;
    }
}


/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
    .hero__stat-number {
        font-size: 1.5rem;
    }

    .hero__stat-suffix {
        font-size: 1rem;
    }

    .hero__badge {
        font-size: 0.65rem;
    }

    .sol__body {
        padding: var(--sp-5) var(--sp-4);
    }

    .tier-card__header {
        padding: var(--sp-6) var(--sp-5) var(--sp-5);
    }

    .tier-card__body {
        padding: var(--sp-5);
    }

    .tier-card__title {
        font-size: var(--fs-xl);
    }

    .tier-card__price-amount {
        font-size: 1.75rem;
    }

    .tier-panel__inner {
        padding: var(--sp-8) var(--sp-6);
    }

    .tier-panel--elite .tier-panel__inner {
        padding-top: calc(var(--sp-8) + 20px);
    }

    .facility__features {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__col--brand {
        text-align: center;
    }

    .footer__newsletter-input-wrap {
        flex-direction: column;
    }

    .footer__newsletter-btn {
        justify-content: center;
        padding: var(--sp-4);
    }

    .location__contacts {
        flex-direction: column;
    }
}


/* ── Print ── */
/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    .hero__video {
        display: none;
    }

    .hero__gradient {
        background:
            radial-gradient(ellipse 80% 60% at 50% 0%, rgba(29,178,89,0.12) 0%, transparent 60%),
            linear-gradient(180deg, var(--c-grey-900) 0%, #0d1a12 100%) !important;
    }
}

@media print {
    .navbar,
    .back-to-top,
    .toast,
    .footer__newsletter,
    .cta {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}