/* =========================================================
   KOI Agency · estilos globales
   Mobile first. Colores y tipografía de la web actual.
   ========================================================= */
:root {
  --koi-morado: #301E67;
  --koi-morado-medio: #4B2E8F;
  --koi-azul: #93C3FF;
  --koi-azul-hover: #7DB3F5;
  --koi-blanco: #FFFFFF;
  --koi-gris-fondo: #F8F9FA;
  --koi-linea: #E6E3F0;
  --koi-texto: #333333;
  --koi-texto-suave: #666666;
  --koi-verde: #4CAF50;
  --koi-whatsapp: #25D366;
  --koi-degradado: linear-gradient(135deg, #93C3FF 0%, #301E67 100%);
  --koi-degradado-morado: linear-gradient(135deg, #301E67 0%, #4B2E8F 100%);
  --koi-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --koi-radio-boton: 6px;
  --koi-radio-tarjeta: 20px;
  --koi-sombra: 0 8px 32px rgba(48, 30, 103, .08);
  --koi-sombra-hover: 0 16px 40px rgba(48, 30, 103, .14);
  --header-h: 68px;
  --gutter: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--koi-blanco); color: var(--koi-texto);
  font-family: var(--koi-font); font-size: 16px; line-height: 1.6; font-weight: 400;
  overflow-x: hidden;
}
img, video, iframe, svg { display: block; max-width: 100%; }
a { color: var(--koi-morado-medio); text-underline-offset: 3px; }
a:hover { color: var(--koi-morado); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { color: var(--koi-morado); margin: 0 0 .5em; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--koi-azul); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--koi-morado); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 8px; }

/* Datos pendientes de completar por KOI */
mark.todo {
  background: #FFE95C; color: #3D3200; font-weight: 600; font-size: .9em;
  padding: .05em .35em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.section { padding-block: 56px; }
.section-alt { background: var(--koi-gris-fondo); }
.section-dark { background: var(--koi-degradado-morado); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--koi-texto-suave); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255,255,255,.82); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--koi-morado-medio); margin-bottom: 10px;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--koi-azul); }
.lead { font-size: 1.1rem; color: var(--koi-texto-suave); }
.grid { display: grid; gap: 20px; }
.split { display: grid; gap: 32px; align-items: center; }
.center { text-align: center; }
.mt { margin-top: 32px; }
@media (min-width: 720px) {
  .section { padding-block: 80px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 24px; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1.2 var(--koi-font); padding: 13px 28px; min-height: 48px;
  border-radius: var(--koi-radio-boton); border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: background .3s ease, transform .3s ease, box-shadow .3s ease, color .3s ease;
  text-align: center;
}
.btn-primary { background: var(--koi-azul); color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.15); text-shadow: 0 1px 2px rgba(48,30,103,.35); }
.btn-primary:hover { background: var(--koi-azul-hover); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: #3A0D6B; border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-line { background: transparent; color: var(--koi-morado); border-color: var(--koi-morado); }
.btn-line:hover { background: var(--koi-morado); color: #fff; }
.btn-wa { background: var(--koi-whatsapp); color: #fff; }
.btn-wa:hover { background: #1EBE5A; color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--koi-morado); text-decoration: none; }
.link-arrow:hover { gap: 10px; }
.link-arrow .icon { transition: transform .3s ease; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease;
}
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  font-weight: 600; font-size: 1.45rem; letter-spacing: 2px; color: #fff; text-decoration: none; white-space: nowrap;
}
.logo:hover { color: #fff; }
.site-header.is-solid, body.menu-open .site-header { background: #fff; box-shadow: 0 2px 20px rgba(48,30,103,.08); }
.site-header.is-solid .logo, body.menu-open .site-header .logo { color: var(--koi-morado); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: 0; color: #fff; cursor: pointer; border-radius: 8px;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.site-header.is-solid .nav-toggle, body.menu-open .nav-toggle { color: var(--koi-morado); }
.nav-toggle-close, body.menu-open .nav-toggle-open { display: none; }
body.menu-open .nav-toggle-close { display: inline; }

/* menú móvil */
.nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px var(--gutter) 32px;
  overflow-y: auto; display: none; flex-direction: column; gap: 20px;
}
body.menu-open { overflow: hidden; }
body.menu-open .nav { display: flex; }
.nav-list > li { border-bottom: 1px solid var(--koi-linea); }
.nav-list a, .sub-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 4px; font: 500 1.05rem var(--koi-font); color: var(--koi-morado); text-decoration: none;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.nav-list a[aria-current="page"] { color: var(--koi-morado-medio); font-weight: 700; }
.sub-toggle .icon { transition: transform .3s ease; }
.has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
.sub { display: none; padding: 0 0 10px 12px; }
.has-sub.open .sub { display: block; }
.sub a { padding: 10px 4px; font-size: 1rem; color: var(--koi-texto); }
.nav-actions { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.lang { display: flex; gap: 8px; justify-content: center; align-items: center; font-weight: 600; font-size: .95rem; color: var(--koi-texto-suave); }
.lang a { color: var(--koi-texto-suave); text-decoration: none; padding: 6px; }
.lang a:hover { color: var(--koi-morado); }
.lang-current { color: var(--koi-morado); padding: 6px; }

@media (min-width: 1080px) {
  :root { --header-h: 80px; }
  .logo { font-size: 1.8rem; }
  .nav-toggle { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 28px;
    background: none; padding: 0; overflow: visible;
  }
  .nav-list { display: flex; gap: 4px; align-items: center; }
  .nav-list > li { border: 0; position: relative; }
  .nav-list a, .sub-toggle { padding: 10px 12px; font-size: .95rem; color: #fff; width: auto; gap: 4px; }
  .nav-list a:hover, .sub-toggle:hover { color: var(--koi-azul); }
  .site-header.is-solid .nav-list > li > a, .site-header.is-solid .sub-toggle { color: var(--koi-morado); }
  .site-header.is-solid .nav-list > li > a:hover, .site-header.is-solid .sub-toggle:hover { color: var(--koi-morado-medio); }
  .nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--koi-azul); }
  .sub {
    position: absolute; top: 100%; left: 0; min-width: 210px; padding: 10px; background: #fff;
    border-radius: 12px; box-shadow: var(--koi-sombra-hover);
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
  .sub a { color: var(--koi-morado) !important; padding: 10px 12px; border-radius: 8px; }
  .sub a:hover { background: var(--koi-gris-fondo); }
  .nav-actions { flex-direction: row; align-items: center; gap: 18px; }
  .nav-actions .btn { padding: 11px 22px; min-height: 44px; }
  .lang, .lang a { color: rgba(255,255,255,.75); }
  .lang-current { color: #fff; }
  .site-header.is-solid .lang, .site-header.is-solid .lang a { color: var(--koi-texto-suave); }
  .site-header.is-solid .lang-current { color: var(--koi-morado); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; display: flex; align-items: center; overflow: hidden;
  min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 110px;
  background: #301E67;
}
.hero-sm { min-height: 78svh; }
.hero-media, .hero-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Torremolinos: foto vertical; en pantallas anchas se centra en la barca con el nombre */
@media (min-width: 700px) { .hero-media[src*="torremolinos-barca-espetos-flores"] { object-position: center 72%; } }
/* respaldo visual mientras no estén el vídeo y las fotos */
.hero-ph { background: radial-gradient(120% 80% at 85% 10%, #93C3FF 0%, rgba(147,195,255,0) 55%), linear-gradient(160deg, #4B2E8F 0%, #301E67 55%, #1d1240 100%); }
.hero-ph::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: repeating-linear-gradient(175deg, rgba(255,255,255,.06) 0 2px, transparent 2px 22px);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(48,30,103,.55) 0%, rgba(48,30,103,.38) 45%, rgba(48,30,103,.62) 100%); }
.hero-in { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 18px; }
.hero-sm h1 { max-width: 20ch; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 56ch; font-size: clamp(1.02rem, 2vw, 1.2rem); margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .92rem; color: rgba(255,255,255,.9); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--koi-azul); }
.media-note {
  position: absolute; z-index: 2; right: 12px; top: calc(var(--header-h) + 8px); font-size: .72rem; color: rgba(255,255,255,.75);
  background: rgba(0,0,0,.25); padding: 4px 8px; border-radius: 6px;
}
.breadcrumb { font-size: .85rem; margin-bottom: 18px; color: rgba(255,255,255,.8); }
.breadcrumb a { color: #fff; }

/* ---------- Tarjetas ---------- */
.card {
  position: relative; background: #fff; border-radius: var(--koi-radio-tarjeta); box-shadow: var(--koi-sombra);
  padding: 28px 24px; overflow: hidden;
}
.card-hover { transition: transform .3s ease, box-shadow .3s ease; }
.card-hover::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--koi-degradado);
  opacity: 0; transition: opacity .3s ease;
}
.card-hover:hover { transform: translateY(-8px); box-shadow: var(--koi-sombra-hover); }
.card-hover:hover::before { opacity: 1; }
.card p { color: var(--koi-texto-suave); font-size: .96rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(147,195,255,.22); color: var(--koi-morado-medio);
}
.card-icon .icon { width: 26px; height: 26px; }

/* puntos "por qué" */
.why { display: grid; gap: 20px; }
.why-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.why-item .card-icon { margin: 0; }
.why-item h3 { margin-bottom: 4px; }
.why-item p { color: var(--koi-texto-suave); }
@media (min-width: 900px) { .why { grid-template-columns: repeat(3, 1fr); gap: 32px; } .why-item { grid-template-columns: 1fr; } }

.partners { display: flex; gap: 12px; align-items: center; margin-top: 28px; justify-content: center; flex-wrap: wrap; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--koi-degradado); color: #fff; border: 3px solid #fff; box-shadow: var(--koi-sombra);
}
.avatar .icon { width: 28px; height: 28px; }
.partners .avatar + .avatar { margin-left: -22px; }
.partners p { margin: 0 0 0 8px; font-size: .95rem; color: var(--koi-texto-suave); }

/* ---------- Fotos (marcadores hasta tener las reales) ---------- */
.photo {
  position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, #93C3FF 0%, #4B2E8F 70%, #301E67 100%);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph { display: grid; place-items: center; color: rgba(255,255,255,.9); text-align: center; padding: 12px; }
.photo-ph .icon { width: 30px; height: 30px; margin: 0 auto 6px; opacity: .8; }
.photo-ph small { display: block; font-size: .72rem; opacity: .85; word-break: break-all; }

/* Zonas */
.zones { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .zones { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .zones { grid-template-columns: repeat(5, 1fr); } }
.zone {
  position: relative; display: block; border-radius: var(--koi-radio-tarjeta); overflow: hidden; color: #fff; text-decoration: none;
  box-shadow: var(--koi-sombra); transition: transform .3s ease, box-shadow .3s ease; min-height: 220px;
}
.zone .photo { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.zone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,30,103,0) 30%, rgba(48,30,103,.88) 100%); }
.zone-txt { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; }
.zone-txt strong { display: block; font-size: 1.25rem; font-weight: 700; }
.zone-txt span { font-size: .88rem; opacity: .9; display: flex; align-items: center; gap: 6px; }
.zone:hover { transform: translateY(-8px); box-shadow: var(--koi-sombra-hover); color: #fff; }
@media (min-width: 1000px) { .zone { min-height: 320px; } }
/* ---------- Calculadora ---------- */

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: .88rem; font-weight: 600; color: var(--koi-morado); padding: 0; }
input, select, textarea {
  width: 100%; font: 400 16px var(--koi-font); color: var(--koi-texto); background: #fff;
  border: 1.5px solid #D9D5E6; border-radius: 8px; padding: 12px 14px; min-height: 48px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--koi-azul-hover); box-shadow: 0 0 0 3px rgba(147,195,255,.35); }
input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; accent-color: var(--koi-morado-medio); margin: 0; flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks legend { margin-bottom: 8px; width: 100%; }
.checks label, .consent { display: flex; gap: 10px; align-items: center; font-size: .95rem; cursor: pointer; }
.consent { font-size: .85rem; color: var(--koi-texto-suave); margin: 4px 0 18px; align-items: flex-start; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-msg { margin: 12px 0 0; font-size: .92rem; font-weight: 500; min-height: 1em; }
.form-msg.ok { color: #2E7D32; }
.form-msg.err { color: #C62828; }
.field.invalid input, .field.invalid select { border-color: #C62828; }

/* ---------- Pasos ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { position: relative; padding: 28px 24px 24px; }
.step::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: 20px; right: 22px; font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: rgba(147,195,255,.45);
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Opiniones ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-bottom: 32px; }
.stars { display: inline-flex; gap: 2px; color: #F5B400; }
.stars .icon { width: 20px; height: 20px; }
.google-score { display: inline-flex; flex-wrap: wrap; justify-content: center; text-align: center; align-items: center; gap: 6px 10px; max-width: 100%; background: #fff; padding: 10px 18px; border-radius: 20px; box-shadow: var(--koi-sombra); font-weight: 600; color: var(--koi-morado); }
.review blockquote { margin: 14px 0 18px; font-size: 1rem; color: var(--koi-texto); font-style: normal; }
.review footer { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.review footer .avatar { width: 44px; height: 44px; border-width: 2px; }
.review footer .avatar .icon { width: 20px; height: 20px; }
.review footer strong { display: block; color: var(--koi-morado); }
.review footer span { color: var(--koi-texto-suave); }

/* ---------- Banda edificios ---------- */
.band {
  border-radius: var(--koi-radio-tarjeta); background: var(--koi-degradado); color: #fff; padding: 36px 26px;
  display: grid; gap: 22px; align-items: center; box-shadow: var(--koi-sombra-hover);
}
.band h2 { color: #fff; margin-bottom: 8px; }
.band p { color: rgba(255,255,255,.9); }
@media (min-width: 860px) { .band { grid-template-columns: 1fr auto; padding: 48px 56px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 14px; box-shadow: var(--koi-sombra); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 600; color: var(--koi-morado);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(147,195,255,.25); transition: transform .3s ease; }
.faq-icon .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 20px 20px; color: var(--koi-texto-suave); }

/* ---------- Cierre / contacto ---------- */
.contact-list { display: grid; gap: 16px; margin: 24px 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .card-icon { width: 44px; height: 44px; margin: 0; }
.contact-list .card-icon .icon { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--koi-morado); font-size: .95rem; }
.contact-list a, .contact-list span { color: var(--koi-texto-suave); text-decoration: none; }
.contact-list a:hover { color: var(--koi-morado); }
.section-dark .contact-list strong { color: #fff; }
.section-dark .contact-list a, .section-dark .contact-list span { color: rgba(255,255,255,.85); }
.section-dark .contact-list .card-icon { background: rgba(255,255,255,.12); color: var(--koi-azul); }
.section-dark .form { color: var(--koi-texto); }

/* ---------- Municipio ---------- */
.facts { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.fact { background: #fff; border-radius: 14px; padding: 18px; box-shadow: var(--koi-sombra); }
.fact .icon { color: var(--koi-morado-medio); width: 24px; height: 24px; margin-bottom: 8px; }
.fact strong { display: block; color: var(--koi-morado); font-size: 1rem; }
.fact span { font-size: .88rem; color: var(--koi-texto-suave); }
.season { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 120px; margin-top: 8px; }
.season div { background: var(--koi-azul); border-radius: 4px 4px 0 0; position: relative; }
.season div.peak { background: var(--koi-morado-medio); }
.season-labels { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; font-size: .7rem; text-align: center; color: var(--koi-texto-suave); margin-top: 6px; }
.legend { display: flex; gap: 18px; font-size: .82rem; color: var(--koi-texto-suave); margin-top: 12px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.barrios { display: grid; gap: 14px; }
.barrio { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; }
.barrio .num { width: 36px; height: 36px; border-radius: 50%; background: var(--koi-morado); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.barrio h3 { margin-bottom: 2px; font-size: 1.05rem; }
.barrio p { font-size: .92rem; margin: 0; }
.map { border-radius: var(--koi-radio-tarjeta); overflow: hidden; box-shadow: var(--koi-sombra); background: #E9EEF7; }
.map svg { width: 100%; height: auto; }
.map figcaption { font-size: .8rem; color: var(--koi-texto-suave); padding: 10px 16px; background: #fff; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--koi-verde); margin-top: 3px; }
.notice { border-left: 4px solid var(--koi-azul); background: var(--koi-gris-fondo); padding: 16px 18px; border-radius: 0 12px 12px 0; font-size: .92rem; color: var(--koi-texto-suave); }
.props { display: grid; gap: 20px; }
@media (min-width: 640px) { .props { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .props { grid-template-columns: repeat(3, 1fr); } }
.prop { padding: 0; border-radius: 15px; }
.prop .photo { border-radius: 0; aspect-ratio: 16 / 11; }
.prop-body { padding: 18px 20px 20px; }
.prop-body h3 { margin-bottom: 4px; }
.prop-meta { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--koi-texto-suave); }
.prop-meta .stars .icon { width: 16px; height: 16px; }
.quote-big { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-big blockquote { font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 500; color: #fff; margin: 18px 0 22px; line-height: 1.5; }
.quote-big .stars { display: flex; justify-content: center; margin-top: 4px; }
.quote-big .eyebrow { display: block; }
.neighbors { display: grid; gap: 16px; }
@media (min-width: 720px) { .neighbors { grid-template-columns: repeat(3, 1fr); } }
.neighbor { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; }
.neighbor strong { color: var(--koi-morado); font-size: 1.05rem; display: block; }
.neighbor span { font-size: .88rem; color: var(--koi-texto-suave); }
.neighbor .icon { color: var(--koi-morado-medio); }
.distance { display: flex; gap: 14px; align-items: center; padding: 18px 20px; margin-top: 8px; }
.distance .card-icon { margin: 0; }

/* ---------- Pie ---------- */
.site-footer { background: var(--koi-morado); color: rgba(255,255,255,.78); padding: 56px 0 120px; font-size: .94rem; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand .logo { display: inline-block; margin-bottom: 12px; }
.footer-brand p { max-width: 34ch; }
.footer-title { color: #fff; font-weight: 600; font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--koi-azul); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: var(--koi-azul); width: 18px; height: 18px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--koi-azul); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; display: grid; gap: 12px; font-size: .85rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer mark.todo { font-size: .72rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } .footer-bottom { grid-template-columns: 1fr auto; } .site-footer { padding-bottom: 40px; } }

/* ---------- Botones fijos ---------- */
.float-cta {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
  box-shadow: 0 -4px 20px rgba(48,30,103,.12); transform: translateY(110%); transition: transform .3s ease;
}
.float-cta.show { transform: none; }
.float-valorar { flex: 1; }
.float-wa {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--koi-whatsapp); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.4); transition: transform .3s ease;
}
.float-wa .icon { width: 28px; height: 28px; }
.float-wa:hover { transform: scale(1.06); color: #fff; }
@media (min-width: 720px) {
  .float-cta { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; box-shadow: none; transform: none; }
  .float-valorar { opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
  .float-cta.show .float-valorar { opacity: 1; pointer-events: auto; transform: none; }
  .float-wa { width: 58px; height: 58px; }
}

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 84px; background: #fff; border-radius: 14px;
  box-shadow: 0 10px 40px rgba(48,30,103,.22); padding: 16px 18px; font-size: .85rem; color: var(--koi-texto-suave);
  display: grid; gap: 12px; max-width: 440px;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-cookie { background: #fff; color: var(--koi-morado); border-color: var(--koi-morado); padding: 8px 14px; min-height: 40px; font-size: .9rem; }
.btn-cookie:hover { background: var(--koi-morado); color: #fff; }
@media (min-width: 720px) { .cookie { left: 24px; right: auto; bottom: 24px; } }

/* vídeo de portada: aparece cuando ha cargado */
.hero-media { opacity: 0; transition: opacity .8s ease; }
.hero-media.ready { opacity: 1; }
/* portada: foto de la villa fija al hacer scroll, como en la landing antigua (solo en ordenador) */
.hero-fixed { background-color: #4B2E8F; background-position: center; background-size: cover; background-repeat: no-repeat; }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) { .hero-fixed { background-attachment: fixed; } }

/* =========================================================
   Fase 3: componentes de las páginas interiores
   ========================================================= */
.hero-xs { min-height: 0; padding: calc(var(--header-h) + 48px) 0 64px; }
.hero-xs h1 { max-width: 22ch; }
.split-top { align-items: start; }

/* Tablas */
.table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.table td, .table th { padding: 11px 4px; border-bottom: 1px solid var(--koi-linea); text-align: left; vertical-align: top; }
.table td:last-child { text-align: right; white-space: nowrap; color: var(--koi-morado); font-weight: 600; }
.table tr.total td { border-bottom: 0; border-top: 2px solid var(--koi-morado); font-weight: 700; font-size: 1.02rem; color: var(--koi-morado); }
.table-wrap { overflow-x: auto; }
.table-lines th { font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--koi-texto-suave); }
.table-lines td:last-child { text-align: left; white-space: normal; color: inherit; font-weight: 400; }
.liq .label { font-size: .78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--koi-morado-medio); margin-bottom: 6px; }
.liq .calc-note { font-size: .82rem; margin-top: 14px; }

/* Calculadora completa */
.calc .calc-month { font-weight: 600; color: var(--koi-morado-medio); margin-bottom: 8px; }
.calc .calc-lic { font-size: .85rem; background: #FFF6D6; color: #5C4A00; border-radius: 8px; padding: 8px 12px; }
.calc-full { max-width: 1100px; }

/* Formulario en pasos */
.steps-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.steps-bar span { height: 5px; border-radius: 3px; background: var(--koi-linea); transition: background .3s ease; }
.steps-bar span.on { background: var(--koi-azul); }
.step-panel { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-title { font-weight: 700; color: var(--koi-morado); margin-bottom: 14px; padding: 0; font-size: 1.05rem; }
.steps-list { display: grid; gap: 16px; margin-top: 12px; }
.steps-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps-list .num { width: 36px; height: 36px; border-radius: 50%; background: var(--koi-morado); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps-list strong { color: var(--koi-morado); }
.steps-list p { color: var(--koi-texto-suave); font-size: .95rem; margin: 0; }
.form-title { font-size: 1.4rem; margin-bottom: 16px; }

/* Equipo */
.partner { padding: 0 0 24px; text-align: center; }
.partner .photo { border-radius: 0; aspect-ratio: 1 / 1; margin-bottom: 18px; }
.partner h3, .partner p { padding-inline: 20px; }
.partner-role { font-weight: 600; color: var(--koi-morado-medio) !important; margin-bottom: 6px; }
.partner p .icon { display: inline-block; vertical-align: -4px; width: 18px; height: 18px; }
.placeholder-box { text-align: center; padding: 56px 24px; border: 2px dashed #D9D5E6; box-shadow: none; }

/* Blog */
.cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.cats a { padding: 9px 18px; border-radius: 999px; background: var(--koi-gris-fondo); color: var(--koi-morado); font-weight: 600; font-size: .92rem; text-decoration: none; border: 1.5px solid var(--koi-linea); }
.cats a:hover { background: var(--koi-azul); color: #fff; border-color: var(--koi-azul); }
.cat-title { margin: 8px 0 20px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.posts { display: grid; gap: 20px; margin-bottom: 48px; }
@media (min-width: 680px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { padding: 0; display: block; text-decoration: none; color: inherit; }
.post .photo { border-radius: 0; aspect-ratio: 16 / 9; }
.post-body { padding: 20px 22px 24px; }
.post-cat { font-size: .74rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--koi-morado-medio); }
.post h3 { margin: 6px 0 8px; }
.post-todo { border: 2px dashed #D9D5E6; box-shadow: none; background: #fff; }
.post-meta { font-size: .88rem; color: rgba(255,255,255,.8); margin-top: 8px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-top: 1.6em; }
.prose > p, .prose li span { font-size: 1.04rem; }
.prose .checklist { margin: 0 0 1.2em; }
.prose .checklist .icon { color: var(--koi-morado-medio); }
.prose .faq { margin: 0; }
.blog-cta { margin: 0 auto; max-width: 1000px; }

/* Legales (sin cabecera de foto) */
.legal-head { padding-top: calc(var(--header-h) + 48px); padding-bottom: 0; background: var(--koi-gris-fondo); }
.legal-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); padding-bottom: 32px; margin: 0; }
.breadcrumb-dark { font-size: .85rem; color: var(--koi-texto-suave); margin-bottom: 12px; }
.legal { padding-top: 40px; }
.legal-data { display: grid; gap: 6px; margin-bottom: 1em; }

/* =========================================================
   Calculadora mejorada (todas las páginas)
   ========================================================= */
.calc { max-width: 1120px; align-items: start; }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.calc-intro { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--koi-morado); margin-bottom: 16px; font-size: 1.05rem; }
.calc-intro .icon { color: var(--koi-morado-medio); }
.calc .field legend { margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg label, .chip { position: relative; cursor: pointer; }
.seg input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span {
  display: grid; place-items: center; min-height: 46px; border: 1.5px solid #D9D5E6; border-radius: 8px;
  font-weight: 600; color: var(--koi-morado); background: #fff; transition: all .2s ease;
}
.seg input:checked + span { background: var(--koi-morado); border-color: var(--koi-morado); color: #fff; }
.seg input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--koi-azul); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; min-height: 42px; border-radius: 999px;
  border: 1.5px solid #D9D5E6; background: #fff; font-size: .92rem; font-weight: 500; color: var(--koi-texto); transition: all .2s ease;
}
.chip span::before { content: "+"; font-weight: 700; color: var(--koi-morado-medio); }
.chip input:checked + span { background: rgba(147,195,255,.22); border-color: var(--koi-azul-hover); color: var(--koi-morado); font-weight: 600; }
.chip input:checked + span::before { content: "✓"; }

.calc-result { text-align: left; padding: 24px 22px; display: grid; gap: 14px; }
.calc .calc-result > p { margin: 0; }
.calc-badge {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: #5C4A00; background: #FFE95C; padding: 6px 12px; border-radius: 999px;
}
.calc-badge .icon { width: 15px; height: 15px; }
.calc .calc-amount { margin: -8px 0 0; font-variant-numeric: tabular-nums; }
.calc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.calc-stats div { background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: 0 2px 10px rgba(48,30,103,.05); }
.calc-stats span { display: block; font-size: .72rem; color: var(--koi-texto-suave); line-height: 1.3; }
.calc-stats strong { color: var(--koi-morado); font-size: 1rem; font-variant-numeric: tabular-nums; }
.calc-seasons { display: grid; gap: 10px; background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 2px 10px rgba(48,30,103,.05); }
.season-row { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.season-name strong { display: block; color: var(--koi-morado); font-size: .9rem; }
.season-name span, .season-val span { display: block; font-size: .7rem; color: var(--koi-texto-suave); }
.season-bar { height: 10px; background: var(--koi-gris-fondo); border-radius: 5px; overflow: hidden; }
.season-bar i { display: block; height: 100%; border-radius: 5px; background: var(--koi-azul); transition: width .4s ease; }
.season-alta .season-bar i { background: var(--koi-morado-medio); }
.season-baja .season-bar i { background: #C9DFFF; }
.season-val { text-align: right; font-variant-numeric: tabular-nums; }
.season-val strong { color: var(--koi-morado); font-size: .9rem; }
.calc-net { background: var(--koi-degradado-morado); color: #fff; border-radius: 12px; padding: 14px 16px; }
.calc-net-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-net-row span { font-size: .9rem; opacity: .9; }
.calc-net-row strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.calc-detail summary { cursor: pointer; font-size: .82rem; color: var(--koi-azul); margin-top: 6px; }
.calc-detail ul { display: grid; gap: 6px; margin-top: 10px; font-size: .8rem; }
.calc-detail li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 6px; }
.calc-detail li strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc .calc-warn { font-size: .8rem; color: var(--koi-texto-suave); border-left: 3px solid #FFE95C; padding-left: 10px; }
.calc .calc-lic { font-size: .85rem; }
@media (max-width: 560px) {
  .calc { padding: 22px 16px; }
  .calc-result { padding: 18px 14px; }
  .calc-badge { font-size: .68rem; letter-spacing: .5px; padding: 5px 10px; }
  .calc .calc-amount { font-size: clamp(1.5rem, 7.4vw, 2rem); }
  .calc-stats { grid-template-columns: 1fr 1fr; }
  .calc-stats div:last-child { grid-column: span 2; }
  .season-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name val" "bar bar"; row-gap: 6px; }
  .season-name { grid-area: name; }
  .season-val { grid-area: val; }
  .season-bar { grid-area: bar; }
}
.zone-links { display: grid; gap: 14px; }
@media (min-width: 720px) { .zone-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .zone-links { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Carrusel de reseñas de Google ---------- */
.rev-carousel { position: relative; }
.rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 4px 12px; margin: 0 -4px; overscroll-behavior-x: contain; scroll-padding-inline: 4px; }
.rev-track::-webkit-scrollbar { display: none; }
.rev-track:focus-visible { outline: 3px solid var(--koi-azul); outline-offset: 4px; border-radius: 12px; }
.rev-slide { scroll-snap-align: start; display: flex; flex-direction: column; margin: 0; }
.rev-slide blockquote { flex: 1; }
.rev-slide .stars { display: flex; gap: 2px; }
.stars .star-off { opacity: .25; }
.rev-tr { margin: -8px 0 14px; font-size: .8rem; color: var(--koi-texto-suave); font-style: italic; }
.rev-slide .avatar { font-weight: 700; color: var(--koi-morado); font-size: 1.05rem; }
.rev-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.rev-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--koi-morado); background: #fff; color: var(--koi-morado); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.rev-btn:hover:not(:disabled) { background: var(--koi-morado); color: #fff; }
.rev-btn:disabled { opacity: .35; cursor: default; }
.rev-btn .icon { width: 20px; height: 20px; }
.rev-prev .icon { transform: rotate(180deg); }
.rev-count { min-width: 56px; text-align: center; font-weight: 600; color: var(--koi-morado); font-variant-numeric: tabular-nums; }
.rev-foot { text-align: center; margin-top: 14px; }
.rev-carousel.rev-static .rev-nav { display: none; }
@media (max-width: 900px) { .rev-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .rev-track { grid-auto-columns: 86%; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .rev-track { scroll-behavior: auto; } }
.rev-long:not(.open) { display: -webkit-box; -webkit-line-clamp: 7; line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rev-more { align-self: flex-start; margin: -8px 0 16px; padding: 4px 0; background: none; border: 0; color: var(--koi-morado); font: inherit; font-weight: 600; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.rev-slide .rev-long.open { flex: 1; }

/* =========================================================
   Animaciones ligeras (solo CSS + un IntersectionObserver)
   Se desactivan solas si el sistema pide menos movimiento.
   ========================================================= */
@keyframes koi-rise { from { transform: translateY(22px); } to { transform: none; } }
@keyframes koi-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes koi-float { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-4%,3%,0) scale(1.06); } 100% { transform: translate3d(3%,-2%,0) scale(.97); } }
@keyframes koi-star { 0% { transform: scale(.3) rotate(-25deg); opacity: 0; } 70% { transform: scale(1.2); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes koi-ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
@keyframes koi-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Portada: el titular sube (sin ocultarse, para no retrasar la carga) y el resto aparece en cascada */
.hero-in h1 { animation: koi-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-in .eyebrow, .hero-in .breadcrumb { animation: koi-fade-up .7s .05s cubic-bezier(.2,.7,.2,1) both; }
.hero-in .lead { animation: koi-fade-up .8s .18s cubic-bezier(.2,.7,.2,1) both; }
.hero-in .btn-row { animation: koi-fade-up .8s .3s cubic-bezier(.2,.7,.2,1) both; }
.hero-in .hero-trust, .hero-in .post-meta { animation: koi-fade-up .8s .42s cubic-bezier(.2,.7,.2,1) both; }

/* Luces suaves que flotan en el fondo de la portada */
.hero-ph::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none; will-change: transform;
  background:
    radial-gradient(28% 34% at 22% 30%, rgba(147,195,255,.32), transparent 70%),
    radial-gradient(24% 30% at 78% 72%, rgba(147,195,255,.22), transparent 70%),
    radial-gradient(18% 22% at 60% 18%, rgba(255,255,255,.10), transparent 70%);
  animation: koi-float 18s ease-in-out infinite alternate;
}

/* Onda al pie de la portada, del color de la sección siguiente */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 54px; z-index: 2; pointer-events: none;
  background: no-repeat center bottom / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 34C180 58 360 62 560 44S900 4 1100 12s260 30 340 34V60H0Z'/%3E%3C/svg%3E");
}
.hero:has(+ .section-alt)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23F8F9FA' d='M0 34C180 58 360 62 560 44S900 4 1100 12s260 30 340 34V60H0Z'/%3E%3C/svg%3E");
}
.hero-xs::after { height: 34px; }

/* Secciones oscuras: un círculo de luz y un aro decorativo */
.section-dark { position: relative; overflow: hidden; isolation: isolate; }
.section-dark::before, .section-dark::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.section-dark::before { width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(147,195,255,.28), transparent 65%); animation: koi-float 20s ease-in-out infinite alternate; }
.section-dark::after { width: 260px; height: 260px; left: -90px; bottom: -110px; border: 2px solid rgba(147,195,255,.22); }

/* Etiqueta pequeña sobre los títulos: rayita de color */
.eyebrow { position: relative; padding-left: 30px; }
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transform-origin: left; }
.section-head .eyebrow { padding: 0 30px; }
.section-head .eyebrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 20px; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transform-origin: right; }
.anim .rv .eyebrow::before, .anim .rv .eyebrow::after, .anim .rv.eyebrow::before { transform: scaleX(0); transition: transform .6s .35s ease; }
.anim .rv.in .eyebrow::before, .anim .rv.in .eyebrow::after, .anim .rv.in.eyebrow::before { transform: scaleX(1); }

/* Aparición al hacer scroll (la clase "anim" la pone el JS; sin JS todo se ve normal) */
.anim .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.anim .rv.in { opacity: 1; transform: none; }
.anim .rv.in.card-hover, .anim .rv.in.zone { transition: opacity .7s var(--d, 0s), transform .3s ease, box-shadow .3s ease; }
.anim .rv.in.card-hover:hover, .anim .rv.in.zone:hover { transform: translateY(-8px); }

/* Estrellas que se encienden una a una */
.anim .rv .stars .icon { opacity: 0; }
.anim .rv.in .stars .icon { animation: koi-star .45s cubic-bezier(.3,1.4,.5,1) both; }
.anim .rv.in .stars .icon:nth-child(2) { animation-delay: .08s; }
.anim .rv.in .stars .icon:nth-child(3) { animation-delay: .16s; }
.anim .rv.in .stars .icon:nth-child(4) { animation-delay: .24s; }
.anim .rv.in .stars .icon:nth-child(5) { animation-delay: .32s; }
.anim .rv.in .stars .icon.star-off { animation-name: none; opacity: .25; }

/* Tarjetas e iconos */
.card-icon { transition: transform .35s cubic-bezier(.3,1.4,.5,1), background .3s ease, color .3s ease; }
.card-hover:hover .card-icon, .why-item:hover .card-icon, .fact:hover .icon { transform: scale(1.1) rotate(-6deg); }
.card-hover:hover .card-icon, .why-item:hover .card-icon { background: var(--koi-azul); color: var(--koi-morado); }
.fact .icon { transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.card.review { transition: transform .3s ease, box-shadow .3s ease; }
.card.review:hover { transform: translateY(-4px); box-shadow: var(--koi-sombra-hover); }
.barrio .num { transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.barrio:hover .num { transform: scale(1.15); }

/* Botones: brillo que cruza y flecha que avanza */
.btn { position: relative; overflow: hidden; }
.btn-primary::after, .btn-white::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
  transition: left .7s ease;
}
.btn-primary:hover::after, .btn-white:hover::after { left: 130%; }
.btn .icon:last-child, .link-arrow .icon:last-child { transition: transform .3s ease; }
.btn:hover .icon:last-child, .link-arrow:hover .icon:last-child, .neighbor:hover .icon:last-child { transform: translateX(4px); }
.rev-btn:hover .icon { transform: none; }
.rev-prev:hover .icon { transform: rotate(180deg); }

/* WhatsApp: un aviso suave cada pocos segundos */
.float-wa { animation: koi-ring 2.8s 3s ease-out infinite; }

/* Calculadora: el resultado late un momento al cambiar */
@keyframes koi-pop { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 100% { transform: scale(1); } }
.calc-amount.pop { animation: koi-pop .45s ease; }

/* Movimiento reducido: todo quieto y visible */
@media (prefers-reduced-motion: reduce) {
  .anim .rv, .anim .rv .stars .icon { opacity: 1 !important; transform: none !important; }
  .hero-ph::before, .section-dark::before { animation: none; }
}

/* ---------- Calculadora (copiada de la landing de KOI) ---------- */
/* ===================================
   INCOME CALCULATOR SECTION
   =================================== */
.income-calculator {
    background: linear-gradient(135deg, #301e67 0%, #1a1040 50%, #301e67 100%);
    padding: clamp(32px, 4vw, 48px) 0;
    position: relative;
    overflow: hidden;
}

.income-calculator::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(147, 195, 255, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.income-calculator-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: center;
    max-width: min(980px, 95%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.income-calculator-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #93C3FF;
    margin-bottom: 12px;
}

.income-calculator-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 10px;
}

.income-calculator-sub {
    font-size: clamp(0.84rem, 1.1vw, 0.92rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: clamp(16px, 2vw, 22px);
    max-width: 460px;
}

.income-estimate-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(147, 195, 255, 0.25);
    border-radius: 16px;
    padding: clamp(18px, 2.2vw, 24px);
    margin-bottom: clamp(14px, 2vw, 18px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.income-estimate-card.is-active {
    border-color: rgba(147, 195, 255, 0.5);
    box-shadow: 0 12px 40px rgba(147, 195, 255, 0.15);
}

.income-estimate-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #93c3ff 0%, rgba(147, 195, 255, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.income-estimate-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.income-estimate-value {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 8px;
}

.income-estimate-currency {
    font-size: 0.65em;
    font-weight: 600;
    color: #93C3FF;
}

.income-estimate-sep {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85em;
}

.income-estimate-note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 16px;
}

.income-estimate-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

.income-calculator-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.72rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.income-calculator-disclaimer .icon {
    color: #93C3FF;
    font-size: 0.78rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.income-calculator-disclaimer a {
    color: #93C3FF;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.income-calculator-disclaimer a:hover {
    color: #fff;
}

.income-estimate-stats li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.income-estimate-stats .icon {
    color: #93C3FF;
    font-size: 0.9rem;
}

.income-estimate-stats strong {
    color: #fff;
    font-weight: 600;
}

.income-calculator-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.income-calculator-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.income-calculator-benefits .icon {
    color: #93C3FF;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.income-calculator-form-wrap {
    background: #fff;
    border-radius: 14px;
    padding: clamp(16px, 2vw, 22px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    justify-self: end;
}

.income-form-title {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    font-weight: 700;
    color: #301E67;
    margin-bottom: 4px;
}

.income-form-intro {
    font-size: 0.78rem;
    color: #666;
    margin-bottom: clamp(12px, 1.5vw, 16px);
    line-height: 1.45;
}

.income-form-group {
    margin-bottom: 10px;
}

.income-form-group label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #301E67;
    margin-bottom: 5px;
}

.required-mark {
    color: #e74c3c;
    font-weight: 700;
}

.income-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.income-input-wrap .icon {
    position: absolute;
    left: 11px;
    color: #93C3FF;
    font-size: 0.78rem;
    pointer-events: none;
    z-index: 1;
}

.income-calculator-form input,
.income-calculator-form select {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1.5px solid #e8ecf2;
    border-radius: 8px;
    font-family: var(--koi-font);
    font-size: 0.84rem;
    color: #301E67;
    background: #f8faff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    appearance: none;
}

.income-calculator-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23301e67' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    cursor: pointer;
}

.income-calculator-form input:focus,
.income-calculator-form select:focus {
    outline: none;
    border-color: #93C3FF;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(147, 195, 255, 0.2);
}

.income-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.income-form-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 12px;
    color: #999;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.income-form-divider::before,
.income-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8ecf2;
}

.income-privacy {
    margin: 10px 0;
}

.income-privacy label {
    font-size: 0.74rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: #555;
    line-height: 1.4;
}

.btn-income-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    background: linear-gradient(135deg, #93c3ff 0%, #301e67 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--koi-font);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: normal;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 18px rgba(147, 195, 255, 0.3);
}

.btn-income-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(147, 195, 255, 0.45);
}

.btn-income-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.income-form-disclaimer {
    font-size: 0.65rem;
    color: #999;
    text-align: center;
    margin-top: 10px;
    line-height: 1.45;
}

.income-form-disclaimer a {
    color: #301E67;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.income-form-disclaimer a:hover {
    color: #93C3FF;
}

@media (max-width: 900px) {
    .income-calculator-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .income-calculator-form-wrap {
        max-width: 100%;
        justify-self: stretch;
    }

    .income-calculator-visual {
        text-align: center;
    }

    .income-calculator-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .income-calculator-benefits {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .income-form-row {
        grid-template-columns: 1fr;
    }
}

/* Ajustes propios para la web nueva */
.income-calculator .income-calculator-grid { padding-inline: var(--gutter); max-width: 1012px; }
.income-estimate-icon .icon { width: 20px; height: 20px; }
.income-estimate-value [data-income-min], .income-estimate-value [data-income-max] { font-variant-numeric: tabular-nums; }
.income-estimate-stats .icon, .income-calculator-benefits .icon, .income-calculator-disclaimer .icon { width: 1em; height: 1em; }
.income-calculator-disclaimer .icon { margin-top: 3px; }
.income-input-wrap .icon { width: 15px; height: 15px; }
.income-calculator-form .consent.income-privacy { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; }
.income-calculator-form .consent input { width: auto; padding: 0; margin-top: 2px; accent-color: #301E67; appearance: auto; }
.income-privacy label a { color: #301E67; font-weight: 600; }
.btn-income-submit .icon { width: 1.1em; height: 1.1em; }
.income-form-group.invalid input, .income-form-group.invalid select { border-color: #C62828; background-color: #fff6f6; }
.income-privacy.invalid label { color: #C62828; }
.income-calculator-form .form-msg:empty { display: none; }
.income-calculator-visual .income-estimate-card, .income-calculator-visual .income-calculator-disclaimer { text-align: left; }
@media (prefers-reduced-motion: reduce) { .btn-income-submit:hover { transform: none; } }

/* ---------- Menú: página activa en color claro ---------- */
.nav-list a[aria-current="page"], .nav-list .sub-toggle[aria-current="page"] {
  color: var(--koi-morado); font-weight: 600; background: rgba(147,195,255,.28); border-radius: 8px; padding-inline: 12px;
}
.sub a[aria-current="page"] { color: var(--koi-morado); background: rgba(147,195,255,.28); border-radius: 8px; padding-inline: 10px; }
@media (min-width: 1080px) {
  .site-header .nav-list > li > a[aria-current="page"], .site-header .nav-list > li > .sub-toggle[aria-current="page"] {
    color: var(--koi-azul); background: rgba(147,195,255,.16); box-shadow: inset 0 -2px 0 var(--koi-azul);
  }
  .site-header.is-solid .nav-list > li > a[aria-current="page"], .site-header.is-solid .nav-list > li > .sub-toggle[aria-current="page"] {
    color: var(--koi-morado); background: rgba(147,195,255,.32); box-shadow: inset 0 -2px 0 var(--koi-azul);
  }
}

/* ---------- Preguntas frecuentes de la portada (copiadas de la landing de KOI) ---------- */
/* ===================================
   FAQ SECTION
   =================================== */
.faq-center {
    position: relative;
    background: linear-gradient(165deg, #f0f6ff 0%, #ffffff 45%, #f8f5ff 100%);
    overflow: hidden;
    padding-bottom: clamp(60px, 8vw, 100px);
}

.faq-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.faq-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.faq-blob-1 {
    width: 420px;
    height: 420px;
    background: #93C3FF;
    top: -120px;
    right: -80px;
    animation: faqBlobFloat 12s ease-in-out infinite;
}

.faq-blob-2 {
    width: 360px;
    height: 360px;
    background: rgba(48, 30, 103, 0.18);
    bottom: -100px;
    left: -60px;
    animation: faqBlobFloat 15s ease-in-out infinite reverse;
}

@keyframes faqBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -15px) scale(1.05); }
}

.faq-center .wrap {
    position: relative;
    z-index: 1;
}

.faq-header {
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 50px);
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(147, 195, 255, 0.2);
    color: #301E67;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(147, 195, 255, 0.45);
}

.faq-badge .icon {
    color: #93C3FF;
}

.faq-controls {
    max-width: 900px;
    margin: 0 auto clamp(30px, 4vw, 45px);
}

.faq-search-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.faq-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #301E67;
    opacity: 0.45;
    pointer-events: none;
}

.faq-search-input {
    width: 100%;
    padding: 16px 50px 16px 52px;
    border: 2px solid rgba(48, 30, 103, 0.1);
    border-radius: 16px;
    font-family: var(--koi-font);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    transition: all .3s ease;
    color: #301E67;
}

.faq-search-input:focus {
    outline: none;
    border-color: #93C3FF;
    box-shadow: 0 0 0 4px rgba(147, 195, 255, 0.25);
    background: #fff;
}

.faq-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(48, 30, 103, 0.08);
    color: #301E67;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.faq-search-clear:hover {
    background: #93C3FF;
    color: #fff;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.faq-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 2px solid rgba(48, 30, 103, 0.12);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.7);
    color: #301E67;
    font-family: var(--koi-font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-category-btn:hover {
    border-color: #93C3FF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 195, 255, 0.3);
}

.faq-category-btn.active {
    background: #301E67;
    border-color: #301E67;
    color: #fff;
    box-shadow: 0 8px 24px rgba(48, 30, 103, 0.25);
}

.faq-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(48, 30, 103, 0.1);
}

.faq-category-btn.active .faq-count {
    background: #93C3FF;
    color: #301E67;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(48, 30, 103, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(48, 30, 103, 0.04);
}

.faq-card:hover {
    border-color: rgba(147, 195, 255, 0.5);
    box-shadow: 0 12px 32px rgba(147, 195, 255, 0.18);
    transform: translateY(-3px);
}

.faq-card.active {
    border-color: #93C3FF;
    box-shadow: 0 16px 40px rgba(147, 195, 255, 0.28);
    background: #fff;
}

.faq-card.hidden {
    display: none;
}

.faq-card-header {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 20px 22px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: var(--koi-font);
}

.faq-card-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: #93C3FF;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.faq-card-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(147, 195, 255, 0.35), rgba(147, 195, 255, 0.1));
    color: #301E67;
    flex-shrink: 0;
    transition: all .3s ease;
}

.faq-card.active .faq-card-icon {
    background: #301E67;
    color: #93C3FF;
}

.faq-card-question {
    font-size: 0.95rem;
    font-weight: 600;
    color: #301E67;
    margin: 0;
    line-height: 1.45;
}

.faq-card-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(48, 30, 103, 0.06);
    color: #301E67;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card.active .faq-card-toggle {
    background: #93C3FF;
    transform: rotate(45deg);
}

.faq-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card.active .faq-card-body {
    max-height: 640px;
}

.faq-card-body p {
    padding: 0 22px 22px 72px;
    margin: 0;
    color: #5a5a6e;
    line-height: 1.75;
    font-size: 0.92rem;
}

.faq-no-results {
    text-align: center;
    padding: 50px 20px;
    max-width: 400px;
    margin: 0 auto;
}

.faq-no-results-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(147, 195, 255, 0.2);
    color: #301E67;
    font-size: 1.5rem;
}

.faq-no-results p {
    color: #666;
    margin-bottom: 20px;
}

.faq-reset-btn {
    padding: 12px 24px;
    border: 2px solid #93C3FF;
    border-radius: var(--koi-radio-boton);
    background: transparent;
    color: #301E67;
    font-family: var(--koi-font);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

.faq-reset-btn:hover {
    background: #93C3FF;
    color: #fff;
}

.faq-cta {
    text-align: center;
    margin-top: clamp(40px, 6vw, 60px);
    padding: clamp(30px, 4vw, 40px);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(147, 195, 255, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta p {
    font-size: 1.05rem;
    color: #301E67;
    margin-bottom: 20px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-card-body p {
        padding-left: 22px;
    }
}

@media (max-width: 600px) {
    .faq-card-header {
        grid-template-columns: auto 1fr auto;
        padding: 16px 18px;
    }

    .faq-card-number {
        display: none;
    }

    .faq-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .faq-categories::-webkit-scrollbar {
        display: none;
    }

    .faq-category-btn {
        flex-shrink: 0;
    }
}



@media (max-width: 1366px) and (min-width: 992px) { .faq-grid { gap: 12px; } }

/* Ajustes propios para la web nueva */
.faq-center { padding-top: clamp(60px, 8vw, 100px); }
.faq-header h2 { margin: 0 0 10px; }
.faq-sub { color: var(--koi-texto-suave); max-width: 620px; margin: 0 auto; }
.faq-badge .icon { width: 1.05em; height: 1.05em; }
.faq-search-icon { display: flex; z-index: 2; }
.faq-search-icon .icon { width: 20px; height: 20px; }
.faq-search-input { -webkit-appearance: none; appearance: none; }
.faq-search-input::-webkit-search-cancel-button { display: none; }
.faq-search-clear[hidden], .faq-no-results[hidden] { display: none; }
.faq-search-clear .icon { width: 16px; height: 16px; }
.faq-card-h { margin: 0; font-size: inherit; }
.faq-card-header:focus-visible { outline: 3px solid #93C3FF; outline-offset: -3px; border-radius: 16px; }
.faq-card-icon .icon { width: 19px; height: 19px; }
.faq-card-toggle .icon { width: 16px; height: 16px; }
.faq-card-question { display: block; }
.faq-link { font-weight: 600; white-space: nowrap; }
.faq-no-results-icon .icon { width: 28px; height: 28px; }
.faq-category-btn:focus-visible { outline: 3px solid #93C3FF; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .faq-blob-1, .faq-blob-2 { animation: none; }
  .faq-card, .faq-card:hover, .faq-category-btn:hover { transform: none; }
  .faq-card-body { transition: none; }
}
.income-calculator-title { text-wrap: wrap; }

/* FAQ de la portada: medidas exactas de la landing */
.faq-center { padding-top: clamp(30px, 4vw, 50px); }
.faq-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: clamp(8px, 1.5vw, 12px); }
.faq-header .faq-sub { font-size: clamp(0.8rem, 1.3vw, 0.9rem); line-height: 1.6; margin-bottom: clamp(20px, 3vw, 30px); max-width: none; }
@media (max-width: 768px) { .faq-header h2 { font-size: 2rem; } }
@media (max-width: 1366px) and (min-width: 992px) { .faq-center .wrap { padding-left: 6vw; padding-right: 6vw; } }
.faq-card-h, .faq-card-question { text-wrap: wrap; }
.faq-cta-btn { padding: 14px 32px; border-radius: 8px; font-size: .95rem; line-height: 1.6; }
.faq-cta-btn::after { display: none; }

/* ---------- Por qué invertir en la Costa del Sol ---------- */
.inv-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 992px) { .inv-grid { grid-template-columns: minmax(280px, 380px) 1fr; gap: 28px; } }
.inv-tabs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.inv-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .inv-tabs { flex-direction: column; overflow: visible; padding: 0; } }
.inv-tab { position: relative; overflow: hidden; flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; color: #fff; cursor: pointer; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); transition: background .3s ease, border-color .3s ease, transform .3s ease; }
@media (min-width: 992px) { .inv-tab { padding: 16px 18px; flex: 1 1 auto; } .inv-tab:hover { transform: translateX(4px); } }
.inv-tab:hover { background: rgba(255,255,255,.1); }
.inv-tab:focus-visible { outline: 2px solid var(--koi-azul); outline-offset: 2px; }
.inv-tab.is-active { background: #fff; border-color: #fff; color: var(--koi-morado); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.inv-tab-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(147,195,255,.16); color: var(--koi-azul); transition: background .3s ease, color .3s ease; }
.inv-tab-ic .icon { width: 22px; height: 22px; }
.inv-tab.is-active .inv-tab-ic { background: var(--koi-morado); color: #fff; }
.inv-tab-tx { display: flex; flex-direction: column; line-height: 1.3; }
.inv-tab-tx strong { font-size: .95rem; font-weight: 600; white-space: nowrap; }
.inv-tab-tx small { font-size: .78rem; opacity: .75; white-space: nowrap; }
@media (max-width: 991px) { .inv-tab-tx small { display: none; } }
.inv-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--koi-azul); transform: scaleX(0); transform-origin: left; }
.is-auto .inv-tab.is-active .inv-bar { animation: inv-bar 6s linear forwards; }
.is-paused .inv-tab.is-active .inv-bar { animation-play-state: paused; }
@keyframes inv-bar { to { transform: scaleX(1); } }

.inv-panel { background: #fff; color: var(--koi-texto); border-radius: var(--koi-radio-tarjeta); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.25); display: flex; flex-direction: column; }
.inv-visual { position: relative; aspect-ratio: 2 / 1; min-height: 180px; }
.inv-scene { display: block; width: 100%; height: 100%; }
.inv-body { padding: clamp(20px, 3vw, 32px); flex: 1; }
.inv-pane.is-active { animation: inv-in .5s ease both; }
@keyframes inv-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.inv-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 6px; }
.inv-stat b { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1; color: var(--koi-morado); font-variant-numeric: tabular-nums; }
.inv-stat span { font-size: .95rem; color: var(--koi-texto-suave); }
.inv-pane h3 { color: var(--koi-morado); font-size: clamp(1.1rem, 2vw, 1.3rem); margin: 10px 0 8px; }
.inv-pane p:last-child { margin: 0; color: var(--koi-texto-suave); }

.inv-cta { margin-top: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px); border-radius: var(--koi-radio-tarjeta); border: 1px solid rgba(147,195,255,.35); background: rgba(255,255,255,.07); }
.inv-cta strong { display: block; color: #fff; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; margin-bottom: 4px; }
.inv-cta p { margin: 0; color: rgba(255,255,255,.82); }
@media (max-width: 600px) { .inv-cta .btn-row, .inv-cta .btn { width: 100%; } }

/* Escena */
.inv-months text { font: 600 11px var(--koi-font); fill: #fff; opacity: .25; transition: opacity .4s ease; }
.inv-pins text { font: 600 11px var(--koi-font); fill: #fff; text-anchor: middle; opacity: .9; paint-order: stroke; stroke: rgba(48,30,103,.6); stroke-width: 3px; }
.inv-pin circle:not(.inv-pulse) { fill: #fff; }
.inv-pulse { fill: var(--koi-azul); opacity: 0; transform-box: fill-box; transform-origin: center; }
.inv-sun { transform-box: view-box; transform-origin: 430px 92px; transition: transform .8s ease, opacity .6s ease; }
.inv-rays { transform-box: view-box; transform-origin: 430px 92px; animation: inv-spin 30s linear infinite; }
.inv-sun-glow { transition: opacity .6s ease; opacity: .6; }
.inv-arcs path { stroke-dashoffset: 0; opacity: 0; transition: opacity .5s ease; }
.inv-plane { opacity: 0; transition: opacity .4s ease; }
.inv-plane-body { transform: translate(560px, 150px); }
.inv-waves path { animation: inv-wave 6s linear infinite; }
.inv-waves path + path { animation-duration: 9s; animation-direction: reverse; }
@keyframes inv-spin { to { transform: rotate(360deg); } }
@keyframes inv-wave { to { transform: translateX(60px); } }
@keyframes inv-pulse { 0% { opacity: .7; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes inv-dash { to { stroke-dashoffset: -110; } }
@keyframes inv-fly { 0% { transform: translate(560px, 186px) rotate(-14deg) scale(.6); } 30% { transform: translate(470px, 110px) rotate(-6deg) scale(.9); } 100% { transform: translate(-60px, 60px) rotate(-2deg) scale(1.1); } }
[data-scene="sol"] .inv-sun { transform: scale(1.18); }
[data-scene="sol"] .inv-sun-glow { opacity: 1; }
[data-scene="sol"] .inv-rays { animation-duration: 12s; }
[data-scene="avion"] .inv-plane { opacity: 1; }
[data-scene="avion"] .inv-plane-body { animation: inv-fly 4.5s cubic-bezier(.4,0,.6,1) infinite; }
[data-scene="avion"] .inv-pin-air .inv-pulse { animation: inv-pulse 1.6s ease-out infinite; }
[data-scene="ano"] .inv-months text { opacity: 1; }
[data-scene="ano"] .inv-months text:nth-child(n) { animation: inv-month .5s ease both; }
.inv-months text:nth-child(2) { animation-delay: .05s; } .inv-months text:nth-child(3) { animation-delay: .1s; } .inv-months text:nth-child(4) { animation-delay: .15s; } .inv-months text:nth-child(5) { animation-delay: .2s; } .inv-months text:nth-child(6) { animation-delay: .25s; } .inv-months text:nth-child(7) { animation-delay: .3s; } .inv-months text:nth-child(8) { animation-delay: .35s; } .inv-months text:nth-child(9) { animation-delay: .4s; } .inv-months text:nth-child(10) { animation-delay: .45s; } .inv-months text:nth-child(11) { animation-delay: .5s; } .inv-months text:nth-child(12) { animation-delay: .55s; }
@keyframes inv-month { from { opacity: .25; } to { opacity: 1; } }
[data-scene="ano"] .inv-pins .inv-pulse { animation: inv-pulse 2.4s ease-out infinite; }
[data-scene="mundo"] .inv-arcs path { opacity: .8; animation: inv-dash 2.2s linear infinite; }
[data-scene="mundo"] .inv-pin .inv-pulse { animation: inv-pulse 1.8s ease-out infinite; }
[data-scene="mundo"] .inv-sun { opacity: .5; }
[data-scene="casa"] .inv-pin-home .inv-pulse { animation: inv-pulse 1.4s ease-out infinite; }
[data-scene="casa"] .inv-pin-home text { font-size: 14px; }
[data-scene="casa"] .inv-pin:not(.inv-pin-home) { opacity: .45; }
.inv-pin { transition: opacity .4s ease; }
@media (prefers-reduced-motion: reduce) { [data-scene="avion"] .inv-plane-body { transform: translate(300px, 90px); } }
@media (max-width: 600px) {
  .inv-pins text { font-size: 17px; stroke-width: 4px; }
  .inv-pin:nth-child(even) text { transform: translateY(46px); }
  .inv-months text { font-size: 14px; }
  .inv-stat { flex-direction: column; gap: 4px; }
}
@media (max-width: 600px) { .inv-pin-air text { text-anchor: end; transform: translate(14px, 46px); } }

/* =====================================================================
   DISEÑO EDITORIAL (body.ed)
   Mismos colores y tipografía. Menos adorno: sin degradados, sin luces,
   sin iconos en círculos ni tarjetas flotando. Títulos alineados a la
   izquierda, maquetación asimétrica y líneas finas como estructura.
   Para volver al diseño anterior basta con quitar la clase "ed".
   ===================================================================== */
.ed { --ed-line: #E6E3F0; --ed-ink: #301E67; --ed-muted: #666666; }
.ed h1, .ed h2 { font-weight: 600; letter-spacing: -.035em; }
.ed h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.06; }
.ed h3 { font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; }
.ed .section { padding-block: clamp(64px, 9vw, 128px); }
.ed .section-alt { background: var(--koi-gris-fondo); }

/* Etiqueta sobre el título: texto normal, sin mayúsculas ni rayitas */
.ed .eyebrow { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; padding: 0; margin-bottom: 14px; color: var(--koi-morado-medio); }
.ed .eyebrow::before, .ed .eyebrow::after { display: none; }
.ed .section-dark .eyebrow, .ed .hero .eyebrow { color: var(--koi-azul); }

/* Cabecera de sección asimétrica: título a la izquierda, entradilla a la derecha */
.ed .section-head { max-width: none; margin: 0 0 clamp(36px, 5vw, 64px); text-align: left; display: grid; gap: 0 clamp(32px, 6vw, 96px); }
.ed .section-head h2 { margin: 0; max-width: 17ch; }
.ed .section-head p { margin: 18px 0 0; max-width: 46ch; font-size: 1.05rem; line-height: 1.65; }
@media (min-width: 900px) {
  .ed .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .ed .section-head .eyebrow { grid-column: 1; }
  .ed .section-head h2 { grid-column: 1; }
  .ed .section-head p { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding-bottom: 6px; }
}

/* Botones sin brillo ni saltos */
.ed .btn { box-shadow: none; text-shadow: none; }
.ed .btn::after { display: none; }
.ed .btn-primary { color: var(--ed-ink); }
.ed .btn-primary:hover { transform: none; background: #fff; color: var(--ed-ink); box-shadow: inset 0 0 0 2px var(--koi-azul); }
.ed .section:not(.section-dark) .btn-primary:hover, .ed .income-calculator ~ .section .btn-primary:hover { background: var(--ed-ink); color: #fff; box-shadow: none; }
.ed .link-arrow { border-bottom: 1.5px solid var(--koi-azul); padding-bottom: 3px; }
.ed .center.mt { text-align: left; }

/* Cabecera: sin sombra en el botón */
.ed .site-header .btn { box-shadow: none; }

/* ---------- Portada ---------- */
.ed .hero { padding-bottom: clamp(56px, 8vw, 96px); align-items: flex-end; }
.ed .hero::after { display: none; }
.ed .hero-ph { background: var(--ed-ink); }
.ed .hero-ph::before, .ed .hero-ph::after { display: none; }
.ed .hero::before { background: linear-gradient(180deg, rgba(48,30,103,.35) 0%, rgba(48,30,103,.25) 40%, rgba(48,30,103,.85) 100%); }
.ed .hero h1 { font-size: clamp(2.7rem, 7.4vw, 6.2rem); line-height: .98; letter-spacing: -.045em; max-width: 13ch; margin-bottom: clamp(22px, 3vw, 36px); }
.ed .hero .eyebrow { font-size: .95rem; margin-bottom: 22px; }
.ed .hero-in { display: grid; gap: 0 clamp(32px, 6vw, 96px); }
.ed .hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.65; max-width: 44ch; }
.ed .hero-trust { margin-top: clamp(32px, 5vw, 56px); padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); gap: 10px 36px; }
@media (min-width: 1000px) {
  .ed .hero-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .ed .hero-in > .eyebrow, .ed .hero-in > h1 { grid-column: 1 / -1; }
  .ed .hero-in > .lead { grid-column: 1; margin: 0; }
  .ed .hero-in > .btn-row { grid-column: 2; justify-self: end; }
  .ed .hero-in > .hero-trust { grid-column: 1 / -1; }
}

/* ---------- Por qué una agencia pequeña ---------- */
.ed .why { gap: 0; border-top: 2px solid var(--ed-ink); }
.ed .why-item { display: block; padding: 24px 0 8px; }
.ed .why-item .card-icon { display: none; }
.ed .why-item h3 { margin-bottom: 10px; }
.ed .why-item p { line-height: 1.65; max-width: 38ch; }
@media (min-width: 720px) {
  .ed .why { grid-template-columns: repeat(3, 1fr); }
  .ed .why-item { padding: 28px 32px 8px 0; }
  .ed .why-item + .why-item { padding-left: 32px; border-left: 1px solid var(--ed-line); }
}
.ed .partners { justify-content: flex-start; margin-top: 40px; }
.ed .partners .avatar { box-shadow: none; }

/* ---------- Qué hacemos: índice con líneas, no tarjetas ---------- */
.ed .section-head + .grid-3:has(> .card > .card-icon) { gap: 0; border-top: 1px solid var(--ed-line); }
.ed .section-head + .grid-3 .card:has(> .card-icon) { background: none; box-shadow: none; border-radius: 0; padding: 26px 0; border-bottom: 1px solid var(--ed-line); display: grid; grid-template-columns: 28px 1fr; gap: 4px 18px; align-content: start; }
.ed .section-head + .grid-3 .card::before { display: none; }
.ed .section-head + .grid-3 .card:hover { transform: none; box-shadow: none; }
.ed .section-head + .grid-3 .card-icon { width: auto; height: auto; background: none; border-radius: 0; margin: 2px 0 0; color: var(--koi-morado-medio); grid-row: 1 / span 2; transform: none !important; }
.ed .section-head + .grid-3 .card-icon .icon { width: 22px; height: 22px; }
.ed .section-head + .grid-3 .card:has(> .card-icon) h3 { margin: 0 0 6px; }
.ed .section-head + .grid-3 .card:has(> .card-icon) p { margin: 0; line-height: 1.6; }
@media (min-width: 720px) { .ed .section-head + .grid-3:has(> .card > .card-icon) { column-gap: 48px; } .ed .section-head + .grid-3 .card:has(> .card-icon) { padding: 30px 0; } }

/* ---------- Zonas: mosaico, la casa (Benalmádena) más grande ---------- */
.ed .zones { gap: 12px; }
.ed .zone { border-radius: 4px; box-shadow: none; min-height: 240px; }
.ed .zone:hover { transform: none; box-shadow: none; }
.ed .zone .photo { background: #4B2E8F; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ed .zone:hover .photo { transform: scale(1.04); }
.ed .zone::after { background: linear-gradient(180deg, rgba(48,30,103,0) 45%, rgba(48,30,103,.8) 100%); }
.ed .zone .photo-ph > div { opacity: .55; }
.ed .zone-txt { left: 22px; bottom: 20px; }
.ed .zone-txt strong { font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; }
@media (min-width: 1000px) {
  .ed .zones { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; }
  .ed .zone { min-height: 0; }
  .ed .zone:first-child { grid-column: span 2; grid-row: span 2; }
  .ed .zone:first-child .zone-txt strong { font-size: clamp(1.8rem, 3vw, 2.6rem); }
}

/* ---------- Secciones oscuras: color liso, sin luces ---------- */
.ed .section-dark { background: var(--ed-ink); }
.ed .section-dark::before, .ed .section-dark::after { display: none; }

/* ---------- Por qué invertir ---------- */
.ed .inv-tabs { gap: 0; }
.ed .inv-tab { background: none; border: 0; border-radius: 0; padding: 18px 4px 18px 0; color: rgba(255,255,255,.62); box-shadow: none; }
@media (min-width: 992px) {
  .ed .inv-tab { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; }
  .ed .inv-tab:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
  .ed .inv-tab:hover { transform: none; }
}
@media (max-width: 991px) { .ed .inv-tab { padding: 10px 18px 14px 0; } }
.ed .inv-tab:hover { background: none; color: #fff; }
.ed .inv-tab.is-active { background: none; color: #fff; box-shadow: none; }
.ed .inv-tab-ic { background: none; width: 26px; height: 26px; color: currentColor; }
.ed .inv-tab.is-active .inv-tab-ic { background: none; color: var(--koi-azul); }
.ed .inv-tab-tx strong { font-weight: 600; font-size: 1.02rem; }
.ed .inv-bar { height: 2px; }
.ed .inv-panel { border-radius: 6px; box-shadow: none; }
.ed .inv-stat b { font-weight: 600; letter-spacing: -.04em; }
.ed .inv-cta { border-radius: 0; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.22); padding: 32px 0 0; }

/* ---------- Pasos: secuencia numerada sobre una línea ---------- */
.ed .steps { gap: 0; border-top: 1px solid var(--ed-line); }
.ed .step { background: none; box-shadow: none; border-radius: 0; padding: 26px 24px 8px 0; overflow: visible; }
.ed .step .card-icon { display: none; }
.ed .step::after { position: static; display: block; order: -1; font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; color: var(--koi-azul); margin-bottom: 18px; }
.ed .step { display: flex; flex-direction: column; }
.ed .step h3 { margin-bottom: 8px; }
.ed .step p { line-height: 1.6; }
@media (min-width: 1000px) { .ed .step + .step { padding-left: 24px; border-left: 1px solid var(--ed-line); } }

/* ---------- Opiniones ---------- */
.ed .reviews-head { justify-content: flex-start; }
.ed .google-score { box-shadow: none; background: none; padding: 0; border-radius: 0; }
.ed .card.review { box-shadow: none; border: 1px solid var(--ed-line); border-radius: 6px; }
.ed .card.review:hover { transform: none; box-shadow: none; }
.ed .rev-nav { justify-content: flex-start; }
.ed .rev-foot { text-align: left; }
.ed .review footer .avatar { box-shadow: none; }

/* ---------- Banda de edificios ---------- */
.ed .band { background: var(--ed-ink); box-shadow: none; border-radius: 6px; }
.ed .band .eyebrow { color: var(--koi-azul) !important; }
.ed .band .btn-white:hover { background: var(--koi-azul); border-color: var(--koi-azul); color: var(--ed-ink); }

/* ---------- Cierre ---------- */
.ed #valoracion .contact-list .card-icon { background: none; width: auto; height: auto; }

/* Movimiento: sin apariciones al hacer scroll; solo responde a lo que hace el usuario */
.anim .ed .rv, .anim .ed .rv.in { opacity: 1; transform: none; transition: none; }
.ed .hero-in > * { animation: none; }
.ed .hero-in h1 { animation: koi-fade-up .9s cubic-bezier(.2,.7,.2,1) both; }
.ed .section-head + .grid-3 .card-icon { align-self: start; margin-top: 3px; }
.ed .site-footer { border-top: 1px solid rgba(255,255,255,.14); }
.ed .footer-title { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--koi-azul); font-weight: 500; }
.ed .form.card { border-radius: 6px; box-shadow: none; }
@media (max-width: 999px) {
  .ed .zones { grid-template-columns: 1fr 1fr; }
  .ed .zone { min-height: 170px; }
  .ed .zone:first-child { grid-column: 1 / -1; min-height: 260px; }
  .ed .zone-txt { left: 16px; right: 12px; bottom: 14px; }
  .ed .zone-txt strong { font-size: 1.1rem; }
  .ed .zone .photo-ph small { display: none; }
}
@media (max-width: 999px) { .ed .zone:not(:first-child) .photo-ph > div { display: none; } .ed .zone-txt span { font-size: .8rem; } }

/* ---------- Editorial: resto de páginas ---------- */
.ed .hero-sm h1, .ed .hero-xs h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.02; max-width: 18ch; }
.ed .hero-xs { padding-bottom: clamp(48px, 6vw, 72px); }
.ed .breadcrumb { font-size: .85rem; }
.ed .card { box-shadow: none; border: 1px solid var(--ed-line); border-radius: 6px; }
.ed .section-head + .grid-3 .card:has(> .card-icon) { border: 0; border-bottom: 1px solid var(--ed-line); }
.ed .card-hover::before { display: none; }
.ed .card-hover:hover { transform: none; box-shadow: none; border-color: var(--koi-azul); }
.ed .card-icon { width: auto; height: auto; background: none; border-radius: 0; display: block; color: var(--koi-morado-medio); margin-bottom: 14px; }
.ed .card-icon .icon { width: 24px; height: 24px; }
.ed .card-hover:hover .card-icon, .ed .why-item:hover .card-icon, .ed .fact:hover .icon { transform: none; background: none; color: var(--koi-morado-medio); }
.ed .section-alt .card { background: #fff; }
.ed .faq { margin: 0; max-width: 860px; gap: 0; border-top: 1px solid var(--ed-line); }
.ed .faq-item { background: none; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--ed-line); }
.ed .faq-item summary { padding-left: 0; padding-right: 0; }
.ed .fact { box-shadow: none; border: 1px solid var(--ed-line); border-radius: 6px; }
.ed .map { border-radius: 6px; box-shadow: none; border: 1px solid var(--ed-line); }
.ed .notice { border-radius: 0; }
.ed .liq .label, .ed .table-lines th { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.ed .cats a { border-radius: 4px; }
.ed .cats a:hover { color: var(--ed-ink); }
.ed .barrio .num { background: none; color: var(--koi-azul); font-size: 1.5rem; font-weight: 600; width: auto; height: auto; place-items: start; }
.ed .barrio:hover .num { transform: none; }
.ed .steps-list .num { background: none; color: var(--koi-azul); font-size: 1.4rem; font-weight: 600; }
.ed .zone-links .card, .ed .neighbor { box-shadow: none; }

.ed .photo { background: #4B2E8F; border-radius: 6px; }
.ed .post .photo, .ed .zone .photo, .ed .partner .photo { border-radius: 0; }
.ed .post-cat { text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 500; }
.ed .partner { padding: 0 0 22px; overflow: hidden; }
.ed .partner > :not(.photo) { padding-inline: 22px; }
.ed .partner .photo { margin-bottom: 18px; }
.ed .card-icon { margin: 0 0 14px; text-align: left; } .ed .card-icon .icon { display: block; }

/* =====================================================================
   CALCULADORA EDITORIAL (solo portada: .page-home)
   Fondo claro tras la sección oscura de inversión, cifra grande como
   protagonista y formulario plano. Mismos textos, cifras y fórmula.
   Para revertir: borrar este bloque.
   ===================================================================== */
.ed .income-calculator { background: var(--koi-gris-fondo); padding: clamp(64px, 9vw, 128px) 0; }
.ed .income-calculator::before { display: none; }
.ed .income-calculator .income-calculator-grid { max-width: 1200px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ed .income-calculator-label { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; color: var(--koi-morado-medio); margin-bottom: 14px; }
.ed .income-calculator-title { color: var(--ed-ink); font-weight: 600; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.06; letter-spacing: -.035em; max-width: 16ch; margin-bottom: 18px; }
.ed .income-calculator-sub { color: var(--ed-muted); font-size: 1.05rem; line-height: 1.65; max-width: 46ch; margin-bottom: clamp(32px, 4vw, 48px); }

/* Resultado: la cifra es la protagonista, sobre una línea gruesa */
.ed .income-estimate-card { background: none; backdrop-filter: none; border: 0; border-top: 2px solid var(--ed-ink); border-radius: 0; padding: 22px 0 0; margin-bottom: 28px; box-shadow: none; }
.ed .income-estimate-card.is-active { box-shadow: none; }
.ed .income-estimate-icon { display: none; }
.ed .income-estimate-label { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ed-muted); margin-bottom: 6px; }
.ed .income-estimate-value { color: var(--ed-ink); font-weight: 600; letter-spacing: -.04em; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; gap: 4px 14px; margin-bottom: 12px; }
.ed .income-estimate-currency { color: var(--koi-morado-medio); font-weight: 500; font-size: .5em; letter-spacing: 0; align-self: flex-start; margin-top: .35em; }
.ed .income-estimate-sep { color: var(--koi-azul); font-weight: 400; }
.ed .income-estimate-note { color: var(--ed-muted); font-size: .9rem; margin-bottom: 22px; }
.ed .income-estimate-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ed-line); }
.ed .income-estimate-stats li { color: var(--ed-muted); padding: 14px 16px 14px 0; font-size: .92rem; border-bottom: 1px solid var(--ed-line); }
.ed .income-estimate-stats li + li { padding-left: 16px; border-left: 1px solid var(--ed-line); }
.ed .income-estimate-stats .icon { color: var(--koi-morado-medio); }
.ed .income-estimate-stats strong { color: var(--ed-ink); font-weight: 600; }
.ed .income-calculator-disclaimer { color: var(--ed-muted); border: 0; padding: 14px 0 0; margin: 0; font-size: .82rem; background: none; }
.ed .income-calculator-disclaimer .icon { color: var(--koi-morado-medio); }
.ed .income-calculator-disclaimer a { color: var(--ed-ink); }
.ed .income-calculator-benefits li { color: var(--koi-texto); }
.ed .income-calculator-benefits .icon { color: var(--koi-morado-medio); }

/* Formulario plano */
.ed .income-calculator-form-wrap { max-width: none; background: #fff; border: 1px solid var(--ed-line); border-radius: 6px; box-shadow: none; padding: clamp(22px, 3vw, 32px); justify-self: stretch; }
.ed .income-form-title { color: var(--ed-ink); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; }
.ed .income-form-group label { text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 500; color: var(--ed-ink); }
.ed .income-form-divider { text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 500; color: var(--ed-muted); }
.ed .income-calculator-form input, .ed .income-calculator-form select { background-color: #fff; border-radius: 4px; }
.ed .income-calculator-form .consent input { border-radius: 0; }
.ed .btn-income-submit { background: var(--ed-ink); box-shadow: none; border-radius: 6px; padding: 14px 18px; font-size: .95rem; }
.ed .btn-income-submit:hover { background: var(--koi-morado-medio); transform: none; box-shadow: none; }

@media (max-width: 900px) {
  .ed .income-calculator .income-calculator-grid { grid-template-columns: 1fr; }
  .ed .income-calculator-visual { text-align: left; }
  .ed .income-calculator-sub { margin-left: 0; }
  .ed .income-calculator-benefits { display: block; }
}
@media (max-width: 480px) {
  .ed .income-estimate-stats { grid-template-columns: 1fr; }
  .ed .income-estimate-stats li + li { padding-left: 0; border-left: 0; }
}

/* Formularios de toda la web con el estilo del formulario de la calculadora (30/11) */
.form-koi { max-width: none; justify-self: stretch; }
.income-calculator-form textarea {
    width: 100%; padding: 9px 12px; border: 1.5px solid #e8ecf2; border-radius: 8px;
    font-family: var(--koi-font); font-size: 0.84rem; color: #301E67; background: #f8faff;
    resize: vertical; min-height: 84px; transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.income-calculator-form textarea:focus { outline: none; border-color: #93C3FF; background: #fff; box-shadow: 0 0 0 4px rgba(147, 195, 255, 0.2); }
.income-input-wrap.no-icon input, .income-input-wrap.no-icon select { padding-left: 12px; }
.income-form-group.invalid textarea { border-color: #C62828; background-color: #fff6f6; }
.income-calculator-form .step-panel .btn-income-submit { margin-top: 4px; }
.income-calculator-form .btn-row { align-items: stretch; margin-top: 4px; }
.income-calculator-form .btn-row .btn-income-submit { width: auto; flex: 1; }
.income-calculator-form .btn-row .btn { padding: 11px 18px; }
.ed .income-calculator-form textarea { background-color: #fff; border-radius: 4px; }
