/* ==========================================================================
   Books & Returns — shared design system (v4)
   Direction: light, warm-neutral SaaS — inspired by goforma.com's design
   language, adapted for our multi-country scope. Deep navy anchors dark
   panels/footer/headings-adjacent text, teal is reserved strictly for CTAs
   and highlights, soft pastel tints differentiate feature/category blocks,
   subtle borders and shadows replace the old hard structural dividers.
   Class names are unchanged from v1-v3 so every page restyles automatically.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700;9..40,800&display=swap');

:root{
  /* Neutrals */
  --bg:#F5F2EC;
  --bg-alt:#EFEAE1;
  --text:#5A6675;
  --text-muted:#5A6675; /* deliberately the same as --text: a genuinely
    lighter secondary gray fails WCAG AA (4.5:1) against this warm
    off-white, so hierarchy comes from size/weight instead of a riskier
    color */
  --border:rgba(21,45,79,0.10);
  --border-strong:rgba(21,45,79,0.14);

  /* Anchor (navy) — headings-adjacent foreground color, dark panels, footer */
  --panel:#152D4F;
  --panel-alt:#1D3A61;
  --panel-text:#FFFFFF;
  --panel-text-muted:rgba(255,255,255,0.72);
  --panel-border:rgba(255,255,255,0.16);
  --brand:#152D4F;

  /* Accent (teal) — CTAs and highlights only, used sparingly so it reads
     as THE brand color rather than one of several. */
  --accent:#00B5A3;
  --accent-hover:#007A6E; /* darker than a typical hover shade would need —
    --accent-hover doubles as text color for .stars/.process-step numbers,
    and a lighter teal measured under 4.5:1 on --bg. This shade is ~4.7:1. */
  --accent-ink:#0F1720;
  --teal-dark:var(--panel-alt); /* compatibility alias used inline in resources/placeholder-article.html */

  --brand-tint:rgba(21,45,79,0.06);
  --accent-tint:rgba(0,181,163,0.10);
  --shadow-hover:0 10px 28px rgba(21,45,79,0.10);

  /* Pastel category tints — for differentiating feature/segment blocks,
     used the way a highlighter differentiates categories, not as loud color. */
  --tint-blue:#EFF6FF;
  --tint-green:#ECFDF5;
  --tint-amber:#FEF3C7;
  --tint-purple:#F5F3FF;

  --font-display:'DM Sans', sans-serif;
  --font-body:'DM Sans', sans-serif;
  --font-mono:'DM Sans', sans-serif;

  --radius:14px;

  --space-1:8px;
  --space-2:16px;
  --space-3:24px;
  --space-4:32px;
  --space-5:48px;
  --space-6:80px;
  --space-7:120px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  line-height:1.75;
  font-size:18px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;}
img{max-width:100%;display:block;}
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 var(--space-3);
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
.muted{ color:var(--text-muted); }

h1,h2,h3{ font-family:var(--font-display); font-weight:800; }

/* Skip link */
.skip-link{
  position:absolute;
  left:var(--space-2);
  top:-100px;
  background:var(--panel);
  color:var(--panel-text);
  padding:10px 18px;
  border-radius:var(--radius);
  z-index:1000;
  transition:top .2s ease;
}
.skip-link:focus{ top: var(--space-2); }

/* Header */
header.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--bg);
  border-bottom:2px solid var(--brand);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px var(--space-3);
  max-width:1200px;
  margin:0 auto;
  gap:var(--space-3);
}
.brand{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.375rem;
  letter-spacing:0.01em;
  text-decoration:none;
  color:var(--text);
  flex-shrink:0;
}
.brand-amp{ color:var(--accent); }
nav.primary-nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  align-content:center;
  gap:20px;
  margin:0;padding:0;
  flex-wrap:wrap;
}
nav.primary-nav a{
  text-decoration:none;
  color:var(--text-muted);
  font-weight:600;
  font-size:0.9rem;
  letter-spacing:normal;
  text-transform:none;
  padding:8px 0;
  border-top:2px solid transparent;
  border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
nav.primary-nav a:hover{ color:var(--text); }
nav.primary-nav a[aria-current="page"]{ color:var(--text); border-bottom-color:var(--accent); }
.header-actions{ display:flex; align-items:center; gap:var(--space-2); flex-shrink:0; }
.nav-toggle{
  display:none;
  background:none;
  border:2px solid var(--border-strong);
  border-radius:var(--radius);
  width:44px;height:44px;
  align-items:center;justify-content:center;
  cursor:pointer;
  color:var(--text);
}
.nav-toggle svg{ width:20px; height:20px; }

/* Country switcher */
.country-switcher{ position:relative; flex-shrink:0; }
.country-switcher-toggle{
  display:flex;
  align-items:center;
  gap:6px;
  background:none;
  border:2px solid var(--border-strong);
  border-radius:var(--radius);
  padding:9px 12px;
  cursor:pointer;
  color:var(--text);
  font-family:var(--font-mono);
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  min-height:44px;
  transition:border-color .15s ease;
}
.country-switcher-toggle:hover{ border-color:var(--brand); }
.country-switcher-flag{ width:20px; height:14px; flex-shrink:0; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:1px; }
.country-switcher-flag svg{ width:100%; height:100%; display:block; }
.country-switcher-toggle .country-switcher-flag svg[viewBox="0 0 24 24"]{ width:16px; height:16px; color:var(--text); }
.country-switcher-caret{ width:12px; height:12px; flex-shrink:0; display:flex; transition:transform .15s ease; }
.country-switcher-caret svg{ width:100%; height:100%; }
.country-switcher.open .country-switcher-caret{ transform:rotate(180deg); }
.country-switcher-toggle.detecting .country-switcher-flag{ animation:country-switcher-pulse 1.2s ease-in-out infinite; }
@keyframes country-switcher-pulse{ 0%,100%{ opacity:1; } 50%{ opacity:0.35; } }

.country-switcher-dropdown{
  position:absolute;
  top:calc(100% + 6px);
  right:0;
  min-width:200px;
  background:var(--bg);
  border:2px solid var(--border-strong);
  border-radius:var(--radius);
  box-shadow:var(--shadow-hover);
  list-style:none;
  margin:0;
  padding:6px;
  z-index:200;
}
.country-switcher-dropdown[hidden]{ display:none; }
.country-switcher-option{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  background:none;
  border:none;
  padding:10px;
  cursor:pointer;
  font-family:var(--font-body);
  font-size:0.88rem;
  font-weight:600;
  color:var(--text);
  text-align:left;
  border-radius:var(--radius);
}
.country-switcher-option:hover{ background:var(--brand-tint); }
.country-switcher-option-flag{ width:22px; height:16px; flex-shrink:0; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:1px; }
.country-switcher-option-flag svg{ width:100%; height:100%; display:block; }

/* Buttons — uppercase tracked labels, sharp corners, amber reserved for the
   primary CTA only */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 24px;
  border-radius:8px; /* distinct from --radius (14px), which is used for cards/panels */
  font-weight:700;
  font-size:0.82rem;
  letter-spacing:0.05em;
  text-transform:uppercase;
  text-decoration:none;
  cursor:pointer;
  border:2px solid transparent;
  transition:background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
  min-height:44px;
}
.btn:active{ transform:scale(0.98); }
.btn-primary{
  background:var(--accent);
  color:var(--accent-ink);
  border-color:var(--accent);
  box-shadow:0 6px 16px rgba(0,181,163,0.24);
}
.btn-primary:hover{ background:var(--accent-hover); border-color:var(--accent-hover); box-shadow:0 6px 18px rgba(0,181,163,0.32); }
.btn-ghost{
  background:transparent;
  color:var(--text);
  border-color:var(--border-strong);
}
.btn-ghost:hover{ border-color:var(--brand); color:var(--brand); }
.btn-block{ width:100%; }
.btn-sm{ padding:8px 16px; font-size:0.72rem; min-height:36px; }

/* Hero — solid deep-teal panel, bold condensed uppercase headline */
.hero{
  position:relative;
  background:var(--panel);
  color:var(--panel-text);
  padding:var(--space-7) 0 var(--space-6);
  border-bottom:2px solid var(--accent);
}
.hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:var(--space-6);
  align-items:center;
}
.hero-inner.hero-inner-solo{ grid-template-columns:1fr; max-width:760px; }
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:transparent;
  border:none;
  border-left:3px solid var(--accent);
  color:var(--panel-text-muted);
  padding:2px 0 2px 12px;
  border-radius:0;
  font-family:var(--font-mono);
  font-size:0.74rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:var(--space-3);
}
.hero h1{
  font-family:var(--font-display);
  font-size:clamp(2.75rem, 4.4vw, 4rem);
  line-height:1.08;
  margin:0 0 var(--space-3);
  font-weight:800;
  letter-spacing:-0.015em;
  text-transform:none;
}
.hero p.lead{
  font-family:var(--font-body);
  font-size:1.15rem;
  line-height:1.6;
  color:var(--panel-text-muted);
  max-width:52ch;
  margin:0 0 var(--space-4);
  font-weight:400;
}
.hero-cta-row{
  display:flex;
  gap:var(--space-2);
  flex-wrap:wrap;
  margin-bottom:var(--space-4);
}
.hero-trust ul{ display:flex; flex-wrap:wrap; gap:var(--space-4); margin:0; padding:0; }
.hero-trust li{ display:flex; align-items:center; gap:8px; list-style:none; color:var(--panel-text-muted); font-size:0.85rem; }
.hero-trust svg{ width:16px;height:16px;flex-shrink:0;color:var(--accent); }

.hero-card{
  background:var(--bg);
  color:var(--text);
  border-radius:var(--radius);
  padding:var(--space-4);
  border:none;
  box-shadow:0 20px 48px rgba(9,20,33,0.22);
}
.hero-card h3{ margin:0 0 4px; font-family:var(--font-display); font-size:1.15rem; font-weight:700; }
.hero-card p{ margin:0 0 var(--space-3); color:var(--text-muted); font-size:0.9rem; font-family:var(--font-body); }
.hero-stat-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-2);
}
.hero-stat{
  position:relative;
  background:var(--bg-alt);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-3);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}
.hero-stat-grid .hero-stat:nth-child(1){ background:var(--tint-blue); }
.hero-stat-grid .hero-stat:nth-child(2){ background:var(--tint-green); }
.hero-stat-grid .hero-stat:nth-child(3){ background:var(--tint-amber); }
.hero-stat-grid .hero-stat:nth-child(4){ background:var(--tint-purple); }
.hero-stat .country-code{ margin-bottom:2px; }
.hero-stat strong{
  display:block;
  font-family:var(--font-mono);
  font-size:1.1rem;
  font-weight:700;
  letter-spacing:0.02em;
  font-variant-numeric:tabular-nums;
  color:var(--brand);
}
.hero-stat-region{
  font-size:0.72rem;
  letter-spacing:0.03em;
  text-transform:uppercase;
  color:var(--text-muted);
}

/* Page header — same panel treatment as hero, smaller */
.page-header{
  background:var(--panel);
  color:var(--panel-text);
  padding:var(--space-6) 0 var(--space-5);
  border-bottom:2px solid var(--accent);
}
.page-header .eyebrow{ margin-bottom:var(--space-2); }
.page-header h1{
  font-family:var(--font-display);
  font-size:clamp(2.2rem, 4vw, 3.1rem);
  margin:0 0 var(--space-2);
  font-weight:800;
  letter-spacing:-0.01em;
  text-transform:none;
}
.page-header p.lead{
  font-family:var(--font-body);
  font-size:1.05rem;
  color:var(--panel-text-muted);
  max-width:65ch;
  margin:0;
}

/* Breadcrumb */
.breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-mono);
  font-size:0.78rem;
  color:var(--panel-text-muted);
  margin-bottom:var(--space-2);
  text-transform:uppercase;
  letter-spacing:0.03em;
}
.breadcrumb a{ color:var(--panel-text); text-decoration:none; font-weight:600; }
.breadcrumb a:hover{ text-decoration:underline; }
.breadcrumb svg{ width:14px;height:14px; }

/* Section shell */
section{ padding:var(--space-6) 0; }
/* Guaranteed divider between any two consecutive sections, regardless of
   which background classes land next to each other — prevents sections
   from visually merging no matter how content gets reordered later. */
section:not(.hero) + section{ border-top:2px solid var(--border-strong); }
.section-head{
  text-align:center;
  max-width:640px;
  margin:0 auto var(--space-5);
}
.section-head.left{ text-align:left; margin:0 0 var(--space-4); max-width:none; }
.section-tag{
  color:var(--brand);
  font-family:var(--font-mono);
  font-weight:600;
  font-size:0.76rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.section-head h2{
  font-family:var(--font-display);
  font-size:clamp(1.9rem, 3.4vw, 2.6rem);
  margin:0 0 var(--space-2);
  font-weight:700;
  letter-spacing:-0.005em;
  color:var(--text);
}
.section-head p{ color:var(--text-muted); margin:0; font-size:1.02rem; font-family:var(--font-body); }
.surface-band{ background:var(--bg-alt); }

/* Services */
.services-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:var(--space-3);
}
.services-grid.cols-3{ grid-template-columns:repeat(3, 1fr); }
.services-grid.cols-2{ grid-template-columns:repeat(2, 1fr); }
.service-card{
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-4) var(--space-3);
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.service-card:hover{ border-color:var(--accent); box-shadow:var(--shadow-hover); }
.service-icon{
  width:44px;height:44px;
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  background:none;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:var(--space-3);
  color:var(--brand);
}
.service-icon svg{ width:22px;height:22px; stroke-width:1.7; }
/* Alternate a subtle on-brand tint per card so repeated icon boxes across a
   grid don't read as identical — still only the site's two brand colors. */
.services-grid .service-card:nth-child(odd) .service-icon{ background:var(--brand-tint); }
.services-grid .service-card:nth-child(even) .service-icon{ background:var(--accent-tint); }
.service-card h3{ margin:0 0 8px; font-family:var(--font-display); font-size:1.2rem; font-weight:700; letter-spacing:0; color:var(--text); }
.service-card p{ margin:0 0 var(--space-2); color:var(--text-muted); font-size:0.92rem; }
.service-card ul{ margin:0 0 var(--space-2); padding-left:1.1em; color:var(--text-muted); font-size:0.9rem; }
.service-card ul li{ margin-bottom:4px; }
.service-price{
  font-family:var(--font-mono);
  font-weight:700;
  color:var(--accent-hover);
  font-size:0.9rem;
  font-variant-numeric:tabular-nums;
}

/* Category block used on country services pages */
.category-block{ margin-bottom:var(--space-5); }
.category-block:last-child{ margin-bottom:0; }
.category-block-head{
  display:flex;
  align-items:baseline;
  gap:var(--space-2);
  margin-bottom:var(--space-3);
  flex-wrap:wrap;
}
.category-block-head h3{
  margin:0;
  font-family:var(--font-display);
  font-size:1.4rem;
  color:var(--text);
  font-weight:700;
}
.category-block-head .category-index{
  display:inline-flex;
  align-items:center;justify-content:center;
  width:28px;height:28px;
  border-radius:var(--radius);
  background:var(--panel);
  color:var(--panel-text);
  font-family:var(--font-mono);
  font-weight:700;
  font-size:0.8rem;
  flex-shrink:0;
}

/* Inline acronym / term explainer — visible text, not hover-only */
.term-def{ color:var(--text-muted); font-weight:400; font-size:0.92em; }

/* Why us */
.why-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:var(--space-4) var(--space-4);
}
.why-item{ display:flex; gap:var(--space-2); }
.why-icon{
  width:40px;height:40px;flex-shrink:0;
  border-radius:var(--radius);
  background:transparent;
  border:1.5px solid var(--border-strong);
  display:flex;align-items:center;justify-content:center;
  color:var(--brand);
}
.why-icon svg{ width:19px;height:19px; stroke-width:1.7; }
.why-grid .why-item:nth-child(odd) .why-icon{ background:var(--brand-tint); }
.why-grid .why-item:nth-child(even) .why-icon{ background:var(--accent-tint); }
.why-item h3{ margin:0 0 4px; font-family:var(--font-display); font-size:1.1rem; font-weight:700; color:var(--text); }
.why-item p{ margin:0; color:var(--text-muted); font-size:0.9rem; }

/* Process — individual cards, matching pricing/country/service cards */
.process-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:var(--space-3);
  counter-reset:step;
}
.process-step{
  position:relative;
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-3);
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.process-step:hover{ border-color:var(--accent); box-shadow:var(--shadow-hover); }
.process-step::before{
  counter-increment:step;
  content:counter(step);
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--panel);
  color:var(--panel-text);
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.05rem;
  margin:0 0 var(--space-3);
}
.process-step h3{ margin:0 0 6px; font-family:var(--font-display); font-size:1.15rem; font-weight:700; color:var(--text); }
.process-step p{ margin:0; color:var(--text-muted); font-size:0.9rem; }

/* Testimonials */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:var(--space-3);
}
.testimonial-card{
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-3);
}
.stars{ color:var(--accent-hover); margin-bottom:var(--space-2); font-size:0.9rem; letter-spacing:2px; }
.testimonial-card p.quote{ margin:0 0 var(--space-3); font-size:0.96rem; color:var(--text); }
.testimonial-author{ display:flex; align-items:center; gap:10px; }
.avatar{
  width:36px;height:36px;border-radius:var(--radius);
  background:var(--panel);
  color:var(--panel-text);display:flex;align-items:center;justify-content:center;
  font-family:var(--font-mono);font-weight:700;font-size:0.78rem;flex-shrink:0;
}
.testimonial-author strong{ display:block; font-size:0.9rem; }
.testimonial-author span{ display:block; font-size:0.8rem; color:var(--text-muted); }

/* FAQ */
.faq-list{ max-width:760px; margin:0 auto; }
details.faq-item{
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-2) var(--space-3);
  margin-bottom:var(--space-2);
}
details.faq-item summary{
  cursor:pointer;
  font-weight:700;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-2);
  min-height:44px;
  color:var(--text);
}
details.faq-item summary::-webkit-details-marker{ display:none; }
.faq-chevron{ transition:transform .2s ease; flex-shrink:0; color:var(--accent-hover); }
details.faq-item[open] .faq-chevron{ transform:rotate(180deg); }
details.faq-item p{ margin:var(--space-2) 0 0; color:var(--text-muted); }

/* CTA band — same solid panel language as hero */
.cta-band{
  background:var(--panel);
  color:var(--panel-text);
  border-radius:var(--radius);
  padding:var(--space-5);
  text-align:center;
  border:2px solid var(--accent);
}
.cta-band h2{ margin:0 0 8px; font-family:var(--font-display); font-size:clamp(1.6rem, 3.2vw, 2.2rem); font-weight:800; text-transform:none; letter-spacing:-0.015em; }
.cta-band p{ margin:0 0 var(--space-3); color:var(--panel-text-muted); }
.cta-band .hero-cta-row{ justify-content:center; margin-bottom:0; }

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-5);
  align-items:start;
}
.contact-info-card{
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-4);
}
.contact-row{ display:flex; gap:var(--space-2); align-items:flex-start; margin-bottom:var(--space-3); }
.contact-row:last-child{ margin-bottom:0; }
.contact-row strong{ display:block; margin-bottom:2px; font-family:var(--font-display); font-size:1.05rem; }
.contact-row a{ color:var(--accent-hover); text-decoration:none; font-weight:600; }
.contact-row a:hover{ text-decoration:underline; }
.contact-row span.muted{ color:var(--text-muted); font-size:0.9rem; }
/* #8A5F00 measures ~5.05:1 against the light --bg, where .placeholder-note
   is used almost everywhere (contact/about/pricing cards, article body).
   The one dark-panel exception is the footer, which needs a lighter shade
   (#E0AC3F, ~6.67:1 against --panel) since the light value would itself
   fail contrast there. */
.placeholder-note{ color:#8A5F00 !important; font-size:0.8rem; font-family:var(--font-mono); }
footer.site-footer .placeholder-note{ color:#E0AC3F !important; }

form.mailto-form{
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-4);
}
.form-group{ margin-bottom:var(--space-3); }
.form-group label{
  display:block;
  font-weight:600;
  font-size:0.78rem;
  letter-spacing:0.03em;
  text-transform:uppercase;
  margin-bottom:8px;
  color:var(--text);
}
.form-group .req{ color:#b3392c; }
.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:12px 14px;
  border-radius:var(--radius);
  border:1.5px solid var(--border-strong);
  background:var(--bg);
  color:var(--text);
  font-size:1rem;
  font-family:var(--font-body);
  min-height:44px;
}
.form-group textarea{ min-height:120px; resize:vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:2px solid var(--accent);
  outline-offset:1px;
  border-color:var(--accent);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:var(--space-3); }
.form-help{
  display:flex;
  gap:8px;
  align-items:flex-start;
  background:var(--bg-alt);
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  padding:10px 12px;
  font-size:0.85rem;
  color:var(--text-muted);
  margin-top:var(--space-3);
}
.form-help svg{ width:18px;height:18px;flex-shrink:0;color:var(--accent-hover); margin-top:1px; }

/* ==========================================================================
   Shared components — country selector, flagship, pricing, industries, blog
   ========================================================================== */

/* Country selector */
.country-selector-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:var(--space-3);
}
.country-card{
  position:relative;
  display:block;
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-3);
  text-decoration:none;
  color:inherit;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.country-card:hover{ border-color:var(--accent); box-shadow:var(--shadow-hover); }
/* .is-active is toggled by country.js to mark whichever card matches the
   visitor's active country (from the header switcher / localStorage). */
.country-card.is-active{ border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-tint); }
.country-card.is-active::after{
  content:"Your market";
  position:absolute;
  top:-11px;
  right:var(--space-3);
  background:var(--accent);
  color:var(--accent-ink);
  font-size:0.68rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:3px 10px;
  border-radius:8px;
}
.country-code{
  display:inline-flex;
  align-items:center;justify-content:center;
  min-width:42px;height:28px;
  padding:0 10px;
  border-radius:var(--radius);
  background:var(--panel);
  color:var(--panel-text);
  font-family:var(--font-mono);
  font-weight:700;
  font-size:0.78rem;
  letter-spacing:.03em;
  margin-bottom:var(--space-2);
}
.country-card h3{ margin:0 0 4px; font-family:var(--font-display); font-size:1.2rem; font-weight:700; color:var(--text); }
.country-card p{ margin:0 0 var(--space-2); color:var(--text-muted); font-size:0.88rem; }
.country-card .country-services{ margin:0; padding:0; list-style:none; font-size:0.85rem; color:var(--text-muted); }
.country-card .country-services li{ padding:4px 0; border-top:1px solid var(--border); }
.country-card .country-services li:first-child{ border-top:none; }
.country-card .country-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:var(--space-2);
  color:var(--text);
  font-weight:700;
  font-size:0.78rem;
  letter-spacing:0.04em;
  text-transform:uppercase;
}
.country-card .country-link svg{ width:15px;height:15px; transition:transform .15s ease; color:var(--accent-hover); }
.country-card:hover .country-link svg{ transform:translateX(3px); }

/* Flagship package feature panel */
.flagship-card{
  background:var(--panel);
  color:var(--panel-text);
  border-radius:var(--radius);
  padding:var(--space-5);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-5);
  align-items:center;
  border:2px solid var(--accent);
}
.flagship-card .flagship-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--accent);
  border:none;
  color:var(--accent-ink);
  padding:6px 14px;
  border-radius:var(--radius);
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin-bottom:var(--space-2);
}
.flagship-card h2{ margin:0 0 var(--space-2); font-family:var(--font-display); font-size:clamp(1.7rem, 3.2vw, 2.3rem); font-weight:800; text-transform:none; letter-spacing:-0.015em; }
.flagship-card p.lead{ color:var(--panel-text-muted); margin:0 0 var(--space-3); max-width:48ch; font-family:var(--font-body); }
.flagship-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}
.flagship-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:0.94rem;
  color:var(--panel-text-muted);
}
.flagship-list svg{ width:17px;height:17px; flex-shrink:0; margin-top:2px; color:var(--accent); }
.flagship-card .flagship-panel{
  background:transparent;
  border:1.5px solid var(--panel-border);
  border-radius:var(--radius);
  padding:var(--space-3);
}

/* Pricing */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:var(--space-3);
  align-items:stretch;
}
.pricing-card{
  display:flex;
  flex-direction:column;
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-4) var(--space-3);
  position:relative;
}
.pricing-card.featured{
  border:2px solid var(--accent);
}
.pricing-ribbon{
  position:absolute;
  top:-13px;
  left:var(--space-3);
  background:var(--accent);
  color:var(--accent-ink);
  font-size:0.7rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:4px 12px;
  border-radius:var(--radius);
}
.pricing-card h3{ margin:0 0 8px; font-family:var(--font-display); font-size:1.25rem; font-weight:700; color:var(--text); }
.pricing-card .pricing-figure{
  font-family:var(--font-mono);
  font-weight:700;
  font-size:1.2rem;
  letter-spacing:0;
  color:var(--text);
  margin-bottom:6px;
  font-variant-numeric:tabular-nums;
}
.pricing-card .pricing-note{
  font-size:0.78rem;
  color:var(--text-muted);
  margin-bottom:var(--space-3);
}
.pricing-card ul{
  list-style:none;
  margin:0 0 var(--space-3);
  padding:0;
  flex-grow:1;
  display:grid;
  gap:8px;
}
.pricing-card ul li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:0.88rem;
  color:var(--text-muted);
}
.pricing-card ul li[hidden]{ display:none; } /* same fix as .currency-badge[hidden]: this
  li's own display:flex above otherwise wins over the browser's default [hidden] styling */
.pricing-card ul li svg{ width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--accent-hover); }
.currency-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:4px 10px;
  font-family:var(--font-mono);
  font-size:0.78rem;
  font-weight:700;
  color:var(--text);
}
.currency-row{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:var(--space-3); }
.currency-badge[hidden]{ display:none; } /* .currency-badge's own display:inline-flex above
  otherwise wins over the browser's default [hidden] styling, since author
  rules always beat the UA stylesheet regardless of selector specificity */
.pricing-disclaimer{
  display:flex;
  gap:10px;
  align-items:flex-start;
  background:var(--bg-alt);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-2) var(--space-3);
  font-size:0.88rem;
  color:var(--text-muted);
  margin-bottom:var(--space-5);
}
.pricing-disclaimer svg{ width:20px;height:20px;flex-shrink:0;color:#8A5F00; margin-top:1px; }

/* Regional contact cards (Contact page) */
.region-card{
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-4) var(--space-3);
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.region-card:hover{ border-color:var(--accent); box-shadow:var(--shadow-hover); }
.region-card h3{ font-family:var(--font-display); font-size:1.15rem; font-weight:700; margin:var(--space-2) 0 var(--space-3); color:var(--text); }
.region-row{ display:flex; align-items:flex-start; gap:8px; margin-bottom:8px; font-size:0.88rem; }
.region-row:last-child{ margin-bottom:0; }
.region-row svg{ width:16px;height:16px; flex-shrink:0; margin-top:1px; color:var(--brand); }
.region-row a{ color:var(--accent-hover); font-weight:600; text-decoration:none; }
.region-row a:hover{ text-decoration:underline; }
.region-row span{ color:var(--text-muted); }
.services-grid .region-card:nth-child(odd) .country-code{ background:var(--panel); }
.services-grid .region-card:nth-child(even) .country-code{ background:var(--panel-alt); }

/* Industries */
.industry-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:var(--space-3);
}
.industry-card{
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-3);
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.industry-card:hover{ border-color:var(--accent); box-shadow:var(--shadow-hover); }
.industry-card h3{ margin:0 0 6px; font-family:var(--font-display); font-size:1.1rem; font-weight:700; color:var(--text); }
.industry-card p{ margin:0; color:var(--text-muted); font-size:0.88rem; }
.industry-grid .industry-card:nth-child(odd) .service-icon{ background:var(--brand-tint); }
.industry-grid .industry-card:nth-child(even) .service-icon{ background:var(--accent-tint); }

/* Blog / Resources */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:var(--space-3);
}
.blog-card{
  background:var(--bg);
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.blog-card:hover{ border-color:var(--accent); box-shadow:var(--shadow-hover); }
.blog-card-media{
  height:132px;
  background:var(--panel);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  border-bottom:2px solid var(--accent);
}
.blog-card-media svg{ width:30px;height:30px; opacity:0.9; stroke-width:1.5; }
.blog-card-body{ padding:var(--space-3); flex-grow:1; display:flex; flex-direction:column; }
.blog-card-tag{ font-family:var(--font-mono); font-size:0.7rem; font-weight:700; color:var(--accent-hover); text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px; }
.blog-card h3{ margin:0 0 8px; font-family:var(--font-display); font-size:1.15rem; font-weight:700; color:var(--text); }
.blog-card p{ margin:0; color:var(--text-muted); font-size:0.9rem; flex-grow:1; }
.blog-card-meta{ margin-top:var(--space-2); font-family:var(--font-mono); font-size:0.76rem; color:var(--text-muted); }
.blog-card.blog-card-placeholder{
  border-style:dashed;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:var(--space-4);
  color:var(--text-muted);
}
.blog-featured{ max-width:380px; margin-bottom:var(--space-5); }
.coming-soon-panel{
  display:flex;
  align-items:center;
  gap:var(--space-4);
  border:1.5px dashed var(--border-strong);
  border-radius:var(--radius);
  padding:var(--space-4);
  background:var(--bg-alt);
}
.coming-soon-icon{
  width:56px;height:56px;flex-shrink:0;
  border:1.5px solid var(--border-strong);
  border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  color:var(--brand);
  background:var(--brand-tint);
}
.coming-soon-icon svg{ width:26px;height:26px; stroke-width:1.6; }
.coming-soon-panel h3{ font-family:var(--font-display); font-size:1.2rem; font-weight:700; margin:0 0 6px; color:var(--text); }
.coming-soon-panel p{ margin:0 0 var(--space-2); color:var(--text-muted); font-size:0.92rem; max-width:60ch; }
.coming-soon-panel .btn{ margin-top:2px; }
@media (max-width: 700px){
  .coming-soon-panel{ flex-direction:column; text-align:center; align-items:center; }
  .coming-soon-panel p{ max-width:none; }
}

.article-body{ max-width:70ch; margin:0 auto; }
.article-body h1{ color:var(--text); font-family:var(--font-display); font-size:clamp(2rem, 3.8vw, 2.8rem); margin:0 0 var(--space-2); font-weight:800; text-transform:none; letter-spacing:-0.01em; }
.article-meta{ color:var(--text-muted); font-family:var(--font-mono); font-size:0.85rem; margin-bottom:var(--space-4); }
.article-body p{ margin:0 0 var(--space-3); }
.article-body h2{ color:var(--text); font-family:var(--font-display); font-size:1.5rem; margin:var(--space-4) 0 var(--space-2); font-weight:700; }

/* Our Trusted Partners (homepage) — logos share a fixed height with auto
   width so mismatched source aspect ratios still read as consistent. */
.partners-band{
  background:var(--bg-alt);
  padding:var(--space-5) 0;
}
.partner-logos{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-2);
}
.partner-logos img{
  height:48px;
  width:auto;
  max-width:220px;
  object-fit:contain;
  mix-blend-mode:multiply;
}
@media (max-width: 900px){
  .partner-logos{ flex-wrap:wrap; justify-content:center; gap:var(--space-4); }
  .partner-logos img{ height:36px; max-width:160px; }
}

/* Values / generic content grid (About page) */
.value-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:var(--space-4);
}
.prose{ max-width:75ch; }
.prose p{ margin:0 0 var(--space-3); color:var(--text-muted); }
.prose p:last-child{ margin-bottom:0; }

/* Footer — same panel language */
footer.site-footer{
  background:var(--panel);
  color:var(--panel-text-muted);
  padding:var(--space-5) 0 var(--space-3);
  font-size:0.88rem;
  border-top:2px solid var(--accent);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;
  gap:var(--space-4);
  margin-bottom:var(--space-4);
}
.footer-brand{ font-family:var(--font-display); font-weight:700; font-size:1.1rem; color:var(--panel-text); margin-bottom:var(--space-2); }
.footer-grid h4{ color:var(--panel-text); font-size:0.76rem; letter-spacing:0.05em; text-transform:uppercase; margin:0 0 var(--space-2); font-weight:700; }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.footer-grid a{ color:var(--panel-text-muted); text-decoration:none; }
.footer-grid a:hover{ color:var(--panel-text); text-decoration:underline; }
.footer-bottom{
  border-top:1px solid var(--panel-border);
  padding-top:var(--space-3);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:var(--space-2);
  font-family:var(--font-mono);
  font-size:0.78rem;
}

/* Responsive */
@media (max-width: 1000px){
  .footer-grid{ grid-template-columns:1fr 1fr 1fr; }
}
@media (max-width: 900px){
  .hero-inner{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:repeat(2, 1fr); }
  .services-grid.cols-3{ grid-template-columns:repeat(2, 1fr); }
  .why-grid{ grid-template-columns:1fr; }
  .process-grid{ grid-template-columns:repeat(2, 1fr); }
  .testimonial-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .country-selector-grid{ grid-template-columns:repeat(2, 1fr); }
  .flagship-card{ grid-template-columns:1fr; }
  .pricing-grid{ grid-template-columns:repeat(2, 1fr); }
  .industry-grid{ grid-template-columns:repeat(2, 1fr); }
  .blog-grid{ grid-template-columns:repeat(2, 1fr); }
  .value-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
}
@media (max-width: 700px){
  nav.primary-nav{
    position:fixed;
    top:69px;
    left:0;right:0;
    background:var(--bg);
    border-bottom:2px solid var(--brand);
    transform:translateY(-130%);
    transition:transform .25s ease;
    z-index:99;
    max-height:calc(100vh - 69px);
    overflow-y:auto;
  }
  nav.primary-nav.open{ transform:translateY(0); }
  nav.primary-nav ul{
    flex-direction:column;
    gap:0;
    padding:var(--space-2);
  }
  nav.primary-nav a{
    display:block;
    padding:14px 8px;
    border-bottom:1px solid var(--border);
  }
  .header-actions .btn-primary-desktop{ display:none; }
  .nav-toggle{ display:flex; }
  .country-switcher-label{ display:none; }
  .country-switcher-toggle{ padding:9px 10px; }
  .services-grid{ grid-template-columns:1fr; }
  .services-grid.cols-3{ grid-template-columns:1fr; }
  .process-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; }
  .country-selector-grid{ grid-template-columns:1fr; }
  .pricing-grid{ grid-template-columns:1fr; }
  .industry-grid{ grid-template-columns:1fr; }
  .blog-grid{ grid-template-columns:1fr; }
}

/* Card hover lift — border/shadow transitions above run regardless (they're
   color/depth cues, not motion), but the translateY lift itself only runs
   when the user hasn't asked for reduced motion. */
@media (prefers-reduced-motion: no-preference){
  .service-card:hover,
  .industry-card:hover,
  .blog-card:hover,
  .country-card:hover,
  .region-card:hover,
  .process-step:hover{
    transform:translateY(-3px);
  }
}

/* Scroll-reveal — .reveal-init is only ever added by scroll-reveal.js, so
   if JS fails to run (blocked, error, old browser) elements never get the
   hidden state in the first place and stay fully visible by default. */
.reveal-init{
  opacity:0;
  transform:translateY(28px);
  transition:opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-init.reveal-visible{
  opacity:1;
  transform:translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal-init{ opacity:1; transform:none; transition:none; }
}
