/* ==========================================================================
   SOMNUM — Sedación y anestesia
   Hoja de estilos base. Diseñada para cumplir WCAG 2.1 nivel AA.
   Paleta derivada del logo corporativo (teal #66C4D1).
   ========================================================================== */

/* ---- Tipografías (Google Fonts) ---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Manrope:wght@400;500;600;700&display=swap');

/* ---- Tokens de diseño --------------------------------------------------- */
:root {
  /* Marca */
  --brand:        #66C4D1;   /* teal corporativo — uso decorativo / superficies */
  --brand-600:    #3AA7B6;
  --brand-700:    #177380;
  --brand-ink:    #0E5763;   /* teal profundo — texto/enlaces sobre claro (AA) */
  --deep:         #0B3A42;   /* teal muy oscuro — pie de página */

  /* Neutros */
  --ink:          #16292E;   /* texto principal */
  --muted:        #46595E;   /* texto secundario (AA sobre blanco) */
  --bg:           #FBFDFD;   /* fondo general */
  --surface:      #FFFFFF;   /* tarjetas / superficies */
  --haze:         #E8F4F6;   /* banda de sección pálida */
  --haze-2:       #DCEEF1;
  --line:         #CBE2E6;   /* filetes / bordes suaves */
  --sand:         #EFE9DE;   /* neutro cálido, uso puntual */

  /* Tipografía */
  --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Radios y sombras */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 58, 66, .06), 0 4px 14px rgba(11, 58, 66, .05);
  --shadow-md: 0 8px 30px rgba(11, 58, 66, .10);

  /* Ritmo */
  --maxw: 1160px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

/* ---- Reset ligero ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1rem; max-width: 65ch; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2em; }

/* ---- Accesibilidad: foco visible y skip link ---------------------------- */
:focus-visible {
  outline: 3px solid var(--brand-700);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--deep);
  color: #fff;
  padding: .75rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }
.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;
}

/* ---- Utilidades de maquetación ----------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
/* Reduce a la mitad el espacio entre la cabecera y el primer contenido */
#main > .section:first-child { padding-top: calc(var(--section-y) / 2); }
.section--haze { background: var(--haze); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--brand);
  display: inline-block;
}
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--muted); }

/* ---- Botones ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .95rem 1.5rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: var(--deep); }
.btn--primary:hover { background: #78ccd8; }
.btn--ghost { background: transparent; color: var(--brand-ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-600); background: var(--surface); }
.btn--on-deep { background: var(--brand); color: var(--deep); }
.btn--ghost-on-deep { background: transparent; color: #EAF7F9; border-color: rgba(255,255,255,.4); }
.btn--ghost-on-deep:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ==========================================================================
   Cabecera / navegación
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 253, 253, .82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.nav__brand { display: inline-flex; align-items: center; }
.nav__brand img { height: 30px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: .55rem .85rem;
  border-radius: var(--r-pill);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
}
.nav__links a:hover { background: var(--haze); color: var(--brand-ink); }
.nav__links a[aria-current="page"] {
  color: var(--brand-ink);
  background: var(--haze-2);
}
.nav__cta { display: flex; align-items: center; gap: .75rem; }
.nav__phone {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav__phone:hover { color: var(--brand-ink); }

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  width: 46px; height: 46px;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

/* Responsive nav */
@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__links { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav__links a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav__cta { flex-direction: column; align-items: stretch; }
  .nav__cta .btn { width: 100%; }
  .nav__phone { text-align: center; padding: .5rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(1.75rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}
.hero h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.1rem);
  font-weight: 300;
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--brand-700);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero__note { margin-top: 1.6rem; font-size: .92rem; color: var(--muted); }

/* Distintivo de experiencia (dato real destacado) */
.stat-badge {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  background: var(--haze);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .5rem 1.1rem;
  margin-top: 1.6rem;
}
.stat-badge b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--brand-700);
  line-height: 1;
}
.stat-badge span { color: var(--muted); font-size: .92rem; max-width: 30ch; }

/* Firma visual: círculo que "respira" */
.breath {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 460px);
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.breath__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.breath__core {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #9ad9e2 0%, var(--brand) 46%, var(--brand-600) 100%);
  box-shadow: 0 20px 60px rgba(30, 124, 138, .35);
  animation: breathe 8s ease-in-out infinite;
}
.breath__halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102,196,209,.28) 0%, rgba(102,196,209,0) 70%);
  animation: breatheHalo 8s ease-in-out infinite;
}
.breath__label {
  position: absolute;
  bottom: 6%;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brand-700);
  font-size: 1.05rem;
}
@keyframes breathe {
  0%, 100% { transform: scale(.86); }
  50%      { transform: scale(1.06); }
}
@keyframes breatheHalo {
  0%, 100% { transform: scale(.9); opacity: .5; }
  50%      { transform: scale(1.15); opacity: 1; }
}

/* ==========================================================================
   Bloques de contenido
   ========================================================================== */
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); }

/* Rejilla de reaseguro */
.reassure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.reassure__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.reassure__item h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.reassure__item p { margin: 0; color: var(--muted); font-size: .96rem; }
.reassure__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--haze);
  color: var(--brand-700);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}

/* Tarjetas de servicios */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.card__tag {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: .7rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 1.1rem; }
.card__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.card__link:hover { gap: .65rem; }
/* Enlace que cubre toda la tarjeta manteniendo el foco accesible */
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Proceso (secuencia real → numeración justificada) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: .6rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Bloque partido texto + lista */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .15rem;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--haze) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23177380' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.media-frame {
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--haze) 0%, var(--haze-2) 100%);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

/* Cita / filosofía */
.quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 22ch;
}
.quote em { color: var(--brand-700); font-style: italic; }

/* Perfil profesional */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.profile__photo {
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--haze) 0%, var(--haze-2) 100%);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 1.5rem;
  font-size: .9rem;
}
.profile__photo--photo { padding: 0; overflow: hidden; position: relative; display: block; }
.profile__photo--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.creds { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.creds li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.creds li::before { content: "—"; position: absolute; left: 0; color: var(--brand-600); }

/* ==========================================================================
   FAQ (acordeón accesible)
   ========================================================================== */
.faq { max-width: 780px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.35rem 3rem 1.35rem 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: .25rem; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%) rotate(0deg);
  transition: transform .25s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230E5763' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq__q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(180deg); }
.faq__a { padding: 0 0 1.4rem; color: var(--muted); }
.faq__a p { margin: 0; }
.faq__panel[hidden] { display: none; }

/* ==========================================================================
   Contacto / formulario
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info dl { margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
.contact-info dt {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
  font-weight: 600;
  margin-bottom: .2rem;
}
.contact-info dd { margin: 0; font-size: 1.1rem; }
.contact-info dd a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-info dd a:hover { color: var(--brand-ink); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.35rem; }
.field label { display: block; font-weight: 600; margin-bottom: .45rem; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.req { color: var(--brand-700); }
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: .8rem .95rem;
  min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--brand-600); }
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { outline: 3px solid var(--brand-700); outline-offset: 1px; border-color: var(--brand-700); }

fieldset { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.15rem 1.15rem; margin: 0 0 1.35rem; }
fieldset legend { font-weight: 600; padding: 0 .4rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-chip span {
  display: inline-block;
  padding: .55rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .95rem;
  cursor: pointer;
}
.radio-chip input:checked + span { background: var(--haze-2); border-color: var(--brand-600); color: var(--brand-ink); font-weight: 600; }
.radio-chip input:focus-visible + span { outline: 3px solid var(--brand-700); outline-offset: 2px; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: .25rem; width: 20px; height: 20px; flex: none; accent-color: var(--brand-700); }
.form__status { margin-top: 1rem; font-weight: 600; color: var(--brand-ink); }

/* ==========================================================================
   Páginas de texto legal
   ========================================================================== */
.legal { max-width: 760px; margin-inline: auto; }
.legal .eyebrow { justify-content: flex-start; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 300; margin-bottom: .6rem; }
.legal__meta { color: var(--muted); font-size: .92rem; margin-bottom: 2.5rem; }
.legal h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  margin: 2.6rem 0 .8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--brand-ink); }
.legal .fill {
  background: var(--haze-2);
  border-radius: 4px;
  padding: 0 .3em;
  font-style: normal;
  color: var(--brand-ink);
  font-weight: 600;
}
.legal__note {
  background: var(--haze);
  border-left: 4px solid var(--brand-600);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .95rem;
  color: var(--muted);
}
.legal__note strong { color: var(--brand-ink); }
.legal-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .92rem; }
.legal-table caption { text-align: left; color: var(--muted); font-size: .88rem; margin-bottom: .6rem; }
.legal-table th, .legal-table td { text-align: left; padding: .7rem .8rem; border: 1px solid var(--line); vertical-align: top; }
.legal-table thead th { background: var(--haze); color: var(--ink); font-weight: 600; }
.legal-table tbody tr:nth-child(even) { background: var(--bg); }
@media (max-width: 620px) {
  .legal-table, .legal-table thead, .legal-table tbody, .legal-table th, .legal-table td, .legal-table tr { display: block; }
  .legal-table thead { display: none; }
  .legal-table td { border: 0; border-bottom: 1px solid var(--line); padding: .45rem 0; }
  .legal-table td::before { content: attr(data-label); display: block; font-weight: 600; color: var(--brand-700); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
  .legal-table tr { border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem; margin-bottom: 1rem; }
}

/* ==========================================================================
   Llamada final (CTA)
   ========================================================================== */
.cta-band {
  background: var(--deep);
  color: #EAF7F9;
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.cta-band p { margin-inline: auto; color: #C7E7EC; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.8rem; }

/* ==========================================================================
   Pie de página
   ========================================================================== */
.site-footer { background: var(--deep); color: #C7E7EC; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { height: 28px; margin-bottom: 1rem; }
.footer-brand p { color: #9FCBD3; font-size: .95rem; max-width: 34ch; }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7FB6C0;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-col a { color: #DCF0F3; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: #8FBFC7;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.footer-a11y { margin: .35rem 0 0; font-size: .8rem; color: #7FB6C0; }
.footer-legal a { color: #8FBFC7; text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .breath { order: -1; width: min(80%, 340px); }
  .reassure, .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .reassure, .cards, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
}

/* ---- Movimiento reducido ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .breath__core, .breath__halo { animation: none; }
}
