/* ===================================================
   EXPAT REACH — Design System 2026
   Premium minimal · Trust by design · Mobile-first
=================================================== */

/* ── Variables ──────────────────────────────────── */
:root {
  --bg:         #FAFAF8;
  --surface:    #F2EFEB;
  --text:       #141414;
  --muted:      #5A5A5A;
  --accent:     #C4622D;
  --accent-h:   #AD5527;
  --dark:       #0F1117;
  --white:      #FFFFFF;
  --border:     #E5E1DC;
  --radius:     10px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --font-h:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-b:     'Inter', system-ui, -apple-system, sans-serif;
  --max-w:      920px;
  --section-v:  96px;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--font-b); background: var(--bg); color: var(--text); line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Layout ─────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Typography ─────────────────────────────────── */
h1 {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}
h2 {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h3 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
p { color: var(--muted); font-size: 1rem; line-height: 1.72; }
strong { color: var(--text); font-weight: 600; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s, box-shadow 0.18s;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,98,45,0.28);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(20,20,20,0.04);
}
.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: #F2EFEB;
  border-color: #F2EFEB;
  transform: translateY(-1px);
}
.btn-lg { padding: 18px 36px; font-size: 1rem; border-radius: 10px; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-partner {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(196,98,45,0.08);
  border: 1px solid rgba(196,98,45,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 12px;
  white-space: nowrap;
}
.nav-left { display: flex; align-items: center; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--text); color: var(--text); }
.nav-cta {
  background: var(--dark);
  color: var(--white);
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-b);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.18s, transform 0.12s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 44px;
  color: var(--muted);
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 20px;
  letter-spacing: 0.01em;
}
.trust-pill .dot {
  display: none;
}
.trust-bar .sep {
  color: var(--border);
  font-size: 1.1rem;
  line-height: 1;
}

/* ── Insight (dark) ──────────────────────────────── */
.insight {
  background: var(--dark);
  padding: var(--section-v) 0;
}
.insight-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.insight-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(196,98,45,0.12);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.insight h2 {
  color: var(--white);
  margin-bottom: 28px;
}
.insight p {
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  line-height: 1.78;
  margin-bottom: 16px;
}
.insight p:last-of-type { margin-bottom: 40px; }
.insight em { color: rgba(255,255,255,0.92); font-style: italic; }
.insight strong { color: rgba(255,255,255,0.92); }

/* ── About / Credentials ─────────────────────────── */
.about { padding: var(--section-v) 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 480px; margin: 0 auto; }

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.credential {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.credential:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cred-number {
  font-family: var(--font-h);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.cred-number sup {
  font-size: 1.4rem;
  vertical-align: super;
  letter-spacing: 0;
}
.cred-label {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.credential p { font-size: 0.90rem; line-height: 1.65; margin: 0; }

/* ── Process ─────────────────────────────────────── */
.process {
  background: var(--surface);
  padding: var(--section-v) 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(12.5% + 11px);
  right: calc(12.5% + 11px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  position: relative;
}
.step h3 {
  font-size: 0.93rem;
  margin-bottom: 8px;
  color: var(--text);
}
.step p { font-size: 0.86rem; line-height: 1.62; }

/* ── Testimonials / Carousel ─────────────────────── */
.testimonials { padding: var(--section-v) 0; }

.carousel { max-width: 680px; margin: 0 auto; }

.carousel-viewport {
  overflow: hidden;
  border-radius: 14px;
}
.carousel-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.tcard {
  flex-shrink: 0;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}
.tcard-quote {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text);
  font-style: italic;
}
.tcard-quote::before {
  content: '"';
  font-family: var(--font-h);
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 0.8;
  display: block;
  margin-bottom: 14px;
  opacity: 0.4;
  font-style: normal;
}
.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.tcard-flag { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.tcard-author strong { display: block; font-size: 0.90rem; color: var(--text); font-weight: 600; }
.tcard-author span { font-size: 0.78rem; color: var(--muted); }

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: scale(1.06);
}
.carousel-dots { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s, width 0.25s ease;
}
.dot.active { background: var(--accent); width: 24px; }

/* ── FAQ ─────────────────────────────────────────── */
.faq { background: var(--surface); padding: var(--section-v) 0; }

.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item:hover { border-color: #D4CFC9; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-b);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: background 0.18s;
}
.faq-q:hover { background: rgba(242,239,235,0.5); }
.faq-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
  transition: transform 0.28s ease, background 0.18s;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: rgba(196,98,45,0.1);
}
.faq-a {
  display: none;
  padding: 0 24px 20px;
}
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 0.93rem; line-height: 1.78; }

/* ── Contact / CTA ───────────────────────────────── */
.contact {
  background: var(--dark);
  padding: var(--section-v) 0;
}
.contact-header { text-align: center; margin-bottom: 48px; }
.contact-header h2 { color: var(--white); margin-bottom: 14px; }
.contact-header p { color: rgba(255,255,255,0.62); max-width: 480px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.contact-left {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 36px;
  text-align: center;
}
.contact-left h3 {
  font-family: var(--font-h);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.contact-left p {
  color: rgba(255,255,255,0.58);
  font-size: 0.92rem;
  margin-bottom: 28px;
}
.contact-right {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
}
.contact-right h3 {
  font-family: var(--font-h);
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Form */
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: var(--font-b);
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,98,45,0.12);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.lead-form .btn { width: 100%; }

.form-success {
  text-align: center;
  padding: 28px 16px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}
.footer-role {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.48);
  margin-top: 2px;
}
.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--white); }
.footer-lang {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.footer-lang:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  line-height: 1.6;
}

/* ── Mobile Sticky Bar ───────────────────────────── */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.sticky-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sticky-bar .btn {
  flex: 1;
  padding: 14px;
  font-size: 0.92rem;
}
.sticky-bar-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.18s;
}
.sticky-bar-close:hover { color: var(--white); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-v: 72px; }

  .sticky-bar { display: block; }
  body { padding-bottom: 72px; }

  .credentials { grid-template-columns: 1fr 1fr; }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }
  .steps::before { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-left { padding: 32px 24px; }
  .contact-right { padding: 28px 20px; }
}

@media (max-width: 560px) {
  :root { --section-v: 60px; }

  .nav-partner { display: none; }
  .nav-logo { font-size: 0.9rem; }

  .hero { padding: 64px 0 52px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .trust-bar { gap: 6px; }
  .trust-pill { font-size: 0.75rem; padding: 6px 12px; }
  .trust-bar .sep { display: none; }

  .credentials { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
}

@media (min-width: 769px) {
  .sticky-bar { display: none !important; }
}
