/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f4c81;
    --primary-dark: #0a3560;
    --primary-light: #1a6bb5;
    --accent: #00bcd4;
    --accent-light: #26c6da;
    --gradient: linear-gradient(135deg, #0f4c81, #00bcd4);
    --gradient-text: linear-gradient(135deg, #0f4c81, #00bcd4);
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: .25s cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius);
    white-space: nowrap;
    text-decoration: none;
}

.btn-sm { padding: 8px 18px; font-size: .875rem; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }
.btn-full { width: 100%; padding: 14px 24px; }

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 14px rgba(15,76,129,.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15,76,129,.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(15,76,129,.04);
}

.btn-ghost {
    background: rgba(15,76,129,.06);
    color: var(--primary);
}
.btn-ghost:hover {
    background: rgba(15,76,129,.1);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-glass {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.25);
    backdrop-filter: blur(10px);
}
.btn-glass:hover {
    background: rgba(255,255,255,.25);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: rgba(255,255,255,.92);
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    min-width: 34px;
    height: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.lang-btn.active {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 10px rgba(15,76,129,.25);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero (Dark Centered) ===== */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #0f2847 50%, #0a1628 100%);
    color: #fff;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    opacity: .08;
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    opacity: .06;
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    opacity: .04;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-full);
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.3); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 24px;
    color: #fff;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cycle-wrapper {
    display: inline-block;
    position: relative;
    min-width: 200px;
}

.hero-cycle {
    background: linear-gradient(135deg, #00bcd4, #26c6da, #4dd0e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity .4s ease, transform .4s ease;
}

.hero-cycle.fade-out {
    opacity: 0;
    transform: translateY(-12px);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-proof-stars {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 2px;
}

.hero-proof-stars span {
    color: rgba(255,255,255,.8);
    font-weight: 700;
    letter-spacing: 0;
    margin-left: 4px;
    font-size: .95rem;
}

.hero-proof-text {
    font-size: .88rem;
    color: rgba(255,255,255,.45);
}

/* ===== Country Cards ===== */
.countries {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 36px 24px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.country-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.country-card:hover::before {
    opacity: 1;
}

.country-flag {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 4px;
}

.country-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}

.country-type {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.country-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(15, 76, 129, .06);
    transition: var(--transition);
}

.country-card:hover .country-cta {
    background: var(--primary);
    color: #fff;
}

/* ===== Trust Bar ===== */
.trust-bar {
    padding: 48px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-bar-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.trust-bar-item {
    text-align: center;
}

.trust-bar-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.trust-bar-suffix {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-bar-label {
    display: block;
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-bar-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(0,188,212,.08);
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -.01em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Services ===== */
.services {
    padding: 100px 0;
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(15,76,129,.03), rgba(0,188,212,.03));
    border-color: rgba(0,188,212,.2);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon.blue { background: rgba(15,76,129,.08); color: var(--primary); }
.service-icon.green { background: rgba(16,185,129,.08); color: #059669; }
.service-icon.purple { background: rgba(139,92,246,.08); color: #7c3aed; }
.service-icon.orange { background: rgba(249,115,22,.08); color: #ea580c; }
.service-icon.cyan { background: rgba(0,188,212,.08); color: var(--accent); }
.service-icon.rose { background: rgba(244,63,94,.08); color: #e11d48; }

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Wait Times ===== */
.wait-times {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-tab:hover { border-color: var(--primary); color: var(--primary); }

.filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.risk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.risk-dot.high { background: #ef4444; }
.risk-dot.medium { background: #f59e0b; }
.risk-dot.low { background: #10b981; }

.table-wrapper {
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.wait-table {
    width: 100%;
    border-collapse: collapse;
}

.wait-table th {
    text-align: left;
    padding: 14px 20px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.wait-table td {
    padding: 16px 20px;
    font-size: .9rem;
    border-bottom: 1px solid var(--border-light);
}

.wait-table tbody tr {
    transition: var(--transition);
}

.wait-table tbody tr:hover {
    background: var(--bg-secondary);
}

.wait-table tbody tr:last-child td { border-bottom: none; }

.city-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.city-flag { font-size: 1.3rem; }

.wait-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: .8rem;
    font-weight: 700;
}

.wait-badge.high { background: rgba(239,68,68,.08); color: #dc2626; }
.wait-badge.medium { background: rgba(245,158,11,.08); color: #d97706; }
.wait-badge.low { background: rgba(16,185,129,.08); color: #059669; }

.risk-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: .78rem;
    font-weight: 700;
}

.risk-label.high { background: rgba(239,68,68,.08); color: #dc2626; }
.risk-label.medium { background: rgba(245,158,11,.08); color: #d97706; }
.risk-label.low { background: rgba(16,185,129,.08); color: #059669; }

.wait-table tbody tr.hidden-row { display: none; }

/* ===== Pricing ===== */
.pricing {
    padding: 100px 0;
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.pricing-card {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pricing-header {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pricing-desc {
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
}

.period {
    font-size: .88rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: .92rem;
    color: var(--text-secondary);
}

.pricing-features svg { flex-shrink: 0; }

.credit-info {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
}

.credit-info h4 {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.credit-subtitle {
    text-align: center;
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.credit-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.credit-item {
    text-align: center;
    padding: 16px 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    min-width: 120px;
}

.credit-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.credit-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--bg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(15,76,129,.2);
}

.faq-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: var(--transition);
}

.faq-chevron {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-content p {
    padding: 0 22px 18px;
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-content a {
    color: var(--primary);
    font-weight: 600;
}

.faq-content a:hover {
    text-decoration: underline;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    background: var(--bg);
}

.cta-card {
    position: relative;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 72px 48px;
    text-align: center;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,.06) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-card p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 32px;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
}

/* ===== Footer ===== */
.footer {
    background: #0a1628;
    color: rgba(255,255,255,.7);
    padding: 64px 0 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
    height: 36px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.footer-col a {
    display: block;
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    padding: 5px 0;
    transition: var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: .82rem;
    color: rgba(255,255,255,.35);
}

.footer-bottom-links a {
    color: rgba(255,255,255,.4);
    transition: var(--transition);
}

.footer-bottom-links a:hover { color: #fff; }

/* ===== Contact Modal — Premium Redesign ===== */
body.modal-open {
    overflow: hidden;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 16px;
}

.contact-modal[hidden] {
    display: none;
}

.contact-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 24, .72);
    backdrop-filter: blur(6px);
}

.contact-modal-dialog {
    position: relative;
    width: min(780px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 32px 64px -12px rgba(0,0,0,.28), 0 0 0 1px rgba(15,76,129,.06);
    padding: 0;
    animation: modalSlideIn .28s ease-out;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* -- Modal branded header -- */
.contact-modal-header {
    background: linear-gradient(135deg, #0a1628 0%, #0f2847 60%, #133a5c 100%);
    padding: 28px 32px 24px;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.contact-modal-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(0,188,212,.12) 0%, transparent 60%);
    pointer-events: none;
}

.contact-modal-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    margin-bottom: 14px;
}

.contact-modal-header-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.contact-modal-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -.01em;
}

.contact-modal-header p {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 0;
    line-height: 1.5;
}

/* -- Close button -- */
.contact-modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-close:hover {
    background: rgba(255,255,255,.16);
    color: #fff;
}

/* -- Form body area -- */
.contact-form {
    padding: 24px 32px 28px;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* -- Section divider labels inside form -- */
.contact-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 16px;
    margin-top: 6px;
}

.contact-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* -- Form grid -- */
.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field span {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: .01em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text);
    font-family: inherit;
    font-size: .92rem;
    padding: 11px 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: var(--text-muted);
}

.contact-field textarea {
    min-height: 88px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--primary-light);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, .12);
}

/* -- Checkbox groups -- */
.contact-check-group {
    margin-bottom: 16px;
}

.contact-check-title {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.contact-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;
}

.contact-check-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1.5px solid var(--border-light);
    background: var(--bg-secondary);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.contact-check-grid label:hover {
    border-color: var(--border);
    background: var(--bg-tertiary);
}

.contact-check-grid label:has(input:checked) {
    border-color: var(--primary-light);
    background: rgba(15, 76, 129, .05);
    color: var(--text);
}

.contact-check-grid input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

/* -- Form actions & trust footer -- */
.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.contact-trust-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: var(--text-muted);
}

.contact-trust-note svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: #0f766e;
}

.contact-form-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.contact-form-actions .btn-primary {
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 10px;
}

.contact-form-actions .btn-ghost {
    border-radius: 10px;
}

.contact-form-status {
    min-height: 20px;
    margin-top: 12px;
    font-size: .85rem;
    font-weight: 600;
    padding: 0 32px;
}

.contact-form-status:empty {
    display: none;
}

.contact-form-status.success {
    color: #0f766e;
    background: rgba(15, 118, 110, .06);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(15, 118, 110, .12);
}

.contact-form-status.error {
    color: #dc2626;
    background: rgba(220, 38, 38, .06);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(220, 38, 38, .12);
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-4px); }
    .section-header h2 { font-size: 2rem; }
    .countries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: flex; }

    .nav-links.open,
    .nav-actions.open {
        display: flex;
    }

    .navbar.mobile-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        gap: 16px;
        box-shadow: var(--shadow-md);
    }

    .navbar.mobile-open .nav-actions {
        display: flex;
        flex-wrap: wrap;
        position: absolute;
        top: auto;
        left: 0;
        right: 0;
        background: #fff;
        padding: 0 24px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .navbar.mobile-open .lang-switch {
        width: 100%;
        justify-content: flex-start;
    }

    .hero { padding: 130px 0 70px; }
    .hero-title { font-size: 2.5rem; }
    .hero-cycle-wrapper { min-width: 140px; }

    .countries-grid { grid-template-columns: repeat(2, 1fr); }

    .trust-bar-items { flex-wrap: wrap; gap: 24px; }
    .trust-bar-divider { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }

    .filter-tabs { gap: 6px; }
    .filter-tab { font-size: .78rem; padding: 6px 12px; }

    .wait-table { font-size: .85rem; }
    .wait-table th, .wait-table td { padding: 12px 14px; }

    .cta-card { padding: 48px 24px; }
    .cta-card h2 { font-size: 1.5rem; }

    .footer-main { flex-direction: column; gap: 32px; }
    .footer-links { gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    .credit-grid { gap: 12px; }
    .credit-item { min-width: 100px; padding: 12px 16px; }

    .contact-modal-header {
        padding: 22px 20px 20px;
    }

    .contact-form {
        padding: 20px 20px 24px;
    }

    .contact-form-grid,
    .contact-check-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .contact-trust-note {
        justify-content: center;
    }

    .contact-form-actions {
        flex-direction: column;
    }

    .contact-form-actions .btn {
        width: 100%;
    }

    .contact-form-status {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: .95rem; }
    .hero-cycle-wrapper { min-width: 100px; }
    .section-header h2 { font-size: 1.6rem; }
    .service-card { padding: 24px; }
    .pricing-card { padding: 28px; }
    .countries-grid { grid-template-columns: repeat(2, 1fr); }
    .country-card { padding: 24px 16px; }
}
