/* Mercomercio — design tokens + base */
:root {
  --blue-900: #0b1f4d;
  --blue-700: #1e40af;
  --blue-600: #2952c8;
  --blue-50:  #eef3ff;
  --green-600: #059669;
  --green-500: #10b981;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;
  --green-900: #065f46;
  --ink-900: #0b1220;
  --ink-700: #1f2937;
  --ink-500: #4b5563;
  --ink-400: #6b7280;
  --ink-300: #9ca3af;
  --line:    #e5e7eb;
  --line-2:  #eef0f3;
  --paper:   #ffffff;
  --paper-2: #f7f8fb;
  --paper-3: #f0f2f7;
  --red-600: #dc2626;

  --maxw: 1200px;
  --pad: 32px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;

  --shadow-sm: 0 1px 2px rgba(11,18,32,.04), 0 1px 0 rgba(11,18,32,.02);
  --shadow:    0 1px 2px rgba(11,18,32,.04), 0 8px 24px -8px rgba(11,18,32,.10);
  --shadow-lg: 0 12px 40px -10px rgba(11,18,32,.18), 0 2px 6px rgba(11,18,32,.04);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Typography */
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.025em; }
h3 { font-size: 20px; letter-spacing: -0.015em; }
p  { margin: 0; }

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--blue-700);
  font-family: var(--font-mono);
}

.mono { font-family: var(--font-mono); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green-500);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 6px 18px -6px rgba(16,185,129,.55);
}
.btn-primary:hover { background: var(--green-600); }
.btn-dark {
  background: var(--ink-900);
  color: white;
}
.btn-dark:hover { background: #000; }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--paper-2); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }

/* Sections */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 14px; display: inline-block; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-500); font-size: 17px; max-width: 620px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-700); font-weight: 500;
}
.nav-links a:hover { color: var(--ink-900); }
.brand {
  display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em;
  font-size: 18px;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-700), var(--green-500));
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 6px;
  border-radius: 4px;
  background: white;
  clip-path: polygon(0 100%, 30% 60%, 55% 80%, 100% 0, 100% 100%);
}

/* Hero */
.hero {
  padding: 80px 0 110px;
  background:
    radial-gradient(1100px 520px at 80% -10%, rgba(30,64,175,.10), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(16,185,129,.10), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue-700), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 19px; color: var(--ink-500);
  margin-top: 22px; max-width: 560px;
}
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--ink-500);
}
.hero-meta strong { display: block; font-size: 22px; color: var(--ink-900); font-weight: 600; letter-spacing: -0.02em; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--line);
  padding: 6px 12px 6px 8px; border-radius: 999px;
  font-size: 13px; color: var(--ink-700); font-weight: 500;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }

/* Hero visual — animated route map */
.route-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.route-card .tag {
  position: absolute; top: 16px; right: 16px;
  font-size: 11px; font-family: var(--font-mono);
  color: var(--ink-500);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.route-card h4 { font-size: 13px; font-weight: 600; color: var(--ink-500); margin-bottom: 18px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; }
.route-map {
  position: relative;
  height: 280px;
  background:
    linear-gradient(180deg, var(--paper-2), white);
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  font-size: 11px; color: var(--ink-700); font-weight: 600;
}
.route-pin .flag {
  width: 36px; height: 36px; border-radius: 50%;
  background: white; border: 2px solid white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 18px -6px rgba(11,18,32,.3), 0 0 0 1px var(--line);
  margin-bottom: 6px;
}
.route-pin .label-sub { color: var(--ink-400); font-weight: 500; font-size: 10px; }
.route-pin.hub .flag { background: var(--green-500); color: white; }
.route-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.route-stat {
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.route-stat .v { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.route-stat .l { font-size: 11px; color: var(--ink-500); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.route-stat.save .v { color: var(--green-600); }

/* Generic Card */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  padding: 30px 28px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-700);
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 18px;
}
.step-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--blue-700);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: 15px; }
.step .detail {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--green-600); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}

/* Calculator */
.calc-wrap { background: var(--ink-900); color: white; position: relative; }
.calc-wrap .section-head .eyebrow { color: var(--green-500); }
.calc-wrap .section-head p { color: rgba(255,255,255,.65); }
.calc {
  background: #0e1729;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.5);
}
.calc-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.calc-head > div {
  padding: 22px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.calc-head > div:first-child { border-right: 1px solid rgba(255,255,255,.08); }
.calc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.calc-inputs { padding: 32px; border-right: 1px solid rgba(255,255,255,.08); }
.calc-results { padding: 32px; background: #0a1322; }

.field { margin-bottom: 26px; }
.field-label {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 10px; font-weight: 500;
}
.field-label .num {
  font-family: var(--font-mono); font-size: 11px; color: var(--green-500); letter-spacing: 0.12em;
}
.country-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.country-chip {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  border-radius: 10px;
  padding: 10px 4px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer;
  font-size: 10.5px;
  color: rgba(255,255,255,.7);
  transition: all .15s ease;
}
.country-chip .flag-emoji { font-size: 20px; }
.country-chip:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); color: white; }
.country-chip.active {
  border-color: var(--green-500);
  background: rgba(16,185,129,.10);
  color: white;
  box-shadow: 0 0 0 1px var(--green-500);
}
.country-group {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin: 14px 0 8px;
}
.country-group:first-of-type { margin-top: 0; }

.product-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.product-tab {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  border-radius: 10px;
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 4px;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  text-align: left;
  transition: all .15s ease;
}
.product-tab .ico { font-size: 18px; }
.product-tab .name { font-size: 14px; color: white; font-weight: 500; }
.product-tab .sub { font-size: 11px; color: rgba(255,255,255,.5); }
.product-tab:hover { border-color: rgba(255,255,255,.25); }
.product-tab.active { border-color: var(--green-500); background: rgba(16,185,129,.08); }

.num-input {
  display: flex; align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  padding: 0 4px 0 14px;
  height: 48px;
}
.num-input input {
  flex: 1; background: transparent; border: 0; color: white;
  font-size: 18px; font-family: var(--font-mono); outline: none;
  font-weight: 500;
}
.num-input select {
  background: transparent; border: 0; color: rgba(255,255,255,.7);
  font-family: var(--font-mono); font-size: 13px; outline: none;
  padding: 0 8px;
}
.num-input select option { background: #0e1729; }

.slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.10);
  outline: none;
  margin-top: 18px;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-500); cursor: pointer;
  box-shadow: 0 0 0 4px rgba(16,185,129,.20);
  border: 2px solid white;
}
.slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-500); cursor: pointer; border: 2px solid white;
}
.slider-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4); margin-top: 6px; }

/* Results */
.savings-hero {
  background: linear-gradient(160deg, rgba(16,185,129,.18), rgba(16,185,129,.04));
  border: 1px solid rgba(16,185,129,.30);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 22px;
}
.savings-hero .l {
  font-family: var(--font-mono); font-size: 11px; color: var(--green-500);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.savings-hero .big {
  font-size: 52px; font-weight: 600; letter-spacing: -0.035em;
  margin-top: 10px;
  color: white;
  font-feature-settings: "tnum";
}
.savings-hero .big .currency { color: var(--green-500); font-size: 28px; vertical-align: top; margin-right: 4px; font-weight: 500; }
.savings-hero .sub {
  margin-top: 6px; color: rgba(255,255,255,.7); font-size: 14px;
}
.savings-pct {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-500); color: #04231a;
  padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  margin-top: 12px;
}

.breakdown {
  display: grid; gap: 6px;
}
.breakdown-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  font-size: 13px;
}
.breakdown-row.head {
  font-family: var(--font-mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,.45);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 8px;
}
.breakdown-row .lbl { color: rgba(255,255,255,.72); }
.breakdown-row .unit, .breakdown-row .annual {
  font-family: var(--font-mono); color: white; font-variant-numeric: tabular-nums;
  text-align: right; min-width: 80px;
}
.breakdown-row.savings { background: rgba(16,185,129,.06); margin: 6px -10px 0; padding: 12px 10px; border-radius: 8px; border-bottom: 0; }
.breakdown-row.savings .lbl { color: var(--green-500); font-weight: 600; }
.breakdown-row.savings .unit, .breakdown-row.savings .annual { color: var(--green-500); font-weight: 600; }
.breakdown-row.total { font-weight: 600; border-bottom: 0; border-top: 1px solid rgba(255,255,255,.18); margin-top: 4px; padding-top: 12px; }
.breakdown-row.total .lbl { color: white; }
.breakdown-row.tax-direct .unit, .breakdown-row.tax-direct .annual { color: #fb7185; }

.compare-toggle {
  display: inline-flex;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 18px;
}
.compare-toggle button {
  background: transparent; border: 0;
  color: rgba(255,255,255,.6);
  padding: 8px 16px;
  font-size: 12.5px; font-weight: 500;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: all .15s ease;
}
.compare-toggle button.on {
  background: white; color: var(--ink-900);
}
.compare-toggle button.on.green { background: var(--green-500); color: #04231a; }

/* Flow row inside calculator */
.calc-flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #08111f;
}
.flow-node {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 12px 14px;
}
.flow-node .f { width: 36px; height: 36px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.flow-node.hub .f { background: var(--green-500); }
.flow-node .t .top { font-size: 13px; color: white; font-weight: 600; }
.flow-node .t .bot { font-size: 11px; color: rgba(255,255,255,.5); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; }
.flow-arrow {
  height: 1px; background: linear-gradient(90deg, transparent, rgba(16,185,129,.5), transparent);
  position: relative;
  min-width: 30px;
}
.flow-arrow::after {
  content: ""; position: absolute; right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-top: 1.5px solid var(--green-500);
  border-right: 1.5px solid var(--green-500);
  transform: rotate(45deg);
}

/* Cases */
.cases {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.case {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.case-head { display: flex; align-items: center; gap: 14px; }
.case-logo {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--blue-700); font-size: 18px;
  letter-spacing: -0.02em;
}
.case-name { font-weight: 600; font-size: 16px; }
.case-sub { font-size: 13px; color: var(--ink-500); }
.case-route {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-family: var(--font-mono); color: var(--ink-500);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-left: auto;
}
.case-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  background: var(--paper-2); border-radius: var(--radius-sm); padding: 14px;
}
.case-metric .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-500); font-family: var(--font-mono); }
.case-metric .v { font-size: 19px; font-weight: 600; margin-top: 3px; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.case-metric.save .v { color: var(--green-600); }
.case-quote { font-size: 15px; line-height: 1.55; color: var(--ink-700); border-left: 2px solid var(--green-500); padding-left: 14px; }
.case-quote .who { font-size: 12.5px; color: var(--ink-500); margin-top: 8px; font-style: normal; }

/* About */
.about {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.about-copy p { color: var(--ink-500); margin-top: 16px; font-size: 16.5px; line-height: 1.65; }
.values { display: grid; gap: 14px; margin-top: 32px; }
.value {
  display: flex; gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.value-ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--green-50); color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.value p { font-size: 13.5px; color: var(--ink-500); margin: 0; }

.about-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, var(--paper-2) 0 12px, var(--paper-3) 12px 24px);
}
.about-img .pl {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-400); font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em;
}

/* Features */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.feature-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-50); color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature h4 { font-size: 16px; margin-bottom: 6px; font-weight: 600; }
.feature p { color: var(--ink-500); font-size: 14px; }

/* Pricing */
.pricing-wrap { background: var(--paper-2); }
.pricing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.plan {
  background: white; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex; flex-direction: column; gap: 22px;
}
.plan.featured {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: white;
  box-shadow: var(--shadow-lg);
}
.plan.featured .plan-list li { color: rgba(255,255,255,.85); }
.plan.featured .plan-list li::before { color: var(--green-500); }
.plan-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--green-500); color: #04231a;
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.plan h3 { font-size: 14px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-500); font-weight: 600; }
.plan.featured h3 { color: rgba(255,255,255,.6); }
.plan-price { font-size: 48px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.plan-price .per { font-size: 14px; color: var(--ink-500); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.plan.featured .plan-price .per { color: rgba(255,255,255,.5); }
.plan-desc { font-size: 13.5px; color: var(--ink-500); }
.plan.featured .plan-desc { color: rgba(255,255,255,.6); }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan-list li {
  font-size: 14px; color: var(--ink-700); padding-left: 24px; position: relative;
}
.plan-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-600); font-weight: 700;
}
.plan-savings {
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 13px; font-family: var(--font-mono);
  color: var(--green-600); font-weight: 600;
}
.plan.featured .plan-savings { border-color: rgba(255,255,255,.15); color: var(--green-500); }

/* Contact */
.contact {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
}
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label {
  display: block; font-size: 12.5px; color: var(--ink-700); font-weight: 500; margin-bottom: 6px;
}
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  font-family: inherit; font-size: 14.5px;
  color: var(--ink-900);
  background: white;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form textarea { padding: 12px 14px; height: auto; min-height: 100px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--ink-900);
  box-shadow: 0 0 0 3px rgba(11,18,32,.08);
}
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-500); }
.checkbox input { margin-top: 3px; }

.contact-info {
  background: var(--ink-900); color: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.contact-info h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.contact-info .row {
  display: flex; gap: 12px;
}
.contact-info .row .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.06); color: var(--green-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info .row .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-mono); color: rgba(255,255,255,.5); }
.contact-info .row .v { font-size: 15px; font-weight: 500; margin-top: 2px; }
.contact-info .map {
  margin-top: auto;
  border-radius: var(--radius);
  height: 120px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 8px, rgba(255,255,255,.02) 8px 16px);
  border: 1px dashed rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: 0.14em;
}

/* FAQ */
.faq { display: grid; gap: 8px; max-width: 880px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%; background: transparent; border: 0;
  text-align: left;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink-900);
}
.faq-q .chev {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--ink-900); color: white; border-color: var(--ink-900); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 0 24px; color: var(--ink-500); font-size: 15.5px; line-height: 1.65; max-width: 720px; }

/* Footer */
footer.site-footer {
  background: var(--ink-900); color: rgba(255,255,255,.75);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-brand .brand { color: white; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer-col h5 {
  font-size: 12px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,.5); margin-bottom: 16px; font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.75); }
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  font-size: 12px; color: rgba(255,255,255,.45);
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a:hover { color: white; }

/* CTA band */
.cta-band {
  background: linear-gradient(110deg, var(--blue-900), var(--blue-700));
  color: white;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cta-band .t { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; max-width: 600px; }
.cta-band .t b { font-weight: 700; }

/* utility */
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .calc-body { grid-template-columns: 1fr; }
  .calc-inputs { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .calc-head { grid-template-columns: 1fr; }
  .calc-head > div:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* Tweak: hide route card */
body.no-route .hero-grid { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; text-align: center; }
body.no-route .hero-grid > div:last-child { display: none; }
body.no-route .hero-lead { margin-left: auto; margin-right: auto; }
body.no-route .hero-ctas { justify-content: center; }
body.no-route .hero-meta { justify-content: center; }
body.no-route .hero-tag { margin-left: auto; margin-right: auto; }

/* Language switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.02);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.lang-btn {
  background: none;
  border: 0;
  padding: 2px 6px;
  color: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  border-radius: 999px;
  transition: color 120ms ease, background 120ms ease;
}
.lang-btn:hover { color: rgba(0, 0, 0, 0.85); }
.lang-btn.active {
  color: var(--green-600);
  background: var(--green-50);
  font-weight: 600;
}
.lang-sep { color: rgba(0, 0, 0, 0.15); }
body.dark-mode .lang-switcher {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
body.dark-mode .lang-btn { color: rgba(255, 255, 255, 0.5); }
body.dark-mode .lang-btn:hover { color: rgba(255, 255, 255, 0.9); }
body.dark-mode .lang-btn.active {
  color: var(--green-500);
  background: rgba(16, 185, 129, 0.15);
}

/* Density variants */
body.density-compact section { padding: 64px 0; }
body.density-compact .section-head { margin-bottom: 36px; }
body.density-airy section { padding: 128px 0; }
body.density-airy .section-head { margin-bottom: 64px; }
@media (max-width: 880px) {
  section { padding: 64px 0; }
  .steps, .features, .pricing { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
  .calc-flow { display: none; }
  .country-grid { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}
