/* ==========================================================================
   Credicasa Costa Azahar — hoja de estilos principal
   Paleta mediterránea: azul marino, azul mar, blanco, arena, antracita, naranja
   ========================================================================== */

:root {
  --navy: #0a2740;
  --navy-800: #0e3352;
  --sea: #12739b;
  --sea-400: #2e9ec4;
  --sand: #f4ecdf;
  --sand-200: #e7dcc9;
  --cream: #fbf8f2;
  --white: #ffffff;
  --anthracite: #2a2f35;
  --muted: #5d6b78;
  --orange: #e0762a;
  --orange-600: #c9631d;
  --line: #e2ded5;
  --ok: #1f7a4d;
  --err: #b3261e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(10, 39, 64, .07);
  --shadow-md: 0 14px 40px rgba(10, 39, 64, .12);
  --shadow-lg: 0 30px 70px rgba(10, 39, 64, .18);
  --max: 1220px;
  --font-head: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--anthracite);
  background: var(--white);
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--navy);
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.85rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.05em; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
strong { color: var(--navy); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
small { font-size: .84rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(3.2rem, 6vw, 5.6rem) 0; }
.section--tight { padding: clamp(2.2rem, 4vw, 3.4rem) 0; }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #e9eef3; }
.section--navy h2, .section--navy h3, .section--navy strong { color: #fff; }
.section--navy a { color: #ffd8b6; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 .85rem;
}
.section--navy .eyebrow { color: #f6b47d; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: #35414c; }
.muted { color: var(--muted); }
.center { text-align: center; }
.measure { max-width: 68ch; }
.measure--center { max-width: 68ch; margin-inline: auto; }

.section-head { margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section-head.center { text-align: center; }
.section-head .lead { max-width: 62ch; }
.section-head.center .lead { margin-inline: auto; }
.rule {
  width: 62px; height: 3px; border: 0; background: var(--orange);
  margin: 0 0 1.1rem; border-radius: 2px;
}
.center .rule { margin-inline: auto; }

/* ---------------------------------------------------------------- Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .88rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 650; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(224, 118, 42, .28); }
.btn--primary:hover { background: var(--orange-600); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: rgba(255, 255, 255, .92); color: var(--navy); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .62); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--sm { padding: .62rem 1.05rem; font-size: .86rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------------------------------------------------------------- Header */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(10, 39, 64, .09);
}
.head-inner {
  display: flex; align-items: center; gap: 1.1rem;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.08; }
.brand strong {
  font-family: var(--font-head); font-size: 1.16rem; letter-spacing: -.01em; color: var(--navy);
}
.brand small {
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sea); font-weight: 700;
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  padding: .5rem .66rem; border-radius: 8px;
  font-size: .9rem; font-weight: 600; color: var(--navy); text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { background: rgba(18, 115, 155, .1); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--sea); box-shadow: inset 0 -2px 0 var(--orange); }

.head-actions { display: flex; align-items: center; gap: .55rem; }
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang a {
  padding: .26rem .5rem; border-radius: 999px; font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; color: var(--muted); text-decoration: none;
}
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch;
    background: #fff; padding: 1rem 22px 1.6rem; gap: .15rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 76px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav a { padding: .8rem .6rem; font-size: 1rem; border-bottom: 1px solid rgba(10, 39, 64, .06); }
  .nav a[aria-current="page"] { box-shadow: none; background: rgba(18, 115, 155, .08); }
  .menu-toggle { display: inline-flex; }
  .head-actions .btn--sm { display: none; }
}

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 28, 46, .62) 0%, rgba(6, 28, 46, .38) 38%, rgba(6, 28, 46, .82) 100%);
}
.hero__inner {
  padding: clamp(3.4rem, 9vw, 7.2rem) 0 clamp(2.6rem, 6vw, 4.2rem);
  max-width: 780px;
}
.hero h1 { color: #fff; text-shadow: 0 2px 26px rgba(0, 0, 0, .3); }
.hero .eyebrow { color: #ffd2ab; }
.hero__lead { font-size: clamp(1.04rem, 1.7vw, 1.26rem); color: #eef4f8; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.6rem;
  font-size: .86rem; color: #dbe7ef; letter-spacing: .02em;
}
.hero__meta span { display: inline-flex; align-items: center; gap: .45rem; }

.hero--page .hero__inner { padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2.2rem, 4vw, 3.2rem); }

/* Buscador de tres caminos */
.paths {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.path-card {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--radius); overflow: hidden; min-height: 230px;
  color: #fff; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: transform .22s ease, box-shadow .22s ease;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.path-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.path-card:hover img { transform: scale(1.05); }
.path-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 28, 46, .1) 20%, rgba(6, 28, 46, .88) 100%);
}
.path-card__body { position: absolute; inset: auto 0 0; padding: 1.15rem 1.25rem; }
.path-card__body h3 { color: #fff; margin-bottom: .2rem; font-size: 1.22rem; }
.path-card__body p { margin: 0; font-size: .9rem; color: #e6eef4; }
.path-card__tag {
  display: inline-block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 800; color: #ffd2ab; margin-bottom: .35rem;
}
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .path-card { min-height: 178px; } }

/* ---------------------------------------------------------------- Rejillas */
.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.8rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--sidebar { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 980px) {
  .grid--3, .grid--4, .grid--sidebar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .grid--2, .grid--3, .grid--4, .grid--sidebar { grid-template-columns: 1fr; }
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Tarjetas */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .35rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: .9rem;
  background: rgba(18, 115, 155, .1); color: var(--sea); font-size: 1.3rem;
}
.card--quiet { background: var(--cream); border-color: transparent; box-shadow: none; }

/* Tarjeta de inmueble / alojamiento */
.property-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .22s ease, box-shadow .22s ease;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.property-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .property-card__media img { transform: scale(1.04); }
.property-card__badges { position: absolute; top: .8rem; left: .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(255, 255, 255, .95); color: var(--navy);
  font-size: .72rem; font-weight: 750; letter-spacing: .04em;
  padding: .3rem .62rem; border-radius: 999px;
}
.badge--orange { background: var(--orange); color: #fff; }
.badge--navy { background: var(--navy); color: #fff; }
.property-card__body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.property-card__place {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sea); font-weight: 750;
}
.property-card h3 { margin: 0; font-size: 1.2rem; }
.property-card__text { margin: 0; font-size: .92rem; color: var(--muted); }
.property-card__foot {
  margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
}
.price { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.price small { font-family: var(--font-body); font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.link-arrow { font-size: .88rem; font-weight: 700; color: var(--orange); text-decoration: none; white-space: nowrap; }

/* Datos rápidos */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .95rem 1rem; text-align: center;
}
.fact b { display: block; font-family: var(--font-head); font-size: 1.24rem; color: var(--navy); line-height: 1.2; }
.fact span { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 650; }

/* Lista con checks */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; margin: 0; }
.checklist li::before {
  content: "✓"; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(31, 122, 77, .12); color: var(--ok);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center; margin-top: .2rem;
}
.section--navy .checklist li::before { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------------------------------------------------------------- Galería */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery button {
  position: relative; padding: 0; border: 0; border-radius: var(--radius-sm);
  overflow: hidden; cursor: zoom-in; background: var(--sand); aspect-ratio: 4 / 3;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button span {
  position: absolute; inset: auto 0 0; padding: .5rem .6rem;
  font-size: .76rem; color: #fff; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(6, 28, 46, .82));
}
.gallery__wide { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .gallery__wide { grid-column: span 2; grid-row: auto; } }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(6, 22, 36, .94); padding: 3.2rem 1rem 1rem;
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1120px, 94vw); max-height: 82vh; object-fit: contain; border-radius: 10px; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 1.1rem; text-align: center; color: #dfe8ef; font-size: .88rem; padding: 0 1rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; top: 1rem; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12);
  color: #fff; font-size: 1.2rem; cursor: pointer; display: grid; place-items: center;
}
.lightbox__close { right: 1rem; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { left: 4.2rem; }

/* ---------------------------------------------------------------- Precio destacado */
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-md);
}
.price-card__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.price-card__label { font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.price-card__value { font-family: var(--font-head); font-size: 2rem; color: var(--navy); font-weight: 700; }
.price-card__note { font-size: .85rem; color: var(--muted); margin: .2rem 0 1rem; }
.sticky-side { position: sticky; top: 96px; }
@media (max-width: 980px) { .sticky-side { position: static; } }

/* ---------------------------------------------------------------- Tabla de tarifas */
.pricing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.pricing__row {
  display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; justify-content: space-between;
  padding: 1rem 1.3rem; border-bottom: 1px solid var(--line);
}
.pricing__row:last-of-type { border-bottom: 0; }
.pricing__row span { font-size: .96rem; color: #35414c; }
.pricing__row strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); white-space: nowrap; }
.pricing__row--accent { background: rgba(224, 118, 42, .07); }
.pricing__note { padding: .9rem 1.3rem 1.2rem; font-size: .84rem; color: var(--muted); margin: 0; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- Pasos */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
}
.step h3 { margin: 0 0 .2rem; font-size: 1.06rem; }
.step p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: .6rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .95rem 1.15rem; transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(18, 115, 155, .45); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); font-size: .98rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.35rem; color: var(--orange); line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; font-size: .94rem; color: #3c4854; }

/* ---------------------------------------------------------------- Formularios */
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .32rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--anthracite);
  padding: .72rem .85rem; border: 1px solid #cfcabd; border-radius: 10px;
  background: #fff; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--sea); box-shadow: 0 0 0 3px rgba(18, 115, 155, .16); outline: none;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--err); box-shadow: 0 0 0 3px rgba(179, 38, 30, .12);
}
.field__error { font-size: .78rem; color: var(--err); min-height: 1em; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: #46525e; margin: .2rem 0; }
.consent input { width: 18px; height: 18px; margin: .18rem 0 0; flex: 0 0 auto; accent-color: var(--sea); }
.consent label { font-weight: 400; font-size: .84rem; color: #46525e; letter-spacing: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status {
  display: none; border-radius: 10px; padding: .8rem 1rem; font-size: .9rem; margin-bottom: .9rem;
}
.form__status.is-error { display: block; background: #fdeceb; color: #8f1d18; border: 1px solid #f3c9c6; }
.form__status.is-ok { display: block; background: #e9f6ef; color: #14613c; border: 1px solid #bfe3d0; }
.form__status.is-info { display: block; background: #eef5fa; color: #14506b; border: 1px solid #c9e0ee; }
.form__help { font-size: .78rem; color: var(--muted); margin: .8rem 0 0; }
.form button[type="submit"][disabled] { opacity: .6; cursor: progress; }

/* ---------------------------------------------------------------- Avisos */
.notice {
  display: flex; gap: .7rem; align-items: flex-start;
  background: rgba(18, 115, 155, .07); border: 1px solid rgba(18, 115, 155, .2);
  border-radius: var(--radius-sm); padding: .85rem 1rem; font-size: .88rem; color: #2f4a5c;
}
.notice--warn { background: #fdf5e7; border-color: #f0dcb4; color: #7a5518; }
.notice strong { color: inherit; }
.notice p { margin: 0; }

/* ---------------------------------------------------------------- Cita / historia */
.quote {
  border-left: 3px solid var(--orange); padding: .3rem 0 .3rem 1.3rem;
  font-family: var(--font-head); font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic; color: var(--navy); line-height: 1.4; margin: 1.6rem 0;
}
.section--navy .quote { color: #fff; }

.stat-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem; margin-top: 1.6rem;
}
.stat { text-align: center; padding: .8rem; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; line-height: 1.1; }
.stat span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #b9cddb; font-weight: 650; }
.section--sand .stat b, .section--cream .stat b { color: var(--navy); }
.section--sand .stat span, .section--cream .stat span { color: var(--muted); }

/* ---------------------------------------------------------------- Migas */
.crumbs { font-size: .8rem; color: var(--muted); padding: 1rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: #b5bec6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--sea); text-decoration: underline; }

/* ---------------------------------------------------------------- Prosa (guías, legal) */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.7rem; }
.prose ul li, .prose ol li { margin-bottom: .5rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--cream); color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------------------------------------------------------------- CTA final */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 28, 46, .92), rgba(6, 28, 46, .55)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e2ecf3; max-width: 56ch; }

/* ---------------------------------------------------------------- Footer */
.site-foot { background: var(--navy); color: #b9c9d6; padding: clamp(2.6rem, 5vw, 4rem) 0 1.4rem; font-size: .9rem; }
.site-foot a { color: #dfe9f1; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 {
  color: #fff; font-family: var(--font-body); font-size: .76rem; letter-spacing: .16em;
  text-transform: uppercase; margin: 0 0 .9rem;
}
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-foot .brand strong { color: #fff; }
.site-foot .brand small { color: #8fb4cb; }
.foot-bottom {
  margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .13);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .79rem; color: #93a9ba;
}
.foot-bottom a { color: #b9c9d6; }

/* ---------------------------------------------------------------- Utilidades */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; }
.mb-1 { margin-bottom: .6rem; } .mb-2 { margin-bottom: 1.2rem; } .mb-3 { margin-bottom: 2rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag {
  font-size: .78rem; font-weight: 650; color: var(--navy);
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .28rem .7rem;
}
.section--navy .tag { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Enlace de salto visible en foco */
a:focus-visible, button:focus-visible, summary:focus-visible { outline-offset: 3px; }
