/* ==========================================================================
   Bernier Medical Group S.A.S — hoja de estilos principal
   Paleta tomada del material de marca: azul marino, dorado y crema.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/montserrat.woff2") format("woff2");
}

:root {
  --navy-900: #0b1c33;
  --navy-800: #102641;
  --navy-700: #1b3358;
  --navy-600: #2e3d5a;
  --gold-300: #e3c88f;
  --gold-400: #d4b06a;
  --gold-500: #b8914f;
  --gold-700: #7d5f28; /* dorado accesible sobre fondos claros */
  --cream-50: #fbf8f3;
  --cream-100: #f6f1e8;
  --cream-200: #efe7dc;
  --ink: #13213a;
  --ink-soft: #46536b;
  --line: #e4dccd;
  --white: #fff;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px -24px rgba(11, 28, 51, .35);
  --shadow-sm: 0 6px 20px -10px rgba(11, 28, 51, .25);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-50);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-700); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-800);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

/* ---------- Tipografía de apoyo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow--light { color: var(--gold-400); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ink-soft); }
.script { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold-700); }
.on-dark .script { color: var(--gold-300); }
.pulse-rule { display: block; width: 220px; max-width: 70%; height: 16px; color: var(--gold-500); margin: 1rem 0 1.4rem; }
.center { text-align: center; }
.center .pulse-rule, .center .eyebrow { margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--navy-800); --fg: #fff; --bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.5em; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 600 .95rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--gold { --bg: linear-gradient(135deg, #d9b977, #b8914f 60%, #a07a3d); --fg: var(--navy-900); --bd: transparent; background: var(--bg); }
.btn--outline { --bg: transparent; --fg: var(--navy-800); --bd: var(--navy-800); }
.btn--outline:hover { --bg: var(--navy-800); --fg: #fff; background: var(--navy-800); }
.on-dark .btn--outline, .btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); background: transparent; }
.on-dark .btn--outline:hover, .btn--outline-light:hover { --fg: var(--navy-900); background: #fff; }
.btn--wa { --bg: #1f8f53; --bd: #1f8f53; --fg: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-900); color: #d6dbe5; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #e9edf3; text-decoration: none; }
.topbar a:hover { color: var(--gold-300); }
.topbar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold-400); }
@media (max-width: 860px) { .topbar .hide-sm { display: none; } }
@media (max-width: 560px) { .topbar { display: none; } }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(11,28,51,.35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-800); flex: none; }
.brand img { width: auto; height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: .2em; }
.brand__sub { font-size: .6rem; font-weight: 600; letter-spacing: .26em; color: var(--gold-700); margin-top: 5px; }
.brand:hover { color: var(--navy-800); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px;
  font-size: .9rem; font-weight: 500; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold-700); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 50%; min-width: 270px; translate: -50% 0;
  list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.submenu a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .9rem; }
.submenu a:hover { background: var(--cream-100); color: var(--navy-800); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub.is-open .nav__link svg { transform: rotate(180deg); }
.nav .btn { margin-left: 10px; min-height: 44px; padding: .6em 1.2em; font-size: .88rem; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  /* La cabecera usa backdrop-filter, que vuelve "fixed" relativo a ella: el panel se ancla a la cabecera. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99; flex-direction: column; align-items: stretch;
    height: calc(100vh - var(--nav-top, var(--header-h))); height: calc(100dvh - var(--nav-top, var(--header-h)));
    overscroll-behavior: contain; border-top: 1px solid var(--line);
    gap: 0; padding: 20px var(--gutter) 40px; background: var(--cream-50); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"] { box-shadow: none; }
  .submenu { position: static; translate: none; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; background: transparent; }
  .has-sub.is-open .submenu { display: block; }
  .has-sub:hover .submenu { transform: none; }
  .nav .btn { margin: 24px 0 0; width: 100%; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand img { height: 44px; }
  .brand__name { font-size: 1.3rem; }
  .brand__sub { font-size: .52rem; letter-spacing: .2em; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--cream { background: var(--cream-100); }
.section--white { background: #fff; }
.section--navy { background: var(--navy-800); color: #dfe4ec; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead, .on-dark p { color: #c9d1de; }
.on-dark a:not(.btn) { color: var(--gold-300); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy-800); color: #dfe4ec;
  padding-block: clamp(56px, 8vw, 110px) clamp(110px, 14vw, 190px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(212,176,106,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(46,61,90,.9), transparent 70%),
    linear-gradient(160deg, #13294a 0%, #0f2442 50%, #0b1c33 100%);
}
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; height: auto; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-300); }
.hero .lead { color: #c9d1de; max-width: 600px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: .86rem; color: #d6dbe5; }
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 18px; height: 18px; color: var(--gold-400); }
.hero__card {
  position: relative; border-radius: 26px; padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(212,176,106,.35); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
  text-align: center;
}
.hero__card img { margin: 0 auto 14px; width: 150px; height: auto; }
.hero__card .wordmark { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.7rem); letter-spacing: .24em; color: #fff; line-height: 1; margin: 0; padding-left: .24em; }
.hero__card .wordmark-sub { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold-400); font-size: .74rem; font-weight: 600; letter-spacing: .28em; margin: 10px 0 6px; }
.hero__card .wordmark-sub::before, .hero__card .wordmark-sub::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.hero__card .tagline { font-size: .68rem; letter-spacing: .2em; color: #c9d1de; text-transform: uppercase; margin: 0 0 18px; }
.hero__icons { display: flex; justify-content: center; align-items: center; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; }
.hero__icons li { padding: 4px 16px; border-left: 1px solid rgba(212,176,106,.5); }
.hero__icons li:first-child { border-left: 0; }
.hero__icons svg { width: 34px; height: 34px; color: var(--gold-400); }
.hero__card .doc { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(212,176,106,.3); }
.hero__card .doc strong { display: block; font-family: var(--serif); font-size: 1.45rem; color: #fff; font-weight: 600; }
.hero__card .doc span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { max-width: 480px; }
}

/* Página interior: cabecera */
.page-hero {
  position: relative; overflow: hidden; background: var(--navy-800); color: #dfe4ec; isolation: isolate;
  padding-block: clamp(48px, 7vw, 88px) clamp(80px, 10vw, 130px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(800px 420px at 90% 0%, rgba(212,176,106,.15), transparent 60%), linear-gradient(160deg, #13294a, #0b1c33);
}
.page-hero h1 { color: #fff; max-width: 900px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero .lead { color: #c9d1de; max-width: 720px; }
.breadcrumbs { font-size: .82rem; margin-bottom: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--gold-400); }
.breadcrumbs a { color: #c9d1de; text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-300); }
.breadcrumbs [aria-current] { color: var(--gold-300); }

/* ---------- Tarjetas de servicios ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards--3, .cards--2 { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(184,145,79,.5); }
.card h3 { margin-top: 18px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card .more { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--gold-700); display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }
.icon-ring {
  display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  border: 1.5px solid var(--gold-500); color: var(--navy-800); background: var(--cream-50);
}
.icon-ring svg { width: 36px; height: 36px; }
.on-dark .icon-ring { background: transparent; color: var(--gold-300); }

/* ---------- Bloques de dos columnas ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.portrait {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 460px; margin-inline: auto; width: 100%;
  background: linear-gradient(165deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; text-align: center; color: #fff; box-shadow: var(--shadow);
}
.portrait img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__inner { position: relative; padding: 40px 28px; }
.portrait__inner img { width: 130px; margin: 0 auto 18px; }
.portrait__inner strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.15; }
.portrait__inner span { display: block; margin-top: 10px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); }
.portrait__curve { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; }
.portrait::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(212,176,106,.35); border-radius: 20px; pointer-events: none; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d5f28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist--cols { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
@media (max-width: 620px) { .checklist--cols { grid-template-columns: 1fr; } }
.on-dark .checklist li::before { background-color: rgba(212,176,106,.18); }

/* ---------- Valores / cifras ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(212,176,106,.3); }
.values > div { padding: 30px 26px; border-left: 1px solid rgba(212,176,106,.3); }
.values > div:first-child { border-left: 0; padding-left: 0; }
.values h3 { font-size: 1.4rem; margin-bottom: .35em; }
.values p { font-size: .93rem; margin: 0; }
@media (max-width: 900px) {
  .values { grid-template-columns: 1fr 1fr; }
  .values > div { padding: 24px 20px; border-left: 0; border-bottom: 1px solid rgba(212,176,106,.3); }
  .values > div:first-child { padding-left: 20px; }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Pasos ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1;
  color: var(--gold-500); margin-bottom: 12px;
}
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Modalidades ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mode { position: relative; border-radius: var(--radius); padding: 30px 26px; background: rgba(255,255,255,.04); border: 1px solid rgba(212,176,106,.3); }
.mode svg { width: 38px; height: 38px; color: var(--gold-400); margin-bottom: 14px; }
.mode h3 { font-size: 1.45rem; }
.mode p { margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(184,145,79,.55); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-weight: 600; color: var(--navy-800); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold-500);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d5f28' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.contact-list .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-200); color: var(--gold-700); }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--navy-800); font-weight: 500; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--gold-700); text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 500; color: var(--ink-soft); }
.hours td { text-align: right; font-weight: 600; color: var(--navy-800); }

.form { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form h2, .form h3 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream-50);
  border: 1px solid #d8cfbf; border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(184,145,79,.18); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy-800); flex: none; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin: 14px 0 0; }

.map-facade {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background:
    linear-gradient(rgba(16,38,65,.78), rgba(16,38,65,.78)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.08) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.08) 38px 40px),
    var(--navy-700);
  color: #fff; text-align: center; padding: 20px;
}
.map-facade p { color: #d6dbe5; margin: 8px 0 18px; font-size: .95rem; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Banda CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-800); color: #fff; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 15% 50%, rgba(212,176,106,.18), transparent 70%), linear-gradient(120deg, #13294a, #0b1c33); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 72px); }
.cta-band h2 { color: #fff; margin: 0; max-width: 640px; }
.cta-band h2 em { color: var(--gold-300); font-weight: 500; }

/* ---------- Prosa (artículos, legales) ---------- */
.prose { font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--gold-500); background: var(--cream-100); border-radius: 0 12px 12px 0; font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--navy-800); }
.notice { margin: 2em 0 0; padding: 18px 22px; border-radius: 12px; background: var(--cream-100); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: #c9d1de; margin-top: 14px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.aside-card h2 { font-size: 1.5rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }

.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__top { height: 120px; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); display: grid; place-items: center; color: var(--gold-400); }
.post-card__top svg { width: 46px; height: 46px; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--ink-soft); font-size: .93rem; }
.post-card time { font-size: .8rem; color: var(--gold-700); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-900); color: #b8c1d1; font-size: .92rem; position: relative; }
.site-footer a { color: #dfe4ec; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 72px 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-brand .wm { font-family: var(--serif); font-size: 1.7rem; letter-spacing: .22em; color: #fff; line-height: 1; }
.footer-brand .wm-sub { font-size: .62rem; letter-spacing: .26em; color: var(--gold-400); font-weight: 600; margin: 6px 0 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom p { margin: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-400); flex: none; margin-top: 4px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 999px; background: #1f8f53; color: #fff; text-decoration: none;
  font-weight: 600; font-size: .92rem; box-shadow: 0 14px 30px -10px rgba(16, 80, 46, .6); transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 640px) { .wa-float { width: 58px; padding: 0; justify-content: center; } .wa-float span { display: none; } }

/* ---------- Decoración ---------- */
.leaf-deco { position: absolute; pointer-events: none; color: var(--gold-500); opacity: .14; z-index: 0; }
.section > .container { position: relative; z-index: 1; }

/* Animación de entrada (solo si hay JS y el usuario no pide reducir movimiento) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Tarjetas: suben en cascada, pasan de desenfocadas a nítidas y la foto se asienta con un leve zoom */
.js :is(.card, .post-card, .mode).reveal {
  transform: translateY(42px) scale(.965); filter: blur(5px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease,
              box-shadow .3s, border-color .3s;
}
.js :is(.card, .post-card, .mode).reveal.is-visible { transform: none; filter: none; }
.js :is(.card, .post-card, .mode).reveal.is-done { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.js :is(.card, .post-card, .mode).reveal.is-done:hover { transform: translateY(-6px); }
.js .reveal :is(.card__media, .post-card__top, .mode__media) img { transform: scale(1.14); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible :is(.card__media, .post-card__top, .mode__media) img { transform: none; }
.js .reveal.is-done:hover :is(.card__media, .post-card__top, .mode__media) img { transform: scale(1.05); transition-duration: .6s; }
/* Línea dorada que se dibuja en el borde superior */
:is(.card, .post-card, .mode).reveal::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-400), var(--gold-700));
  transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.7,.2,1) .35s;
}
:is(.card, .post-card, .mode).reveal.is-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .big { font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); color: var(--gold-500); line-height: 1; margin: 0; }

@media print {
  .topbar, .site-header, .wa-float, .cta-band, .site-footer .footer-grid > :not(:first-child) { display: none !important; }
  body { background: #fff; }
}

/* Utilidades */
[data-u="mt"] { margin-top: 36px; }
.btn-row[data-u="mt"], [data-u="center"] { justify-content: center; }
.section > .leaf-deco { right: -30px; top: 30px; width: 200px; height: auto; }
@media (max-width: 760px) { .section > .leaf-deco { display: none; } }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0 18px; }
.aside-card h3 { font-size: 1.2rem; }
.aside-card ul { margin: 0; padding-left: 1.1em; }
.aside-card ul li { margin-bottom: 6px; }
.map-facade > div > svg { width: 40px; height: 40px; margin: 0 auto; color: var(--gold-400); }
body { overflow-x: clip; }
.section, .hero, .page-hero { overflow-x: clip; }
.topbar li, .topbar a { white-space: nowrap; }
address { font-style: normal; }
p.script { font-size: 1.6rem; margin: 0 0 .1em; }
@media (max-width: 600px) { .hero__card { display: none; } }
.map-facade--wide { aspect-ratio: 21 / 8; } @media (max-width: 700px) { .map-facade--wide { aspect-ratio: 4 / 3; } }

/* ---------- Fotografías ---------- */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/instalaciones.webp") center / cover no-repeat; opacity: .10; filter: grayscale(.4);
}
.hero__photo { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 440px; }
.hero__photo > img {
  width: 100%; height: auto; aspect-ratio: 676 / 835; object-fit: cover; border-radius: 220px 220px 26px 26px;
  border: 1px solid rgba(212,176,106,.55); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.hero__photo::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px; border-radius: 234px 234px 30px 30px;
  border: 1px solid rgba(212,176,106,.4); z-index: -1;
}
.hero__badge {
  position: absolute; left: -28px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(11,28,51,.88); border: 1px solid rgba(212,176,106,.45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.hero__badge img { height: 44px; width: auto; }
.hero__badge strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: #fff; line-height: 1.1; }
.hero__badge small { display: block; font-size: .7rem; letter-spacing: .06em; color: var(--gold-300); }
@media (max-width: 920px) { .hero__photo { max-width: 360px; } .hero__badge { left: 0; } }
@media (max-width: 600px) { .hero__photo { max-width: 300px; margin-top: 12px; } .hero__badge { left: -6px; right: -6px; bottom: 16px; } }

.portrait--photo { display: block; background: var(--navy-800); }
.portrait--photo img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 26px; text-align: left; z-index: 1;
  background: linear-gradient(to top, rgba(11,28,51,.92), rgba(11,28,51,.55) 60%, transparent);
}
.portrait__caption strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: #fff; }
.portrait__caption span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-top: 4px; }

.card--media { padding-top: 0; overflow: hidden; }
.card__media { margin: 0 -26px 0; height: 170px; overflow: hidden; background: var(--cream-200); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card--media:hover .card__media img { transform: scale(1.05); }
.card--media .icon-ring { margin-top: -37px; position: relative; z-index: 1; background: #fff; }
.card--media .icon-ring { width: 64px; height: 64px; }
.card--media .icon-ring svg { width: 30px; height: 30px; }

.mode--media { padding-top: 0; overflow: hidden; }
.mode__media { margin: 0 -26px 22px; height: 180px; overflow: hidden; }
.mode__media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }

.post-card__top { height: 190px; padding: 0; display: block; overflow: hidden; }
.post-card__top img { display: block; width: 100%; height: 100%; object-fit: cover; }

.prose__figure { margin: 0 0 32px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--cream-200); }
.prose__figure img { width: 100%; height: 100%; object-fit: cover; }

.doc-card { display: flex; align-items: center; gap: 16px; padding: 14px; margin-bottom: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.doc-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--gold-500); }
.doc-card strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy-800); }
.doc-card span { font-size: .85rem; color: var(--ink-soft); }
.mode__media img { object-position: center 18%; } .card__media img { object-position: center 25%; }
.hero__badge picture, .hero__badge img { flex: none; }
.announce { background: var(--gold-500); color: var(--navy-900); text-align: center; font-size: .88rem; font-weight: 600; padding: 8px 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-size: .95rem; }
.form-status[data-state="ok"] { background: #e9f5ee; border: 1px solid #b7dcc5; color: #14532d; }
.form-status[data-state="error"] { background: #fdf0ee; border: 1px solid #f0c4bc; color: #7f1d1d; }
.form-status[data-state="sending"] { background: var(--cream-100); border: 1px solid var(--line); color: var(--ink-soft); }
.form-status .btn { margin-top: 12px; }

.article-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: .9rem; color: rgba(255,255,255,.82); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 18px; height: 18px; flex: none; color: var(--gold-400); }

/* ---------- Planes de atención ---------- */
.plan-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.plan-grid > * { flex: 0 1 calc((100% - 44px) / 3); }
@media (max-width: 1020px) { .plan-grid > * { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 620px) { .plan-grid > * { flex-basis: 100%; } }
.plan-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(184,145,79,.5); }
.plan-card--featured { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.plan-card__badge { position: absolute; top: 18px; right: 18px; background: var(--navy-800); color: var(--gold-300); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan-card h3 { margin: 16px 0 4px; font-size: 1.45rem; }
.plan-card__price { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--gold-700); margin: 0 0 14px; line-height: 1.2; }
.plan-card__facts { margin: 0 0 18px; display: grid; gap: 8px; font-size: .88rem; }
.plan-card__facts div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.plan-card__facts dt { color: var(--ink-soft); font-weight: 500; }
.plan-card__facts dd { margin: 0; color: var(--navy-800); font-weight: 600; }
.plan-card .more { font-size: .85rem; font-weight: 600; color: var(--gold-700); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.plan-card .more svg { width: 16px; height: 16px; }
.container--plans { max-width: 980px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); margin-top: 28px; scroll-margin-top: calc(var(--header-h) + 16px); }
.plan__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 10px; }
.plan__num { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-300); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.plan__head h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.plan__head h3 small { font-size: .7em; color: var(--ink-soft); font-weight: 500; }
.plan__price { margin: 4px 0 0; font-weight: 700; color: var(--gold-700); font-size: 1.05rem; }
.plan__note { margin: 2px 0 0; font-size: .88rem; color: var(--ink-soft); }
.plan__for { color: var(--ink-soft); }
.plan__cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; margin-top: 8px; }
@media (max-width: 760px) { .plan__cols { grid-template-columns: 1fr; } .plan__head { gap: 14px; } }
.plan h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-700); margin: 14px 0 12px; }
.plan__list { margin: 0 0 1.4em; padding-left: 1.3em; display: grid; gap: 8px; }
.plan__list li::marker { color: var(--gold-700); font-weight: 700; }
.plan__after { font-size: .92rem; color: var(--ink-soft); font-style: italic; }
.plan .btn { margin-top: 10px; }
.table-wrap { overflow-x: auto; margin-bottom: 1.2em; }
.plan-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.plan-table th, .plan-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.plan-table thead th { background: var(--cream-100); color: var(--navy-800); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.plan-table tbody th { color: var(--gold-700); font-weight: 700; white-space: nowrap; }
.plan-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--navy-800); }
.plan-cta { margin-top: 24px; }

/* Menú de escritorio con 8 enlaces: sin saltos de línea */
@media (min-width: 1081px) {
  .nav__link, .nav .btn { white-space: nowrap; }
  .nav__link { padding: 10px 9px; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .nav__link { padding: 10px 6px; font-size: .84rem; }
  .nav .btn { margin-left: 4px; padding: .6em .9em; }
  .brand__text { display: none; }
}

/* ---------- Conversión: precios, confianza y acciones ---------- */
.plan-card__pitch { color: var(--ink-soft); font-size: .95rem; margin: 0 0 12px; }
.plan-card__alt { margin: -10px 0 14px; font-size: .85rem; font-weight: 600; color: var(--navy-700); }
.plan-card__cta { margin-top: auto; display: grid; gap: 12px; justify-items: center; }
.plan-card__cta .btn { width: 100%; }
.plan-card--featured { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #e3c88f, #b8914f 55%, #102641) border-box; border: 2px solid transparent; }
.plan-card--featured:hover { box-shadow: 0 24px 60px -24px rgba(184,145,79,.55); }
.section--plans { background: linear-gradient(180deg, var(--cream-50), var(--cream-100)); }
.hero__price { margin: 18px 0 0; font-size: .92rem; color: #c9d1de; }
.hero__price strong { color: var(--gold-300); font-weight: 700; }
.page-hero .btn-row { margin-top: 26px; }
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust__list li { display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.35; }
.trust__list strong { display: block; color: var(--navy-800); }
.trust__list small { color: var(--ink-soft); font-size: .8rem; }
.trust__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-100); color: var(--gold-700); }
.trust__ic svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .trust__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust__list { grid-template-columns: 1fr; gap: 14px; } }
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; pointer-events: none; }
.btn--gold:hover::after { transform: translateX(120%); }
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .wa-float { display: none; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,248,243,.96); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgba(11,28,51,.45); backdrop-filter: blur(8px); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; text-decoration: none;
    font-weight: 600; font-size: .85rem; color: var(--navy-800); border: 1px solid var(--line); background: #fff; }
  .mobile-cta svg { width: 18px; height: 18px; }
  .mobile-cta .mobile-cta__book { background: linear-gradient(135deg, #d9b977, #b8914f 60%, #a07a3d); border-color: #b8914f; color: var(--navy-900); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .btn--gold::after { display: none; } }
@media print { .mobile-cta { display: none !important; } }

.perfil-rol { margin: -4px 0 6px; font-weight: 600; color: var(--gold-700); letter-spacing: .02em; }

/* ---------- Ubicación con fotos del Edificio Elemento ---------- */
.map-facade { background:
    linear-gradient(rgba(16,38,65,.80), rgba(11,28,51,.86)),
    url("/assets/img/edificio-elemento-torres.webp") center / cover no-repeat,
    var(--navy-700); }
.ubicacion-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 22px; align-items: stretch; }
.ubicacion-grid .map-facade { aspect-ratio: auto; height: 100%; min-height: 320px; }
.edificio { position: relative; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.edificio img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.edificio figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(11,28,51,.88)); display: grid; gap: 2px; font-size: .85rem; }
.edificio figcaption strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.edificio figcaption span { color: var(--gold-300); }
@media (max-width: 760px) { .ubicacion-grid { grid-template-columns: 1fr; } .edificio { aspect-ratio: 4 / 3; min-height: 0; } .ubicacion-grid .map-facade { aspect-ratio: 4 / 3; height: auto; } }

/* ---------- Agenda en línea ---------- */
.agenda { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 18px; margin: 0; background: var(--cream-50); }
.agenda legend { padding: 0 6px; font-size: .85rem; font-weight: 600; color: var(--navy-800); }
.agenda__fecha input { max-width: 240px; }
.agenda__msg { margin: 12px 0 10px; font-size: .9rem; color: var(--ink-soft); }
.agenda__msg::first-letter { text-transform: uppercase; }
.agenda__horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot-btn { display: grid; justify-items: center; gap: 0; min-height: 46px; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font: 600 .9rem var(--sans); color: var(--navy-800); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.slot-btn:hover:not(:disabled) { border-color: var(--gold-500); }
.slot-btn[aria-checked="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.slot-btn:disabled { cursor: not-allowed; color: #a7adb9; background: #f3f1ec; text-decoration: line-through; }
.slot-btn small { font-size: .68rem; font-weight: 500; text-decoration: none; display: block; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--gold-700); text-decoration: underline; cursor: pointer; }

/* ---------- Fotos ambientales ---------- */
.portrait--scene img.photo { object-position: center; }
.plan__media { margin: 6px 0 16px; border-radius: 16px; overflow: hidden; aspect-ratio: 21 / 8; }
.plan__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 620px) { .plan__media { aspect-ratio: 16 / 9; } }

.plan-card__price--ask { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--navy-700); }
