/* =========================================================
   RetourHub — main stylesheet
   Colours are defined once here (change them in :root)
   ========================================================= */
:root {
  --navy-950: #070733;
  --navy-900: #0B0B57;
  --navy-800: #11117A;
  --navy-700: #1A1A8C;
  --navy-100: #E1E2F5;
  --navy-50:  #F3F4FC;
  --brand-500: #1212A6;   /* logo blue */
  --brand-600: #0C0C80;
  --brand-100: #D9DAF6;
  --brand-50:  #EEEFFC;
  --brand-light: #A9AEFF; /* blue for text on dark backgrounds */
  --green-wa: #25D366;
  --green-wa-dark: #1DA851;
  --red-500: #E5484D;
  --text: #14142E;
  --muted: #5C5E80;
  --border: #E2E8F0;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 11, 87, .06), 0 2px 8px rgba(11, 11, 87, .05);
  --shadow: 0 10px 30px -10px rgba(11, 11, 87, .18), 0 4px 10px -4px rgba(11, 11, 87, .08);
  --shadow-lg: 0 30px 60px -20px rgba(7, 7, 51, .45);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease-out), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand-500); color: var(--white); box-shadow: 0 8px 20px -8px rgba(18, 18, 166, .5); }
.btn-whatsapp { background: var(--green-wa); color: var(--white); box-shadow: 0 8px 20px -8px rgba(37, 211, 102, .7); }
.hero .btn-primary, .section-dark .btn-primary { background: var(--white); color: var(--brand-500); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .25); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--brand-600); }
  .hero .btn-primary:hover, .section-dark .btn-primary:hover { background: var(--brand-50); }
  .btn-whatsapp:hover { background: var(--green-wa-dark); }
  .btn-ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }
}

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--brand-light); }

.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 110px 0; } }
.section-alt { background: var(--navy-50); }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo-img { height: 42px; width: auto; }
.site-header .container { max-width: 1440px; }
@media (max-width: 900px) { .logo-img { height: 34px; } }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 8px 12px; white-space: nowrap; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s, background-color .2s; }
.main-nav a:hover { color: var(--navy-900); background: var(--navy-50); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 3px; background: var(--navy-50); border: 1px solid var(--border); border-radius: 999px; }
.lang-switch button {
  border: 0; background: transparent; padding: 6px 10px; min-width: 38px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--navy-900); color: var(--white); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.header-login { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 700; color: var(--navy-900); white-space: nowrap; transition: background-color .2s; }
.header-login svg { width: 18px; height: 18px; }
.header-login:hover { background: var(--navy-50); }
.main-nav a.nav-login { display: none; }
.footer-team { color: rgba(255, 255, 255, .5); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .header-login { display: none; } }

@media (max-width: 1480px) {
  .main-nav a.nav-login { display: block; color: var(--brand-500); font-weight: 800; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 20px 20px;
    background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease-out), visibility .2s;
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .main-nav a { padding: 14px 12px; font-size: 17px; border-bottom: 1px solid var(--navy-50); }
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .logo-img { height: 28px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .lang-switch button { min-width: 34px; padding: 6px 7px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(80, 90, 255, .35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(18, 18, 166, .9), transparent 70%),
    var(--navy-900);
  padding: 72px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 104px 0 128px; } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }

.hero h1 { font-size: clamp(36px, 5.6vw, 62px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .accent { color: var(--brand-light); white-space: nowrap; }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, .78); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 34px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: rgba(169, 174, 255, .2); position: relative; flex: none; }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--brand-light); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 480px) { .hero-actions .btn { width: 100%; } }

.hero-visual { position: relative; max-width: 460px; width: 100%; margin: 0 auto; padding: 28px 0; }
.parcel-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.pc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.pc-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.pc-icon svg { width: 24px; height: 24px; }
.pc-title { display: flex; flex-direction: column; min-width: 0; }
.pc-title strong { font-size: 16px; }
.pc-title small { color: var(--muted); font-size: 13px; }
.pc-status { margin-left: auto; background: #E7F8EE; color: #13804A; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pc-steps { padding-top: 18px; display: grid; gap: 16px; }
.pc-steps li { position: relative; display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.pc-steps li:not(:last-child)::before { content: ""; position: absolute; left: 8px; top: 20px; height: 20px; width: 2px; background: var(--brand-100); }
.pc-steps time { font-size: 12px; color: var(--muted); font-weight: 500; }
.dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--brand-500); background: var(--brand-500); position: relative; }
.done .dot::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.next .dot { background: var(--white); }
.next { color: var(--muted); }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--text); padding: 10px 16px; border-radius: 14px;
  font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
}
.chip-save { top: 0; right: -8px; }
.chip-save strong { color: var(--brand-500); font-size: 18px; font-weight: 800; }
.chip-wa { bottom: 0; left: -12px; }
.wa-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }
@media (max-width: 480px) { .chip-save { right: 0; } .chip-wa { left: 0; } }

/* ---------- Problem / compare ---------- */
.compare { display: grid; gap: 20px; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; gap: 28px; } }
.compare-card { border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); background: var(--white); }
.compare-card h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 22px; }
.compare-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 800; flex: none; }
.compare-card li { position: relative; padding: 12px 0 12px 30px; border-top: 1px dashed var(--border); color: var(--muted); font-weight: 500; }
.compare-card li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 9px; height: 9px; border-radius: 50%; }
.compare-bad .compare-icon { background: var(--navy-50); color: var(--muted); }
.compare-bad li::before { background: var(--muted); opacity: .45; }
.compare-good { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); box-shadow: var(--shadow); }
.compare-good .compare-icon { background: var(--white); color: var(--brand-500); }
.compare-good li { color: rgba(255, 255, 255, .85); border-top-color: rgba(255, 255, 255, .12); }
.compare-good li::before { background: var(--brand-light); }

.calc {
  margin-top: 32px; display: grid; gap: 28px; padding: 32px;
  border-radius: var(--radius-lg); background: var(--brand-50); border: 1px solid var(--brand-100);
}
@media (min-width: 820px) { .calc { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 40px; gap: 48px; } }
.calc h3 { font-size: 22px; margin-bottom: 22px; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 12px; }
.calc-label output { font-size: 26px; font-weight: 800; color: var(--navy-900); }
.calc input[type="range"] { width: 100%; accent-color: var(--brand-500); height: 28px; cursor: pointer; }
.calc-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.calc-result { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.calc-result-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.calc-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 22px; }
.calc-figures strong { display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--brand-500); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc-figures small { color: var(--muted); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  background: var(--navy-900); color: var(--white); font-weight: 800; font-size: 18px;
}
.step:last-child .step-num { background: var(--brand-500); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step-options { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.step-options li {
  position: relative; padding: 8px 10px 8px 30px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  background: var(--brand-50); color: var(--navy-900);
}
.step-options li::before {
  content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 5px; margin-top: -4px;
  border: solid var(--brand-500); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
@media (min-width: 1040px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 49px; right: -14px; width: 10px; height: 10px; z-index: 1;
    border: solid var(--brand-500); border-width: 2px 2px 0 0; transform: rotate(45deg);
  }
}

/* ---------- Benefits ---------- */
.benefits { display: grid; gap: 20px; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.benefit { padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white); transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s; }
@media (hover: hover) and (pointer: fine) {
  .benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
}
.benefit-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 20px; }
.benefit-icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 19px; margin-bottom: 8px; }
.benefit p { color: var(--muted); }

/* ---------- Subscription ---------- */
.section-dark { position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(80, 90, 255, .35), transparent 65%); pointer-events: none; }
.section-dark > .container { position: relative; }
.section-dark .section-head p { color: rgba(255, 255, 255, .75); }

.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.plan-name { font-size: 22px; font-weight: 800; }
.plan-desc { margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 22px; }
.plan-price strong { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.plan-vat { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.plan-limit { display: inline-block; align-self: flex-start; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(169, 174, 255, .16); color: var(--white); font-size: 14px; font-weight: 600; }
.plan-limit strong { font-weight: 800; }
.plan-featured .plan-limit { background: var(--brand-50); color: var(--brand-500); }
.plan-extra { display: block; margin-top: 8px; font-size: 13px; opacity: .75; }
.plan .btn { margin: 24px 0; }
.plan-features li.plan-plus { padding-left: 0; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.plan-features li.plan-plus::before, .plan-features li.plan-plus::after { display: none; }
.plan-features { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.plan-features li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .88); }
.plan-features li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(169, 174, 255, .2); }
.plan-features li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--brand-light); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-features li strong { color: var(--white); }

.plan-featured { background: var(--white); color: var(--text); border-color: var(--white); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .plan-featured { padding-top: 44px; padding-bottom: 44px; } }
.plan-featured .plan-desc, .plan-featured .plan-price span, .plan-featured .plan-vat { color: var(--muted); }
.plan-featured .plan-price strong { color: var(--brand-500); }
.plan-featured .plan-features { border-top-color: var(--border); }
.plan-featured .plan-features li { color: var(--text); }
.plan-featured .plan-features li.plan-plus { color: var(--muted); }
.plan-featured .plan-features li strong { color: var(--brand-500); }
.plan-featured .plan-features li::before { background: var(--brand-500); }
.plan-featured .plan-features li::after { border-color: var(--white); }
.section-dark .plan-featured .btn-primary { background: var(--brand-500); color: var(--white); box-shadow: 0 8px 20px -8px rgba(18, 18, 166, .5); }
@media (hover: hover) and (pointer: fine) { .section-dark .plan-featured .btn-primary:hover { background: var(--brand-600); } }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-500); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap; border: 2px solid var(--white);
}

.plans-every { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; }
.plans-every > strong { width: 100%; text-align: center; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-light); margin-bottom: 4px; }
.plans-every span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 14px; font-weight: 600; }
.plans-every span::before { content: "✓"; color: var(--brand-light); font-weight: 800; }

.plans-custom {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, .25);
}
.plans-custom h3 { font-size: 19px; }
.plans-custom p { color: rgba(255, 255, 255, .72); margin-top: 2px; }
.plans-custom-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) { .plans-custom-actions, .plans-custom-actions .btn { width: 100%; } }

/* calculator: recommended plan */
.calc-plan { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.calc-plan span { font-size: 14px; font-weight: 600; color: var(--muted); }
.calc-plan strong { font-size: 18px; color: var(--navy-900); text-align: right; }
.calc-save { margin: 6px 0 18px; font-weight: 700; color: #13804A; min-height: 1.6em; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 700; font-size: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1A33' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .25s var(--ease-out), background-color .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-100); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- WhatsApp band ---------- */
.wa-band { position: relative; isolation: isolate; background: var(--navy-50); color: var(--white); padding: 48px 0 150px; }
/* green band that melts into the light contact section below (eased fade, no hard edge) */
.wa-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, #128C4A, var(--green-wa));
  --fade: linear-gradient(180deg, #000 calc(100% - 180px), rgba(0, 0, 0, .9) calc(100% - 140px),
    rgba(0, 0, 0, .66) calc(100% - 100px), rgba(0, 0, 0, .36) calc(100% - 60px), rgba(0, 0, 0, .12) calc(100% - 25px), transparent 100%);
  -webkit-mask-image: var(--fade); mask-image: var(--fade);
}
.wa-band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.wa-band-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; flex: none; }
.wa-band-icon svg { width: 36px; height: 36px; }
.wa-band-text { flex: 1 1 320px; }
.wa-band-text h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.wa-band-text p { margin-top: 6px; color: rgba(255, 255, 255, .9); font-size: 17px; }
.wa-band .btn-whatsapp { background: var(--white); color: #128C4A; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .wa-band .btn-whatsapp:hover { background: #F0FFF5; } }
@media (max-width: 560px) { .wa-band .btn { width: 100%; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.contact-info h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.contact-info > p { margin: 16px 0 28px; color: var(--muted); font-size: 18px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.contact-card small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.contact-card strong { display: block; font-size: 16px; overflow-wrap: anywhere; }
.cc-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); flex: none; }
.cc-icon svg { width: 22px; height: 22px; }
.cc-wa { background: #E7F8EE; color: var(--green-wa-dark); }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 18px; }
@media (min-width: 600px) { .contact-form { padding: 40px; } }
.form-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--navy-50); font-size: 16px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); background: var(--white); box-shadow: 0 0 0 4px rgba(18, 18, 166, .15); }
.field.invalid input, .field.invalid textarea { border-color: var(--red-500); }
/* plan choice cards in the contact form */
.plan-pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.plan-pick legend { padding: 0; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.plan-pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .plan-pick-grid { grid-template-columns: repeat(4, 1fr); } }
.plan-opt { position: relative; display: block; cursor: pointer; }
.plan-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-opt-box {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--navy-50); transition: border-color .2s, background-color .2s, box-shadow .2s, transform .15s;
}
.plan-opt:hover .plan-opt-box { border-color: rgba(18, 18, 166, .4); background: var(--white); }
.plan-opt:active .plan-opt-box { transform: scale(.98); }
.plan-opt input:focus-visible ~ .plan-opt-box { box-shadow: 0 0 0 4px rgba(18, 18, 166, .15); }
.plan-opt input:checked ~ .plan-opt-box { border-color: var(--brand-500); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(18, 18, 166, .12); }
.plan-opt-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-opt-head strong { font-size: 16px; }
.plan-opt-check { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); transition: background-color .2s, border-color .2s; }
.plan-opt input:checked ~ .plan-opt-box .plan-opt-check {
  border-color: var(--brand-500);
  background: var(--brand-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.plan-opt-price { font-size: 13px; color: var(--muted); }
.plan-opt-price b { font-size: 20px; font-weight: 800; color: var(--brand-500); margin-right: 2px; }
.plan-opt small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.plan-opt-tag { position: absolute; top: -9px; right: 12px; padding: 1px 8px; border-radius: 999px; background: var(--brand-500); color: var(--white); font-size: 11px; font-weight: 700; }
.plan-opt-other .plan-opt-box { justify-content: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.5em; font-weight: 600; font-size: 15px; text-align: center; }
.form-status.ok { color: #13804A; }
.form-status.err { color: var(--red-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr .9fr 1.3fr .9fr; } }
.footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-social a[hidden] { display: none; }
.footer-social a { display: inline-flex; align-items: center; gap: 10px; transition: color .2s, transform .15s; }
.footer-social a:active { transform: scale(.97); }
.footer-social svg {
  width: 32px; height: 32px; padding: 6px; border-radius: 50%; color: var(--white);
  background: linear-gradient(45deg, #F9A13A, #E1306C 50%, #8A3AB9);
}
.footer-social svg.fb { padding: 5px; background: #1877F2; }
.footer-social svg.tt { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.site-footer li { margin-bottom: 10px; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--brand-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .5); }

/* ---------- Floating buttons ---------- */
.floating { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: flex-end; gap: 12px; }
.fab {
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; position: relative;
  box-shadow: 0 12px 28px -8px rgba(7, 7, 51, .45); transition: transform .2s var(--ease-out);
}
.fab:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .fab:hover { transform: translateY(-2px); } }
.fab svg { width: 28px; height: 28px; }
.fab-wa { background: var(--green-wa); color: var(--white); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green-wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
.fab-label { position: absolute; top: -6px; right: -6px; background: var(--navy-900); color: var(--white); font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 999px; border: 2px solid var(--white); }
.fab-chat { background: var(--brand-500); color: var(--white); }
.fab-chat .ico-close { display: none; width: 24px; height: 24px; }
.fab-chat[aria-expanded="true"] .ico-open { display: none; }
.fab-chat[aria-expanded="true"] .ico-close { display: block; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Chat panel ---------- */
.chat-panel {
  position: absolute; right: 0; bottom: 76px; width: 370px; max-width: calc(100vw - 40px);
  height: min(560px, calc(100vh - 120px)); height: min(560px, calc(100dvh - 120px));
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
  transform-origin: bottom right; animation: chatIn .25s var(--ease-out);
}
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy-900); color: var(--white); }
.chat-head small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.chat-head small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green-wa); margin-right: 6px; vertical-align: 1px; }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-500); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.chat-close { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .1); color: var(--white); font-size: 22px; line-height: 1; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--navy-50); display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; animation: msgIn .2s var(--ease-out); }
@keyframes msgIn { from { opacity: 0; transform: translateY(4px); } }
.msg-bot { background: var(--white); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-user { background: var(--brand-500); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg .btn { margin-top: 10px; padding: 9px 14px; font-size: 14px; white-space: normal; }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; } }
.chat-quick { display: flex; gap: 8px; padding: 10px 14px; overflow-x: auto; border-top: 1px solid var(--border); background: var(--white); scrollbar-width: none; }
.chat-quick::-webkit-scrollbar { display: none; }
.chat-quick button { flex: none; border: 1.5px solid var(--navy-100); background: var(--white); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--navy-800); cursor: pointer; transition: border-color .2s, background-color .2s; }
.chat-quick button:hover { border-color: var(--brand-500); background: var(--brand-50); }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--white); }
.chat-input input { flex: 1; min-width: 0; border: 1.5px solid var(--border); border-radius: 999px; padding: 10px 16px; font-size: 16px; background: var(--navy-50); }
.chat-input input:focus { outline: none; border-color: var(--brand-500); background: var(--white); }
.chat-input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand-500); color: var(--white); display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-input button svg { width: 20px; height: 20px; }

@media (max-width: 480px) {
  .floating { right: 14px; bottom: 14px; }
  .fab { width: 56px; height: 56px; }
  .chat-panel { position: fixed; right: 10px; left: 10px; width: auto; max-width: none; bottom: 84px; height: calc(100dvh - 100px); }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Cookie notice (js/cookies.js): full-width bar at the top ---------- */
.cookie-note {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100;
  background: var(--white); color: var(--text); border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 40px -16px rgba(7, 7, 51, .35);
  opacity: 0; transform: translateY(-100%); transition: opacity .3s ease, transform .3s ease;
}
.cookie-note.is-shown { opacity: 1; transform: none; }
.cookie-note.is-leaving { opacity: 0; transform: translateY(-100%); }
.cookie-note-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; padding-top: 18px; padding-bottom: 18px; }
.cookie-note strong { display: block; font-size: 17px; margin-bottom: 4px; }
.cookie-note p { margin: 0; max-width: 720px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.cookie-note-actions { display: flex; flex: none; align-items: center; gap: 20px; }
.cookie-note-actions .btn { min-width: 140px; }
.cookie-note-more { font-size: 14px; font-weight: 700; color: var(--brand-500); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .cookie-note-inner { flex-direction: column; align-items: stretch; padding-top: 16px; padding-bottom: 16px; }
  .cookie-note-actions { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .cookie-note { transition: none; } }
