/* ================================================================= *
 * yeloesim — global stylesheet
 * Design system: see /design-system/MASTER.md
 * Ink + "yelo" yellow travel-tech identity · Poppins · flat-forward
 * ================================================================= */
:root {
  /* Saily-inspired: near-black ink + bright "yelo" yellow + clean neutrals */
  --ink: #1b1c22;
  --muted: #6c6d75;
  --line: #e6e7ea;
  --paper: #ffffff;
  --soft: #f7f7f8;
  --navy: #1b1c22;
  --teal: #1b1c22;        /* primary action = ink/black */
  --teal-dark: #000000;   /* primary hover / dark link */
  --teal-soft: #eef1f6;   /* soft blue-gray tint well */
  --coral: #ffe000;       /* brand yellow — highlights & featured */
  --coral-soft: #fff6db;
  --gold: #ffe000;        /* yellow CTA on dark bands */
  --brand: #ffe000;
  --brand-strong: #f5d400;
  --accent-warm: #8a6d00; /* readable warm accent for eyebrows */
  --sky: #9fcff2;
  --star: #f5b301;
  --danger: #d64027;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(18, 34, 48, 0.06);
  --shadow: 0 18px 44px rgba(18, 34, 48, 0.10);
  --shadow-lg: 0 30px 70px rgba(18, 34, 48, 0.16);
  --pad-x: clamp(18px, 5vw, 80px);
  --maxw: 1200px;
  --font: "Poppins", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* contains off-canvas drawer without breaking sticky header */
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid rgba(27, 28, 34, 0.4); outline-offset: 2px; border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; overflow-wrap: break-word; }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.12; font-weight: 600; }
h2 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.18; font-weight: 600; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
.tabnum { font-variant-numeric: tabular-nums; }
.eyebrow { margin: 0 0 14px; color: var(--accent-warm); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lead { font-size: 18px; color: var(--muted); }

/* ---------- Icon system ---------- */
.ic { width: 24px; height: 24px; flex: none; stroke-width: 1.75; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  font-weight: 700; cursor: pointer; white-space: nowrap; touch-action: manipulation;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 20px; height: 20px; }
.btn-primary { color: #fff; background: var(--teal); box-shadow: 0 8px 20px rgba(27, 28, 34, 0.22); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-gold { color: var(--ink); background: var(--gold); box-shadow: 0 8px 20px rgba(245, 212, 0, 0.4); }
.btn-gold:hover { background: var(--brand-strong); }
.btn-ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--soft); }
.btn-block { width: 100%; }

/* ---------- Promo bar ---------- */
.promo-bar {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 40px; padding: 6px var(--pad-x);
  background: var(--brand); color: var(--ink);
  font-size: 14px; text-align: center;
}
.promo-bar p { margin: 0; }
.promo-bar a { text-decoration: underline; font-weight: 700; }
.promo-tag { display: inline-block; margin-right: 6px; padding: 2px 9px; background: rgba(0,0,0,.1); border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.promo-close { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; color: var(--ink); background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.promo-close:hover { background: rgba(0,0,0,.1); }
.promo-close .ic { width: 18px; height: 18px; }
.promo-bar.hidden { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(228,235,241,.9); backdrop-filter: blur(18px); }
.header-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 12px var(--pad-x); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-name { font-size: 18px; letter-spacing: -0.02em; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; color: var(--brand); background: var(--ink); border-radius: 10px; font-size: 17px; font-weight: 800; }

.main-nav { margin-right: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px;
  color: var(--navy); background: transparent; border: 0; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--teal-dark); background: var(--soft); }
.nav-link[aria-current="page"] { color: var(--teal-dark); }
.nav-caret .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-item.open .nav-caret .ic { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 70;
  min-width: 280px; padding: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; }
.mega a:hover, .mega a:focus-visible { background: var(--soft); }
.mega-title { font-weight: 700; font-size: 15px; }
.mega-desc { color: var(--muted); font-size: 13px; }
.mega a[aria-current="page"] .mega-title { color: var(--teal-dark); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.selectors { display: flex; gap: 6px; }
.chip-select { padding: 8px 12px; color: var(--navy); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; }
.chip-select:hover { border-color: var(--teal); }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.icon-btn:hover { border-color: var(--teal); color: var(--teal-dark); }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; color: #fff; background: var(--coral); border-radius: 999px; font-size: 11px; font-weight: 800; }
.header-cta { margin-left: 4px; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.mobile-only { display: none; }

/* ---------- Mobile drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(16,27,38,.5); backdrop-filter: blur(2px); }
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(92vw, 400px);
  display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
}
.mobile-drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad-x); border-bottom: 1px solid var(--line); }
.drawer-nav { padding: 8px var(--pad-x); }
.drawer-top, .drawer-acc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; cursor: pointer; text-align: left; }
.drawer-acc-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.drawer-acc.open .drawer-acc-panel { max-height: 400px; }
.drawer-acc.open .drawer-acc-btn .nav-caret .ic { transform: rotate(180deg); }
.drawer-acc-panel a { display: block; padding: 12px 0 12px 12px; color: var(--muted); font-weight: 600; }
.drawer-acc-panel a:hover, .drawer-acc-panel a[aria-current="page"] { color: var(--teal-dark); }
.drawer-foot { margin-top: auto; display: grid; gap: 10px; padding: 20px var(--pad-x); border-top: 1px solid var(--line); }
.drawer-foot .selectors { justify-content: center; }
.drawer-foot .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 660px; display: grid; align-items: center; overflow: hidden; background: #dfeef0; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(94deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 40%, rgba(255,255,255,.35) 74%, rgba(255,255,255,.05) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad-x); }
.hero h1 { max-width: 640px; font-size: clamp(34px, 4.4vw, 50px); line-height: 1.1; text-wrap: balance; }
.hero-copy { max-width: 560px; margin: 20px 0 26px; color: var(--navy); font-size: 19px; }

.destination-search { width: min(100%, 620px); padding: 18px; background: rgba(255,255,255,.97); border: 1px solid rgba(228,235,241,.9); border-radius: var(--radius); box-shadow: var(--shadow); }
.destination-search label, .compatibility-form label { display: block; margin-bottom: 10px; color: var(--navy); font-weight: 700; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-field { position: relative; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: grid; }
.search-icon .ic { width: 20px; height: 20px; }
.search-field input { padding-left: 42px; }
input, select, textarea { width: 100%; min-height: 50px; padding: 0 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); outline: 0; transition: border-color .15s ease, box-shadow .15s ease; }
textarea { min-height: 120px; padding: 12px 16px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,224,0,.45); }
.search-row .btn { min-height: 50px; }

.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { padding: 8px 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--navy); transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }
.search-hint { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.secondary-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-dark); font-weight: 700; }
.secondary-cta .ic { width: 18px; height: 18px; }

.hero-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 24px; font-size: 15px; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 17px; }
.hero-rating strong { font-weight: 800; }
.rating-count { color: var(--muted); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; color: var(--navy); background: rgba(255,255,255,.82); border: 1px solid rgba(228,235,241,.9); border-radius: 999px; font-size: 14px; font-weight: 700; }
.trust-strip .ic { width: 17px; height: 17px; color: var(--teal); }

/* ---------- Stats & press ---------- */
.stats-bar { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--pad-x); }
.stat { padding: 30px 12px; text-align: center; }
.stat strong { display: block; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-weight: 600; font-size: 15px; }
.press { padding: 8px var(--pad-x) 48px; text-align: center; }
.press-label { margin: 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.press-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 5vw, 56px); }
.press-logos li { color: #93a0ad; font-weight: 800; font-size: clamp(15px, 2vw, 20px); letter-spacing: -0.01em; }

/* ---------- Section shell ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 100px) var(--pad-x); }
.soft-band { max-width: none; background: var(--soft); }
.soft-band > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-heading.center { flex-direction: column; align-items: center; text-align: center; }
.section-heading h2 { max-width: 680px; }
.section-heading > div { min-width: 0; }
.section-sub { max-width: 400px; margin: 0; color: var(--muted); font-size: 17px; }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; }
.tab { min-height: 40px; padding: 0 18px; color: var(--muted); background: transparent; border: 0; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; transition: color .15s ease, background .15s ease; }
.tab:hover { color: var(--ink); }
.tab.active { color: #fff; background: var(--navy); }
.destination-tabs { margin-bottom: 26px; }

/* ---------- Destinations ---------- */
.destination-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.destination-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.destination-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-soft); }
.destination-card.as-link:hover .dest-cta { color: var(--teal); }
.destination-card.is-hidden { display: none; }
.dest-head { display: flex; align-items: center; gap: 12px; }
.dest-flag { font-size: 30px; line-height: 1; }
.dest-name { font-size: 19px; font-weight: 800; }
.dest-region-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.dest-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.dest-meta span { padding: 6px 10px; background: var(--teal-soft); color: var(--teal-dark); border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.dest-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.dest-price { font-size: 15px; }
.dest-price strong { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dest-price .from { color: var(--muted); font-size: 13px; font-weight: 600; }
.dest-cta { color: var(--teal-dark); font-weight: 800; font-size: 14px; }
.dest-cta::after { content: " →"; }
.no-results { margin: 22px 0 0; color: var(--muted); font-weight: 600; }
.view-all { margin: 26px 0 0; text-align: center; }
.view-all .dest-cta { font-size: 15px; }

/* ---------- Plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-grid.four { grid-template-columns: repeat(4, 1fr); }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan-badge { align-self: flex-start; margin-bottom: 12px; padding: 6px 12px; color: var(--ink); background: var(--teal-soft); border-radius: 999px; font-size: 12px; font-weight: 700; }
.plan-card.featured .plan-badge { color: var(--ink); background: var(--brand); }
.plan-scope { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
.plan-name { margin: 4px 0 0; font-size: 21px; font-weight: 800; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.plan-price .amount { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price .was { color: var(--muted); font-size: 18px; text-decoration: line-through; }
.plan-price .per { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan-desc { margin: 0; color: var(--muted); font-size: 14px; }
.feature-list { display: grid; gap: 11px; margin: 18px 0; }
.feature-list li, .check-list li { position: relative; padding-left: 28px; color: var(--navy); }
.feature-list li::before, .check-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; background: var(--teal); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 13px; background-repeat: no-repeat; background-position: center; }
.plan-bestfor { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.plan-bestfor strong { color: var(--ink); }
.plan-card .btn { margin-top: auto; width: 100%; }
.plans-footnote { margin: 26px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.plans-footnote a { color: var(--teal-dark); font-weight: 700; }

/* ---------- Feature grid (why choose us) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid.compact { grid-template-columns: repeat(2, 1fr); }
.feature-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; color: var(--teal-dark); background: var(--teal-soft); border-radius: 12px; }
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- esim split / check-list ---------- */
.esim-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.esim-copy p { color: var(--muted); font-size: 17px; }
.esim-copy h2 { margin-bottom: 18px; }
.check-list { display: grid; gap: 12px; margin-top: 18px; }
.check-list li { padding-left: 28px; color: var(--navy); font-weight: 600; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.panel { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel h3 { margin-bottom: 16px; }
.panel .btn { margin-top: 20px; }
.split-2 .lead { margin: 12px 0; }

/* ---------- How it works ---------- */
.how-section { max-width: none; background: var(--navy); color: #fff; }
.how-section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.how-section .eyebrow { color: var(--gold); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps:has(li:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.step { padding: 26px 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; color: var(--navy); background: var(--gold); border-radius: 12px; font-weight: 800; font-size: 19px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: rgba(255,255,255,.72); font-size: 14.5px; }

/* ---------- App section ---------- */
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.app-copy p { color: var(--muted); font-size: 17px; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; color: #fff; background: var(--ink); border-radius: 12px; }
.store-btn:hover { background: #000; }
.store-btn .ic { width: 24px; height: 24px; }
.store-btn span { display: grid; line-height: 1.15; font-weight: 700; font-size: 16px; }
.store-btn small { font-size: 11px; font-weight: 600; opacity: .8; }
.app-mockup { display: grid; place-items: center; }
.phone { width: 280px; max-width: 100%; padding: 14px; background: linear-gradient(160deg, #16323a, #0c1c22); border-radius: 34px; box-shadow: var(--shadow-lg); }
.phone-screen { display: grid; gap: 12px; padding: 18px; background: var(--soft); border-radius: 24px; }
.app-row { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.app-row div { flex: 1; display: grid; }
.app-row strong { font-size: 14px; }
.app-row small { color: var(--muted); font-size: 12px; }
.app-flag { font-size: 26px; }
.app-pill { padding: 4px 10px; background: var(--teal); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; }
.app-pill.ghost { background: var(--teal-soft); color: var(--teal-dark); }
.app-usage { padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.app-usage-bar { height: 8px; background: var(--teal-soft); border-radius: 999px; overflow: hidden; }
.app-usage-bar span { display: block; height: 100%; background: var(--teal); border-radius: 999px; }
.app-usage small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-grid.all { grid-template-columns: repeat(3, 1fr); }
.testimonial { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.testimonial .stars { font-size: 15px; }
.testimonial blockquote { margin: 0; font-size: 15.5px; color: var(--ink); }
.testimonial-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.author-flag { font-size: 24px; }
.author-name { font-weight: 800; font-size: 14px; }
.author-trip { color: var(--muted); font-size: 13px; }
.rating-hero { display: flex; align-items: center; gap: 10px; margin: 6px 0 18px; }
.rating-hero strong { font-size: 22px; font-weight: 800; }
.rating-hero .rating-count { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-narrow { max-width: 780px; margin: 0 auto; }
.faq-narrow.wide { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 22px; background: transparent; border: 0; text-align: left; font-weight: 700; font-size: 16px; cursor: pointer; }
.faq-icon { flex: none; display: grid; color: var(--teal); transition: transform .2s ease; }
.faq-icon .ic { width: 20px; height: 20px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-section { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; padding: clamp(32px, 4vw, 52px); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,224,0,.18) 0%, transparent 52%), radial-gradient(100% 120% at 0% 100%, rgba(159,207,242,.16) 0%, transparent 55%), linear-gradient(135deg, #26272e 0%, #131319 100%); }
.cta-section .eyebrow { color: var(--gold); }
.cta-section p { margin: 12px 0 0; color: rgba(255,255,255,.82); }
.cta-section .btn { justify-self: end; }

/* ---------- Footer ---------- */
.site-footer { background: #0e1720; color: #c9d5df; }
.footer-top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: clamp(48px, 6vw, 72px) var(--pad-x) 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { max-width: 300px; color: #93a2b0; font-size: 15px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pay-badges li { padding: 5px 10px; color: #b6c2cd; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; font-size: 12px; font-weight: 700; }
.footer-col h3 { margin-bottom: 16px; color: #fff; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col a { display: block; padding: 6px 0; color: #93a2b0; font-size: 15px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px var(--pad-x); border-top: 1px solid rgba(255,255,255,.08); color: #7d8b99; font-size: 14px; }
.footer-bottom p { margin: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--pad-x) 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.breadcrumbs a:hover { color: var(--teal-dark); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
.crumb-sep { color: #c3cdd6; }

/* ---------- Destination / marketing hero ---------- */
.dest-hero { background: radial-gradient(90% 120% at 100% 0%, rgba(255,224,0,.16) 0%, transparent 55%), radial-gradient(80% 120% at 0% 0%, rgba(159,207,242,.22) 0%, transparent 52%), linear-gradient(180deg, var(--soft), #fff 62%); border-bottom: 1px solid var(--line); }
.dest-hero-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--pad-x); }
.dest-hero h1 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dest-hero-flag { font-size: 0.9em; }
.dest-hero-copy { max-width: 660px; margin: 20px 0 26px; color: var(--navy); font-size: 18px; }
.dest-hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.dest-hero-meta span { display: flex; flex-direction: column; padding: 12px 18px; background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dest-hero-meta strong { font-size: 20px; font-weight: 800; line-height: 1; }
.dest-hero-meta small { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }

/* ---------- Hub ---------- */
.hub-hero { padding-bottom: 12px; }
.hub-search { max-width: 560px; margin: 8px auto 22px; }
.hub-search .search-field input { padding-left: 42px; }
.hub-group { padding-top: 24px; padding-bottom: 24px; }
.hub-group.is-hidden { display: none; }
.hub-group-title { margin-bottom: 20px; font-size: 22px; }

/* ---------- Prose (articles + SEO block) ---------- */
.article-block .prose, .article .prose { max-width: 760px; margin: 0 auto; }
.prose-h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 8px; }
.prose h2 { margin: 30px 0 12px; font-size: 24px; }
.prose p { margin: 0 0 18px; color: var(--navy); font-size: 17px; line-height: 1.75; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .18s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-link { display: block; padding: 24px; height: 100%; }
.blog-tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; background: var(--teal-soft); color: var(--teal-dark); border-radius: 999px; font-size: 12px; font-weight: 800; }
.blog-card-title { font-size: 20px; line-height: 1.25; }
.blog-card-excerpt { margin: 12px 0 16px; color: var(--muted); font-size: 15px; }
.blog-meta { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.article { max-width: 820px; }
.article-head { margin-bottom: 28px; }
.article-head h1 { margin: 14px 0; font-size: clamp(30px, 4.5vw, 44px); }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 28px; background: linear-gradient(135deg, var(--teal-dark), var(--navy)); color: #fff; border-radius: var(--radius-lg); }
.article-cta h2 { font-size: 22px; }
.article-cta p { margin: 8px 0 0; color: rgba(255,255,255,.8); }

/* ---------- Devices ---------- */
.device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.device-col { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.device-col h3 { margin-bottom: 14px; }
.compatibility-form.inline { max-width: 520px; margin-top: 20px; }
.compatibility-result { min-height: 22px; margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.compatibility-result.ok { color: var(--teal-dark); }
.compatibility-result.warn { color: var(--danger); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14px; }
.field .help { color: var(--muted); font-size: 13px; }
.field .req { color: var(--danger); }
.field .opt { color: var(--muted); font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form h2 { margin-bottom: 20px; }
.form-status { min-height: 22px; margin: 12px 0 0; font-weight: 600; font-size: 14px; }
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: var(--danger); }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; }
.contact-list .ic { color: var(--teal-dark); flex: none; }
.contact-list strong { display: block; font-size: 15px; }
.contact-list span { color: var(--muted); font-size: 14px; }
.contact-list a { color: var(--teal-dark); font-weight: 700; }

/* ---------- Checkout ---------- */
.progress { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; counter-reset: step; }
.progress li { position: relative; padding: 6px 14px 6px 34px; color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; counter-increment: step; }
.progress li::before { content: counter(step); position: absolute; left: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 20px; height: 20px; background: #fff; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; }
.progress li.done { color: var(--teal-dark); background: var(--teal-soft); border-color: var(--teal-soft); }
.progress li.done::before { content: "✓"; background: var(--teal); color: #fff; border-color: var(--teal); }
.progress li.current { color: #fff; background: var(--navy); border-color: var(--navy); }
.progress li.current::before { background: #fff; color: var(--navy); }
.demo-note { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 10px 16px; color: var(--teal-dark); background: var(--teal-soft); border-radius: 10px; font-size: 14px; font-weight: 600; }
.demo-note .ic { width: 18px; height: 18px; }
.demo-note.small { font-size: 13px; padding: 8px 12px; }
.checkout-h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 18px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 24px; align-items: start; }
.checkout-form h2 { margin: 8px 0 16px; font-size: 20px; }
.checkout-form h2:first-child { margin-top: 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; color: var(--muted); font-size: 13px; font-weight: 600; }
.trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.trust-row .ic { width: 16px; height: 16px; color: var(--teal-dark); }
.order-summary { position: sticky; top: 96px; }
.order-line { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-line div { flex: 1; display: grid; }
.order-line strong { font-size: 15px; }
.order-line small { color: var(--muted); font-size: 13px; }
.order-totals { display: grid; gap: 8px; margin: 16px 0; }
.order-totals div { display: flex; justify-content: space-between; }
.order-totals dt, .order-totals dd { margin: 0; color: var(--muted); }
.order-totals .grand { padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; }
.order-totals .grand dt, .order-totals .grand dd { color: var(--ink); font-weight: 800; }
.delivery-note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; }
.delivery-note .ic { width: 18px; height: 18px; color: var(--teal-dark); flex: none; }

/* ---------- Auth ---------- */
.auth-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.auth-form { max-width: 420px; }
.auth-form h2 { margin-bottom: 18px; }
.auth-alt { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.auth-alt a { color: var(--teal-dark); font-weight: 700; }

/* ---------- 404 ---------- */
.notfound { text-align: center; max-width: 640px; }
.notfound .lead { margin: 14px auto 26px; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav, .header-cta, .selectors, .header-actions .icon-btn:not(.mobile-only) { display: none; }
  .mobile-only { display: grid; }
  .menu-toggle.mobile-only { display: grid; }
  .plan-grid.four { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .blog-grid, .device-grid { grid-template-columns: repeat(2, 1fr); }
  .esim-grid, .split-2, .app-grid, .contact-grid, .checkout-grid, .auth-grid, .cta-section { grid-template-columns: 1fr; }
  .destination-grid, .plan-grid, .steps, .testimonial-grid, .testimonial-grid.all { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-section .btn { justify-self: start; }
  .order-summary { position: static; }
  .app-mockup { order: -1; }
}
@media (max-width: 720px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .section-heading.center { align-items: center; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(32px, 9vw, 42px); }
  .hero-content { padding: 48px var(--pad-x); }
  .search-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .destination-grid, .plan-grid, .plan-grid.four, .feature-grid, .feature-grid.compact, .testimonial-grid, .testimonial-grid.all, .blog-grid, .device-grid, .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .dest-hero-meta span { flex: 1; min-width: 120px; }
  .promo-bar { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .destination-card:hover, .plan-card:hover, .feature-card:hover, .blog-card:hover { transform: none; }
}
