/* Butterfly Flights — SEO Landing Pages
   Self-contained stylesheet. No external font dependencies.
   Shares brand tokens with style.css but loads independently. */

:root {
    --seo-blue: #3b82f6;
    --seo-blue-hover: #2563eb;
    --seo-blue-light: #eff6ff;
    --seo-blue-50: #f0f5ff;
    --seo-navy: #0f172a;
    --seo-text: #111827;
    --seo-text-2: #374151;
    --seo-text-3: #6b7280;
    --seo-text-4: #9ca3af;
    --seo-border: #e5e7eb;
    --seo-border-light: #f3f4f6;
    --seo-bg: #f8fafc;
    --seo-card: #ffffff;
    --seo-green: #059669;
    --seo-green-light: #ecfdf5;
    --seo-red: #dc2626;
    --seo-gold: #d97706;
    --seo-gold-light: #fffbeb;
    --seo-shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --seo-shadow-md: 0 4px 12px rgba(0,0,0,.07);
    --seo-shadow-lg: 0 8px 24px rgba(0,0,0,.09);
    --seo-radius: 10px;
    --seo-radius-sm: 6px;
    --seo-radius-lg: 16px;
    --seo-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --seo-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--seo-font); color: var(--seo-text); line-height: 1.6; background: var(--seo-bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: var(--seo-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* === LAYOUT === */
.seo-wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* === NAV === */
.seo-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--seo-border); position: sticky; top: 0; z-index: 100; }
.seo-nav-inner { max-width: 1060px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.seo-nav-logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--seo-navy); text-decoration: none; letter-spacing: -.01em; }
.seo-nav-logo:hover { text-decoration: none; }
.seo-nav-logo svg { width: 26px; height: 26px; flex-shrink: 0; }
.seo-nav-links { display: flex; align-items: center; gap: 20px; }
.seo-nav-links a { font-size: 14px; font-weight: 500; color: var(--seo-text-3); text-decoration: none; }
.seo-nav-links a:hover { color: var(--seo-text); text-decoration: none; }
.seo-nav-cta { display: inline-flex; align-items: center; padding: 7px 16px; background: var(--seo-blue); color: #fff !important; font-size: 13px; font-weight: 600; border-radius: var(--seo-radius-sm); }
.seo-nav-cta:hover { background: var(--seo-blue-hover); text-decoration: none; }

/* === BREADCRUMB === */
.seo-crumbs { padding: 14px 0 0; font-size: 13px; color: var(--seo-text-4); }
.seo-crumbs a { color: var(--seo-text-3); text-decoration: none; }
.seo-crumbs a:hover { color: var(--seo-blue); text-decoration: underline; }
.seo-crumbs .sep { margin: 0 6px; color: var(--seo-border); }

/* === ROUTE HERO === */
.seo-hero { padding: 32px 0 28px; border-bottom: 1px solid var(--seo-border); }
.seo-hero-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--seo-blue); margin-bottom: 8px; }
.seo-hero h1 { font-size: 36px; font-weight: 800; line-height: 1.12; letter-spacing: -.025em; color: var(--seo-navy); margin-bottom: 10px; }
.seo-hero h1 em { font-family: var(--seo-serif); font-style: italic; font-weight: 400; }
.seo-hero-sub { font-size: 16px; color: var(--seo-text-3); line-height: 1.55; max-width: 640px; }

/* Route-specific hero with price callout */
.seo-route-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.seo-route-hero-left { flex: 1; min-width: 0; }
.seo-route-price-card { flex-shrink: 0; background: var(--seo-card); border: 1px solid var(--seo-border); border-radius: var(--seo-radius); padding: 20px 24px; text-align: center; box-shadow: var(--seo-shadow-sm); min-width: 180px; }
.seo-route-price-card .price-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--seo-text-4); margin-bottom: 4px; }
.seo-route-price-card .price-value { font-size: 36px; font-weight: 800; color: var(--seo-blue); letter-spacing: -.02em; line-height: 1.1; }
.seo-route-price-card .price-note { font-size: 12px; color: var(--seo-text-4); margin-top: 4px; }
.seo-route-price-card .price-cta { display: block; margin-top: 12px; padding: 8px 20px; background: var(--seo-blue); color: #fff; font-size: 13px; font-weight: 600; border-radius: var(--seo-radius-sm); text-decoration: none; }
.seo-route-price-card .price-cta:hover { background: var(--seo-blue-hover); text-decoration: none; }

/* Route codes display */
.seo-route-codes { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.seo-route-code { font-size: 28px; font-weight: 800; color: var(--seo-navy); letter-spacing: .04em; }
.seo-route-arrow { color: var(--seo-blue); font-size: 20px; }

/* === QUICK FACTS === */
.seo-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding: 24px 0; }
.seo-fact { background: var(--seo-card); border: 1px solid var(--seo-border); border-radius: var(--seo-radius-sm); padding: 16px; }
.seo-fact-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--seo-text-4); margin-bottom: 4px; }
.seo-fact-value { font-size: 18px; font-weight: 700; color: var(--seo-text); }
.seo-fact-sub { font-size: 12px; color: var(--seo-text-3); margin-top: 2px; }

/* === SECTION HEADERS === */
.seo-section { padding: 28px 0 0; }
.seo-section-title { font-size: 20px; font-weight: 700; color: var(--seo-navy); margin-bottom: 16px; letter-spacing: -.015em; }
.seo-section-title em { font-family: var(--seo-serif); font-style: italic; font-weight: 400; }

/* === PRICE TABLE === */
.seo-price-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.seo-price-table th { text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--seo-text-4); padding: 10px 14px; border-bottom: 2px solid var(--seo-border); }
.seo-price-table td { padding: 12px 14px; border-bottom: 1px solid var(--seo-border-light); font-size: 14px; color: var(--seo-text-2); }
.seo-price-table tr:last-child td { border-bottom: none; }
.seo-price-table .price-cell { font-weight: 700; color: var(--seo-blue); font-size: 15px; }
.seo-price-table .date-cell { color: var(--seo-text-3); }
.seo-price-table tbody tr:hover { background: var(--seo-blue-50); }
.seo-price-table .seo-savings-cell { font-weight: 600; color: var(--seo-green); font-size: 13px; }

/* === ROUTE GRID (related routes, dest grid, deals) === */
.seo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 24px; }
.seo-grid-card { display: block; background: var(--seo-card); border: 1px solid var(--seo-border); border-radius: var(--seo-radius); padding: 16px 18px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.seo-grid-card:hover { border-color: var(--seo-blue); box-shadow: var(--seo-shadow-md); text-decoration: none; }
.seo-grid-card .card-route { font-size: 15px; font-weight: 700; color: var(--seo-navy); margin-bottom: 2px; }
.seo-grid-card .card-detail { font-size: 13px; color: var(--seo-text-3); }
.seo-grid-card .card-price { font-size: 18px; font-weight: 800; color: var(--seo-blue); margin-top: 8px; }
.seo-grid-card .card-price-note { font-size: 11px; color: var(--seo-text-4); font-weight: 400; }

/* City hub airport list */
.seo-airport-list { list-style: none; margin-bottom: 24px; }
.seo-airport-list li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--seo-border-light); }
.seo-airport-list li:last-child { border-bottom: none; }
.seo-airport-list .code { font-size: 14px; font-weight: 800; color: var(--seo-blue); background: var(--seo-blue-light); padding: 3px 8px; border-radius: 4px; letter-spacing: .04em; }
.seo-airport-list .name { font-size: 14px; color: var(--seo-text-2); flex: 1; }
.seo-airport-list .name a { color: var(--seo-text-2); font-weight: 600; }
.seo-airport-list .name a:hover { color: var(--seo-blue); }

/* Airport detail box */
.seo-airport-detail { background: var(--seo-card); border: 1px solid var(--seo-border); border-radius: var(--seo-radius); padding: 24px; margin-bottom: 24px; display: flex; gap: 24px; align-items: flex-start; }
.seo-airport-detail .code-badge { font-size: 32px; font-weight: 800; color: var(--seo-blue); background: var(--seo-blue-light); padding: 10px 16px; border-radius: var(--seo-radius-sm); letter-spacing: .06em; line-height: 1; }
.seo-airport-detail .info h2 { font-size: 22px; font-weight: 700; color: var(--seo-navy); margin-bottom: 4px; }
.seo-airport-detail .info p { font-size: 14px; color: var(--seo-text-3); }

/* === CTA SECTION === */
.seo-cta { background: var(--seo-navy); border-radius: var(--seo-radius-lg); padding: 36px 32px; text-align: center; margin: 32px 0; }
.seo-cta h2 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: -.015em; }
.seo-cta p { font-size: 15px; color: rgba(255,255,255,.65); margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; }
.seo-cta-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; background: var(--seo-blue); color: #fff; font-size: 15px; font-weight: 600; border-radius: var(--seo-radius-sm); text-decoration: none; transition: background .15s; }
.seo-cta-btn:hover { background: #60a5fa; text-decoration: none; }

/* Secondary CTA (lighter) */
.seo-cta-light { background: var(--seo-blue-light); border-radius: var(--seo-radius); padding: 24px; text-align: center; margin: 24px 0; border: 1px solid #dbeafe; }
.seo-cta-light h3 { font-size: 18px; font-weight: 700; color: var(--seo-navy); margin-bottom: 6px; }
.seo-cta-light p { font-size: 14px; color: var(--seo-text-3); margin-bottom: 14px; }
.seo-cta-light a.seo-cta-btn { background: var(--seo-blue); }

/* === CHEAP FLIGHTS INDEX === */
.seo-deals-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.seo-deals-header h1 { font-size: 32px; font-weight: 800; color: var(--seo-navy); letter-spacing: -.02em; }
.seo-deals-count { font-size: 14px; color: var(--seo-text-3); background: var(--seo-border-light); padding: 6px 12px; border-radius: 20px; font-weight: 600; }

/* === FOOTER === */
.seo-footer { border-top: 1px solid var(--seo-border); margin-top: 40px; padding: 32px 0 40px; }
.seo-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-bottom: 28px; }
.seo-footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--seo-text-4); margin-bottom: 10px; }
.seo-footer-col a { display: block; font-size: 13px; color: var(--seo-text-3); padding: 3px 0; text-decoration: none; }
.seo-footer-col a:hover { color: var(--seo-blue); }
.seo-footer-bottom { border-top: 1px solid var(--seo-border-light); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--seo-text-4); }
.seo-footer-bottom a { color: var(--seo-text-4); }
.seo-footer-bottom a:hover { color: var(--seo-blue); }
.seo-footer-links { display: flex; gap: 16px; }
.seo-footer-links a { color: var(--seo-text-4); text-decoration: none; }
.seo-footer-links a:hover { color: var(--seo-blue); }

/* === CONTENT TEXT === */
.seo-prose { font-size: 15px; line-height: 1.7; color: var(--seo-text-2); max-width: 680px; margin-bottom: 24px; }
.seo-prose p { margin-bottom: 12px; }
.seo-prose strong { color: var(--seo-text); font-weight: 600; }

/* === TAGS / CHIPS === */
.seo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.seo-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--seo-text-3); background: var(--seo-border-light); padding: 5px 12px; border-radius: 20px; text-decoration: none; }
.seo-tag:hover { background: var(--seo-blue-light); color: var(--seo-blue); text-decoration: none; }

/* === FAQ ACCORDION === */
.seo-faq { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.seo-faq-item { background: var(--seo-card); border: 1px solid var(--seo-border); border-radius: var(--seo-radius-sm); overflow: hidden; transition: border-color .15s; }
.seo-faq-item[open] { border-color: var(--seo-blue); }
.seo-faq-question { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; font-size: 15px; font-weight: 600; color: var(--seo-navy); cursor: pointer; list-style: none; user-select: none; -webkit-user-select: none; }
.seo-faq-question::-webkit-details-marker { display: none; }
.seo-faq-question::marker { display: none; content: ''; }
.seo-faq-question::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--seo-text-4); flex-shrink: 0; margin-left: 12px; transition: transform .2s; }
.seo-faq-item[open] .seo-faq-question::after { content: '\2212'; color: var(--seo-blue); }
.seo-faq-question:hover { color: var(--seo-blue); }
.seo-faq-answer { padding: 0 18px 16px; }
.seo-faq-answer p { font-size: 14px; line-height: 1.65; color: var(--seo-text-2); margin: 0; }

/* === MOBILE === */
@media (max-width: 768px) {
    .seo-hero h1 { font-size: 26px; }
    .seo-route-hero { flex-direction: column; gap: 20px; }
    .seo-route-price-card { width: 100%; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
    .seo-route-price-card .price-cta { margin-top: 0; white-space: nowrap; }
    .seo-route-code { font-size: 22px; }
    .seo-facts { grid-template-columns: repeat(2, 1fr); }
    .seo-grid { grid-template-columns: 1fr; }
    .seo-cta { padding: 28px 20px; }
    .seo-cta h2 { font-size: 20px; }
    .seo-deals-header h1 { font-size: 24px; }
    .seo-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .seo-nav-links { gap: 12px; }
    .seo-nav-links a:not(.seo-nav-cta) { display: none; }
    .seo-airport-detail { flex-direction: column; gap: 12px; }
    .seo-section-title { font-size: 18px; }
}

@media (max-width: 480px) {
    .seo-wrap { padding: 0 16px; }
    .seo-nav-inner { padding: 0 16px; }
    .seo-hero h1 { font-size: 22px; }
    .seo-facts { grid-template-columns: 1fr; }
    .seo-footer-grid { grid-template-columns: 1fr; }
    .seo-route-price-card { flex-direction: column; text-align: center; }
    .seo-route-price-card .price-cta { width: 100%; text-align: center; }
    .seo-month-grid { gap: 6px; }
    .seo-cal-days { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
}

/* ── Best Time to Fly — month bars ─────────────────────────────── */
.seo-month-grid { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.seo-month-bar { display: flex; align-items: center; gap: 10px; }
.seo-month-bar.cheapest .seo-month-price { color: var(--seo-green); font-weight: 700; }
.seo-month-bar.priciest .seo-month-price { color: #dc2626; }
.seo-month-label { font-size: 0.82rem; font-weight: 600; color: var(--seo-text-3); min-width: 36px; }
.seo-month-track { flex: 1; height: 20px; background: var(--seo-border-light); border-radius: 6px; overflow: hidden; }
.seo-month-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #3b82f6, #60a5fa); transition: width 0.3s ease; }
.seo-month-bar.cheapest .seo-month-fill { background: linear-gradient(90deg, #059669, #34d399); }
.seo-month-bar.priciest .seo-month-fill { background: linear-gradient(90deg, #dc2626, #f87171); }
.seo-month-price { font-size: 0.82rem; font-weight: 600; color: var(--seo-text-2); min-width: 50px; text-align: right; }

/* ── Price Calendar Heatmap ────────────────────────────────────── */
.seo-section-sub { font-size: 0.82rem; color: var(--seo-text-3); margin-bottom: 16px; }
.seo-cal-wrap { display: flex; flex-direction: column; gap: 20px; }
.seo-cal-month-title { font-size: 0.9rem; font-weight: 700; color: var(--seo-text); margin-bottom: 8px; }
.seo-cal-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.seo-cal-day { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 8px; border: 1px solid var(--seo-border); cursor: default; transition: transform 0.15s; }
.seo-cal-day:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.seo-cal-day.cheap { background: #ecfdf5; border-color: #a7f3d0; }
.seo-cal-day.mid { background: #fffbeb; border-color: #fde68a; }
.seo-cal-day.high { background: #fef2f2; border-color: #fecaca; }
.seo-cal-day-num { font-size: 0.7rem; font-weight: 600; color: var(--seo-text-3); }
.seo-cal-day-price { font-size: 0.82rem; font-weight: 700; color: var(--seo-text); margin-top: 2px; }
.seo-cal-day.cheap .seo-cal-day-price { color: var(--seo-green); }
.seo-cal-day.high .seo-cal-day-price { color: #dc2626; }

/* ── Airports section ──────────────────────────────────────────── */
.seo-airports-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.seo-airport-city h3 { font-size: 0.9rem; font-weight: 700; color: var(--seo-text); margin-bottom: 8px; }
.seo-airport-chip { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--seo-border); border-radius: 8px; font-size: 0.82rem; color: var(--seo-text-2); text-decoration: none; transition: all 0.15s; margin-bottom: 6px; }
.seo-airport-chip:hover { border-color: var(--seo-blue); color: var(--seo-blue); background: var(--seo-blue-light); }
.seo-airport-chip.current { border-color: var(--seo-blue); background: var(--seo-blue-light); color: var(--seo-blue); }
.seo-airport-chip strong { font-weight: 800; letter-spacing: 0.02em; }

/* ── City Hub — hero layout ──────────────────────────────────── */
.seo-cityhub-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.seo-cityhub-hero-left { flex: 1; min-width: 0; }

/* ── City Hub — deal cards (cheapest this month) ─────────────── */
.seo-cityhub-deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.seo-deal-card { display: flex; flex-direction: column; background: var(--seo-card); border: 1px solid var(--seo-border); border-radius: var(--seo-radius); padding: 16px 18px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.seo-deal-card:hover { border-color: var(--seo-green); box-shadow: var(--seo-shadow-md); text-decoration: none; }
.seo-deal-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.seo-deal-dest { font-size: 15px; font-weight: 700; color: var(--seo-navy); }
.seo-deal-code { font-size: 12px; font-weight: 700; color: var(--seo-text-4); letter-spacing: .04em; }
.seo-deal-price { font-size: 22px; font-weight: 800; color: var(--seo-green); margin-bottom: 6px; }
.seo-deal-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--seo-text-3); }
.seo-deal-meta span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--seo-border); vertical-align: middle; margin-right: 6px; }
.seo-deal-meta span:first-child::before { display: none; }

/* ── City Hub — region filter ────────────────────────────────── */
.seo-region-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.seo-region-btn { display: inline-block; font-size: 13px; font-weight: 600; color: var(--seo-text-3); background: var(--seo-border-light); padding: 6px 14px; border-radius: 20px; border: 1px solid transparent; cursor: pointer; transition: all .15s; font-family: var(--seo-font); }
.seo-region-btn:hover { background: var(--seo-blue-light); color: var(--seo-blue); }
.seo-region-btn.active { background: var(--seo-blue); color: #fff; border-color: var(--seo-blue); }

/* ── City Hub — destination cards grid ───────────────────────── */
.seo-dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.seo-dest-card { display: flex; flex-direction: column; background: var(--seo-card); border: 1px solid var(--seo-border); border-radius: var(--seo-radius); padding: 16px 18px; text-decoration: none; transition: border-color .15s, box-shadow .15s; position: relative; }
.seo-dest-card:hover { border-color: var(--seo-blue); box-shadow: var(--seo-shadow-md); text-decoration: none; }
.seo-dest-card-header { margin-bottom: 6px; }
.seo-dest-card-city { font-size: 16px; font-weight: 700; color: var(--seo-navy); }
.seo-dest-card-codes { font-size: 12px; color: var(--seo-text-4); font-weight: 600; letter-spacing: .02em; margin-top: 2px; }
.seo-dest-card-price { font-size: 20px; font-weight: 800; color: var(--seo-blue); margin-bottom: 8px; }
.seo-dest-card-details { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--seo-text-3); }
.seo-dest-card-details span { white-space: nowrap; }
.seo-dest-card-details span + span::before { content: '\00b7'; margin-right: 8px; color: var(--seo-border); }
.seo-dest-card-badge { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; color: var(--seo-green); background: var(--seo-green-light); padding: 3px 10px; border-radius: 12px; align-self: flex-start; }

/* ── City Hub — mobile ───────────────────────────────────────── */
@media (max-width: 768px) {
    .seo-cityhub-hero { flex-direction: column; gap: 20px; }
    .seo-cityhub-deals { grid-template-columns: repeat(2, 1fr); }
    .seo-dest-grid { grid-template-columns: 1fr; }
    .seo-region-filter { gap: 6px; }
    .seo-region-btn { font-size: 12px; padding: 5px 10px; }
}

@media (max-width: 480px) {
    .seo-cityhub-deals { grid-template-columns: 1fr; }
    .seo-deal-price { font-size: 20px; }
    .seo-dest-card-price { font-size: 18px; }
}

/* ── Quick links ───────────────────────────────────────────── */
.seo-quick-links { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-quick-link { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--seo-border); border-radius: 8px; font-size: 0.82rem; font-weight: 600; color: var(--seo-text-2); text-decoration: none; transition: all 0.15s; }
.seo-quick-link:hover { border-color: var(--seo-blue); color: var(--seo-blue); background: var(--seo-blue-light); }

/* ── Best Time to Fly — month table ──────────────────────────── */
.seo-btt-table { border-collapse: separate; border-spacing: 0; }
.seo-btt-table th:nth-child(4) { min-width: 160px; }
.seo-btt-table th:last-child { width: 60px; }
.btt-year { font-size: 12px; font-weight: 400; color: var(--seo-text-4); margin-left: 4px; }
.btt-row-cheap { background: var(--seo-green-light); }
.btt-row-exp { background: #fef2f2; }

.seo-btt-bar-cell { display: flex; align-items: center; }
.seo-btt-bar-track { flex: 1; height: 14px; background: var(--seo-border-light); border-radius: 7px; overflow: hidden; }
.seo-btt-bar-fill { height: 100%; border-radius: 7px; background: linear-gradient(90deg, #3b82f6, #60a5fa); transition: width 0.3s ease; }
.seo-btt-bar-fill.cheap { background: linear-gradient(90deg, #059669, #34d399); }
.seo-btt-bar-fill.expensive { background: linear-gradient(90deg, #dc2626, #f87171); }

.seo-btt-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 10px; white-space: nowrap; }
.seo-btt-badge-cheap { color: var(--seo-green); background: var(--seo-green-light); }
.seo-btt-badge-exp { color: var(--seo-red); background: #fef2f2; }

/* ── Best Time to Fly — price trend chart ────────────────────── */
.seo-btt-chart { display: flex; align-items: flex-end; gap: 6px; height: 220px; padding: 16px 0; border-bottom: 2px solid var(--seo-border); }
.seo-btt-chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.seo-btt-chart-price { font-size: 11px; font-weight: 700; color: var(--seo-text-3); white-space: nowrap; }
.seo-btt-chart-bar { width: 100%; max-width: 48px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #3b82f6, #93c5fd); transition: height 0.3s ease; min-height: 8px; }
.seo-btt-chart-col.cheapest .seo-btt-chart-bar { background: linear-gradient(180deg, #059669, #6ee7b7); }
.seo-btt-chart-col.cheapest .seo-btt-chart-price { color: var(--seo-green); }
.seo-btt-chart-col.priciest .seo-btt-chart-bar { background: linear-gradient(180deg, #dc2626, #fca5a5); }
.seo-btt-chart-col.priciest .seo-btt-chart-price { color: var(--seo-red); }
.seo-btt-chart-label { font-size: 12px; font-weight: 600; color: var(--seo-text-3); padding-top: 8px; }

/* ── Best Time to Fly — day-of-week grid ─────────────────────── */
.seo-btt-dow-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 12px; }
.seo-btt-dow-card { display: flex; flex-direction: column; align-items: center; background: var(--seo-card); border: 1px solid var(--seo-border); border-radius: var(--seo-radius); padding: 14px 8px 12px; transition: border-color 0.15s; }
.seo-btt-dow-card.cheapest { border-color: var(--seo-green); background: var(--seo-green-light); }
.seo-btt-dow-card.priciest { border-color: var(--seo-red); background: #fef2f2; }
.seo-btt-dow-day { font-size: 13px; font-weight: 700; color: var(--seo-text); margin-bottom: 8px; }
.seo-btt-dow-bar-track { width: 24px; height: 80px; background: var(--seo-border-light); border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; margin-bottom: 8px; }
.seo-btt-dow-bar-fill { width: 100%; border-radius: 12px; background: linear-gradient(180deg, #3b82f6, #93c5fd); transition: height 0.3s ease; min-height: 6px; }
.seo-btt-dow-card.cheapest .seo-btt-dow-bar-fill { background: linear-gradient(180deg, #059669, #6ee7b7); }
.seo-btt-dow-card.priciest .seo-btt-dow-bar-fill { background: linear-gradient(180deg, #dc2626, #fca5a5); }
.seo-btt-dow-price { font-size: 13px; font-weight: 700; color: var(--seo-text); }
.seo-btt-dow-card.cheapest .seo-btt-dow-price { color: var(--seo-green); }
.seo-btt-dow-card.priciest .seo-btt-dow-price { color: var(--seo-red); }
.seo-btt-dow-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--seo-green); margin-top: 4px; }
.seo-btt-dow-label.exp { color: var(--seo-red); }

/* ── Best Time to Fly — mobile ───────────────────────────────── */
@media (max-width: 768px) {
    .seo-btt-chart { height: 180px; gap: 4px; }
    .seo-btt-chart-price { font-size: 10px; }
    .seo-btt-chart-label { font-size: 10px; }
    .seo-btt-dow-grid { grid-template-columns: repeat(4, 1fr); }
    .seo-btt-dow-bar-track { height: 60px; }
    .seo-btt-table th:nth-child(4) { min-width: 100px; }
}

@media (max-width: 480px) {
    .seo-btt-chart { height: 150px; gap: 3px; }
    .seo-btt-chart-bar { max-width: 32px; }
    .seo-btt-dow-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .seo-btt-dow-bar-track { height: 50px; width: 20px; }
    .seo-btt-dow-card { padding: 10px 6px; }
    .seo-btt-table th:nth-child(4), .seo-btt-table td:nth-child(4) { display: none; }
    .seo-btt-table th:last-child, .seo-btt-table td:last-child { display: none; }
}

/* ── Monthly Deals List ──────────────────────────────────────── */
.seo-deals-list { display: flex; flex-direction: column; gap: 1px; background: var(--seo-border-light); border: 1px solid var(--seo-border); border-radius: var(--seo-radius); overflow: hidden; }
.seo-deal-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--seo-card); text-decoration: none; transition: background .12s; }
.seo-deal-row:hover { background: var(--seo-blue-50); text-decoration: none; }
.seo-deal-row-rank { font-size: 13px; font-weight: 800; color: var(--seo-text-4); min-width: 28px; text-align: center; }
.seo-deal-row-route { flex: 1; min-width: 0; }
.seo-deal-row-route strong { display: block; font-size: 14px; font-weight: 700; color: var(--seo-navy); }
.seo-deal-row-route small { font-size: 12px; color: var(--seo-text-4); }
.seo-deal-row-details { display: flex; gap: 10px; font-size: 12px; color: var(--seo-text-3); min-width: 140px; }
.seo-deal-row-details span + span::before { content: '\00b7'; margin-right: 10px; color: var(--seo-border); }
.seo-deal-row-price { font-size: 18px; font-weight: 800; color: var(--seo-blue); min-width: 70px; text-align: right; }
.seo-deal-row-savings { font-size: 11px; font-weight: 700; color: var(--seo-green); min-width: 90px; text-align: right; }

@media (max-width: 768px) {
    .seo-deal-row { flex-wrap: wrap; gap: 6px; padding: 12px 14px; }
    .seo-deal-row-details { min-width: 0; width: 100%; order: 5; }
    .seo-deal-row-savings { min-width: 0; }
}

@media (max-width: 480px) {
    .seo-deal-row-details { display: none; }
    .seo-deal-row-price { font-size: 16px; min-width: 60px; }
}

/* ── Route Trend Page — callout cards ────────────────────────── */
.seo-trend-callouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.seo-trend-callout { background: var(--seo-card); border: 1px solid var(--seo-border); border-radius: var(--seo-radius); padding: 18px; text-align: center; }
.seo-trend-callout-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--seo-text-4); margin-bottom: 4px; }
.seo-trend-callout-value { font-size: 28px; font-weight: 800; line-height: 1.2; }
.seo-trend-callout-date { font-size: 12px; color: var(--seo-text-3); margin-top: 4px; }
.seo-trend-cheap .seo-trend-callout-value { color: var(--seo-green); }
.seo-trend-expensive .seo-trend-callout-value { color: var(--seo-red); }
.seo-trend-spread .seo-trend-callout-value { color: var(--seo-gold); }

/* ── Route Trend Page — bar chart ────────────────────────────── */
.seo-trend-bars { display: flex; align-items: flex-end; gap: 3px; height: 220px; padding-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.seo-trend-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; flex: 1; min-width: 32px; max-width: 48px; height: 100%; position: relative; cursor: default; }
.seo-trend-bar-fill { width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #60a5fa, #3b82f6); transition: height .3s ease; min-height: 4px; }
.seo-trend-bar.cheap .seo-trend-bar-fill { background: linear-gradient(180deg, #6ee7b7, #34d399); }
.seo-trend-bar.cheapest .seo-trend-bar-fill { background: linear-gradient(180deg, #34d399, #059669); }
.seo-trend-bar.high .seo-trend-bar-fill { background: linear-gradient(180deg, #fca5a5, #f87171); }
.seo-trend-bar.priciest .seo-trend-bar-fill { background: linear-gradient(180deg, #f87171, #dc2626); }
.seo-trend-bar-price { font-size: 10px; font-weight: 700; color: var(--seo-text-2); margin-top: 4px; white-space: nowrap; }
.seo-trend-bar.cheapest .seo-trend-bar-price { color: var(--seo-green); font-weight: 800; }
.seo-trend-bar.priciest .seo-trend-bar-price { color: var(--seo-red); font-weight: 800; }
.seo-trend-bar-date { font-size: 9px; color: var(--seo-text-4); white-space: nowrap; margin-top: 2px; }

@media (max-width: 768px) {
    .seo-trend-callouts { grid-template-columns: repeat(3, 1fr); }
    .seo-trend-callout-value { font-size: 22px; }
    .seo-trend-bars { height: 180px; gap: 2px; }
    .seo-trend-bar { min-width: 24px; }
    .seo-trend-bar-price { font-size: 9px; }
}

@media (max-width: 480px) {
    .seo-trend-callouts { grid-template-columns: 1fr; }
    .seo-trend-bars { height: 150px; }
    .seo-trend-bar { min-width: 20px; }
    .seo-trend-bar-date { display: none; }
}
