/* ============================================================================
   Synapta Plus — design system
   Palette: warm white / deep forest green / graphite / champagne
   Type: Outfit (display) + Figtree (body)
   Language: calm minimalism, generous space, soft pills, thin lines
   ========================================================================== */

:root {
  --bg:            #faf9f5;
  --bg-deep:       #f3f1ea;
  --surface:       #ffffff;
  --surface-2:     #f5f3ec;
  --border:        rgba(35, 36, 31, 0.11);
  --text:          #23241f;
  --text-muted:    #63655c;
  --accent:        #1e5c40;
  --accent-hover:  #174a34;
  --accent-tint:   rgba(30, 92, 64, 0.08);
  --champagne:     #b99a5e;
  --champagne-tint: rgba(185, 154, 94, 0.12);
  --danger:        #a5493d;

  --font-display: 'Outfit', 'Figtree', system-ui, sans-serif;
  --font-body:    'Figtree', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(52, 48, 36, 0.05);
  --shadow-md: 0 1px 2px rgba(52, 48, 36, 0.04), 0 12px 30px rgba(52, 48, 36, 0.08);
  --shadow-lg: 0 2px 8px rgba(52, 48, 36, 0.06), 0 24px 56px rgba(52, 48, 36, 0.12);

  --container: 1120px;
  --header-h: 72px;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.55em;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
h1 { font-size: clamp(1.95rem, 4.2vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { padding-left: 1.35em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fdfcf9;
  padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fdfcf9; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 42px); }

.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-tint  { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.section-quiet { background: var(--bg-deep); }

.section-head { max-width: 660px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head p { color: var(--text-muted); font-size: 1.06rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--champagne); }

/* calm dot texture for alternating bands */
.dot-band {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Ccircle cx='4' cy='4' r='1.3' fill='%231e5c40' fill-opacity='0.07'/%3E%3C/svg%3E");
}

/* ---------- buttons: soft pills ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-primary { background: var(--accent); color: #fdfcf9; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: #fdfcf9; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { background: rgba(252, 251, 247, 0.97); box-shadow: var(--shadow-md); }

.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em; white-space: nowrap;
}
.brand-word em { font-style: normal; color: var(--champagne); }

.nav-groups { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }

.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; color: var(--text-muted);
  font: 500 0.94rem var(--font-body);
  padding: 10px 13px; border-radius: 999px; cursor: pointer;
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--text); background: var(--surface-2); }
.nav-trigger .icon { transition: transform 0.16s ease; }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 265px; max-width: 330px;
  margin: 0; padding: 8px; list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 110;
}
.nav-group { position: relative; }
.nav-group.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-group.align-right .dropdown { left: auto; right: 0; }

.dropdown a { display: block; padding: 9px 12px; border-radius: 999px; color: var(--text); font-size: 0.93rem; }
.dropdown a:hover, .dropdown a:focus { background: var(--accent-tint); color: var(--text); }
.dropdown a[aria-current="page"] { color: var(--accent); }

.header-side { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.btn-header { padding: 12px 22px; font-size: 0.93rem; }

.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 7px 14px; font-size: 0.84rem; font-weight: 600; color: var(--text-muted); }
.lang-switch a + a { border-left: 1px solid var(--border); }
.lang-switch a:hover { color: var(--text); background: var(--surface-2); }
.lang-switch a[aria-current="true"] { background: var(--accent); color: #fdfcf9; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 999px; color: var(--text); padding: 8px; cursor: pointer;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

.mobile-nav { border-top: 1px solid var(--border); padding: 12px 0 20px; background: var(--bg-deep); }
.mobile-nav-group + .mobile-nav-group { margin-top: 4px; }
.mobile-nav-trigger {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  background: none; border: 0; color: var(--text);
  font: 600 1rem var(--font-body); padding: 13px 4px; cursor: pointer;
}
.mobile-nav-list { list-style: none; margin: 0; padding: 2px 0 8px 10px; }
.mobile-nav-list a { display: block; padding: 9px 8px; color: var(--text-muted); border-radius: 999px; }
.mobile-nav-list a:hover { background: var(--surface-2); color: var(--text); }
.mobile-nav-lang { display: flex; gap: 10px; margin: 14px 0; }
.mobile-nav-lang a { color: var(--text-muted); font-weight: 600; }
.mobile-nav-lang a[aria-current="true"] { color: var(--accent); }

/* ---------- hero: centered calm statement ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 100px) 0 clamp(60px, 7vw, 104px);
  background:
    radial-gradient(640px 360px at 50% -120px, rgba(185, 154, 94, 0.10), transparent 70%),
    var(--bg);
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.4; }
.hero-visual { position: absolute; right: 4%; top: 8%; z-index: 0; opacity: 0.35; pointer-events: none; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 50ch; }

.hero-points { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 13px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--text); }
.hero-points .icon { color: var(--accent); flex: 0 0 auto; margin-top: 4px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-trust-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text); font-weight: 600; font-size: 0.9rem;
}
.hero-trust-link:hover { border-color: var(--accent); }
.hero-trust-link .icon { color: var(--accent); }

.hero-flags {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 22px; padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.94rem; color: var(--text-muted);
  width: fit-content;
}
.hero-flags .flag { border-radius: 3px; box-shadow: var(--shadow-sm); }
.hero-flags strong { color: var(--text); font-weight: 700; }

.hero-form {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3vw, 34px);
}
.form-title { font-size: 1.12rem; margin-bottom: 0.4em; }
.form-note { font-size: 0.88rem; color: var(--text-muted); margin: 10px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.form-note .icon { color: var(--accent); flex: 0 0 auto; margin-top: 3px; }

/* formFactory wrapper */
.form-block { width: 100%; }
.form-block input[type="text"],
.form-block input[type="email"],
.form-block input[type="tel"],
.form-block input[type="password"] {
  width: 100%; padding: 13px 15px; margin-bottom: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text);
  font: 500 0.96rem var(--font-body);
}
.form-block input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-block input::placeholder { color: rgba(99, 101, 92, 0.6); }
.form-block label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-block .error, .form-block .field-error { color: var(--danger); font-size: 0.84rem; margin: -6px 0 10px; }
.form-block button[type="submit"], .form-block .btn-submit {
  width: 100%; padding: 14px 20px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fdfcf9;
  font: 600 1rem var(--font-display); cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.form-block button[type="submit"]:hover { background: var(--accent-hover); transform: translateY(-1px); }
.form-block button[type="submit"]:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-block__intro { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 14px; }
.form-legal { font-size: 0.82rem; color: var(--text-muted); margin: 12px 0 0; }
.form-legal a { color: var(--accent); text-decoration: underline; }

/* ---------- cards: quiet surfaces ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(22px, 2.8vw, 30px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--text-muted); margin: 0; }
.card-link { display: block; color: var(--text); }
.card-link:hover { color: var(--text); }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent);
  margin-bottom: 16px;
}
.icon-badge.champagne { background: var(--champagne-tint); color: var(--champagne); }

.grid { display: grid; gap: clamp(18px, 2.6vw, 26px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-stagger { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: start; }
.grid-stagger .card:nth-child(2) { margin-top: 24px; }
.grid-stagger .card:nth-child(3) { margin-top: 48px; }
.grid-stagger .card:nth-child(4) { margin-top: 24px; }
@media (max-width: 760px) { .grid-stagger .card:nth-child(n) { margin-top: 0; } }

/* steps: champagne circles */
.steps {
  list-style: none; counter-reset: step; padding: 0; margin: 0;
  display: grid; gap: clamp(18px, 2.4vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.step {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
}
.step::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--champagne-tint); color: var(--champagne);
  border: 1px solid rgba(185, 154, 94, 0.35);
  font: 600 1rem var(--font-display);
  margin-bottom: 15px;
}
.step h3 { font-size: 1.04rem; }
.step p { color: var(--text-muted); margin: 0; font-size: 0.94rem; }

/* ---------- tables: calm lines ---------- */

.table-wrap {
  overflow-x: auto; border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.94rem; }
thead th {
  background: var(--surface-2);
  text-align: left; font-family: var(--font-display);
  font-size: 0.84rem; font-weight: 600;
  color: var(--text);
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(30, 92, 64, 0.025); }

.mark-yes { color: var(--accent); font-weight: 700; }
.mark-no  { color: var(--danger); font-weight: 700; }
.compare-own { color: var(--champagne); font-weight: 700; }

/* ---------- exchange row: quiet pills ---------- */

.exchange-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.exchange-chip {
  display: inline-flex; align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-display); font-weight: 500; font-size: 0.94rem;
  color: var(--text-muted);
}

/* ---------- reviews (real photos, assets/images/reviews/) ---------- */

.reviews-grid { display: grid; gap: clamp(16px, 2.2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--surface-2); object-fit: cover; flex: 0 0 auto; background: var(--surface-2);
}
.review-avatar-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent); flex: 0 0 auto;
}
.review-name { font-weight: 700; margin: 0; }
.review-role { font-size: 0.86rem; color: var(--text-muted); margin: 0; }
.review-body { margin: 0; font-size: 0.96rem; }
.review-stats { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--text-muted); }
.review-stats strong { color: var(--text); }
.reviews-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 18px; }

/* ---------- company block ---------- */

.company-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.company-facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.company-facts li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.company-facts .icon { color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.company-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; color: var(--text);
  font: 600 1rem var(--font-body); text-align: left; padding: 16px 18px; cursor: pointer;
}
.faq-q:hover { color: var(--accent); }
.faq-q .icon { flex: 0 0 auto; transition: transform 0.16s ease; color: var(--accent); }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; color: var(--text-muted); display: none; }
.faq-item.is-open .faq-a { display: block; }

/* ---------- calculator ---------- */

.calc-section {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.calc-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; }

/* ---------- breadcrumbs ---------- */

.breadcrumbs { border-bottom: 1px solid var(--border); background: var(--bg-deep); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 12px 0; font-size: 0.86rem; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--champagne); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text); }

/* ---------- inner page hero ---------- */

.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(44px, 5vw, 80px) 0;
  background:
    radial-gradient(560px 320px at 90% -80px, rgba(30, 92, 64, 0.07), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.page-hero .hero-visual { display: none; }

/* ---------- prose ---------- */

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; }

.callout {
  background: var(--accent-tint);
  border-radius: var(--radius-md);
  padding: 18px 22px; margin: 22px 0; color: var(--text);
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band p { max-width: 56ch; margin-inline: auto; color: var(--text-muted); }

/* ---------- special offer ---------- */

.urgency-strip { background: var(--accent); color: #fdfcf9; font-weight: 600; font-size: 0.88rem; }
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; padding-block: 9px; }

.countdown { display: inline-flex; gap: 8px; margin: 14px 0; }
.countdown-seg {
  min-width: 64px; padding: 10px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--text);
}
.countdown-seg small { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 600; color: var(--text-muted); }

.so-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.so-modal.is-open { display: flex; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(35, 36, 31, 0.45); }
.so-modal__card {
  position: relative; width: min(480px, 100%);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 30px 28px; text-align: center;
}
.so-modal__close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--text-muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.so-modal__close:hover { color: var(--text); }

/* ---------- footer ---------- */

.site-footer { background: #20241f; color: #e9e7de; padding: clamp(40px, 6vw, 72px) 0 28px; }
.site-footer .brand-word { color: #e9e7de; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); }
.footer-blurb { color: rgba(233, 231, 222, 0.7); font-size: 0.92rem; margin: 16px 0 12px; }
.footer-mail { font-size: 0.92rem; }
.footer-mail a { color: #e9e7de; }
.footer-mail .icon { color: var(--champagne); vertical-align: -3px; }
.footer-col h3 { color: #d9cdb4; font-size: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; padding: 4px 0; color: rgba(233, 231, 222, 0.7); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.lang-switch-footer { margin-top: 14px; }
.footer-disclaimer { border-top: 1px solid rgba(233, 231, 222, 0.18); margin-top: 36px; padding-top: 22px; }
.footer-disclaimer h3 { font-size: 0.85rem; color: #d9cdb4; }
.footer-disclaimer p { color: rgba(233, 231, 222, 0.6); font-size: 0.84rem; margin: 0; }
.footer-copy { color: rgba(233, 231, 222, 0.45); font-size: 0.8rem; margin: 18px 0 0; }

/* ---------- 404 / map ---------- */

.error-page { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 10px; }

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

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .company-grid { grid-template-columns: 1fr; }
  .company-links { grid-template-columns: 1fr 1fr; }
  .hero-flags { border-radius: var(--radius-md); }
  /* móvil: titular -> formulario -> el resto */
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .hero-title-block { order: 1; }
  .hero-grid .hero-form { order: 2; margin-top: 8px; }
  .hero-copy-rest { order: 3; margin-top: 22px; }
  .hero-flags { order: 4; }
}

@media (max-width: 560px) {
  .btn { font-size: 0.95rem; padding: 14px 24px; }
  .btn-header { padding: 11px 16px; }
  .lang-switch { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .company-links { grid-template-columns: 1fr; }
  .countdown-seg { min-width: 56px; font-size: 1.2rem; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-canvas { display: none; }
}

/* tight header below 420px so nothing overflows on small phones */
@media (max-width: 420px) {
  .header-inner { gap: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-word { font-size: 0.97rem; }
  .btn-header { padding: 8px 10px; font-size: 0.8rem; }
  .nav-toggle { padding: 6px; }
}

.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}

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

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

.hero h1 .hero-title-accent { color: var(--accent); }

@media (min-width: 1024px) {
  .hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
}
