/* ============================================================
   Argon – Design Token System
   To retheme the site, only edit the variables in :root
   ============================================================ */
:root {
    /* ── Brand Colors ───────────────────────────────── */
    --color-brand: #10b981;
    --color-brand-dark: #047857;
    --color-brand-light: #34d399;

    /* ── Backgrounds ────────────────────────────────── */
    --color-bg: #000000;
    --color-bg-alt: #050505;
    --color-bg-card: rgba(16, 185, 129, 0.03);
    --color-bg-card-hover: rgba(16, 185, 129, 0.06);
    --color-bg-glass: rgba(0, 0, 0, 0.35);

    /* ── Text ───────────────────────────────────────── */
    --color-text-primary: #f5f5f7;
    /* White-ish — headings */
    --color-text-secondary: #c8c8cc;
    /* Light grey — body copy (+contrast vs old #86868b) */
    --color-text-muted: #a1a1a6;
    /* Subtler still — small labels */
    --color-text-brand: var(--color-brand);

    /* ── Borders ────────────────────────────────────── */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-brand: rgba(16, 185, 129, 0.1);
    --color-border-brand-hover: rgba(16, 185, 129, 0.3);

    /* ── Typography ─────────────────────────────────── */
    /* rem = relative to root (16px default). Scales with user browser prefs.
       Recommended over px for body text and over em for predictability. */
    --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
        'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --text-xs: clamp(0.7rem, 0.65rem + 0.2vw, 0.8rem);
    /* ~11px-13px */
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    /* ~13px-14.5px */
    --text-base: clamp(0.9rem, 0.85rem + 0.4vw, 1.05rem);
    /* ~14px-17px */
    --text-md: clamp(1rem, 0.95rem + 0.45vw, 1.15rem);
    /* ~16px-18.5px */
    --text-lg: clamp(1.1rem, 1.05rem + 0.5vw, 1.3rem);
    /* ~17.5px-21px */
    --text-xl: clamp(1.2rem, 1.1rem + 0.8vw, 1.5rem);
    /* ~19px-24px */

    /* Fluid headings use clamp(min, preferred, max) */
    --text-h3: clamp(1.3rem, 1.15rem + 1.2vw, 1.7rem);
    /*  20.8px-27.2px  */
    --text-h2-sm: clamp(1.5rem, 1.25rem + 1.5vw, 2.8rem);
    /* scroll copy h2 */
    --text-h2: clamp(1.8rem, 1.4rem + 2.8vw, 3.5rem);
    --text-h1: clamp(2.2rem, 1.6rem + 4vw, 4.5rem);

    /* ── Spacing ────────────────────────────────────── */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 7.5rem;

    /* ── Radius ─────────────────────────────────────── */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-pill: 50px;

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

/* ============================================================
   Base Reset
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    /* Respect user browser font size setting */
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    background: var(--color-bg);
    color: var(--color-text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ============================================================
   Header & Navigation
   ============================================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: var(--text-sm);
    letter-spacing: 0.04em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-brand);
}

/* ============================================================
   Shared Utilities
   ============================================================ */
.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand);
    margin-bottom: var(--space-sm);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    z-index: 2;
    padding: 0 var(--space-sm);
    max-width: 860px;
}

.hero h1 {
    font-size: var(--text-h1);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #fff 0%, var(--color-brand) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1.2s var(--ease-out) forwards;
}

.hero p {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    /* 18–24px fluid */
    color: var(--color-text-secondary);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1.2s var(--ease-out) 0.2s forwards;
}

.hero .cta-button {
    opacity: 0;
    animation: heroReveal 1s var(--ease-out) 0.4s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   3D Scroll Reveal Section
   ============================================================ */
.product-3d {
    height: 500vh;
    position: relative;
    background: var(--color-bg);
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .canvas-container {
        left: 0;
        width: 60%;
    }
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Spinner de Carga 3D ─────────────────────────────────── */
.canvas-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-brand);
    animation: spin 1s ease-in-out infinite;
    z-index: 2;
    transition: opacity 0.5s ease;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ── Scroll Copy ─────────────────────────────────────────── */
.scroll-copy-container {
    position: absolute;
    top: 1.5em;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5%;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

@media (min-width: 992px) {
    .scroll-copy-container {
        align-items: flex-start;
        justify-content: center;
        padding-top: 0;
        padding-left: 0;
        padding-right: 5%;
        left: 45%;
        width: 55%;
    }
}

.scroll-copy {
    position: absolute;
    text-align: center;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    max-width: 720px;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    background: var(--color-bg-glass);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (min-width: 992px) {
    .scroll-copy {
        text-align: left;
        max-width: 550px;
    }
}

.scroll-copy.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-copy.fade-up {
    opacity: 0;
    transform: translateY(-50px) scale(1.05);
}

.scroll-copy h2 {
    font-size: var(--text-h2-sm);
    padding-top: 0.2em;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 0.6rem;
    background: linear-gradient(180deg, #fff 0%, #d1d1d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}

.scroll-copy p {
    font-size: clamp(0.9375rem, 2vw, 1.2rem);
    /* 15–19px fluid (+10%) */
    color: rgba(215, 215, 225, 0.92);
    /* Brighter than before for legibility */
    line-height: 1.65;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* ── Phase Navigation Dots ───────────────────────────────── */
.phase-nav {
    position: absolute;
    right: clamp(20px, 3vw, 40px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}

.phase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.4s ease, border-color 0.4s ease,
        transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

/* Tooltip label on hover */
.phase-dot::before {
    content: attr(aria-label);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.06em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    /* Strip "Fase N: " prefix via CSS — show only the phase name */
    font-family: var(--font-family);
}

.phase-dot:hover::before {
    opacity: 1;
}

.phase-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

/* Active dot — brand green glow */
.phase-dot--active {
    background: var(--color-brand);
    border-color: var(--color-brand-light);
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.7),
        0 0 20px rgba(16, 185, 129, 0.3);
}

/* ============================================================
   Authority Section
   ============================================================ */
.authority {
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border-brand);
}

.authority-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.authority h2 {
    font-size: var(--text-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #fff 0%, var(--color-brand) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.authority>.authority-inner>p {
    font-size: clamp(1.0625rem, 2.2vw, 1.375rem);
    /* 17–22px fluid (+10%) */
    color: var(--color-text-secondary);
    line-height: 1.75;
    max-width: 760px;
    margin: 0 auto var(--space-2xl);
}

.authority-closing {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 720px;
    margin: -2rem auto var(--space-2xl);
    /* Pulls up under the main p */
    font-style: italic;
    border-left: 2px solid var(--color-brand);
    padding-left: 1.25rem;
    text-align: left;
}

.authority-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================================
   Gallery Section
   ============================================================ */
.gallery {
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.gallery-header {
    max-width: 1200px;
    margin: 0 auto var(--space-2xl);
}

.gallery-header h2 {
    font-size: clamp(1.875rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* +10% */
    color: var(--color-text-secondary);
    line-height: 1.55;
    max-width: 600px;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-sm);
}

.gallery-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid var(--color-border);
    transition: transform var(--duration) var(--ease-out), border-color 0.3s;
    position: relative;
}

.gallery-card:hover {
    transform: scale(1.02);
    border-color: var(--color-border-brand-hover);
}

.gallery-card--large {
    grid-column: span 4;
    aspect-ratio: 16 / 9;
}

.gallery-card--third {
    grid-column: span 2;
}

.gallery-card--half {
    grid-column: span 3;
    aspect-ratio: 4 / 3;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.82) saturate(0.9);
    transition: filter var(--duration) ease, transform 0.5s ease;
}

.gallery-card:hover img {
    filter: brightness(0.92) saturate(1.05);
    transform: scale(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 45%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-sm) var(--space-md);
    pointer-events: none;
}

.gallery-overlay span {
    font-size: var(--text-xs);
    font-weight: 600;
    color: rgba(16, 185, 129, 0.85);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================================
   Evaluation / Contact Form
   ============================================================ */
.evaluation {
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border-brand);
}

.evaluation-inner {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.evaluation h2 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, #fff 0%, var(--color-brand) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.evaluation-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* +10% */
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin-bottom: var(--space-2xl);
}

.eval-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-group input,
.form-group select {
    padding: 0.875rem 1.125rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    font-size: var(--text-base);
    font-family: var(--font-family);
    transition: border-color 0.3s, background 0.3s;
    outline: none;
    appearance: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386868b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.125rem center;
    padding-right: 2.75rem;
}

.form-group select option {
    background: #111;
    color: var(--color-text-primary);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-brand);
    background: rgba(16, 185, 129, 0.05);
}

.radio-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    flex: 1;
    min-width: 220px;
}

.radio-option:hover {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.04);
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--color-brand);
    background: rgba(16, 185, 129, 0.08);
}

.radio-option:has(input[type="radio"]:checked) span {
    color: var(--color-text-primary);
    font-weight: 500;
}

/* Fallback JS class for browsers without :has() support */
.radio-option--active {
    border-color: var(--color-brand) !important;
    background: rgba(16, 185, 129, 0.08) !important;
}

.radio-option--active span {
    color: var(--color-text-primary) !important;
    font-weight: 500 !important;
}

.radio-option input[type="radio"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--color-brand);
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    background: none;
    border: none;
}

.radio-option span {
    font-size: var(--text-md);
    /* +10% */
    color: var(--color-text-secondary);
}

/* ── Custom Validation Feedback ──────────────────────────── */
.error-msg {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.15rem;
    display: none !important;
    font-weight: 500;
}

.eval-form.was-validated input:invalid,
.eval-form.was-validated select:invalid {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

/* Show error message when corresponding input is invalid */
.eval-form.was-validated input:invalid~.error-msg,
.eval-form.was-validated select:invalid~.error-msg {
    display: block !important;
}

/* ============================================================
   Shared CTA Button
   ============================================================ */
.cta-button,
.submit-button {
    display: inline-block;
    padding: 1.125rem 3rem;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1.0625rem;
    /* 17px */
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover,
.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.submit-button {
    width: 100%;
    margin-top: 0.75rem;
    padding: 1.25rem 3rem;
}

/* Form feedback message */
.form-status {
    display: none;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-status:not(:empty) {
    display: block;
}

.form-status--ok {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.form-status--error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}


/* ============================================================
   Feature Cards (if re-added later)
   ============================================================ */
.features {
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-bg);
    position: relative;
    z-index: 20;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: left;
    transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) ease, border-color var(--duration) ease;
    border: 1px solid var(--color-border-brand);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-brand), var(--color-brand-dark));
    opacity: 0;
    transition: opacity var(--duration) ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-brand-hover);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    font-size: var(--text-h3);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #fff 0%, var(--color-brand) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card p {
    font-size: var(--text-md);
    /* +10% */
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ============================================================
   CTA Section (standalone)
   ============================================================ */
.cta-section {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border-brand);
}

.cta-section h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: var(--space-md);
    font-weight: 700;
    letter-spacing: -0.015em;
    background: linear-gradient(135deg, #fff 0%, var(--color-brand) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-section p {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    /* +10% */
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

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

    .gallery-card--large,
    .gallery-card--third,
    .gallery-card--half {
        grid-column: span 1;
    }

    .authority-stats {
        gap: 3rem;
    }

    .nav-links {
        display: none;
    }
}