/* ============================================================================
   Ayala Investments AI - main stylesheet (light theme, jade accent)
   Tokens per design.md section 1; animation-led profile: restrained motion.
   ========================================================================== */

:root {
  --bg: #f6faf7;
  --surface: #ffffff;
  --surface-2: #eaf3ee;
  --border: #d9e5de;
  --text: #16241f;
  --text-muted: #52665e;
  --accent: #0c6b52;
  --accent-hover: #0a5943;
  --accent-tint: #e3f1ea;
  --gold: #d9a441;
  --gold-deep: #a8781f;
  --ink: #0d2b23;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(20, 45, 36, .07), 0 2px 6px rgba(20, 45, 36, .05);
  --shadow-md: 0 1px 2px rgba(20, 45, 36, .06), 0 8px 24px rgba(20, 45, 36, .09);
  --shadow-lg: 0 4px 8px rgba(20, 45, 36, .08), 0 18px 44px rgba(20, 45, 36, .14);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.22; color: var(--ink); margin: 0 0 .5em; font-weight: 750; letter-spacing: -.015em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.icon { width: 24px; height: 24px; flex: none; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding: clamp(40px, 6vw, 72px) 0; position: relative; }
.section--tint { background: var(--surface-2); }
.section--surface { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-tint);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--accent);
  color: #fff; padding: 10px 18px; border-radius: var(--radius-sm); transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; border-radius: var(--radius-sm); cursor: pointer;
  padding: 13px 26px; min-height: 48px; border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent-tint); color: var(--accent-hover); transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; min-height: 40px; font-size: .92rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 120; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand svg { width: 38px; height: 38px; }
.brand-name { font-weight: 800; font-size: 1.06rem; letter-spacing: -.02em; color: var(--ink); }
.brand-name small { display: block; font-size: .62rem; font-weight: 650; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }

/* Nav */
.nav-groups { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 650;
  color: var(--text); background: none; border: 0; padding: 10px 12px; border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-trigger:hover { background: var(--accent-tint); color: var(--accent-hover); }
.nav-caret { width: 16px; height: 16px; transition: transform .16s ease; }
.nav-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  display: grid; z-index: 130;
}
.nav-group { position: relative; }
.nav-group--wide .dropdown { grid-template-columns: 1fr 1fr; min-width: 480px; left: auto; }
.nav-group:last-child .dropdown { right: 0; left: auto; }
.nav-group--wide:last-child .dropdown { right: 0; }
.nav-group.is-open > .dropdown, .nav-group:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: .94rem; font-weight: 550;
}
.dropdown a:hover, .dropdown a:focus { background: var(--accent-tint); color: var(--accent-hover); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--surface); }
.lang-switch__item { padding: 6px 13px; font-size: .84rem; font-weight: 700; color: var(--text-muted); }
.lang-switch__item.is-current { background: var(--accent); color: #fff; }
a.lang-switch__item:hover { background: var(--accent-tint); color: var(--accent-hover); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); border-radius: var(--radius-sm); }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; }

.mobile-menu { border-top: 1px solid var(--border); background: var(--surface); padding: 18px 0 26px; max-height: 70vh; overflow-y: auto; }
.mobile-group { margin-bottom: 18px; }
.mobile-group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 6px; }
.mobile-group ul { list-style: none; padding: 0; margin: 0; }
.mobile-group a, .mobile-group span { display: block; padding: 8px 4px; color: var(--text); border-bottom: 1px solid var(--border); font-weight: 550; }
.mobile-group .is-current { color: var(--accent); font-weight: 700; }
.mobile-cta { width: 100%; margin-top: 6px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #eefaf4;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(217, 164, 65, .18), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(18, 122, 92, .35), transparent 55%),
    linear-gradient(160deg, #0d3126 0%, #0b2a21 55%, #10382c 100%);
}
.hero__grid { position: absolute; inset: 0; opacity: .5; }
.hero__bg { position: absolute; inset: -40px; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 767px) { .hero__bg { inset: 0; opacity: .6; } }
.hero .container { position: relative; z-index: 2; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(44px, 6vw, 84px) 0;
}
.hero h1 { color: #ffffff; margin-bottom: .4em; }
.hero p { color: #c9ded5; font-size: 1.06rem; max-width: 56ch; }
.hero__kicker { color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin-bottom: 14px; }
.hero__flags { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; color: #c9ded5; font-size: .95rem; flex-wrap: wrap; }
.hero__flags .flag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.hero__flag-svg { width: 30px; height: 21px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); display: block; }
.hero__badges { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #eefaf4;
  font-weight: 650; font-size: .92rem; transition: background-color .16s ease, transform .16s ease;
}
.hero-badge:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); color: #fff; }
.hero-badge .icon { color: var(--gold); }
.hero__note { margin-top: 14px; font-size: .9rem; color: #b7d2c7; }

/* Form block */
.form-block {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(20px, 2.6vw, 30px);
}
.form-block__heading { font-size: 1.18rem; margin-bottom: 6px; }
.form-block__intro { color: var(--text-muted); font-size: .95rem; margin-bottom: 12px; }
.form-legal { font-size: .8rem; color: var(--text-muted); margin: 10px 0 0; }
.form-legal a { text-decoration: underline; }
/* a11y: .hero p would otherwise cascade its light color onto the legal line */
.hero .form-legal, .page-hero .form-legal { color: var(--text-muted); }
/* a11y: intlTelInput injects a near-white dial code; keep it readable */
/* a11y: links inside prose must not rely on color alone */
.prose p a, .prose li a { text-decoration: underline; text-underline-offset: 2px; }
.prose p a:hover, .prose li a:hover { text-decoration-thickness: 2px; }
main p a:not(.btn):not(.card):not([class*="btn"]) { text-decoration: underline; text-underline-offset: 2px; }

/* Cards, grids */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.cards-grid--staggered { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); padding: 22px; transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column; gap: 8px;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin: 0; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.card--link { text-decoration: none; color: inherit; }
.icon-badge {
  width: 50px; height: 50px; border-radius: 13px; background: var(--accent-tint); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; flex: none;
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--gold { background: #f8eed8; color: var(--gold-deep); }
.card__meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; font-size: .88rem; color: var(--text-muted); }
.card__meta strong { color: var(--ink); display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 22px; position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step__num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-muted); font-size: .94rem; }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: .95rem; }
.compare thead th { background: var(--surface-2); font-weight: 750; }
.compare thead th:nth-child(2) { color: var(--accent); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.yes, .compare td.no { text-align: center; width: 130px; }
.compare .mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.compare .mark--yes { background: #e3f4e9; color: #157a43; }
.compare .mark--no { background: #faece9; color: #b3402f; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); background: var(--surface); margin: 0 0 1.4em; }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data th, table.data td { padding: 12px 16px; text-align: left; font-size: .94rem; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data thead th { background: var(--surface-2); font-weight: 750; white-space: nowrap; }
table.data tbody tr:nth-child(even) { background: #f4f9f6; }
table.data tbody tr:last-child td { border-bottom: 0; }

/* Exchange logos */
.exchange-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.exchange-chip {
  width: 164px; height: 58px; border-radius: 12px; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.exchange-chip--light { background: #ffffff; }
.exchange-chip--dark { background: #0f172a; }
.exchange-chip img { height: 28px; width: auto; max-width: 82%; display: block; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 20px; transition: transform .18s ease, box-shadow .18s ease; }
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); border: 2px solid var(--surface); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.review__avatar .icon { width: 28px; height: 28px; }
.review__name { font-weight: 750; color: var(--ink); }
.review__role { font-size: .84rem; color: var(--text-muted); }
.review__stats { display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0; font-size: .88rem; }
.review__stats div { background: var(--surface-2); border-radius: var(--radius-sm); padding: 6px 12px; }
.review__stats strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.review p { margin: 0 0 8px; font-size: .95rem; }
.reviews-note { font-size: .82rem; color: var(--text-muted); margin-top: 16px; }

/* FAQ */
.faq-list { max-width: 820px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
  text-align: left; font: inherit; font-weight: 700; color: var(--ink); background: none; border: 0;
  padding: 16px 20px; cursor: pointer;
}
.faq-item__q:hover { color: var(--accent-hover); }
.faq-item__q .icon { width: 18px; height: 18px; transition: transform .18s ease; color: var(--text-muted); }
.faq-item.is-open .faq-item__q .icon { transform: rotate(180deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.faq-item__a-inner { padding: 0 20px 16px; color: var(--text-muted); }
.faq-item.is-open .faq-item__a { max-height: 420px; }
.faq-item__a-inner p:last-child { margin-bottom: 0; }

/* Breadcrumbs */
.breadcrumbs { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 10px 0; font-size: .84rem; }
.breadcrumbs li+li::before { content: "/"; margin-right: 6px; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); font-weight: 550; }
.breadcrumbs a:hover { color: var(--accent-hover); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 650; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #0d3126, #0b2a21 60%, #10382c); color: #eefaf4; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(24px, 4vw, 52px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c9ded5; }
.page-hero .form-block { box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }

/* Prose blocks */
.prose { max-width: 860px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.split h2 { margin-top: 0; }

/* Map */
.map-embed { border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; max-width: 860px; aspect-ratio: 16 / 9; min-height: 320px; margin: 0 0 1.4em; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Decorative motifs */
.motif-band { position: relative; overflow: hidden; }
.motif-band::before {
  content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230c6b52' stroke-opacity='.10' stroke-width='1'%3E%3Cpath d='M0 30h120M0 60h120M0 90h120M30 0v120M60 0v120M90 0v120'/%3E%3C/g%3E%3C/svg%3E");
}
.motif-cards { position: relative; z-index: 1; }
.coin-disc {
  width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #f4dfa8, #d9a441 70%); color: #6b4d0e; box-shadow: var(--shadow-sm);
  font-weight: 800; font-size: 1.05rem; flex: none;
}
.calc-canvas-wrap { position: relative; margin: 26px 0 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.calc-canvas-wrap canvas { display: block; width: 100%; height: 190px; }
.calc-canvas-note { position: absolute; left: 14px; bottom: 10px; font-size: .74rem; color: var(--text-muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #0c4a39, #0c6b52 55%, #0f7a5c); color: #eefaf4; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #cfe7dc; }
.cta-band .btn { background: var(--gold); color: #332404; }
.cta-band .btn:hover { background: #c6922f; transform: translateY(-2px); }

/* Footer */
.site-footer { background: var(--ink); color: #b9cfc6; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: minmax(220px, 1.1fr) repeat(4, minmax(140px, .8fr)); gap: 28px; padding: clamp(36px, 5vw, 56px) 0 26px; }
.footer-brand .brand svg { width: 34px; height: 34px; }
.brand--footer { margin-bottom: 14px; }
.brand--footer .brand-name { color: #fff; }
.footer-contact { font-size: .9rem; line-height: 1.8; }
.footer-contact a { color: #d9a441; }
.footer-col h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { display: block; padding: 4px 0; color: #b9cfc6; font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.lang-switch--footer { margin-top: 14px; border-color: rgba(255, 255, 255, .2); background: transparent; }
.lang-switch--footer .lang-switch__item { color: #b9cfc6; }
.lang-switch--footer .lang-switch__item.is-current { background: var(--gold); color: #332404; }
.footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 8px; }
.footer-disclaimer h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-disclaimer p { font-size: .78rem; color: #93aca2; line-height: 1.7; margin: 0; }
.footer-copy { font-size: .8rem; color: #93aca2; padding: 14px 0 22px; margin: 0; }

/* Special offer */
.urgency-strip { background: #233f34; color: #ffd98a; font-size: .86rem; }
.urgency-strip .container { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.urgency-strip strong { color: #fff; }
.countdown { display: inline-flex; gap: 6px; font-family: var(--font-mono); }
.countdown__seg { background: #10241c; border: 1px solid rgba(255, 217, 138, .4); border-radius: 8px; padding: 6px 10px; font-size: 1.25rem; font-weight: 700; color: #ffd98a; min-width: 52px; text-align: center; }
.offer-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #10241c, #0c3a2c 55%, #0d4634); color: #eefaf4; }
.offer-modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px; }
.offer-modal.is-open { display: flex; }
.offer-modal__overlay { position: absolute; inset: 0; background: rgba(9, 20, 16, .72); }
.offer-modal__content {
  position: relative; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  max-width: 460px; width: 100%; padding: 28px; text-align: center; animation: offer-pop .22s ease;
}
@keyframes offer-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.offer-modal__close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--text-muted); }
.offer-modal__content h3 { font-size: 1.5rem; }

/* Job cards */
.job-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.job-card h3 { margin: 0; font-size: 1.08rem; }
.job-card ul { margin: 0; color: var(--text-muted); font-size: .92rem; }
.job-card .btn { align-self: flex-start; margin-top: auto; }

/* Article cards / TOC */
.article-card { display: block; }
.toc-list { columns: 2; column-gap: 28px; font-size: .95rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 900px) {
  .hero-inner, .page-hero__inner, .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-group--wide .dropdown { grid-template-columns: 1fr; }
  .toc-list { columns: 1; }
  .compare td.yes, .compare td.no { width: 84px; }
  .lang-switch__item { padding: 5px 9px; font-size: .78rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__bg { transform: none !important; }
}

/* Homepage photo and responsive reviews */
.hero--home {
  --home-hero-shade: 8, 27, 25;
  --home-hero-overlay: linear-gradient(90deg, rgba(var(--home-hero-shade), .97) 0%, rgba(var(--home-hero-shade), .85) 37%, rgba(var(--home-hero-shade), .12) 100%);
  background: var(--home-hero-overlay), url("../images/hero-ph.webp") right center / cover no-repeat, rgb(var(--home-hero-shade));
}

.hero--home .hero__grid { opacity: .18; }

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

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

@media (max-width: 767px) {
  .hero--home {
    --home-hero-overlay: linear-gradient(180deg, rgba(var(--home-hero-shade), .78), rgba(var(--home-hero-shade), .92) 38%, rgba(var(--home-hero-shade), .5));
    background-position: 85% center;
  }
}

/* Embedded ticker and country selector */
.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}

.iti__selected-country,
.iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}

.iti__country-name {
  color: #000 !important;
}

.hero--home .hero__canvas { opacity: .45; }
.review__avatar { flex: none; object-fit: cover; }
.reviews-portrait-note { margin: 0 0 16px; color: var(--text-muted); font-size: .85rem; }

/* Desktop navigation */
@media (min-width: 1021px) {
  .site-header { background: #092b25; border-bottom-color: #245448; }
  .site-header .header-inner {
    max-width: 1360px; min-height: 76px; justify-content: space-between;
    gap: clamp(8px, 1.3vw, 20px); padding-inline: clamp(14px, 3vw, 40px);
  }
  .site-header .brand { flex-shrink: 0; }
  .site-header .brand-name { color: #f3fbf7; white-space: nowrap; font-size: clamp(.88rem, 1.26vw, 1.07rem); }
  .site-header .brand svg { flex: none; width: 34px; height: 34px; }
  .site-header .nav-groups { gap: 2px; padding: 4px; border: 1px solid #336356; border-radius: 999px; }
  .site-header .nav-trigger { color: #f2fcf6; font-size: clamp(.79rem, 1.12vw, .94rem); padding: 8px clamp(7px, 1vw, 14px); border-radius: 999px; }
  .site-header .nav-trigger:is(:hover, :focus-visible, [aria-expanded="true"]) { background: #28594c; color: #fff; }
  .site-header .nav-caret { width: 13px; height: 13px; color: #9ae4bd; }
  .site-header .header-actions { margin-left: 0; gap: clamp(6px, 1vw, 14px); }
  .site-header .lang-switch { background: #123d33; border-color: #3d6b5d; }
  .site-header .lang-switch__item { padding-inline: clamp(6px, .9vw, 12px); color: #e1f6e9; }
  .site-header .lang-switch__item.is-current { color: #0e2e25; background: #bcebd1; }
  .site-header .lang-switch__item:hover { color: #102d25; }
  .site-header .header-cta { background: #a8ebc5; color: #102e26; border: 1px solid #a8ebc5; border-radius: 999px; white-space: nowrap; padding-inline: clamp(10px, 1.35vw, 19px); }
  .site-header .header-cta:hover { background: #d6f7e4; color: #102e26; }
}
@media (min-width: 1021px) and (max-width: 1130px) {
  .site-header .header-inner { padding-inline: 22px; }
  .site-header .nav-trigger { font-size: .8rem; padding-inline: 8px; }
  .site-header .header-cta { font-size: .81rem; }
}

@media (min-width: 1021px) {
  .site-header { background: #08251f; box-shadow: inset 0 -1px #457b66; }
  .site-header .header-inner { min-height: 68px; }
  .site-header .nav-groups { background: #12382e; border-color: transparent; }
  .site-header .header-cta { background: #bcf8cb; box-shadow: 0 3px 0 #557f60; }
  .site-header .brand svg { padding: 3px; border-radius: 10px; background: #163f33; }
}
