/**
 * Abielu.ee — Main Stylesheet
 * Design tokens adapted from pulmad.ee
 */

/* ===========================
   CSS Custom Properties
   =========================== */
:root {
    /* Colors - Primary (Navy Blue Palette) */
    --pulmad-blue: #0F1D33;
    --pulmad-blue-dark: #162847;
    --pulmad-blue-mid: #1E355C;
    --pulmad-blue-accent: #325289;
    --pulmad-blue-hover: #3F63A1;
    --pulmad-blue-light: #DBE8F7;
    --pulmad-ghost: #EEF3FB;

    /* Secondary */
    --gold: #D4AF37;
    --gold-light: #FAF3E0;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #fbfbfb;
    --light-gray: #f3f2f1;
    --medium-gray: #9CA3AF;
    --dark-gray: #666666;
    --charcoal: #323232;
    --black: #1F2937;

    /* Status */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* CTA warm */
    --cta-bg: #FFF5F0;
    --cta-accent: #E8734A;

    /* Typography */
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.25rem;
    --text-4xl: 3rem;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-tight: 1.2;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;

    /* Spacing (8px grid) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;

    /* Layout */
    --container-max: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 100px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Header */
    --header-height: 64px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--pulmad-blue-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover { color: var(--pulmad-blue-hover); }

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--pulmad-blue);
    line-height: var(--leading-tight);
}

h1 { font-size: var(--text-4xl); font-weight: var(--font-bold); }
h2 { font-size: var(--text-3xl); font-weight: var(--font-bold); }
h3 { font-size: var(--text-xl); font-weight: var(--font-semibold); }
h4 { font-size: var(--text-lg); font-weight: var(--font-semibold); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

ul, ol {
    padding-left: var(--space-5);
    margin-bottom: var(--space-4);
}

li { margin-bottom: var(--space-2); }

/* ===========================
   Container
   =========================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

/* ===========================
   Header
   =========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--light-gray);
    z-index: 200;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Offset header when WP admin bar is visible */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
    body.admin-bar .site-nav {
        top: calc(var(--header-height) + 46px);
    }
}

.site-header.is-scrolled {
    border-bottom-color: var(--light-gray);
    box-shadow: var(--shadow-sm);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

/* Center the nav over the header */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 201;
    pointer-events: none;
}

body.admin-bar .site-nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-nav {
        top: 46px;
    }
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--pulmad-blue);
    text-decoration: none;
    flex-shrink: 0;
}

.site-header__logo i {
    font-size: 1.5rem;
    color: var(--cta-accent);
}

.site-header__logo:hover { color: var(--pulmad-blue-accent); }

/* Navigation */
.site-nav__list {
    display: flex;
    list-style: none;
    gap: var(--space-1);
    padding: 0;
    margin: 0;
    pointer-events: auto;
}

.site-nav__link {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--pulmad-blue-accent);
    background: var(--pulmad-ghost);
}

/* Header actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Language switcher */
.lang-switcher {
    display: flex;
    list-style: none;
    gap: var(--space-1);
    padding: 0;
    margin: 0;
}

.lang-switcher li {
    margin: 0;
}

.lang-switcher a,
.lang-switcher span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-switcher a:hover {
    color: var(--pulmad-blue-accent);
    background: var(--pulmad-ghost);
}

.lang-switcher .current-lang a,
.lang-switcher .current-lang span {
    color: var(--pulmad-blue-accent);
    background: var(--pulmad-blue-light);
}

.lang-switcher img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--charcoal);
    border-radius: var(--radius-md);
}

.mobile-menu-toggle:hover { background: var(--light-gray); }

/* ===========================
   Section Base
   =========================== */
.section {
    padding: var(--space-8) 0;
}

.section--gray {
    background: var(--light-gray);
}

.section--blue-light {
    background: var(--pulmad-ghost);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.section__title {
    margin-bottom: var(--space-3);
}

.section__subtitle {
    font-size: var(--text-lg);
    color: var(--dark-gray);
    max-width: 640px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-9) var(--space-5);
    margin-top: var(--header-height);
    background: linear-gradient(135deg, var(--pulmad-blue) 0%, var(--pulmad-blue-mid) 50%, var(--pulmad-blue-accent) 100%);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 29, 51, 0.7);
    z-index: 0;
}

.hero--has-bg .hero__title {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero--has-bg .hero__subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero--has-bg .hero__scroll {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero--has-bg .hero__icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: var(--space-6);
}

.hero__icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.hero__title {
    font-size: var(--text-4xl);
    color: var(--white);
    margin-bottom: var(--space-5);
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.85);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin: 0 auto var(--space-7);
}

.hero__scroll {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    animation: bounceDown 2s infinite;
}

.hero__scroll i { font-size: 1.25rem; }

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===========================
   Info Cards (Requirements, etc.)
   =========================== */
.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.info-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--pulmad-blue-light);
    border-radius: 50%;
    margin-bottom: var(--space-4);
}

.info-card__icon i {
    font-size: 1.5rem;
    color: var(--pulmad-blue-accent);
}

.info-card__title {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
}

.info-card__text {
    color: var(--dark-gray);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* ===========================
   Grid
   =========================== */
.grid {
    display: grid;
    gap: var(--space-5);
}

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

@media (min-width: 640px) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ===========================
   Fee Table
   =========================== */
.fee-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.fee-table thead {
    background: var(--pulmad-blue);
    color: var(--white);
}

.fee-table th {
    padding: var(--space-4) var(--space-5);
    text-align: left;
    font-family: var(--font-secondary);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fee-table td {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--light-gray);
    font-size: var(--text-base);
}

.fee-table tbody tr:last-child td {
    border-bottom: none;
}

.fee-table tbody tr:hover {
    background: var(--pulmad-ghost);
}

.fee-table .fee-amount {
    font-weight: var(--font-bold);
    color: var(--pulmad-blue);
    white-space: nowrap;
}

.fee-note {
    margin-top: var(--space-5);
    padding: var(--space-4) var(--space-5);
    background: var(--gold-light);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--dark-gray);
    line-height: var(--leading-relaxed);
}

.fee-note i {
    color: var(--gold);
    margin-right: var(--space-2);
}

/* ===========================
   Office/Church Cards (CPT)
   =========================== */
.office-card,
.church-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--light-gray);
}

.office-card:hover,
.church-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--pulmad-blue-light);
}

.office-card__header,
.church-card__header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.office-card__icon,
.church-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--pulmad-blue-light);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.office-card__icon i,
.church-card__icon i {
    font-size: 1.25rem;
    color: var(--pulmad-blue-accent);
}

.office-card__name,
.church-card__name {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--pulmad-blue);
    line-height: var(--leading-snug);
}

.office-card__county {
    font-size: var(--text-xs);
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.office-card__details,
.church-card__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.office-card__detail,
.church-card__detail {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.office-card__detail i,
.church-card__detail i {
    width: 16px;
    text-align: center;
    color: var(--pulmad-blue-accent);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.office-card__detail a,
.church-card__detail a {
    color: var(--pulmad-blue-accent);
    word-break: break-all;
}

.church-card__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    margin-top: var(--space-3);
    padding: var(--space-1) var(--space-2);
    background: var(--success);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-sm);
}

/* Clergy List */
.clergy-list {
    margin-top: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
}

.clergy-list__title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xl);
    color: var(--pulmad-blue);
    margin-bottom: var(--space-2);
}

.clergy-list__title i {
    color: var(--pulmad-blue-accent);
}

.clergy-list__count {
    font-weight: var(--font-normal);
    font-size: var(--text-base);
    color: var(--text-muted);
}

.clergy-list__meta {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.clergy-list__meta a {
    color: var(--pulmad-blue-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.clergy-group {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
}

.clergy-group[open] {
    border-color: var(--pulmad-blue-accent);
}

.clergy-group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    cursor: pointer;
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    color: var(--pulmad-blue);
    list-style: none;
}

.clergy-group__header::-webkit-details-marker {
    display: none;
}

.clergy-group__header::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s;
    margin-right: var(--space-2);
    flex-shrink: 0;
}

.clergy-group[open] .clergy-group__header::before {
    transform: rotate(45deg);
}

.clergy-group__count {
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.clergy-group__names {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: 0 var(--space-4) var(--space-4);
}

.clergy-group__name {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--text-body);
}

/* ===========================
   Content Card (Notaries, Foreign, E-marriage)
   =========================== */
.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.content-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--pulmad-blue-light);
    border-radius: 50%;
    margin-bottom: var(--space-5);
}

.content-card__icon i {
    font-size: 1.75rem;
    color: var(--pulmad-blue-accent);
}

.content-card p {
    color: var(--dark-gray);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

.content-card ul {
    color: var(--dark-gray);
    line-height: var(--leading-relaxed);
}

/* ===========================
   Law Cards
   =========================== */
.law-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border-left: 4px solid var(--pulmad-blue-accent);
}

.law-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.law-card__title {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--pulmad-blue);
    margin-bottom: var(--space-2);
}

.law-card__title a {
    color: inherit;
}

.law-card__title a:hover {
    color: var(--pulmad-blue-accent);
}

.law-card__desc {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    line-height: var(--leading-relaxed);
}

/* ===========================
   Steps Timeline
   =========================== */
.steps-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--pulmad-blue-light);
}

.step-item {
    position: relative;
    padding-left: 72px;
    padding-bottom: var(--space-7);
}

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

.step-item__number {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    background: var(--pulmad-blue-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    z-index: 1;
}

.step-item__title {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--pulmad-blue);
    margin-bottom: var(--space-2);
    padding-top: var(--space-2);
}

.step-item__text {
    font-size: var(--text-base);
    color: var(--dark-gray);
    line-height: var(--leading-relaxed);
}

/* ===========================
   FAQ Accordion
   =========================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    overflow: hidden;
    transition: box-shadow var(--transition-normal);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--pulmad-blue-light);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--pulmad-blue);
    line-height: var(--leading-snug);
    list-style: none;
    -webkit-user-select: none;
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }

.faq-item summary::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--pulmad-blue-accent);
    border-bottom: 2px solid var(--pulmad-blue-accent);
    transform: rotate(45deg);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
    margin-left: var(--space-4);
}

.faq-item[open] summary::after {
    transform: rotate(-135deg);
}

.faq-item summary:hover {
    color: var(--pulmad-blue-accent);
}

.faq-item__answer {
    padding: 0 var(--space-5) var(--space-5);
    color: var(--dark-gray);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: var(--cta-bg);
    padding: var(--space-9) 0;
}

.cta-section__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(232, 115, 74, 0.1);
    border-radius: 50%;
    margin-bottom: var(--space-5);
}

.cta-section__icon i {
    font-size: 2rem;
    color: var(--cta-accent);
}

.cta-section__title {
    color: var(--pulmad-blue);
    margin-bottom: var(--space-4);
}

.cta-section__text {
    color: var(--dark-gray);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
}

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

.btn--primary:hover {
    background: #d4623a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 115, 74, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--pulmad-blue-accent);
    border: 2px solid var(--pulmad-blue-accent);
}

.btn--outline:hover {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

/* ===========================
   Data Accuracy
   =========================== */
.data-accuracy {
    padding: var(--space-6) 0;
    border-top: 1px solid var(--light-gray);
}

.data-accuracy__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.data-accuracy__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.data-accuracy__text {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    line-height: var(--leading-relaxed);
}

.data-accuracy__date {
    font-weight: var(--font-semibold);
    color: var(--pulmad-blue-accent);
}

.data-accuracy__disclaimer {
    margin-top: var(--space-4);
    padding: var(--space-4);
    background: var(--gold-light);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    color: var(--dark-gray);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background: var(--pulmad-blue);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-8) 0 var(--space-6);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .site-footer__inner {
        grid-template-columns: 2fr 1fr;
    }
}

.site-footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--white);
    text-decoration: none;
    margin-bottom: var(--space-3);
}

.site-footer__logo i {
    color: var(--cta-accent);
}

.site-footer__tagline {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.site-footer__tagline a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer__tagline a:hover {
    color: var(--white);
}

.site-footer__sources h4 {
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer__sources ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__sources li {
    margin-bottom: var(--space-2);
}

.site-footer__sources a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.site-footer__sources a:hover { color: var(--white); }

.site-footer__bottom {
    padding-top: var(--space-5);
    text-align: center;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   Responsive: Tablet and below
   =========================== */
@media (max-width: 1023px) {
    .site-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        background: var(--white);
        padding: var(--space-5);
        z-index: 199;
        overflow-y: auto;
        pointer-events: auto;
        align-items: stretch;
        justify-content: flex-start;
    }

    body.admin-bar .site-nav {
        top: calc(var(--header-height) + 32px);
    }

    .site-nav.is-open { display: block; }

    .site-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .site-nav__link {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-lg);
        border-bottom: 1px solid var(--light-gray);
        border-radius: 0;
    }

    .mobile-menu-toggle { display: flex; }

    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }

    .hero { min-height: auto; padding: var(--space-8) var(--space-5); }
    .hero__title { font-size: var(--text-3xl); }
    .hero__subtitle { font-size: var(--text-lg); }
}

/* ===========================
   Responsive: Mobile
   =========================== */
@media (max-width: 639px) {
    .hero__title { font-size: var(--text-2xl); }
    .hero__subtitle { font-size: var(--text-base); }
    .hero__icon { width: 60px; height: 60px; }
    .hero__icon i { font-size: 2rem; }

    .section { padding: var(--space-7) 0; }
    .section__header { margin-bottom: var(--space-6); }

    .fee-table { font-size: var(--text-sm); }
    .fee-table th, .fee-table td { padding: var(--space-3); }

    .steps-timeline::before { left: 20px; }
    .step-item { padding-left: 56px; }
    .step-item__number { width: 40px; height: 40px; font-size: var(--text-base); }

    .faq-item summary { font-size: var(--text-base); padding: var(--space-3) var(--space-4); }
    .faq-item__answer { padding: 0 var(--space-4) var(--space-4); }

    .cta-section { padding: var(--space-7) 0; }
}

/* ===========================
   Section Page (standalone sections)
   =========================== */
.section-page__breadcrumb {
    padding: var(--space-4) 0;
    background: var(--off-white);
    border-bottom: 1px solid var(--light-gray);
}

.section-page__breadcrumb .breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--dark-gray);
    flex-wrap: wrap;
}

.section-page__breadcrumb .breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--pulmad-blue-accent);
}

.section-page__breadcrumb .breadcrumb a:hover {
    color: var(--pulmad-blue-hover);
}

.breadcrumb__sep {
    color: var(--medium-gray);
}

.section-page__cta {
    padding: var(--space-8) 0;
    background: var(--pulmad-ghost);
    border-top: 1px solid var(--pulmad-blue-light);
}

.section-page__cta-text {
    color: var(--dark-gray);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-5);
}

/* ===========================
   Reduced motion
   =========================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: 0s !important; animation-duration: 0s !important; }
}
