/* ═══════════════════════════════════════════════════════
   GARAGE DOOR WATAUGA — Design System v3.0
   Complete rebuild: premium, conversion-focused
═══════════════════════════════════════════════════════ */

/* ── 1. Design Tokens ── */
:root {
    /* Brand */
    --primary: #0c1f3f;
    --primary-600: #132d54;
    --primary-400: #1e4175;
    --primary-light: #e9eef5;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-soft: rgba(245, 158, 11, 0.12);
    --accent-glow: 0 8px 32px rgba(245, 158, 11, 0.25);

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0f172a;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --fs-hero: clamp(2.5rem, 5.5vw, 4rem);
    --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
    --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-xs: 0.75rem;

    /* 8px Modular Spacing */
    --s-1: 8px;
    --s-2: 16px;
    --s-3: 24px;
    --s-4: 32px;
    --s-5: 40px;
    --s-6: 48px;
    --s-8: 64px;
    --s-10: 80px;
    --s-12: 96px;
    --s-16: 128px;

    /* Layout */
    --container: 1280px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, .16);

    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.4s;
}

/* ── 2. Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--gray-900);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* ── 3. Layout System ── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--s-3);
}

.section {
    padding: var(--s-12) 0;
}

.section--sm {
    padding: var(--s-8) 0;
}

.grid {
    display: grid;
    gap: var(--s-4);
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--s-8);
}

.section-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-1);
    font-family: var(--font-display);
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--s-2);
}

.section-header__title {
    font-size: var(--fs-h2);
    margin-bottom: var(--s-2);
}

.section-header__subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── 4. Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-1);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-body);
    padding: var(--s-2) var(--s-4);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
    line-height: 1.5;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--accent);
    color: var(--gray-900);
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: var(--accent-glow);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--white);
}

.btn--outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--gray-200);
}

.btn--outline-dark:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn--lg {
    padding: var(--s-2) var(--s-5);
    font-size: 1.05rem;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ── 5. Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--s-3) 0;
    transition: all var(--duration) var(--ease);
}

.navbar.scrolled {
    background: rgba(12, 31, 63, 0.95);
    backdrop-filter: blur(16px);
    padding: var(--s-2) 0;
    box-shadow: var(--shadow-md);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.navbar__logo {
    height: 50px; /* Reduced from original logo height for aesthetic balance */
    width: auto;
    object-fit: contain;
    transition: all var(--duration) var(--ease);
}

.navbar.scrolled .navbar__logo {
    height: 40px; /* Subtle shrink on scroll for premium feel */
}

/* Fallback/Legacy classes if still referenced elsewhere */
.navbar__brand-name {
    display: none;
}

.navbar__brand-sub {
    display: none;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: var(--s-1);
    list-style: none;
}

.navbar__links a {
    font-family: var(--font-display);
    font-size: var(--fs-small);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    padding: var(--s-1) var(--s-2);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.navbar__links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--s-2) 0;
    margin-top: var(--s-1);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.navbar__links .dropdown-menu a {
    display: block;
    color: var(--gray-700);
    padding: var(--s-1) var(--s-3);
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: normal;
    background: transparent;
    border-radius: 0;
}

.navbar__links .dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.navbar__cta {
    margin-left: var(--s-3);
}

.navbar__toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--s-1);
}

/* ── 6. Hero ── */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 31, 63, 0.95) 0%, rgba(12, 31, 63, 0.75) 60%, rgba(12, 31, 63, 0.6) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--s-8);
    align-items: center;
    padding: var(--s-16) 0 var(--s-12);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s-1);
    background: var(--accent-soft);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: var(--s-1) var(--s-3);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--s-3);
}

.hero__title {
    font-size: var(--fs-hero);
    color: var(--white);
    margin-bottom: var(--s-3);
    line-height: 1.08;
}

.hero__title span {
    color: var(--accent);
}

.hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: var(--s-5);
    max-width: 560px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}

.hero__stats {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: var(--s-5);
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.hero__stat {
    text-align: center;
    padding: var(--s-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero__stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--s-1);
}

.hero__stat-label {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ── 7. Authority Bar ── */
.authority {
    background: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.authority__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.authority__item {
    padding: var(--s-4) var(--s-2);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.authority__item:last-child {
    border-right: none;
}

.authority__icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: var(--s-1);
}

.authority__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2px;
}

.authority__label {
    font-size: var(--fs-xs);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── 8. Services ── */
.services {
    background: var(--gray-50);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--s-5);
    transition: all var(--duration) var(--ease);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--s-3);
    transition: all var(--duration) var(--ease);
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: var(--accent);
    transform: scale(1.08) rotate(3deg);
}

.service-card__title {
    font-size: var(--fs-h3);
    margin-bottom: var(--s-2);
}

.service-card__desc {
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: var(--s-3);
    flex: 1;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-small);
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card__link:hover {
    color: var(--accent);
    gap: 10px;
}

/* ── 9. Why Choose Us ── */
.why {
    background: var(--white);
}

.why__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-8);
    align-items: center;
}

.why__content {
    max-width: 520px;
}

.why__content h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--s-3);
}

.why__content>p {
    color: var(--gray-500);
    margin-bottom: var(--s-5);
    line-height: 1.8;
}

.why__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.why__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--s-2);
    font-weight: 500;
    color: var(--gray-700);
}

.why__list li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.why__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.why__image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.why__image:hover img {
    transform: scale(1.04);
}

/* ── 10. How It Works ── */
.process {
    background: var(--gray-50);
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step__number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    margin: 0 auto var(--s-3);
    box-shadow: 0 8px 24px var(--accent-soft);
    transition: all var(--duration) var(--ease);
}

.process-step:hover .process-step__number {
    background: var(--accent);
    color: var(--gray-900);
    transform: scale(1.1);
}

.process-step__title {
    font-size: var(--fs-h3);
    margin-bottom: var(--s-1);
}

.process-step__desc {
    font-size: var(--fs-small);
    color: var(--gray-500);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Connecting line between steps */
.process__grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--gray-200);
    z-index: 0;
}

/* ── 11. Coupon ── */
.offer {
    background: var(--white);
    text-align: center;
}

.offer__card {
    display: inline-block;
    border: 3px solid var(--accent);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 560px;
}

.offer__card img {
    width: 100%;
    display: block;
}

.offer__note {
    color: var(--gray-500);
    font-size: var(--fs-small);
    margin-top: var(--s-3);
    margin-bottom: var(--s-3);
}

/* ── 12. FAQ ── */
.faq {
    background: var(--gray-50);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.faq__item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.faq__item:hover {
    border-color: var(--primary);
}

.faq__item.active {
    border-color: var(--accent);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-3);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: left;
    transition: color 0.3s ease;
}

.faq__question:hover {
    color: var(--primary);
}

.faq__question i {
    transition: transform 0.3s ease;
    color: var(--accent);
    font-size: var(--fs-small);
}

.faq__item.active .faq__question i {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq__item.active .faq__answer {
    max-height: 300px;
}

.faq__answer-inner {
    padding: 0 var(--s-3) var(--s-3);
    color: var(--gray-500);
    line-height: 1.8;
}

/* ── 13. Emergency CTA ── */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, #091428 100%);
    padding: var(--s-10) 0;
    text-align: center;
}

.cta-band__eyebrow {
    font-family: var(--font-display);
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--s-2);
}

.cta-band__title {
    font-size: var(--fs-h2);
    color: var(--white);
    margin-bottom: var(--s-2);
}

.cta-band__subtitle {
    color: var(--gray-400);
    font-size: 1.05rem;
    margin-bottom: var(--s-5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-band__actions {
    display: flex;
    justify-content: center;
    gap: var(--s-2);
    flex-wrap: wrap;
}

.cta-band__note {
    color: var(--gray-400);
    font-size: var(--fs-xs);
    margin-top: var(--s-3);
}

/* ── 14. Contact ── */
.contact {
    background: var(--white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: var(--s-6);
    align-items: start;
}

.contact__cards {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease);
}

.contact-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.contact-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card__label {
    font-size: var(--fs-xs);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-card__value {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gray-900);
    font-size: var(--fs-small);
}

.contact-card__value a {
    color: var(--primary);
    transition: color 0.3s ease;
}

.contact-card__value a:hover {
    color: var(--accent);
}

.contact__form-wrap {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--s-5);
}

.contact__form-title {
    font-size: var(--fs-h3);
    margin-bottom: var(--s-3);
}

/* ── 15. Footer ── */
.footer {
    background: var(--primary);
    color: var(--gray-400);
    padding-top: var(--s-10);
    padding-bottom: var(--s-4);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: var(--s-8);
    margin-bottom: var(--s-8);
}

.footer__heading {
    font-family: var(--font-display);
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--s-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer__about p {
    line-height: 1.8;
    margin-bottom: var(--s-3);
}

.footer__social {
    display: flex;
    gap: var(--s-1);
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer__social a:hover {
    background: var(--accent);
    color: var(--gray-900);
    transform: translateY(-2px);
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
}

.footer__links a {
    color: var(--gray-400);
    font-size: var(--fs-small);
    transition: all 0.3s ease;
    padding: 4px 0;
}

.footer__links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer__contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--s-2);
    font-size: var(--fs-small);
}

.footer__contact-list li i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer__contact-list a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer__contact-list a:hover {
    color: var(--white);
}

.footer__service-areas {
    font-size: var(--fs-xs);
    line-height: 1.8;
    padding-top: var(--s-5);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: var(--s-5);
    text-align: justify;
}

.footer__bottom {
    padding-top: var(--s-4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: var(--fs-xs);
    text-align: center;
}

/* ── 16. Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-stagger.active>*:nth-child(1) {
    transition-delay: 0s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(2) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(3) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(4) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

/* ── 17. Utility ── */
.text-accent {
    color: var(--accent) !important;
}

.bg-alt {
    background: var(--gray-50);
}

.spam {
    display: none;
}

/* ── 18. Responsive ── */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        display: none;
    }

    .why__grid {
        grid-template-columns: 1fr;
        gap: var(--s-5);
    }

    .why__image {
        order: -1;
    }

    .why__image img {
        height: 320px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--s-8) 0;
    }

    .section--sm {
        padding: var(--s-6) 0;
    }

    .navbar__links {
        display: none;
    }

    .navbar__cta {
        display: none;
    }

    .navbar__toggle {
        display: block;
    }

    /* Mobile menu open state */
    .navbar.nav-open .navbar__links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: var(--s-3);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .navbar.nav-open .navbar__links a {
        padding: var(--s-2);
        border-radius: var(--radius-sm);
    }

    .navbar.nav-open .navbar__cta {
        display: block;
        margin: var(--s-2) var(--s-3) var(--s-3);
    }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .authority__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .authority__item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .process__grid {
        grid-template-columns: 1fr;
        gap: var(--s-5);
    }

    .process__grid::before {
        display: none;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--s-5);
    }

    .hero {
        min-height: 80vh;
    }

    .hero__inner {
        padding: var(--s-12) 0 var(--s-8);
    }

    .cta-band {
        padding: var(--s-8) 0;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .authority__grid {
        grid-template-columns: 1fr 1fr;
    }

    .btn--lg {
        width: 100%;
    }
}