/* Self-hosted fonts (GDPR) – SIL Open Font License */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 100 1000; font-display: swap; src: url('../fonts/dm-sans-latin-wght-italic.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/space-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/space-mono-latin-700-normal.woff2') format('woff2'); }

        :root {
    /* v1.1.3 – brand continuity with the original aviationtest.eu */
    --brand-indigo: #6968F7;
    --brand-violet: #8A24FF;
    --brand-pink: #F32E60;
    --brand-sky: #56A8DE;
    --brand-sky-dark: #3D8BC4;
    --brand-gradient: linear-gradient(90deg, #6968F7 0%, #8A24FF 50%, #F32E60 100%);
    --brand-button: linear-gradient(90deg, #4B4AD8 0%, #8A24FF 100%);
            --primary: #171B4D;
            --secondary: #33378F;
            --accent: #23CFA4;
            --accent-hover: #3EE0B8;
            --warning: #FFB800;
            --danger: #FF4757;
            --success: #2ED573;
            --surface: #F7F8FD;
            --surface-alt: #EEF0FB;
            --text: #171B4D;
            --text-muted: #5A6B7D;
            --white: #FFFFFF;
            --border: #D1D9E0;
            --shadow: rgba(23, 27, 77, 0.08);
            --shadow-lg: rgba(23, 27, 77, 0.14);
        }

        html {
            scroll-behavior: smooth;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
            background: var(--surface);
            color: var(--text);
            line-height: 1.6;
        }

        .mono {
            font-family: 'Space Mono', monospace;
        }

        /* Header */
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-inner {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            color: var(--primary);
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.1rem;
        }

        .logo-text {
            font-weight: 700;
            font-size: 1.25rem;
            letter-spacing: -0.5px;
        }

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

        nav {
            display: flex;
            gap: 0.5rem;
        }

        nav a {
            padding: 0.5rem 1rem;
            text-decoration: none;
            color: var(--text-muted);
            font-size: 0.9rem;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        nav a:hover, nav a.active {
            color: var(--primary);
            background: var(--surface-alt);
        }

        .nav-cta {
            background: var(--brand-button) !important;
            color: white !important;
            margin-left: 1rem;
        }

        .nav-cta:hover {
            background: var(--brand-button) !important; filter: brightness(1.08);
        }

        /* Hero Section */
        .hero {
            position: relative;
            padding: 100px 2rem;
            background: linear-gradient(180deg, var(--white) 0%, var(--surface) 100%);
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 80%;
            height: 150%;
            background: radial-gradient(ellipse, rgba(35, 207, 164, 0.08) 0%, transparent 60%);
            pointer-events: none;
        }

        .hero-inner {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 100px;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }

        .hero-badge-dot {
            width: 8px;
            height: 8px;
            background: var(--accent);
            border-radius: 50%;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -1.5px;
            margin-bottom: 1.5rem;
        }

        .hero h1 span {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--text-muted);
            max-width: 600px;
            margin-bottom: 2.5rem;
        }

        .hero-ctas {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 20px var(--shadow-lg);
        }

        .btn-primary:hover {
            background: var(--secondary);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: var(--white);
            color: var(--primary);
            border: 2px solid var(--border);
        }

        .btn-secondary:hover {
            border-color: var(--primary);
            background: var(--surface-alt);
        }

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

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

        /* Quick Facts Bar */
        .quick-facts {
            padding: 0 2rem;
            margin-top: -40px;
            position: relative;
            z-index: 2;
        }

        .quick-facts-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }

        .fact-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: all 0.3s ease;
        }

        .fact-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px var(--shadow);
            border-color: var(--accent);
        }

        .fact-icon {
            width: 48px;
            height: 48px;
            background: var(--surface-alt);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .fact-content h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .fact-content p {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        /* Section styling */
        section {
            position: relative;
            z-index: 1;
            padding: 80px 2rem;
        }

        .section-inner {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-label {
            font-family: 'Space Mono', monospace;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--accent);
            margin-bottom: 0.75rem;
        }

        .section-title {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 700;
            letter-spacing: -1px;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: var(--text-muted);
            max-width: 600px;
            margin-bottom: 3rem;
        }

        /* Pricing Section */
        .pricing-section {
            background: var(--white);
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .price-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 2rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .price-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--secondary), var(--accent));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .price-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 60px var(--shadow);
        }

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

        .price-card.featured {
            background: var(--primary);
            color: white;
            border-color: transparent;
        }

        .price-card.featured .price-label {
            color: var(--accent);
        }

        .price-card.featured .price-desc {
            color: rgba(255,255,255,0.7);
        }

        .price-label {
            font-family: 'Space Mono', monospace;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        .price-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .price-amount {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .price-amount span {
            font-size: 1rem;
            font-weight: 400;
            opacity: 0.7;
        }

        .price-desc {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        /* Price Table */
        .price-table {
            width: 100%;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
            margin: 1.5rem 0;
        }

        .price-table th {
            background: var(--primary);
            color: white;
            padding: 1rem 1.5rem;
            text-align: left;
            font-weight: 600;
        }

        .price-table td {
            padding: 1rem 1.5rem;
            border-bottom: 1px solid var(--surface-alt);
        }

        .price-table tr:last-child td { border-bottom: none; }
        .price-table tr:nth-child(even) { background: var(--surface); }

        .price-table .price-value {
            font-family: 'Space Mono', monospace;
            font-weight: 600;
            color: var(--secondary);
        }

        /* Dates Section */
        .dates-section {
            background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
        }

        .dates-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 1rem;
        }

        .date-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.25rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .date-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px var(--shadow);
            border-color: var(--accent);
        }

        .date-card.next {
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            color: white;
            border-color: transparent;
        }

        .date-card.next .date-month {
            color: var(--accent);
        }

        .date-month {
            font-family: 'Space Mono', monospace;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        .date-days {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .date-duration {
            font-size: 0.8rem;
            opacity: 0.7;
        }

        .date-badge {
            display: inline-block;
            margin-top: 0.75rem;
            padding: 0.25rem 0.75rem;
            background: var(--accent);
            color: var(--primary);
            font-size: 0.7rem;
            font-weight: 600;
            border-radius: 100px;
        }

        /* How It Works */
        .how-section {
            background: var(--primary);
            color: white;
        }

        .how-section .section-label {
            color: var(--accent);
        }

        .how-section .section-subtitle {
            color: rgba(255,255,255,0.7);
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .step-card {
            position: relative;
            padding: 2rem;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px;
            transition: all 0.3s ease;
        }

        .step-card:hover {
            background: rgba(255,255,255,0.1);
            transform: translateY(-4px);
        }

        .step-number {
            font-family: 'Space Mono', monospace;
            font-size: 3rem;
            font-weight: 700;
            color: var(--accent);
            opacity: 0.3;
            position: absolute;
            top: 1rem;
            right: 1.5rem;
        }

        .step-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }

        .step-desc {
            font-size: 0.95rem;
            color: rgba(255,255,255,0.7);
            line-height: 1.7;
        }

        .step-highlight {
            margin-top: 1rem;
            padding: 0.75rem 1rem;
            background: rgba(35, 207, 164, 0.15);
            border-left: 3px solid var(--accent);
            border-radius: 0 8px 8px 0;
            font-size: 0.85rem;
            color: var(--accent);
        }

        /* Warning Box */
        .warning-box {
            background: #FFF8E6;
            border: 1px solid #FFE4A0;
            border-left: 4px solid var(--warning);
            padding: 1rem 1.25rem;
            border-radius: 0 12px 12px 0;
            margin: 1.5rem 0;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }

        .warning-box.danger {
            background: #FFF0F0;
            border-color: #FFCDD2;
            border-left-color: var(--danger);
        }

        .warning-box.success {
            background: #E8F8F0;
            border-color: #B2E8D0;
            border-left-color: var(--success);
        }

        .warning-box .icon {
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .warning-box p {
            font-size: 0.9rem;
            margin: 0;
        }

        /* Info Box */
        .info-box {
            background: var(--warning);
            color: var(--primary);
            padding: 1.5rem 2rem;
            border-radius: 16px;
            margin-top: 3rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .info-box-icon {
            font-size: 2rem;
            flex-shrink: 0;
        }

        .info-box-content h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .info-box-content p {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        /* Exam Day Section */
        .exam-day-section {
            background: var(--surface);
        }

        .two-col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        @media (max-width: 768px) {
            .two-col {
                grid-template-columns: 1fr;
            }
        }

        .checklist {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 2rem;
        }

        .checklist h3 {
            font-size: 1.25rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .checklist-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--surface-alt);
        }

        .checklist-item:last-child {
            border-bottom: none;
        }

        .check-icon {
            width: 24px;
            height: 24px;
            background: var(--accent);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 0.8rem;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .check-icon.prohibited {
            background: #FF4757;
            color: white;
        }

        .checklist-text {
            font-size: 0.95rem;
        }

        .checklist-note {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }

        /* Email Template */
        .email-template {
            background: var(--primary);
            color: white;
            border-radius: 12px;
            overflow: hidden;
            margin: 1.5rem 0;
        }

        .email-template-header {
            background: rgba(255,255,255,0.1);
            padding: 0.75rem 1.25rem;
            font-size: 0.85rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .email-template-header button {
            background: var(--accent);
            color: var(--primary);
            border: none;
            padding: 0.4rem 0.75rem;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 600;
            cursor: pointer;
        }

        .email-template-body {
            padding: 1.25rem;
            font-family: 'Space Mono', monospace;
            font-size: 0.85rem;
            line-height: 1.8;
        }

        .email-template-body .field {
            color: var(--accent);
        }

        .email-template-body .mandatory {
            background: rgba(255, 71, 87, 0.2);
            color: #FF6B7A;
            padding: 0.75rem;
            border-radius: 8px;
            margin-bottom: 1rem;
        }

        .email-template-body .filled {
            color: var(--warning);
        }

        .email-template-body pre {
            font-family: 'Space Mono', monospace;
            font-size: 0.85rem;
            line-height: 1.9;
            white-space: pre-wrap;
            word-break: break-word;
            margin: 0;
        }

        /* Subject-per-day examples */
        .subject-examples {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .subject-example {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.25rem;
        }

        .subject-example .tag {
            font-family: 'Space Mono', monospace;
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--secondary);
            margin-bottom: 0.6rem;
        }

        .subject-example .scenario {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.6rem;
        }

        .subject-example .math {
            font-family: 'Space Mono', monospace;
            font-size: 0.78rem;
            color: var(--text-muted);
            line-height: 1.9;
            border-bottom: 1px solid var(--border);
            padding-bottom: 0.6rem;
            margin-bottom: 0.6rem;
            white-space: pre-line;
        }

        .subject-example .total {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--secondary);
        }

        .subject-example .note {
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-top: 0.3rem;
        }

        .subject-example.has-surcharge { border-color: var(--warning); }
        .subject-example.has-surcharge .total { color: #B87A00; }

        /* Booking overview */
        .booking-overview {
            counter-reset: bstep;
            list-style: none;
            margin: 1.5rem 0 0;
        }

        .booking-overview li {
            counter-increment: bstep;
            position: relative;
            padding: 0.9rem 0 0.9rem 3.25rem;
            border-bottom: 1px solid var(--border);
            font-size: 0.95rem;
        }

        .booking-overview li:last-child { border-bottom: none; }

        .booking-overview li::before {
            content: counter(bstep);
            position: absolute;
            left: 0;
            top: 0.75rem;
            width: 2.25rem;
            height: 2.25rem;
            border-radius: 10px;
            background: var(--primary);
            color: var(--accent);
            font-family: 'Space Mono', monospace;
            font-size: 0.9rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .booking-overview .when {
            display: block;
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-top: 0.15rem;
        }

        /* Day-by-day walkthrough */
        .walkthrough {
            border-left: 2px solid var(--border);
            margin: 1.5rem 0 0 0.6rem;
            padding-left: 1.5rem;
        }

        .walkthrough .wt-item {
            position: relative;
            padding-bottom: 1.5rem;
        }

        .walkthrough .wt-item:last-child { padding-bottom: 0; }

        .walkthrough .wt-item::before {
            content: '';
            position: absolute;
            left: calc(-1.5rem - 6px);
            top: 0.45rem;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--accent);
            border: 2px solid var(--white);
        }

        .walkthrough .wt-date {
            font-family: 'Space Mono', monospace;
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--secondary);
        }

        .walkthrough .wt-title {
            font-size: 1rem;
            font-weight: 600;
            margin: 0.15rem 0 0.3rem;
        }

        .walkthrough .wt-body {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .walkthrough .wt-body strong { color: var(--text); }

        /* File Naming */
        .file-naming {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin: 1rem 0;
        }

        .file-example {
            background: var(--surface);
            border-radius: 12px;
            padding: 1rem;
            text-align: center;
        }

        .file-example .filename {
            font-family: 'Space Mono', monospace;
            font-size: 1rem;
            color: var(--accent);
            background: var(--primary);
            padding: 0.5rem 1rem;
            border-radius: 6px;
            display: inline-block;
            margin-bottom: 0.5rem;
        }

        .file-example p {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* Timeline */
        .payment-timeline {
            display: flex;
            justify-content: space-between;
            margin: 1.5rem 0;
            position: relative;
        }

        .payment-timeline::before {
            content: '';
            position: absolute;
            top: 24px;
            left: 60px;
            right: 60px;
            height: 2px;
            background: var(--border);
        }

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

        .timeline-step .dot {
            width: 48px;
            height: 48px;
            background: var(--white);
            border: 2px solid var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.75rem;
            font-size: 1.25rem;
        }

        .timeline-step p {
            font-size: 0.85rem;
            font-weight: 500;
        }

        .timeline-step small {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        /* Cancellation Table */
        .cancellation-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.9rem;
        }

        .cancellation-table th {
            background: var(--primary);
            color: white;
            padding: 1rem;
            text-align: left;
            font-weight: 600;
        }

        .cancellation-table th:first-child {
            border-radius: 12px 0 0 0;
        }

        .cancellation-table th:last-child {
            border-radius: 0 12px 0 0;
        }

        .cancellation-table td {
            padding: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .cancellation-table tr:last-child td:first-child {
            border-radius: 0 0 0 12px;
        }

        .cancellation-table tr:last-child td:last-child {
            border-radius: 0 0 12px 0;
        }

        .cancellation-table tr:nth-child(even) {
            background: var(--surface);
        }

        .fee-tag {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .fee-tag.warning {
            background: #FFF3CD;
            color: #856404;
        }

        .fee-tag.danger {
            background: #F8D7DA;
            color: #721C24;
        }

        .fee-tag.success {
            background: #D4EDDA;
            color: #155724;
        }

        /* Key Numbers */
        .key-numbers {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .key-number {
            background: var(--surface);
            border-radius: 16px;
            padding: 1.5rem;
            text-align: center;
        }

        .key-number .number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--secondary);
            font-family: 'Space Mono', monospace;
        }

        .key-number .label {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }

        /* Definition Box */
        .definition-box {
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            color: white;
            border-radius: 16px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }

        .definition-box h3 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: var(--accent);
        }

        .definition-box p {
            font-size: 0.95rem;
            opacity: 0.9;
            line-height: 1.7;
        }

        /* Comparison Table */
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }

        .comparison-table th {
            background: var(--primary);
            color: white;
            padding: 1rem 1.25rem;
            text-align: left;
            font-weight: 600;
        }

        .comparison-table th:first-child { border-radius: 12px 0 0 0; }
        .comparison-table th:last-child { border-radius: 0 12px 0 0; }

        .comparison-table td {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
        }

        .comparison-table tr:last-child td:first-child { border-radius: 0 0 0 12px; }
        .comparison-table tr:last-child td:last-child { border-radius: 0 0 12px 0; }
        .comparison-table tr:last-child td { border-bottom: none; }

        .comparison-table tr:nth-child(even) { background: var(--surface); }

        .comparison-table .highlight {
            color: var(--secondary);
            font-weight: 600;
        }

        /* Pass Mark Visual */
        .pass-mark-visual {
            display: flex;
            align-items: center;
            gap: 2rem;
            margin: 1.5rem 0;
            flex-wrap: wrap;
        }

        .progress-ring {
            width: 140px;
            height: 140px;
            position: relative;
        }

        .progress-ring svg {
            transform: rotate(-90deg);
        }

        .progress-ring circle {
            fill: none;
            stroke-width: 12;
        }

        .progress-ring .bg { stroke: var(--surface-alt); }
        .progress-ring .progress { stroke: var(--accent); stroke-linecap: round; }

        .progress-ring .text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }

        .progress-ring .percentage {
            font-size: 2rem;
            font-weight: 700;
            color: var(--secondary);
        }

        .progress-ring .plabel {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .pass-info ul {
            list-style: none;
            font-size: 0.95rem;
        }

        .pass-info li {
            padding: 0.5rem 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .pass-info .check { color: var(--success); }
        .pass-info .cross { color: var(--danger); }

        /* Validity Cards */
        .validity-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .validity-card {
            background: var(--surface);
            border-radius: 16px;
            padding: 1.5rem;
            text-align: center;
            transition: all 0.3s;
        }

        .validity-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px var(--shadow);
        }

        .validity-card .licence {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .validity-card .duration {
            font-size: 2rem;
            font-weight: 700;
            color: var(--secondary);
            font-family: 'Space Mono', monospace;
        }

        .validity-card .unit {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        /* Address Card */
        .address-card {
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            color: white;
            padding: 3rem;
            border-radius: 24px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        @media (max-width: 768px) {
            .address-card { grid-template-columns: 1fr; }
        }

        .address-main h2 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .address-details {
            font-size: 1.1rem;
            line-height: 2;
        }

        .address-details strong {
            display: block;
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }

        .address-badge {
            display: inline-block;
            margin-top: 1rem;
            padding: 0.5rem 1rem;
            background: var(--accent);
            color: var(--primary);
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .map-placeholder {
            background: rgba(255,255,255,0.1);
            border-radius: 16px;
            height: 100%;
            min-height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 1rem;
        }

        .map-placeholder .icon { font-size: 3rem; opacity: 0.5; }
        .map-placeholder p { opacity: 0.7; }

        .map-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: white;
            color: var(--primary);
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
        }

        /* Info Grid */
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .info-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 2rem;
        }

        .info-card h3 {
            font-size: 1.15rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .info-card p {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        /* Hours List */
        .hours-list {
            list-style: none;
        }

        .hours-list li {
            display: flex;
            justify-content: space-between;
            padding: 0.6rem 0;
            border-bottom: 1px solid var(--surface-alt);
            font-size: 0.9rem;
        }

        .hours-list li:last-child { border-bottom: none; }
        .hours-list .day { font-weight: 500; }
        .hours-list .time { font-family: 'Space Mono', monospace; color: var(--text-muted); }

        /* Hotel Card */
        .hotel-card {
            background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
            border: 1px solid #A5D6A7;
            border-radius: 16px;
            padding: 1.5rem;
            margin-top: 1rem;
        }

        .hotel-card h4 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: #2E7D32;
        }

        .hotel-card .corporate-code {
            display: inline-block;
            background: #2E7D32;
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 6px;
            font-family: 'Space Mono', monospace;
            font-size: 0.85rem;
            margin: 0.5rem 0;
        }

        .hotel-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
            margin-top: 0.75rem;
            font-size: 0.9rem;
        }

        .hotel-details span { color: #1B5E20; }

        /* Airports Table */
        .airports-table {
            width: 100%;
            border-collapse: collapse;
        }

        .airports-table th {
            background: var(--surface);
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            border-bottom: 2px solid var(--border);
        }

        .airports-table td {
            padding: 1rem;
            border-bottom: 1px solid var(--surface-alt);
        }

        .airports-table tr:hover { background: var(--surface); }

        .airport-code {
            font-family: 'Space Mono', monospace;
            font-weight: 700;
            color: var(--secondary);
        }

        .airport-tag {
            font-size: 0.75rem;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            background: var(--accent);
            color: var(--primary);
            font-weight: 600;
        }

        /* Parking Warning */
        .parking-warning {
            background: #FFF0F0;
            border: 1px solid #FFCDD2;
            border-left: 4px solid var(--danger);
            padding: 1rem 1.25rem;
            border-radius: 0 12px 12px 0;
            margin-bottom: 1rem;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }

        .parking-option {
            background: var(--surface);
            padding: 1rem;
            border-radius: 12px;
            margin-bottom: 0.75rem;
        }

        .parking-option h4 {
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }

        .parking-option p {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin: 0;
        }

        /* Trust Section */
        .trust-section {
            background: var(--white);
            text-align: center;
        }

        .trust-badges {
            display: flex;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
            margin-bottom: 3rem;
        }

        .trust-badge {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .trust-icon {
            width: 64px;
            height: 64px;
            background: var(--surface-alt);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
        }

        .trust-text {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            color: white;
            padding: 3rem;
            border-radius: 20px;
            text-align: center;
            margin: 3rem auto;
            max-width: 900px;
        }

        .cta-section h2 {
            font-size: 1.75rem;
            margin-bottom: 1rem;
        }

        .cta-section p {
            opacity: 0.85;
            margin-bottom: 2rem;
        }

        /* Footer */
        footer {
            background: var(--primary);
            color: white;
            padding: 60px 2rem 30px;
        }

        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
            nav { display: none; }
            .file-naming { grid-template-columns: 1fr; }
            .payment-timeline { flex-direction: column; gap: 1rem; }
            .payment-timeline::before { display: none; }
        }

        .footer-brand p {
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
            margin-top: 1rem;
            line-height: 1.7;
        }

        .footer-title {
            font-family: 'Space Mono', monospace;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--accent);
            margin-bottom: 1.25rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s ease;
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-contact-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: rgba(255,255,255,0.7);
            font-size: 0.9rem;
            margin-bottom: 0.75rem;
        }

        .footer-bottom {
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .footer-bottom p {
            color: rgba(255,255,255,0.5);
            font-size: 0.85rem;
        }

        .footer-legal {
            display: flex;
            gap: 1.5rem;
        }

        .footer-legal a {
            color: rgba(255,255,255,0.5);
            text-decoration: none;
            font-size: 0.85rem;
        }

        .footer-legal a:hover {
            color: white;
        }

        /* WhatsApp Button */
        .whatsapp-float {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 60px;
            height: 60px;
            background: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.75rem;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            z-index: 999;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
        }

        /* Page Content Container */
        .page-content {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 2rem 60px;
        }

        /* Rule Section */
        .rule-section {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 2.5rem;
            margin-bottom: 2rem;
        }

        .rule-section h2 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .rule-section .subtitle {
            color: var(--text-muted);
            font-size: 1rem;
            margin-bottom: 1.5rem;
        }

        /* FAQ Styles */
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        [id] { scroll-margin-top: 96px; }

        .faq-category {
            font-family: 'Space Mono', monospace;
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--secondary);
            margin: 2.5rem 0 0.9rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--accent);
        }

        .faq-category:first-of-type { margin-top: 0; }

        .faq-answer table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 0.75rem;
            font-size: 0.85rem;
        }

        .faq-answer table th,
        .faq-answer table td {
            text-align: left;
            padding: 0.4rem 0.6rem;
            border-bottom: 1px solid var(--border);
        }

        .faq-answer table th { color: var(--secondary); }

        .faq-item {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 12px;
            margin-bottom: 1rem;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            border-color: var(--accent);
        }

        .faq-question {
            width: 100%;
            padding: 1.25rem 1.5rem;
            background: none;
            border: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            text-align: left;
            transition: background 0.2s ease;
        }

        .faq-question:hover {
            background: var(--surface);
        }

        .faq-icon {
            font-size: 1.5rem;
            font-weight: 300;
            color: var(--accent);
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 3000px;
            padding: 0 1.5rem 1.25rem;
        }

        .faq-answer p {
            color: var(--text-muted);
            line-height: 1.7;
        }

        .faq-answer a {
            color: var(--secondary);
            text-decoration: underline;
        }

        .faq-answer a:hover {
            color: var(--accent);
        }

        /* ============ v9: Booking page components ============ */
        .path-a-tag, .path-b-tag, .path-both-tag {
            display: inline-block;
            font-family: 'Space Mono', monospace;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 0.2rem 0.55rem;
            border-radius: 4px;
            vertical-align: middle;
            white-space: nowrap;
        }
        .path-a-tag { background: var(--accent); color: var(--primary); }
        .path-b-tag { background: var(--warning); color: var(--primary); }
        .path-both-tag { background: var(--surface-alt); color: var(--secondary); border: 1px solid var(--border); }

        /* Before you start */
        .prereq-list { list-style: none; margin-top: 1rem; }
        .prereq-list li {
            display: grid;
            grid-template-columns: 28px 1fr;
            gap: 0.75rem;
            padding: 0.85rem 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.95rem;
        }
        .prereq-list li:last-child { border-bottom: none; }
        .prereq-list .box {
            width: 22px; height: 22px;
            border: 2px solid var(--secondary);
            border-radius: 5px;
            margin-top: 2px;
        }
        .prereq-list small { display: block; color: var(--text-muted); font-size: 0.83rem; margin-top: 0.2rem; }

        /* Path comparison */
        .path-compare {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
            margin: 1.5rem 0 0.5rem;
        }
        @media (max-width: 768px) { .path-compare { grid-template-columns: 1fr; } }
        .path-card {
            background: var(--white);
            border: 2px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
        }
        .path-card.a { border-color: var(--accent); }
        .path-card.b { border-color: var(--warning); }
        .path-card-head { padding: 1.1rem 1.4rem; }
        .path-card.a .path-card-head { background: rgba(35, 207, 164, 0.1); }
        .path-card.b .path-card-head { background: rgba(255, 184, 0, 0.12); }
        .path-card-head h3 { font-size: 1.2rem; margin-top: 0.45rem; }
        .path-card-head p { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.2rem; }
        .path-card dl { padding: 0.4rem 1.4rem 1.2rem; }
        .path-card dt {
            font-family: 'Space Mono', monospace;
            font-size: 0.66rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-top: 0.9rem;
        }
        .path-card dd { font-size: 0.92rem; margin-top: 0.15rem; }
        .path-card dd.risk { color: #B3261E; font-weight: 500; }

        /* Journey stepper */
        .journey {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 0.5rem;
            margin: 1.5rem 0 0.5rem;
            counter-reset: jstage;
        }
        @media (max-width: 900px) { .journey { grid-template-columns: repeat(2, 1fr); } }
        .journey a {
            counter-increment: jstage;
            display: block;
            text-decoration: none;
            color: var(--text);
            background: var(--white);
            border: 1px solid var(--border);
            border-top: 4px solid var(--secondary);
            border-radius: 10px;
            padding: 0.8rem 0.75rem;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .journey a:hover { transform: translateY(-3px); box-shadow: 0 8px 24px var(--shadow); }
        .journey a::before {
            content: counter(jstage, decimal-leading-zero);
            display: block;
            font-family: 'Space Mono', monospace;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--secondary);
        }
        .journey a.b-only { border-top-color: var(--warning); background: #FFFBEF; }
        .journey strong { display: block; font-size: 0.88rem; margin-top: 0.2rem; line-height: 1.3; }
        .journey small { display: block; font-size: 0.74rem; color: var(--text-muted); margin-top: 0.3rem; line-height: 1.35; }

        /* Numbered stage sections */
        .stage {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 2rem 2.25rem;
            margin-bottom: 1.5rem;
        }
        .stage.b-only { border: 2px solid var(--warning); background: #FFFDF6; }
        .stage-head {
            display: grid;
            grid-template-columns: 56px 1fr;
            gap: 1rem;
            align-items: start;
            margin-bottom: 1.25rem;
        }
        .stage-num {
            width: 56px; height: 56px;
            border-radius: 14px;
            background: var(--primary);
            color: var(--accent);
            font-family: 'Space Mono', monospace;
            font-size: 1.3rem;
            font-weight: 700;
            display: flex; align-items: center; justify-content: center;
        }
        .stage.b-only .stage-num { background: var(--warning); color: var(--primary); }
        .stage-head h2 { font-size: 1.45rem; line-height: 1.25; }
        .stage-head p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.25rem; }
        .stage h3 { font-size: 1.05rem; margin: 1.5rem 0 0.6rem; }
        .stage > p, .stage .body-text { font-size: 0.95rem; }

        .two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
        @media (max-width: 768px) { .two-up { grid-template-columns: 1fr; } }

        .doc-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.9rem 1.1rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            text-decoration: none;
            color: var(--text);
            font-size: 0.92rem;
            transition: border-color 0.2s ease;
        }
        .doc-link:hover { border-color: var(--secondary); }
        .doc-link .ico { font-size: 1.4rem; }
        .doc-link small { display: block; color: var(--text-muted); font-size: 0.78rem; }
        .doc-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.75rem; margin: 1rem 0; }

        .form-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.75rem; margin-top: 0.75rem; }
        .form-section-card { background: var(--surface); border-radius: 12px; padding: 1rem 1.1rem; font-size: 0.87rem; }
        .form-section-card .who {
            font-family: 'Space Mono', monospace;
            font-size: 0.62rem;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: var(--text-muted);
        }
        .form-section-card strong { display: block; font-size: 0.95rem; margin: 0.2rem 0 0.4rem; }
        .form-section-card ul { list-style: none; }
        .form-section-card li { padding: 0.15rem 0; }
        .form-section-card li::before { content: '→ '; color: var(--secondary); }

        /* Email cards */
        .email-card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--white); }
        .email-card-head {
            display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
            padding: 0.85rem 1.1rem;
            background: var(--primary); color: var(--white);
            font-size: 0.88rem; font-weight: 600;
        }
        .email-meta { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--border); font-size: 0.85rem; background: var(--surface); }
        .email-meta div { padding: 0.15rem 0; }
        .email-meta b { display: inline-block; min-width: 88px; color: var(--text-muted); font-weight: 500; }
        .email-card pre {
            font-family: 'Space Mono', monospace;
            font-size: 0.76rem;
            line-height: 1.75;
            white-space: pre-wrap;
            word-break: break-word;
            padding: 1rem 1.1rem 1.2rem;
            margin: 0;
            color: var(--text);
        }
        .email-card .fill { background: rgba(255, 184, 0, 0.22); border-radius: 3px; padding: 0 2px; }
        .email-card .must { color: #C62828; font-weight: 700; }

        /* Timelines side by side */
        .mini-timeline { list-style: none; border-left: 2px solid var(--border); margin-left: 0.4rem; padding-left: 1.1rem; }
        .mini-timeline li { position: relative; padding-bottom: 0.9rem; font-size: 0.86rem; }
        .mini-timeline li:last-child { padding-bottom: 0; }
        .mini-timeline li::before {
            content: ''; position: absolute; left: calc(-1.1rem - 6px); top: 0.4rem;
            width: 10px; height: 10px; border-radius: 50%; background: var(--secondary); border: 2px solid var(--white);
        }
        .mini-timeline li.key::before { background: #C62828; }
        .mini-timeline .d { font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--secondary); display: block; }
        .example-panel { background: var(--surface); border-radius: 16px; padding: 1.4rem; }
        .example-panel h3 { margin-top: 0.4rem !important; }
        .example-panel .sum { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }

        /* Deadline table */
        .deadline-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 1rem 0; }
        .deadline-table th {
            background: var(--primary); color: var(--white);
            text-align: left; padding: 0.75rem 0.9rem; font-weight: 600; font-size: 0.8rem;
        }
        .deadline-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
        .deadline-table tr.past td { color: var(--text-muted); opacity: 0.55; }
        .deadline-table tr.next td { background: rgba(35, 207, 164, 0.08); }
        .deadline-table .state {
            font-family: 'Space Mono', monospace; font-size: 0.62rem; letter-spacing: 1px; text-transform: uppercase;
            padding: 0.15rem 0.45rem; border-radius: 4px; background: var(--surface-alt); color: var(--secondary); white-space: nowrap;
        }
        .deadline-table tr.next .state { background: var(--accent); color: var(--primary); }
        .table-scroll { overflow-x: auto; }

        /* Wireframe-only automation notes */
        /* v9 layout fixes */
        .form-sections { grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); }
        .stage .subject-examples { grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); }
        .dates-first td:first-child { white-space: nowrap; }
        .stage a, .rule-section a, .page-content p a { color: var(--secondary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
        .stage a.doc-link, .journey a { text-decoration: none; }
        @media (max-width: 600px) {
            .stage { padding: 1.4rem 1.1rem; }
            .stage-head { grid-template-columns: 44px 1fr; gap: 0.75rem; }
            .stage-num { width: 44px; height: 44px; font-size: 1.05rem; border-radius: 11px; }
            .stage-head h2 { font-size: 1.2rem; }
            .path-card dl, .path-card-head { padding-left: 1.1rem; padding-right: 1.1rem; }
        }
        /* v11: form guide */
        .never-reuse {
            display: grid;
            grid-template-columns: 64px 1fr;
            gap: 1.1rem;
            align-items: center;
            background: #C62828;
            color: var(--white);
            border-radius: 16px;
            padding: 1.3rem 1.5rem;
            margin: 0.5rem 0 1.75rem;
            box-shadow: 0 10px 30px rgba(198, 40, 40, 0.25);
        }
        .never-reuse .nr-icon {
            width: 64px; height: 64px; border-radius: 50%;
            background: var(--white); color: #C62828;
            display: flex; align-items: center; justify-content: center;
            font-size: 2rem;
        }
        .never-reuse .nr-title { font-size: 1.25rem; font-weight: 700; line-height: 1.25; margin-bottom: 0.3rem; }
        .never-reuse p { font-size: 0.93rem; }
        .never-reuse strong { color: var(--white); }
        @media (max-width: 600px) { .never-reuse { grid-template-columns: 1fr; text-align: left; } }

        .field-guide { list-style: none; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: 0.75rem; }
        .field-guide li {
            display: grid;
            grid-template-columns: 34px 170px 1fr 88px;
            gap: 0.9rem;
            align-items: start;
            padding: 0.9rem 1.1rem;
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
            background: var(--white);
        }
        .field-guide li:last-child { border-bottom: none; }
        .field-guide li.key { background: #FFF4F4; }
        .field-guide .n {
            width: 28px; height: 28px; border-radius: 8px;
            background: var(--surface-alt); color: var(--secondary);
            font-family: 'Space Mono', monospace; font-size: 0.78rem; font-weight: 700;
            display: flex; align-items: center; justify-content: center;
        }
        .field-guide li.key .n { background: #C62828; color: var(--white); }
        .field-guide .where { font-weight: 600; line-height: 1.35; }
        .field-guide .where small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }
        .field-guide .what small { display: block; color: var(--text-muted); font-size: 0.8rem; margin-top: 0.25rem; }
        .who-tag {
            justify-self: end;
            font-family: 'Space Mono', monospace; font-size: 0.62rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
            padding: 0.2rem 0.5rem; border-radius: 4px; white-space: nowrap;
        }
        .who-tag.you { background: var(--primary); color: var(--accent); }
        .who-tag.ato { background: var(--secondary); color: var(--white); }
        .who-tag.either { background: var(--surface-alt); color: var(--secondary); border: 1px solid var(--border); }
        @media (max-width: 700px) {
            .field-guide li { grid-template-columns: 30px 1fr; }
            .field-guide .what { grid-column: 2; }
            .field-guide .who-tag { grid-column: 2; justify-self: start; }
        }
        .ongoing { font-family: 'Space Mono', monospace; background: var(--surface-alt); padding: 0 5px; border-radius: 4px; font-size: 0.85em; }

        .validity-box { border: 2px solid var(--warning); background: #FFFBEF; border-radius: 16px; padding: 1.3rem 1.5rem; margin: 1.25rem 0; }
        .validity-box h4 { font-size: 1.1rem; margin-bottom: 0.35rem; }
        .validity-box > p { font-size: 0.92rem; }
        .validity-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.6rem; margin-top: 0.9rem; }
        .validity-rows div { background: var(--white); border-radius: 10px; padding: 0.75rem 0.9rem; font-size: 0.86rem; border: 1px solid var(--border); }
        .validity-rows .lbl { font-family: 'Space Mono', monospace; font-size: 0.62rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 0.2rem; }
        .validity-rows .ok { border-color: var(--success); }
        .validity-rows .no { border-color: #C62828; }
        .stage .doc-links { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
        /* v12: 2027 reference-material notice */
        .notice-2027 {
            border: 2px solid var(--secondary);
            border-radius: 16px;
            background: var(--white);
            margin: 0 0 2rem;
            overflow: hidden;
        }
        .notice-2027 .n-head {
            background: var(--secondary); color: var(--white);
            padding: 0.9rem 1.4rem;
            display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
        }
        .notice-2027 .n-head h3 { font-size: 1.1rem; }
        .notice-2027 .n-tag {
            font-family: 'Space Mono', monospace; font-size: 0.62rem; letter-spacing: 1.2px; text-transform: uppercase;
            background: var(--warning); color: var(--primary); padding: 0.2rem 0.55rem; border-radius: 4px; font-weight: 700;
        }
        .notice-2027 .n-body { padding: 1.2rem 1.4rem; font-size: 0.93rem; }
        .notice-2027 .n-body p + p { margin-top: 0.6rem; }
        .notice-2027 .n-items { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.75rem 0; }
        .notice-2027 .n-items span {
            border: 1.5px solid #C62828; color: #C62828; border-radius: 8px;
            padding: 0.35rem 0.75rem; font-weight: 600; font-size: 0.88rem;
        }
        .notice-2027 .n-items span::before { content: '✗ '; }
        .notice-2027 .n-now { font-size: 0.85rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 0.75rem; margin-top: 0.9rem; }
        /* v13: form check responsibilities */
        .check-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
        @media (max-width: 700px) { .check-split { grid-template-columns: 1fr; } }
        .check-split > div { border-radius: 14px; padding: 1.1rem 1.25rem; font-size: 0.9rem; }
        .check-split .we-do { background: rgba(46, 213, 115, 0.08); border: 1.5px solid var(--success); }
        .check-split .we-cant { background: #FFF4F4; border: 1.5px solid #C62828; }
        .check-split h4 { font-size: 0.98rem; margin-bottom: 0.5rem; }
        .check-split ul { list-style: none; }
        .check-split li { padding: 0.35rem 0 0.35rem 1.4rem; position: relative; line-height: 1.45; }
        .check-split .we-do li::before { content: '✓'; position: absolute; left: 0; color: #1E9E57; font-weight: 700; }
        .check-split .we-cant li::before { content: '✗'; position: absolute; left: 0; color: #C62828; font-weight: 700; }
        /* v14: signature methods */
        .sig-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.5rem; }
        @media (max-width: 700px) { .sig-ways { grid-template-columns: 1fr; } }
        .sig-ways > span { display: block; border-radius: 8px; padding: 0.55rem 0.7rem; font-size: 0.82rem; line-height: 1.45; }
        .sig-ways .ok { background: rgba(46, 213, 115, 0.1); border: 1px solid var(--success); }
        .sig-ways .no { background: #FFF4F4; border: 1px solid #C62828; }
        .sig-ways b { display: block; font-size: 0.72rem; font-family: 'Space Mono', monospace; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 0.2rem; }
        .sig-ways .ok b { color: #1E9E57; }
        .sig-ways .no b { color: #C62828; }
        /* v16: progressive disclosure & hierarchy */
        .warning-box.info { background: #F1F5FA; border-color: #D6E0EC; border-left-color: var(--secondary); }

        .quickstart { background: var(--white); border: 2px solid var(--accent); border-radius: 20px; padding: 1.6rem 1.8rem; margin-bottom: 2rem; box-shadow: 0 10px 30px var(--shadow); }
        .quickstart .qs-label { font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); margin-bottom: 1rem; }
        .qs-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
        @media (max-width: 900px) { .qs-steps { grid-template-columns: 1fr 1fr; } }
        @media (max-width: 520px) { .qs-steps { grid-template-columns: 1fr; } }
        .qs-steps li { background: var(--surface); border-radius: 14px; padding: 1rem; }
        .qs-steps .qs-n { display: inline-flex; width: 30px; height: 30px; border-radius: 9px; background: var(--primary); color: var(--accent); font-family: 'Space Mono', monospace; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
        .qs-steps strong { display: block; font-size: 0.98rem; line-height: 1.3; }
        .qs-steps small { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; line-height: 1.4; }
        .quickstart .qs-alt { margin-top: 1rem; padding: 0.85rem 1rem; background: #FFFBEF; border: 1px solid #FFE4A0; border-radius: 12px; font-size: 0.9rem; }
        .quickstart .qs-foot { margin-top: 0.6rem; font-size: 0.82rem; color: var(--text-muted); }

        .journey-groups { display: grid; grid-template-columns: 4fr 3fr; gap: 1rem; margin-top: 1.25rem; counter-reset: jstage; }
        @media (max-width: 900px) { .journey-groups { grid-template-columns: 1fr; } }
        .journey-groups .journey { counter-reset: none; margin: 0.4rem 0 0; }
        .journey-groups .journey.j4 { grid-template-columns: repeat(4, 1fr); }
        .journey-groups .journey.j3 { grid-template-columns: repeat(3, 1fr); }
        @media (max-width: 900px) { .journey-groups .journey.j4, .journey-groups .journey.j3 { grid-template-columns: repeat(2, 1fr); } }
        .jg-label { font-family: 'Space Mono', monospace; font-size: 0.66rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--secondary); }
        .jg.after .jg-label { color: var(--text-muted); }

        .group-divider { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0 1.25rem; }
        .group-divider span { font-family: 'Space Mono', monospace; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); white-space: nowrap; }
        .group-divider::after { content: ''; flex: 1; height: 2px; background: var(--border); }
        .group-divider small { font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--text-muted); font-size: 0.85rem; margin-left: 0.5rem; }

        h3.substep { display: flex; align-items: center; gap: 0.6rem; }
        h3.substep span { font-family: 'Space Mono', monospace; font-size: 0.75rem; background: var(--primary); color: var(--accent); border-radius: 6px; padding: 0.15rem 0.45rem; }
        .field-guide-label { font-size: 0.85rem; font-weight: 600; margin: 1rem 0 0.25rem; color: #C62828; }
        details.more-fields { margin-top: 0.75rem; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
        details.more-fields > summary { cursor: pointer; padding: 0.85rem 1.1rem; font-size: 0.9rem; font-weight: 600; color: var(--secondary); list-style: none; }
        details.more-fields > summary::-webkit-details-marker { display: none; }
        details.more-fields > summary::before { content: '+ '; font-family: 'Space Mono', monospace; }
        details.more-fields[open] > summary::before { content: '− '; }
        details.more-fields .field-guide { margin: 0 0.75rem 0.75rem; }

        .your-action { margin-top: 1.5rem; padding: 0.9rem 1.1rem; border-radius: 12px; background: var(--primary); color: var(--white); font-size: 0.93rem; display: flex; gap: 0.6rem; align-items: baseline; }
        .your-action b { font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
        .your-action small { color: rgba(255,255,255,0.7); }
        .stage.b-only .your-action { background: #3A2E00; }
        .how-section .steps-grid { grid-template-columns: repeat(4, 1fr); }
        @media (max-width: 1000px) { .how-section .steps-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 600px) { .how-section .steps-grid { grid-template-columns: 1fr; } }
        .how-section .step-title { padding-right: 3.4rem; }
        /* v17: clickable quick start, after-booking row, examples, cancellation example */
        .quickstart .qs-label span { color: var(--text-muted); letter-spacing: 0.5px; text-transform: none; font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
        .qs-steps li { padding: 0; }
        .qs-steps li a { display: block; height: 100%; padding: 1rem; border-radius: 14px; color: inherit; text-decoration: none; border: 1px solid transparent; transition: transform 0.2s ease, border-color 0.2s ease; }
        .qs-steps li a:hover { transform: translateY(-2px); border-color: var(--accent); }
        .qs-steps li a::after { content: 'Details →'; display: block; margin-top: 0.55rem; font-family: 'Space Mono', monospace; font-size: 0.68rem; color: var(--secondary); }
        .qs-after { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.9rem; }
        .qs-after-label { font-family: 'Space Mono', monospace; font-size: 0.66rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-right: 0.25rem; }
        .qs-after a { display: inline-flex; align-items: baseline; gap: 0.35rem; padding: 0.4rem 0.85rem; border: 1px solid var(--border); border-radius: 100px; font-size: 0.84rem; color: var(--text); text-decoration: none; background: var(--white); }
        .qs-after a:hover { border-color: var(--secondary); }
        .qs-after a.b-only { border-color: var(--warning); background: #FFFBEF; }
        .qs-after b { font-family: 'Space Mono', monospace; font-size: 0.72rem; color: var(--secondary); }
        .qs-after small { color: var(--text-muted); font-size: 0.74rem; }
        .if-applicable { display: inline-block; font-family: 'Space Mono', monospace; font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--surface-alt); color: var(--secondary); border: 1px dashed var(--secondary); border-radius: 4px; padding: 0.1rem 0.45rem; margin-right: 0.4rem; vertical-align: middle; }
        details.ex-timeline { margin-top: 0.4rem; }
        details.ex-timeline > summary { cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--secondary); list-style: none; padding: 0.4rem 0; }
        details.ex-timeline > summary::-webkit-details-marker { display: none; }
        details.ex-timeline > summary::before { content: '+ '; font-family: 'Space Mono', monospace; }
        details.ex-timeline[open] > summary::before { content: '− '; }
        details.ex-timeline .mini-timeline { margin-top: 0.6rem; }
        .cancel-example { background: var(--surface); border-radius: 16px; padding: 1.3rem 1.4rem; margin: 1.5rem 0; }
        .cancel-example h3 { font-size: 1.05rem; }
        .cancel-example .sum { font-size: 0.86rem; color: var(--text-muted); margin: 0.3rem 0 0.4rem; }
        .cancel-example .note { font-size: 0.86rem; margin-top: 0.5rem; }
        .cancel-example .deadline-table td:first-child { white-space: nowrap; }
        @media (max-width: 600px) {
            .cancel-example thead { display: none; }
            .cancel-example table, .cancel-example tbody, .cancel-example tr, .cancel-example td { display: block; width: 100%; }
            .cancel-example tr { border-bottom: 1px solid var(--border); padding: 0.7rem 0; }
            .cancel-example td { border: none !important; padding: 0.15rem 0 !important; white-space: normal !important; }
            .cancel-example td:first-child { font-size: 0.8rem; color: var(--secondary); }
        }
        /* v19: what's in the price */
        .price-breakdown { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 1.4rem 1.6rem; margin: 0 0 2.5rem; }
        .price-breakdown h2 { font-size: 1.15rem; margin-bottom: 0.3rem; }
        .price-breakdown > p { font-size: 0.92rem; color: var(--text-muted); }
        .pb-parts { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.9rem; align-items: stretch; margin-top: 1rem; }
        @media (max-width: 700px) { .pb-parts { grid-template-columns: 1fr; } .pb-plus { justify-self: center; } }
        .pb-part { background: var(--surface); border-radius: 14px; padding: 1rem 1.1rem; font-size: 0.88rem; }
        .pb-part .pb-n { font-family: 'Space Mono', monospace; font-size: 0.65rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--secondary); }
        .pb-part strong { display: block; font-size: 1rem; margin: 0.2rem 0 0.35rem; }
        .pb-part ul { list-style: none; margin-top: 0.3rem; }
        .pb-part li { padding: 0.12rem 0; }
        .pb-part li::before { content: '→ '; color: var(--secondary); }
        .pb-plus { align-self: center; font-size: 1.6rem; font-weight: 700; color: var(--secondary); }
        .pb-foot { margin-top: 0.9rem; font-size: 0.84rem; color: var(--text-muted); }
        /* v20: availability */
        .avail { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; font-weight: 600; color: var(--text); white-space: nowrap; }
        .avail i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
        .avail.green i { background: #22C55E; }
        .avail.yellow i { background: #FACC15; box-shadow: inset 0 0 0 1px #D4A900; }
        .avail.red i { background: #EF4444; }
        .avail.closed i { background: #9CA3AF; }
        .avail.closed { color: var(--text-muted); }
        .avail-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0.5rem 0 0.25rem; }
        .avail-legend .avail { font-weight: 500; }
        .avail-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
        .deadline-table tr.year-row td { background: var(--surface-alt); color: var(--secondary); font-family: 'Space Mono', monospace; font-weight: 700; font-size: 0.8rem; letter-spacing: 2px; padding: 0.5rem 0.9rem; }
        .deadline-table tr.full td:not(:nth-child(3)) { color: var(--text-muted); }
        .date-card .avail { display: flex; margin-top: 0.75rem; }
        .date-card.full { opacity: 0.8; }
        .date-card.next .avail { color: var(--white); }
        .date-card.next .avail.closed { color: rgba(255,255,255,0.7); }
        #home-date-cards { grid-template-columns: repeat(4, 1fr); }
        @media (max-width: 900px) { #home-date-cards { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 520px) { #home-date-cards { grid-template-columns: 1fr; } }
        #home-date-cards + .avail-legend { margin-top: 1.25rem; }
        .date-card .avail { justify-content: center; }
        @media (max-width: 600px) {
            .sessions-table thead { display: none; }
            .sessions-table, .sessions-table tbody, .sessions-table tr, .sessions-table td { display: block; width: 100%; }
            .sessions-table tr { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); }
            .sessions-table td { border: none !important; padding: 0.15rem 0 !important; }
            .sessions-table td:first-child { font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
            .sessions-table td[data-label]::before { content: attr(data-label) ": "; color: var(--text-muted); font-size: 0.8rem; font-weight: 400; }
            .sessions-table tr.year-row { padding: 0; border-bottom: none; }
            .sessions-table tr.next { background: rgba(35, 207, 164, 0.08); }
            .sessions-table tr.next td { background: transparent !important; }
            .sessions-table tr.year-row td { padding: 0.5rem 0.9rem !important; }
        }
        .info-example { background: rgba(255, 255, 255, 0.6); border-radius: 12px; padding: 0.85rem 1.1rem; margin-top: 0.8rem; font-size: 0.88rem; }
        .info-example .ie-label { font-weight: 700; margin-bottom: 0.35rem; }
        .info-example ul { list-style: none; }
        .info-example li { padding: 0.2rem 0; }
        .info-example a { color: var(--primary); font-weight: 600; }
        /* ============ v23: Form guide ============ */
        .fg-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin: 1.5rem 0 2rem; }
        @media (max-width: 800px) { .fg-rules { grid-template-columns: 1fr; } }
        .fg-rule { border-radius: 14px; padding: 1rem 1.1rem; font-size: 0.88rem; background: var(--white); border: 1px solid var(--border); }
        .fg-rule.red { background: #C62828; color: var(--white); border: none; }
        .fg-rule strong { display: block; font-size: 0.98rem; margin-bottom: 0.25rem; }
        .fg-key { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; margin: 0.5rem 0 1rem; font-size: 0.85rem; }
        .fg-key span { display: inline-flex; align-items: center; gap: 0.45rem; }
        .fg-key i { width: 18px; height: 14px; border-radius: 3px; display: inline-block; }
        .fg-key .k-you i { background: #E3FAF4; border: 2px solid var(--accent); }
        .fg-key .k-ato i { background: #E8EEF7; border: 2px solid var(--secondary); }
        .fg-key .k-na i { background: repeating-linear-gradient(45deg, #EEF1F5, #EEF1F5 3px, #F8F9FB 3px, #F8F9FB 6px); border: 2px solid #C9D1DC; }
        .fg-toggle { margin-left: auto; font-family: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.55rem 1rem; border-radius: 100px; border: 2px solid var(--secondary); background: var(--white); color: var(--secondary); cursor: pointer; }
        .fg-toggle[aria-pressed="true"] { background: var(--secondary); color: var(--white); }
        .fg-example-note { display: none; font-size: 0.84rem; background: #FFF4F4; border: 1px dashed #C62828; color: #8E1B1B; border-radius: 10px; padding: 0.6rem 0.9rem; margin-bottom: 1rem; }
        .show-example .fg-example-note { display: block; }

        .fg-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-bottom: 2rem; }
        @media (max-width: 900px) { .fg-page { grid-template-columns: 1fr; } }
        .fg-page-title { font-size: 1.15rem; margin: 2rem 0 0.75rem; }

        .form-map { background: var(--white); border: 1px solid #C9D1DC; border-radius: 10px; padding: 0.9rem; font-size: 0.72rem; box-shadow: 0 8px 24px var(--shadow); position: sticky; top: 130px; }
        @media (max-width: 900px) { .form-map { position: static; } }
        .fm-head { display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; border-bottom: 1px solid var(--border); padding-bottom: 0.45rem; margin-bottom: 0.5rem; }
        .fm-head strong { font-size: 0.8rem; }
        .fm-head span { font-family: 'Space Mono', monospace; font-size: 0.6rem; color: var(--text-muted); white-space: nowrap; }
        .fm-bar { background: #9AA5B1; color: var(--white); font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 3px; margin: 0.55rem 0 0.35rem; font-size: 0.72rem; }
        .fm-bar b { display: inline-block; min-width: 1.2rem; }
        .fm-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.45rem; padding: 0.4rem 0.45rem 0.4rem 1.9rem; border-radius: 6px; margin-bottom: 0.3rem; }
        .fm-row.you { background: #E3FAF4; box-shadow: inset 3px 0 0 var(--accent); }
        .fm-row.ato { background: #E8EEF7; box-shadow: inset 3px 0 0 var(--secondary); }
        .fm-row.na  { background: repeating-linear-gradient(45deg, #EEF1F5, #EEF1F5 4px, #F8F9FB 4px, #F8F9FB 8px); box-shadow: inset 3px 0 0 #C9D1DC; color: var(--text-muted); }
        .fm-row .mk { position: absolute; left: 0.35rem; top: 0.4rem; }
        .fm-lbl { font-weight: 600; min-width: 3.4rem; }
        .mk { display: inline-flex; align-items: center; justify-content: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--primary); color: var(--accent); font-family: 'Space Mono', monospace; font-size: 0.62rem; font-weight: 700; flex-shrink: 0; }
        .mk.key { background: #C62828; color: var(--white); }
        .cb { display: inline-flex; align-items: center; gap: 0.25rem; white-space: nowrap; }
        .cb::before { content: ''; width: 0.75rem; height: 0.75rem; border: 1.5px solid #4A6FA5; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; color: #C62828; background: var(--white); }
        .show-example .cb.on::before { content: '✕'; }
        .fm-fields { display: grid; gap: 0.3rem; width: 100%; }
        .fm-fields.c2 { grid-template-columns: 1fr 1fr; }
        .fm-fields.c3 { grid-template-columns: 1fr 1fr 1fr; }
        .fm-fields.c4 { grid-template-columns: 0.8fr 0.6fr 1.3fr 1.3fr; }
        .fm-fields.sig { grid-template-columns: 1fr 0.8fr 2fr; }
        .fm-f { background: var(--white); border: 1px solid #7A93BF; border-radius: 2px; padding: 0.1rem 0.3rem 0.2rem; min-height: 2.1rem; display: flex; flex-direction: column; }
        .fm-f small { font-size: 0.56rem; color: var(--text-muted); }
        .fm-f.tall { min-height: 2.8rem; }
        .ex { display: none; color: #C62828; font-size: 0.74rem; font-weight: 600; line-height: 1.2; }
        .ex.sign { font-family: 'Segoe Script', 'Brush Script MT', cursive; font-weight: 400; font-size: 0.95rem; }
        .show-example .ex { display: block; }
        .fm-note { font-size: 0.6rem; color: var(--text-muted); margin-top: 0.2rem; width: 100%; }
        .fm-grid { width: 100%; border-collapse: collapse; background: var(--white); }
        .fm-grid th, .fm-grid td { padding: 0.12rem 0.25rem; border-bottom: 1px solid #E3E7ED; text-align: center; font-size: 0.62rem; }
        .fm-grid th:first-child, .fm-grid td:first-child { text-align: left; }
        .fm-grid .box { display: inline-block; width: 0.7rem; height: 0.7rem; border: 1.5px solid #4A6FA5; border-radius: 2px; vertical-align: middle; font-style: normal; font-size: 0.55rem; line-height: 0.6rem; color: #C62828; font-weight: 700; }
        .show-example .fm-grid .box.on::after { content: '✕'; }

        .fg-legend { list-style: none; }
        .fg-legend > li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.7rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
        .fg-legend > li:last-child { border-bottom: none; }
        .fg-legend .mk { width: 1.6rem; height: 1.6rem; font-size: 0.72rem; }
        .fg-legend h4 { font-size: 0.97rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-bottom: 0.2rem; }
        .fg-legend h4 small { font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }
        .fg-legend p { color: var(--text); line-height: 1.5; }
        .fg-legend p + p { margin-top: 0.3rem; }
        .who-tag.na { background: #EEF1F5; color: var(--text-muted); border: 1px solid #C9D1DC; }

        .fg-mistakes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; list-style: none; margin-top: 0.75rem; }
        @media (max-width: 700px) { .fg-mistakes { grid-template-columns: 1fr; } }
        .fg-mistakes li { padding-left: 1.4rem; position: relative; font-size: 0.9rem; line-height: 1.45; }
        .fg-mistakes li::before { content: '✗'; position: absolute; left: 0; color: #C62828; font-weight: 700; }
        /* v24: overlays on the real Austro Control form */
        .form-real { margin: 0; container-type: inline-size; }
        .form-real > img { display: block; width: 100%; height: auto; border: 1px solid #C9D1DC; border-radius: 8px; box-shadow: 0 8px 24px var(--shadow); background: #fff; }
        .form-real { position: relative; }
        .fr-layer { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1240 / 1754; pointer-events: none; }
        .form-real figcaption { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; text-align: center; }
        .fz { position: absolute; border-radius: 4px; }
        .fz.you { background: rgba(35, 207, 164, 0.14); box-shadow: inset 0 0 0 2px rgba(0, 170, 136, 0.75); }
        .fz.you.opt { box-shadow: inset 0 0 0 2px rgba(0, 170, 136, 0.75); background: repeating-linear-gradient(45deg, rgba(35, 207, 164,0.10), rgba(35, 207, 164,0.10) 5px, rgba(35, 207, 164,0.02) 5px, rgba(35, 207, 164,0.02) 10px); }
        .fz.ato { background: rgba(26, 58, 92, 0.10); box-shadow: inset 0 0 0 2px rgba(26, 58, 92, 0.7); }
        .fz.either { background: linear-gradient(90deg, rgba(35, 207, 164,0.16), rgba(26,58,92,0.12)); box-shadow: inset 0 0 0 2px rgba(198, 40, 40, 0.8); }
        .fz.na { background: rgba(150, 160, 175, 0.12); box-shadow: inset 0 0 0 2px rgba(150, 160, 175, 0.8); }
        .fmk { position: absolute; left: 0.2%; width: 2.9cqw; height: 2.9cqw; min-width: 15px; min-height: 15px; border-radius: 50%; background: var(--primary); color: var(--accent); font-family: 'Space Mono', monospace; font-weight: 700; font-size: max(9px, 1.5cqw); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; transform: translateX(-35%); }
        .fmk.key { background: #C62828; color: #fff; }
        .fx { position: absolute; display: none; align-items: center; padding-left: 0.6cqw; color: #C62828; font-weight: 600; font-size: 1.55cqw; line-height: 1; white-space: nowrap; overflow: hidden; }
        .fx.sign { font-family: 'Segoe Script', 'Brush Script MT', cursive; font-weight: 400; font-size: 2.4cqw; padding-left: 2cqw; }
        .fx.tick { justify-content: center; padding: 0; font-size: 1.5cqw; font-weight: 800; }
        .show-example .fx { display: flex; }
        .fg-page { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
        @media (max-width: 900px) { .fg-page { grid-template-columns: 1fr; } }
        .fg-rules { grid-template-columns: repeat(4, 1fr); }
        @media (max-width: 1000px) { .fg-rules { grid-template-columns: 1fr 1fr; } }
        @media (max-width: 560px) { .fg-rules { grid-template-columns: 1fr; } }
        .fg-legend .datefmt { display: inline-block; font-family: 'Space Mono', monospace; font-size: 0.8rem; background: #FFF4F4; color: #8E1B1B; border-radius: 4px; padding: 0 5px; }
        .fg-page { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
        @media (max-width: 900px) { .fg-page { grid-template-columns: 1fr; } }
        .fmk { left: 0.15%; transform: none; }
        .fr-hint { display: none; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.4rem; }
        @media (max-width: 640px) {
            .fr-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; }
            .fr-scroll .form-real { width: 620px; }
            .fr-hint { display: block; }
        }
    
/* ---------- additions for the WordPress theme ---------- */
html { scroll-padding-top: 96px; }
nav a.current, nav a[aria-current="page"] { color: var(--primary); background: var(--surface-alt); }
.page-content > div:first-child h1, .page-head h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-box { background: linear-gradient(135deg, var(--secondary), var(--primary)); color: var(--white); padding: 2.5rem 2rem; border-radius: 20px; text-align: center; }
.cta-box h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.cta-box p { opacity: .85; }
.cta-box .btn-secondary { background: var(--white); }
.page-text { max-width: 760px; }
.page-text h2 { margin: 2rem 0 .75rem; }
.page-text p, .page-text li { margin-bottom: .75rem; }
.page-text ul, .page-text ol { padding-left: 1.25rem; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: var(--accent); color: var(--primary); padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: .5rem .75rem; font: inherit; font-weight: 600; color: var(--primary); cursor: pointer; }
@media (max-width: 768px) {
    .nav-toggle { display: inline-block; }
    header nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); flex-direction: column; padding: .75rem 1rem 1rem; }
    header nav.open { display: flex; }
    header nav a { padding: .75rem 1rem; }
    .nav-cta { margin-left: 0 !important; text-align: center; }
    .header-inner { position: relative; }
}

/* ---------- v1.1 visual refinements ---------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
::selection { background: rgba(35, 207, 164, .3); }
header { transition: box-shadow .2s ease; }
header.scrolled { box-shadow: 0 6px 24px rgba(23, 27, 77, .08); }
.ico { display: block; }
.fact-icon { color: var(--secondary); background: rgba(35, 207, 164, .12); }
.trust-icon { color: var(--secondary); background: rgba(35, 207, 164, .12); }
.whatsapp-float svg { display: block; }

/* Home hero with next-sitting card */
.hero { padding: 88px 2rem 110px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr); gap: 3rem; align-items: center; }
.hero-card { position: relative; background: linear-gradient(150deg, var(--secondary) 0%, var(--primary) 70%); color: var(--white); border-radius: 24px; padding: 2rem; box-shadow: 0 30px 70px rgba(23, 27, 77, .25); overflow: hidden; }
.hero-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(35, 207, 164, .35), transparent 70%); pointer-events: none; }
.hero-card-label { font-family: 'Space Mono', monospace; font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.hero-card-month { font-size: 2rem; font-weight: 700; letter-spacing: -.5px; margin: .3rem 0 .1rem; }
.hero-card-days { color: rgba(255,255,255,.75); margin-bottom: .9rem; }
.hero-card .avail { color: var(--white); }
.hero-card-deadline { margin: 1.25rem 0; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: grid; gap: .25rem; font-size: .9rem; color: rgba(255,255,255,.8); }
.hero-card-count { font-size: 1.15rem; font-weight: 700; color: var(--white); }
.hero-card-btn { width: 100%; justify-content: center; }
.hero-card-link { display: block; text-align: center; margin-top: .8rem; color: rgba(255,255,255,.75); font-size: .88rem; }
.hero-card-link:hover { color: var(--white); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 64px 1.25rem 96px; } }

/* Inner page hero */
.page-hero { position: relative; background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 75%); color: var(--white); padding: 56px 2rem 64px; overflow: hidden; margin-bottom: 2.5rem; }
.page-hero::before { content: ''; position: absolute; right: -10%; top: -60%; width: 55%; height: 220%; background: radial-gradient(ellipse, rgba(35, 207, 164, .18), transparent 60%); pointer-events: none; }
.page-hero-inner { position: relative; max-width: 1000px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.12; letter-spacing: -1px; margin: .6rem 0 .75rem; }
.page-hero .accent { color: var(--accent); }
.page-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.78); max-width: 720px; }
.page-hero-badge { display: inline-block; margin-top: 1.1rem; padding: .45rem .95rem; background: var(--accent); color: var(--primary); border-radius: 100px; font-size: .82rem; font-weight: 700; }
.crumbs { display: flex; gap: .5rem; font-size: .82rem; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 600px) { .page-hero { padding: 40px 1.25rem 48px; } }
.page-text { padding-bottom: 2rem; }
.crumbs a, .crumbs a:hover { padding: 0; background: none; border-radius: 0; font-size: .82rem; font-weight: 400; }
.crumbs { align-items: center; }
@media (max-width: 600px) {
    .whatsapp-float { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
    .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
}


/* ==========================================================================
   v1.1.3 – Brand continuity (logo clipboard + original gradient palette)
   ========================================================================== */
.logo-icon { background: var(--brand-sky); overflow: hidden; }
.logo-icon svg { width: 92%; height: 92%; display: block; }
.logo-text span,
.hero h1 span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.btn-primary,
.nav-cta {
    background: var(--brand-button);
    border-color: transparent;
    color: #fff;
}
.btn-primary:hover,
.nav-cta:hover { background: var(--brand-button); filter: brightness(1.08); color: #fff; }
.section-label,
.price-label,
.date-month { color: var(--brand-indigo); }
.fact-icon,
.trust-icon { background: rgba(86, 168, 222, 0.14); color: var(--brand-sky-dark); }
.fact-icon svg,
.trust-icon svg { stroke: var(--brand-sky-dark); }
/* Steps sit on the dark .how-section: light tints for contrast */
.step-number { color: #A9A8FF; opacity: 0.6; }
.step-highlight {
    background: rgba(105, 104, 247, 0.22);
    border-left-color: #A9A8FF;
    color: #E2E1FF;
}
.footer-contact-item a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-contact-item a:hover { color: #fff; text-decoration: underline; }


/* ---- Fix 2026-12: prezzi allineati negli esempi (subgrid) ---- */
.subject-example {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
    align-content: start;
}
.subject-example .total { align-self: start; }

/* ---- Fix 2026-12: mappa Google nella pagina Location ---- */
.map-placeholder.has-map {
    padding: 0;
    gap: 0;
    overflow: hidden;
    align-items: stretch;
    justify-content: flex-start;
}
.map-placeholder.has-map iframe {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 300px;
    border: 0;
}
.map-placeholder.has-map .map-btn {
    align-self: center;
    margin: 0.9rem 0;
}
