/* =========================================================================
   OptimizaBnB — hoja de estilos compartida
   Paleta: arena mediterránea + terracota. Tipografía: Fraunces + Inter.
   ========================================================================= */

:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --sand: #F2ECE2;
  --sand-2: #E9E0D2;
  --line: #E3DACB;
  --ink: #1C1915;
  --ink-2: #47413A;
  --muted: #776E63;
  --accent: #B4502C;
  --accent-hover: #963F20;
  --accent-soft: #F6E4DA;
  --olive: #4E5B3E;
  --olive-soft: #E6EAD9;
  --deep: #1E2621;
  --deep-2: #2A342E;
  --on-deep: #F4EFE7;
  --on-deep-muted: #B9B4A9;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 21, .06);
  --shadow: 0 10px 30px -12px rgba(28, 25, 21, .18);
  --shadow-lg: 0 30px 60px -25px rgba(28, 25, 21, .35);

  --container: 1180px;
  --gutter: 24px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; margin: 0; color: var(--ink); font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; line-height: 1.25; font-variation-settings: "opsz" 36; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(180, 80, 44, .7); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--on-deep); color: var(--deep); }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo b { font-weight: 600; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--muted); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang:hover { color: var(--ink); border-color: var(--ink-2); }
.hamburger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; margin-right: -10px; }
.hamburger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .hamburger span:nth-child(2) { opacity: 0; }
.nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-cta-mobile { display: none; }

/* ---------- Secciones ---------- */
section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { margin: 16px 0 18px; }
.bg-sand { background: var(--sand); }
.bg-deep { background: var(--deep); color: var(--on-deep); }
.bg-deep h2, .bg-deep h3 { color: var(--on-deep); }
.bg-deep .lead, .bg-deep .muted { color: var(--on-deep-muted); }
.bg-deep .eyebrow, .bg-deep h2 em { color: #E8A383; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 96px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin: 20px 0 24px; }
.hero .lead { max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; font-size: .93rem; color: var(--ink-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--olive); flex: none; }

.hero-visual { position: relative; padding: 0 0 56px 56px; }
.hero-after { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; background: var(--sand-2); }
.hero-after img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.hero-before {
  position: absolute; left: 0; bottom: 0; width: 46%;
  background: var(--surface); padding: 8px 8px 12px; border-radius: 12px;
  box-shadow: var(--shadow); transform: rotate(-3deg);
}
.hero-before img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; filter: saturate(.9); }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--ink);
}
.tag-accent { background: var(--accent); color: #fff; }
.hero-before .tag { position: static; margin-top: 10px; padding: 0 4px; background: none; color: var(--muted); }
.hero-after .tag { position: absolute; top: 18px; right: 18px; }
.hero-note {
  position: absolute; top: 28px; left: 18px;
  background: var(--surface); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.3;
}
.hero-note strong { display: block; font-size: 1.05rem; }
.hero-note .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); display: grid; place-items: center; flex: none; }

/* ---------- Franja de confianza ---------- */
.strip { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip-item { display: flex; flex-direction: column; gap: 2px; }
.strip-item strong { font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; }
.strip-item span { font-size: .9rem; color: var(--muted); }

/* ---------- Problema ---------- */
.problem-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.problem-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.problem-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.problem-item .num { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); padding-top: 4px; }
.problem-item h3 { margin-bottom: 8px; }
.problem-item p { color: var(--ink-2); }

/* ---------- Antes / después ---------- */
.ba-grid { display: grid; gap: 28px; }
.ba-card { display: grid; grid-template-columns: 1fr 1.7fr; gap: 14px; background: var(--surface); padding: 14px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.ba-card figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--sand); }
.ba-card img { width: 100%; height: 100%; object-fit: cover; }
.ba-card .before { aspect-ratio: auto; }
.ba-card .tag { position: absolute; top: 12px; left: 12px; }
.ba-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; color: #fff; font-size: .88rem; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); }
.ba-meta { display: flex; justify-content: space-between; gap: 16px; padding: 4px 6px 0; grid-column: 1 / -1; font-size: .9rem; color: var(--muted); }
.ba-meta strong { color: var(--ink); font-weight: 600; }
.ba-note { margin-top: 26px; font-size: .92rem; color: var(--muted); max-width: 760px; }

/* ---------- Servicio ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; display: flex; flex-direction: column; gap: 14px;
}
.service .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.service p { color: var(--ink-2); }
.service ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.service li { display: flex; gap: 10px; }
.service li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; border-radius: 50%; background: var(--accent); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 34px 30px 32px; border-radius: var(--radius-lg); background: var(--deep-2); border: 1px solid rgba(255,255,255,.06); }
.step .when { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #E8A383; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--on-deep-muted); font-size: .98rem; }
.step-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: rgba(255,255,255,.08); }
.process-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 48px; }
.process-cta p { color: var(--on-deep-muted); }

/* ---------- Para quién ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit { border-radius: var(--radius-lg); padding: 38px; }
.fit-yes { background: var(--surface); border: 1px solid var(--line); }
.fit-no { background: transparent; border: 1.5px dashed var(--sand-2); }
.fit h3 { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.fit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.fit li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.fit li svg { margin-top: 3px; }
.fit-yes li svg { color: var(--olive); }
.fit-no li svg { color: var(--muted); }

/* ---------- Estimador (banda) ---------- */
.estimator-band { padding: 0; }
.estimator-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: 56px;
  position: relative; overflow: hidden;
}
.estimator-card::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.07);
}
.estimator-card h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.estimator-card p { color: rgba(255,255,255,.85); }
.estimator-card .btn { position: relative; z-index: 1; justify-self: end; }
.estimator-card .btn-light { color: var(--accent-hover); }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 30px; background: var(--ink); color: var(--bg); font-size: .75rem; font-weight: 600; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; }
.plan-name { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan h3 { margin: 8px 0 10px; font-size: 1.55rem; }
.plan .desc { color: var(--ink-2); font-size: .96rem; min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 4px; }
.price strong { font-family: var(--font-display); font-weight: 500; font-size: 3.2rem; letter-spacing: -0.03em; line-height: 1; }
.price span { font-size: 1.2rem; color: var(--ink-2); }
.price-note { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 0 0 30px; border-top: 1px solid var(--line); display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.plan li svg { color: var(--olive); margin-top: 3px; }
.plan li.off { color: #B3AA9E; }
.plan li.off svg { color: #CFC6B8; }
.plans-foot { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 30px; align-items: center; padding: 22px 28px; border-radius: var(--radius); background: var(--sand); }
.plans-foot p { color: var(--ink-2); }
.plans-foot a { font-weight: 600; color: var(--accent); text-decoration: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.35; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); transition: transform .25s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details > div { padding: 0 44px 26px 0; color: var(--ink-2); }
.faq-list details > div p + p { margin-top: 10px; }

/* ---------- Blog (teaser) ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .cat { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.post-card h3 { font-size: 1.2rem; }
.post-card p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.post-card .more { font-weight: 600; font-size: .93rem; color: var(--accent); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.contact-points li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.contact-points .ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #E8A383; }
.contact-points strong { display: block; color: var(--on-deep); font-weight: 600; margin-bottom: 2px; }
.contact-points p { color: var(--on-deep-muted); font-size: .96rem; }
.form-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px;
  transition: border-color .15s, background .15s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2347413A' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-note { margin-top: 14px; font-size: .84rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: var(--on-deep-muted); padding: 64px 0 36px; font-size: .94rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .logo { color: var(--on-deep); }
.footer .logo b { color: #E8A383; }
.footer p.about { margin-top: 16px; max-width: 320px; }
.footer h4 { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-deep); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .85rem; }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { gap: 22px; }
  .hero-grid { gap: 44px; }
  .problem-grid, .faq-grid, .contact-grid { gap: 48px; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; --nav-h: 62px; }
  body { font-size: 16px; }
  section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }

  .hamburger { display: block; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
    background: var(--bg); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto;
  }
  .nav.open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 18px 0; font-size: 1.15rem; color: var(--ink); }
  .nav-links .nav-cta-mobile { display: block; border: 0; padding-top: 24px; }
  .nav-links .nav-cta-mobile a { color: #fff; padding: 16px; font-size: 1rem; }

  .hero { padding: 36px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding: 0 0 44px 28px; max-width: 560px; }
  .hero-after { aspect-ratio: 4 / 3.4; }
  .hero-note { top: 16px; left: 0; padding: 10px 14px; font-size: .82rem; }
  .hero-note .dot { width: 32px; height: 32px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }

  .problem-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid, .fit-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .estimator-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 26px; }
  .estimator-card .btn { justify-self: start; }

  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan.featured { order: -1; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }
  h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .ba-card { grid-template-columns: 1fr; }
  .ba-card .before { aspect-ratio: 16 / 10; }
  .ba-meta { flex-direction: column; gap: 2px; }
  .service, .fit, .form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .problem-item { grid-template-columns: 36px 1fr; gap: 12px; }
  .faq-list summary { font-size: 1.08rem; }
  .plans-foot { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Dos caminos (OptimizaBnB / Travel Capital) ---------- */
#dos-caminos + .estimator-band { padding-top: 110px; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.path--tc { border-color: #CBD4B8; box-shadow: inset 0 5px 0 var(--olive); }
.path-tag { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.path--tc .path-tag { color: var(--olive); }
.path h3 { font-size: 1.55rem; }
.path p { color: var(--ink-2); }
.path-points { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; }
.path-points li { display: flex; gap: 10px; align-items: baseline; color: var(--ink); font-weight: 500; font-size: .98rem; }
.path-points li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.path--tc .path-points li::before { background: var(--olive); }
.path small { font-size: .8rem; color: var(--muted); }
.path .btn { margin-top: auto; }
.btn-olive { background: var(--olive); color: #fff; }
.btn-olive:hover { background: #3E4A31; }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } .path { padding: 28px 24px; } .path .btn { width: 100%; } #dos-caminos + .estimator-band { padding-top: 80px; } }

/* ---------- Consentimiento de cookies ---------- */
.ck-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 980px; margin: 0 auto; display: flex; gap: 18px 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 24px; }
.ck-banner[hidden], .ck-modal[hidden] { display: none; }
.ck-text strong { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.ck-text p { font-size: .9rem; color: var(--ink-2); margin-top: 4px; }
.ck-text a { color: var(--accent); }
.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.ck-modal { position: fixed; inset: 0; z-index: 95; background: rgba(28,25,21,.45); display: grid; place-items: center; padding: 16px; }
.ck-panel { background: var(--surface); border-radius: var(--radius-lg); padding: 30px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; }
.ck-panel h2 { font-size: 1.5rem; margin-bottom: 8px; }
.ck-panel > p { font-size: .92rem; color: var(--ink-2); margin-bottom: 14px; }
.ck-row { display: flex; gap: 18px; justify-content: space-between; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.ck-row strong { font-size: .95rem; }
.ck-row p { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.ck-panel .ck-actions { margin-top: 18px; justify-content: flex-end; }
.ck-switch { position: relative; flex: none; width: 44px; height: 26px; }
.ck-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.ck-switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--sand-2); transition: background .2s; }
.ck-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.ck-switch input:checked + span { background: var(--olive); }
.ck-switch input:checked + span::after { transform: translateX(18px); }
.ck-switch input:disabled { cursor: not-allowed; }
.ck-switch input:disabled + span { opacity: .6; }
.ck-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) { .ck-banner { flex-direction: column; align-items: stretch; padding: 18px; } .ck-actions .btn { flex: 1; } }

/* ---------- Consentimiento del formulario y enlaces legales ---------- */
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 4px 0 18px; font-size: .85rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.consent a { color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
