/* ============================================================
   INSURES — Travel Health Insurance
   Modern Professional Stylesheet
   ============================================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #1e1e3f;
    line-height: 1.6;
}

:root {
    --primary: #1e1e6e;
    --primary-light: #2d2d8f;
    --primary-lighter: #eef0ff;
    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --success: #059669;
    --success-light: #ecfdf5;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    --warning: #d97706;
    --text: #1e1e3f;
    --text-secondary: #64648b;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-section: #f0f4ff;
    --card: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(30,30,63,0.06);
    --shadow-md: 0 4px 16px rgba(30,30,63,0.08);
    --shadow-lg: 0 8px 32px rgba(30,30,63,0.12);
    --shadow-xl: 0 16px 48px rgba(30,30,63,0.16);
    --transition: 0.2s ease;
}

/* ── Typography ── */
h1, h2, h3, h4 { color: var(--primary); font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; }
p { color: var(--text-secondary); }

/* ── Navbar ── */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-logo-link { display: flex; text-decoration: none; cursor: pointer; }
.navbar-logo { height: 32px; }
.navbar-right { display: flex; align-items: center; gap: 12px; }

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: #fff;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}
.lang-switcher:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero Section ── */
.hero {
    background: linear-gradient(135deg, #eef0ff 0%, #e0e7ff 60%, #dbeafe 100%);
    padding: 56px 40px 72px;
    text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.8);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--accent); }
.hero h1 { margin-bottom: 12px; }
.hero-subtitle { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 8px; max-width: 540px; margin-left: auto; margin-right: auto; }
.hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
}
.hero-feature svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

/* ── Search Form Card ── */
.search-card {
    max-width: 960px;
    margin: -44px auto 0;
    position: relative;
    z-index: 10;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 32px 36px;
}
.search-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}
.search-card-label svg { width: 20px; height: 20px; color: var(--accent); }

.search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
}
.search-fields-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
    margin-top: 16px;
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.2px;
}
.search-field select,
.search-field input {
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    transition: var(--transition);
    width: 100%;
    appearance: none;
    min-height: 50px;
}
.search-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.search-field select:focus,
.search-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }

.btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    min-height: 50px;
    font-family: inherit;
}
.btn-search:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-search svg { width: 18px; height: 18px; }

.search-disclaimer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.search-disclaimer a { color: var(--accent); text-decoration: underline; }

/* ── How It Works ── */
.section { padding: 80px 40px; }
.section-centered { text-align: center; }
.section-title { margin-bottom: 8px; }
.section-subtitle { font-size: 1rem; color: var(--text-secondary); margin-bottom: 48px; }
.section-alt { background: var(--bg-light); }
.section-blue { background: linear-gradient(180deg, #e8f4fd 0%, #dbeafe 100%); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 960px; margin: 0 auto; }
.step-card { text-align: center; }
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--primary-lighter);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: 0.9375rem; max-width: 280px; margin: 0 auto; }

/* ── Coverage Cards ── */
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.coverage-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}
.coverage-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.coverage-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.coverage-icon svg { width: 22px; height: 22px; color: var(--accent); }
.coverage-card h3 { font-size: 1rem; margin-bottom: 6px; }
.coverage-card p { font-size: 0.8125rem; }

/* ── Stats ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.stat-item { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); }

/* ── Partners ── */
.partners-grid { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; max-width: 800px; margin: 0 auto; }
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}
.partner-logo:hover { opacity: 1; filter: grayscale(0%); }
.partner-logo img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* ── Testimonial / Trust Section ── */
.trust-bar {
    background: var(--primary);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trust-bar-item {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}

/* ── Text Block Section ── */
.text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.text-block p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ── Footer ── */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.6);
    padding: 40px 40px 24px;
    text-align: center;
}
.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.footer-contact-item:hover { color: #fff; }
.footer-contact-item svg { opacity: 0.7; }
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links .sep { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.footer-company {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-top: 8px;
    line-height: 1.6;
}
.footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════
   SPA PAGES — Form, Offers, Payment, Result
   ══════════════════════════════════════════════════════════════ */

/* ── Step Indicator ── */
.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 24px 40px;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
}
.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
}
.step-item.active { color: var(--primary); }
.step-item.completed { color: var(--success); }
.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.step-item.active .step-dot { background: var(--primary); }
.step-item.completed .step-dot { background: var(--success); }
.step-line {
    width: 48px;
    height: 2px;
    background: var(--border);
    margin: 0 12px;
    flex-shrink: 0;
}
.step-item.completed + .step-line { background: var(--success); }

/* ── Page Container ── */
.page-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}
.page-container-wide {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}
.page-title { margin-bottom: 4px; }
.page-subtitle { margin-bottom: 32px; }

/* ── Form Styles ── */
.form-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}
.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-section-title svg { width: 20px; height: 20px; color: var(--accent); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}
.form-label .req { color: var(--danger); }
.form-input,
.form-select {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
    width: 100%;
}
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.5;
}
.form-input:focus,
.form-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-input.error,
.form-select.error { border-color: var(--danger); }
.form-error { font-size: 0.75rem; color: var(--danger); display: none; }
.form-error.visible { display: block; }

/* ── Phone Input with Country Code ── */
.phone-input-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}
.phone-code-select {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    border: 1.5px solid var(--border);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background: var(--bg-light);
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    user-select: none;
}
.phone-code-select:hover { background: var(--border-light); }
.phone-number-input.form-input {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    flex: 1;
    min-width: 0;
}
.phone-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    max-height: 260px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 100;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.phone-dropdown.hidden { display: none; }
.phone-search {
    padding: 10px 12px;
    border: none;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    color: var(--text);
}
.phone-list {
    overflow-y: auto;
    max-height: 210px;
}
.phone-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    transition: background 0.15s;
}
.phone-item:hover { background: var(--bg-light); }
.phone-item-name { flex: 1; color: var(--text); }
.phone-item-code { color: var(--text-muted); font-weight: 600; font-size: 0.8125rem; }

/* ── Toggle Switch ── */
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 16px;
}
.toggle-label { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.toggle-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: var(--transition);
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #047857; }
.btn svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }

.btn-row { display: flex; gap: 12px; margin-top: 24px; }
.btn-row .btn { flex: 1; }

/* ── Identity Alert ── */
.id-alert {
    background: var(--danger-light);
    border: 1px solid #fca5a5;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 20px;
    display: none;
}
.id-alert.visible { display: block; }
.id-alert-title { font-size: 0.875rem; font-weight: 700; color: var(--danger); margin-bottom: 4px; }
.id-alert-msg { font-size: 0.8125rem; color: #991b1b; }

/* ── Offer Cards ── */
.search-summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.search-summary-info { font-size: 0.9375rem; color: var(--text); font-weight: 600; }
.search-summary-meta { font-size: 0.8125rem; color: var(--text-secondary); }
.search-summary-edit {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    background: transparent;
    transition: var(--transition);
}
.search-summary-edit:hover { background: var(--accent); color: #fff; }

.offers-list { display: flex; flex-direction: column; gap: 16px; }

.offer-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}
.offer-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.offer-card.selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,30,110,0.1); }
.offer-card.failed { opacity: 0.6; cursor: default; }
.offer-card.disabled { opacity: 0.5; pointer-events: none; }

.offer-layout {
    display: flex;
    align-items: stretch;
    min-height: 100%;
}
.offer-logo-side {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    min-width: 120px;
    padding: 16px;
    flex-shrink: 0;
}
.offer-carrier-logo {
    max-height: 40px;
    max-width: 90px;
    width: auto;
    object-fit: contain;
}
.offer-carrier-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}
.offer-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    flex-shrink: 0;
}
.offer-detail-side {
    flex: 1;
    padding: 16px 20px;
    min-width: 0;
}
.offer-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.offer-carrier { font-size: 1rem; font-weight: 700; color: var(--primary); }
.offer-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
}
.offer-badge.schengen { background: #dbeafe; color: #1d4ed8; }
.offer-badge.covid { background: #d1fae5; color: #065f46; }

.offer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.offer-feat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}
.offer-feat svg { width: 14px; height: 14px; flex-shrink: 0; }
.offer-feat.yes svg { color: var(--success); }
.offer-feat.no svg { color: var(--danger); }

.offer-footer { display: flex; align-items: center; justify-content: space-between; }
.offer-price { text-align: right; }
.offer-price-amount { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.offer-price-currency { font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); margin-left: 2px; }
.offer-price-original { display: block; font-size: 0.75rem; color: var(--text-muted); }
.offer-price-note { font-size: 0.6875rem; color: var(--text-muted); }

.offer-select-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.offer-select-btn:hover { background: var(--primary-light); }

.offer-pending {
    display: flex;
    align-items: center;
    gap: 10px;
}
.offer-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.offer-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
}
.offer-status.pending { background: #fef3c7; color: #92400e; }
.offer-status.ready { background: var(--success-light); color: var(--success); }
.offer-status.failed { background: var(--danger-light); color: var(--danger); }

/* ── Payment ── */
.payment-summary {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
}
.payment-summary-row { display: flex; justify-content: space-between; font-size: 0.875rem; padding: 6px 0; }
.payment-summary-row.total { font-weight: 700; font-size: 1rem; color: var(--primary); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }

.payment-loading {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    flex-direction: column;
    gap: 16px;
}
.payment-loading.visible { display: flex; }
.payment-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ── Result ── */
.result-card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
}
.result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--success-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.result-icon svg { width: 36px; height: 36px; color: var(--success); }
.result-card h2 { margin-bottom: 8px; color: var(--success); }
.result-card p { margin-bottom: 24px; }
.result-policy { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 24px; }
.result-policy strong { color: var(--text); }

/* ── Utilities ── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.8125rem; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.fade-in { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Responsive ── */
@media (max-width: 768px) {
    .navbar { padding: 12px 16px; }
    .hero { padding: 36px 20px 52px; }
    .search-card { margin: -32px 16px 0; padding: 24px 20px; }
    .search-fields { grid-template-columns: 1fr; }
    .search-fields-row2 { grid-template-columns: 1fr; }
    .btn-search { width: 100%; justify-content: center; }
    .section { padding: 48px 20px; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .coverage-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .page-container, .page-container-wide { padding: 24px 16px 48px; }
    .form-grid { grid-template-columns: 1fr; }
    .steps-indicator { padding: 16px 8px; gap: 0; overflow-x: auto; }
    .step-item span { display: none; }
    .step-line { width: 20px; margin: 0 4px; }
    .offer-layout { flex-direction: column; }
    .offer-logo-side { width: 100%; min-width: unset; padding: 12px 16px; flex-direction: row; justify-content: flex-start; gap: 10px; }
    .offer-carrier-logo { max-height: 32px; }
    .offer-divider { width: 100%; height: 1px; }
    .offer-detail-side { padding: 12px 16px; }
    .offer-footer { flex-direction: column; gap: 12px; align-items: stretch; }
    .offer-price { text-align: left; }
    .offer-select-btn { width: 100%; text-align: center; }
    .btn-row { flex-direction: column; }
    .search-summary { flex-direction: column; align-items: flex-start; }
    .trust-bar { gap: 24px; padding: 16px 20px; }
    .trust-bar-item { font-size: 0.875rem; }
    .partners-grid { gap: 24px; }
    .site-footer { padding: 32px 20px 20px; }
    .footer-links { gap: 6px; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .hero-features { flex-direction: column; gap: 8px; align-items: flex-start; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-value { font-size: 1.5rem; }
}

/* ── Legal Pages ── */
.legal-page { max-width: 800px; margin: 0 auto; }
.legal-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}
.legal-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.legal-content h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.legal-content p { margin-bottom: 12px; }
.legal-content ul { margin: 8px 0 16px 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 8px;
    font-family: inherit;
}
.btn-text:hover { text-decoration: underline; }
