/* Layout: hero en dos columnas con forma orgánica viva; secciones claras alternadas con un bloque verde petróleo. */
:root {
  --paper: #EEF2EF;        /* fondo, gris salvia */
  --surface: #F8FAF8;      /* tarjetas */
  --ink: #13221F;          /* texto */
  --muted: #55665F;        /* texto secundario */
  --line: #D3DDD8;         /* bordes */
  --brand: #10403B;        /* verde petróleo (texto/acento) */
  --brand-bg: #10403B;     /* verde petróleo (fondos) */
  --on-brand: #EDF3F0;     /* texto sobre petróleo */
  --ocre: #B98432;         /* ocre (rellenos) */
  --teal: #1F9C9C;         /* turquesa del logo */
  --ocre-ink: #8A5F1E;     /* ocre legible sobre claro */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: clamp(.82rem, .8rem + .1vw, .88rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.4rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.2rem, 1.6rem + 3vw, 4.2rem);
  --radius: 18px;
  color-scheme: light;
}
/* Diseño siempre en tema claro (fondo blanco), también con el celular en modo oscuro */


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
a { color: var(--brand); }
:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand-bg); color: var(--on-brand); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

.eyebrow { font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ocre-ink); }
.eyebrow--light { color: var(--ocre); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--brand-bg); color: var(--on-brand); font-weight: 700;
  text-decoration: none; border: 1px solid var(--brand-bg);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px var(--brand-bg); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); box-shadow: none; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: var(--step--1); }

/* Wincha de teléfonos de ayuda (colores fijos: siempre petróleo) */
.ticker { display: flex; align-items: stretch; background: #0E3833; color: #EEF3EF; font-size: .86rem; overflow: hidden; }
.ticker__label { flex: none; display: flex; align-items: center; gap: 8px; padding: 9px 16px; background: #B98432; color: #10231F; font-weight: 800; white-space: nowrap; }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: #10231F; animation: tickerPulse 1.6s ease-in-out infinite; }
@keyframes tickerPulse { 50% { opacity: .25; } }
.ticker__track { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker__move { display: flex; width: max-content; animation: tickerMove 48s linear infinite; }
.ticker:hover .ticker__move, .ticker:focus-within .ticker__move { animation-play-state: paused; }
.ticker__move { animation-duration: 70s; }
@keyframes tickerMove { to { transform: translateX(-50%); } }
.ticker__row { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__row li { display: flex; align-items: center; }
.ticker__row li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #B98432; margin-inline: 22px; }
.ticker__row a { display: flex; align-items: baseline; gap: 8px; padding-block: 9px; color: inherit; text-decoration: none; white-space: nowrap; }
.ticker__row strong { font-size: 1rem; color: #E2B26A; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ticker__row span { color: rgba(238,243,239,.86); }
.ticker__row a:hover span { text-decoration: underline; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: #10231F; color: #EEF3EF; font-size: .92rem; box-shadow: 0 16px 34px -14px rgba(0,0,0,.6); text-align: center; }
.toast strong { color: #E2B26A; }
@media (max-width: 560px) { .ticker__label { padding-inline: 12px; font-size: .78rem; } .ticker__move { animation-duration: 36s; } }
@media (prefers-reduced-motion: reduce) { .ticker__move { animation-duration: 120s; } }

/* Navegación */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav .ticker { position: relative; z-index: 1; }
.nav__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em;
  background: linear-gradient(90deg, var(--brand) 0%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__sub { font-size: .66rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-top: 3px; }
@media (max-width: 420px) { .brand__sub { display: none; } }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: var(--step--1); }
.nav__links a:hover { color: var(--brand); }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
}

/* Hero: carrusel a pantalla completa, siempre en verde petróleo */
.hero { padding-block: 12px 0; }
.hero__stage {
  position: relative; overflow: hidden; isolation: isolate;
  margin-inline: 12px; border-radius: 28px;
  min-height: clamp(540px, 82vh, 780px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(90% 70% at 85% 20%, #1A5A52 0%, transparent 60%), #0E3833;
  color: #EEF3EF;
}
.hero__blob { position: absolute; right: -8%; top: 50%; translate: 0 -50%; width: min(78vh, 62vw); aspect-ratio: 1; z-index: -1; opacity: .95; }
.hero__slides { position: relative; flex: 1; display: grid; }
.slide {
  grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: clamp(36px, 6vw, 88px) clamp(22px, 6vw, 88px) 24px;
  max-width: 980px; min-width: 0;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s;
  background-size: cover; background-position: center;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.slide.has-photo { max-width: none; padding-right: clamp(22px, 40vw, 520px); background-image: linear-gradient(90deg, rgba(10,44,40,.96) 0%, rgba(10,44,40,.85) 38%, rgba(10,44,40,.35) 70%, rgba(10,44,40,.15) 100%), var(--photo); background-size: cover; background-position: var(--pos, right center); }
.hero__stage:has(.slide.has-photo.is-active) .hero__blob { opacity: 0; }
.hero__blob { transition: opacity .6s ease; }
@media (max-width: 760px) {
  .slide.has-photo { padding-right: clamp(22px, 6vw, 88px); background-image: linear-gradient(180deg, rgba(10,44,40,.25) 0%, rgba(10,44,40,.7) 45%, rgba(10,44,40,.96) 75%), var(--photo); background-position: var(--pos-m, center 30%); }
}
.slide__kicker { display: flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #E7C084; }
.slide__kicker span { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; letter-spacing: 0; color: #0E3833; background: #D6A55A; border-radius: 999px; padding: 2px 10px; }
.slide__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 1.4rem + 4.6vw, 5.6rem); line-height: 1.02; letter-spacing: -.025em; color: #F3F6F2; max-width: 15ch; }
.slide__title em { font-style: italic; color: #E2B26A; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: inline-block; }
.slide__lead { max-width: 46ch; font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); color: rgba(238,243,239,.82); }
.slide .btn { align-self: flex-start; }
.btn--light { background: #D6A55A; border-color: #D6A55A; color: #10231F; }
.btn--light:hover { box-shadow: 0 14px 30px -12px rgba(214,165,90,.8); }

/* Entrada animada de cada diapositiva (solo cuando el JS está activo) */
.js-carousel .slide.is-active .ln > span { animation: lineUp .9s cubic-bezier(.2,.75,.15,1) both; }
.js-carousel .slide.is-active .ln:nth-child(2) > span { animation-delay: .09s; }
.js-carousel .slide.is-active .ln:nth-child(3) > span { animation-delay: .18s; }
.js-carousel .slide.is-active .slide__kicker,
.js-carousel .slide.is-active .slide__lead,
.js-carousel .slide.is-active .btn { animation: fadeUp .8s ease both; }
.js-carousel .slide.is-active .slide__lead { animation-delay: .3s; }
.js-carousel .slide.is-active .btn { animation-delay: .4s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Controles: barras tipo historias + flechas */
.hero__controls { display: flex; align-items: center; gap: 18px; padding: 0 clamp(22px, 6vw, 88px) clamp(22px, 3vw, 36px); }
.progress { flex: 1; display: flex; gap: 6px; max-width: 520px; }
.progress__bar { flex: 1; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.progress__bar i { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(238,243,239,.25); overflow: hidden; }
.progress__bar i::after { content: ""; position: absolute; inset: 0; background: #D6A55A; transform-origin: left; transform: scaleX(var(--p, 0)); }
.progress__bar.is-done i::after { transform: scaleX(1); }
.hero__arrows { display: flex; gap: 8px; margin-left: auto; }
.arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #EEF3EF; background: rgba(238,243,239,.08); border: 1px solid rgba(238,243,239,.22); transition: background-color .2s ease, transform .2s ease; }
.arrow:hover { background: rgba(238,243,239,.18); transform: scale(1.05); }
.arrow svg { width: 20px; height: 20px; }
.arrow .i-play { display: none; }
.is-paused .arrow .i-play { display: inline; }
.is-paused .arrow .i-pause { display: none; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: clamp(14px, 2vw, 22px) clamp(14px, 2vw, 24px); border-left: 1px solid var(--line); color: inherit; text-decoration: none; min-width: 0; }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.3rem); line-height: 1.05; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat__num small { font-size: .6em; font-style: italic; color: var(--ocre-ink); }
.stat__stars { font-family: var(--font-body); font-size: .5em; letter-spacing: .08em; color: #E0A93A; vertical-align: .35em; }
.stat__label { font-size: .86rem; color: var(--muted); line-height: 1.35; }
.stat--google { background: color-mix(in srgb, var(--ocre) 9%, var(--surface)); transition: background-color .2s ease; }
.stat--google:hover { background: color-mix(in srgb, var(--ocre) 16%, var(--surface)); }
.stat--google u { color: var(--teal); text-underline-offset: 2px; font-weight: 600; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .hero__stage { margin-inline: 8px; border-radius: 22px; min-height: 620px; }
  .hero__blob { width: 115vw; right: -45%; top: 26%; opacity: .55; }
  .slide { justify-content: flex-end; padding-bottom: 12px; }
  .hero__arrows .arrow:not(#pause) { display: none; }
}

/* Secciones */
.section { padding-block: clamp(44px, 6vw, 88px); }
.section--tight { padding-top: 0; }
.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__lead { color: var(--muted); max-width: 60ch; }

/* Especialidades */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--surface); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; transition: background-color .3s ease; }
.service:hover { background: var(--paper); }
.service h3 { font-size: 1.5rem; }
.service p { color: var(--muted); }
.service__tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ocre-ink); border: 1px solid var(--ocre); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* Enlace "Ver servicios" en las tarjetas de especialidad */
.service__ctas { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.service__btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--brand-bg); color: var(--on-brand); font-weight: 700; font-size: .88rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.service__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px var(--brand-bg); }
.service__more { padding-top: 0; font-weight: 700; font-size: .92rem; color: var(--teal); text-decoration: none; }
.service__more:hover { text-decoration: underline; }

/* Catálogo completo de servicios */
.catalog { margin-top: clamp(36px, 5vw, 64px); }
.catalog__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; max-width: 720px; }
.catalog__head h3 { font-size: var(--step-2); }
.catalog__head p { color: var(--muted); }
.catalog__tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 18px; }
.search { flex: 1 1 280px; max-width: 420px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.search:focus-within { border-color: var(--teal); }
.search svg { width: 18px; height: 18px; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.catalog__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-items: start; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc[hidden] { display: none !important; }
.svc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cat icon" "name icon"; column-gap: 12px; padding: 14px 4px; }
.svc summary::-webkit-details-marker { display: none; }
.svc__cat { grid-area: cat; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ocre-ink); }
.svc__name { grid-area: name; font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.svc summary:hover .svc__name { color: var(--teal); }
.svc__icon { grid-area: icon; align-self: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.svc__icon::before, .svc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--teal); transform: translate(-50%, -50%); transition: transform .25s ease; }
.svc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc[open] .svc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc__body { display: flex; flex-direction: column; gap: 12px; padding: 0 4px 18px; }
.svc__body > p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.svc__pros { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.svc__pros > span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.svc__pro { font: inherit; font-size: .84rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; cursor: pointer; color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, transparent); border: 1px solid color-mix(in srgb, var(--teal) 32%, transparent); }
.svc__pro:hover { background: var(--teal); color: #fff; }
.svc__wa { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--brand); text-decoration: none; }
.svc__wa svg { width: 18px; height: 18px; }
.svc__wa:hover { text-decoration: underline; }
.catalog__empty { padding: 18px 4px; color: var(--muted); }
@media (max-width: 760px) { .catalog__list { grid-template-columns: 1fr; } .search { max-width: none; } }

/* Cita */
.quote { padding-block: clamp(48px, 7vw, 96px); border-block: 1px solid var(--line); }
.quote__text { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; max-width: 22ch; }
.quote__text em { color: var(--ocre-ink); }
.quote__note { margin-top: 18px; color: var(--muted); }
/* Cita sobre la foto de la sala: la foto es siempre clara, así que los colores van fijos */
.quote--photo { position: relative; border: 0; background: #ECEDE8 var(--photo) left center / cover no-repeat; min-height: clamp(380px, 46vw, 620px); display: flex; align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.quote--photo .wrap { display: flex; justify-content: flex-end; }
.quote--photo .quote__box { width: min(46%, 560px); }
.quote--photo .quote__text { color: #13221F; max-width: none; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 3rem); }
.quote--photo .quote__text em { color: #8A5F1E; }
.quote--photo .quote__note { color: #4A5A53; }
@media (max-width: 760px) {
  .quote--photo { display: block; min-height: 0; padding-top: calc(56vw + 28px); background-size: 100% auto; background-position: top center; }
  .quote--photo .wrap { display: block; }
  .quote--photo .quote__box { width: auto; }
}

/* Equipo */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: inherit; font-size: var(--step--1); font-weight: 600; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: all .2s ease; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand-bg); border-color: var(--brand-bg); color: var(--on-brand); }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.person { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease; }
.person:hover { transform: translateY(-2px); border-color: var(--ocre); }
.person > div { min-width: 0; }
.person h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.person p { font-size: var(--step--1); color: var(--muted); }
.person.is-hidden { display: none; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; color: var(--on-brand); background: var(--brand-bg); background-size: cover; background-position: center; border: 2px solid var(--ocre); }
.avatar.has-photo { color: transparent; }


/* Tarjetas de profesionales */
.pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.pros--collab { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pro { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.pro:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); box-shadow: 0 22px 40px -28px rgba(16,64,59,.55); }
.pro.is-hidden { display: none; }
.pro__photo {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 2.6rem; font-style: italic; color: #EEF3EF;
  background:
    radial-gradient(70% 60% at 80% 15%, rgba(214,165,90,.45), transparent 60%),
    linear-gradient(160deg, #15544C, #0E3833);
  background-size: cover; background-position: center top;
}
.pro__photo.has-photo span { display: none; }
.pro__photo::after { content: "Ver perfil"; position: absolute; left: 12px; bottom: 12px; font-family: var(--font-body); font-style: normal; font-size: .78rem; font-weight: 700; color: #10231F; background: rgba(255,255,255,.92); padding: 5px 12px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: all .25s ease; }
.pro:hover .pro__photo::after, .pro__photo:focus-visible::after { opacity: 1; transform: none; }
.pro__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; flex: 1; min-width: 0; }
.pro__body h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.pro__role { color: var(--teal); font-weight: 700; font-size: .95rem; }
.pro__bio { color: var(--muted); font-size: .93rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pro__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.pro__open { flex: 1; font: inherit; font-weight: 700; font-size: .92rem; min-height: 44px; border-radius: 999px; cursor: pointer; color: var(--teal); background: transparent; border: 1.5px solid var(--teal); transition: background-color .2s ease, color .2s ease; }
.pro__open:hover { background: var(--teal); color: #fff; }
.pro__wa { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-bg); color: var(--on-brand); }
.pro__wa svg { width: 20px; height: 20px; }

/* Ventana de perfil: cabecera foto + datos, y debajo las etiquetas a todo el ancho */
.profile { width: min(1040px, calc(100% - 16px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); overflow: auto; }
.profile::backdrop { background: rgba(8,28,25,.6); backdrop-filter: blur(4px); }
.profile[open] { animation: profileIn .35s cubic-bezier(.2,.75,.2,1); }
@keyframes profileIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.profile__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.profile__close svg { width: 18px; height: 18px; }
.profile__inner { display: grid; grid-template-columns: clamp(220px, 30%, 300px) minmax(0, 1fr); gap: 22px 26px; padding: 18px; align-items: start; }
.profile__side { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; }
.profile__photo { aspect-ratio: 1 / 1; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 3.4rem; color: #EEF3EF;
  background: radial-gradient(70% 60% at 80% 15%, rgba(214,165,90,.45), transparent 60%), linear-gradient(160deg, #15544C, #0E3833);
  background-size: cover; background-position: center top; }
.profile__photo.has-photo span { display: none; }
.tiles { display: flex; flex-direction: column; gap: 6px; }
.tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 7px 12px 7px 8px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.tile svg { grid-row: span 2; width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: var(--teal); background: color-mix(in srgb, var(--teal) 14%, transparent); }
.tile span { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.tile strong { font-size: .88rem; line-height: 1.25; }
.profile__cta { justify-content: center; min-height: 48px; padding: 0 14px; font-size: .95rem; text-align: center; }
.profile__cta svg { width: 20px; height: 20px; flex: none; }
.profile__main { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 2px; }
.profile__main h2 { font-family: var(--font-body); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); letter-spacing: -.02em; padding-right: 44px; }
.profile__role { color: var(--teal); font-weight: 700; font-size: 1.05rem; margin-top: -4px; }
.profile__bio { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.profile__soon { font-size: .92rem; color: var(--muted); padding: 10px 14px; border-radius: 12px; background: var(--paper); }
.profile__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 20px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.profile__group--wide { grid-column: 1 / -1; }
.profile__group h3 { font-family: var(--font-body); font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-ink); margin-bottom: 8px; }
.profile__bio strong { color: var(--ink); font-weight: 700; }
.acred { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px; }
.acred li { position: relative; font-size: .86rem; font-weight: 600; line-height: 1.4; color: var(--teal); padding: 8px 12px 8px 32px; border-radius: 12px; background: color-mix(in srgb, var(--teal) 10%, transparent); border: 1px solid color-mix(in srgb, var(--teal) 32%, transparent); }
.acred li::before { content: ""; position: absolute; left: 12px; top: 13px; width: 9px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .85rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.tag--soft { background: transparent; }
.tag--accent { color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, transparent); border-color: color-mix(in srgb, var(--teal) 32%, transparent); }
@media (max-width: 640px) {
  .profile { width: 100%; max-height: 92dvh; margin-bottom: 0; border-radius: 22px 22px 0 0; }
  .profile__inner { grid-template-columns: 96px minmax(0, 1fr); gap: 10px 14px; padding: 14px; }
  .profile__side, .profile__main { display: contents; }
  .profile__photo { grid-column: 1; grid-row: 1 / span 2; border-radius: 14px; font-size: 2rem; }
  .profile__main h2 { grid-column: 2; grid-row: 1; align-self: end; font-size: 1.3rem; }
  .profile__role { grid-column: 2; grid-row: 2; align-self: start; margin-top: 0; }
  .tiles { grid-column: 1 / -1; grid-row: 3; flex-direction: row; flex-wrap: wrap; }
  .tile { flex: 1 1 140px; }
  .profile__cta { grid-column: 1 / -1; grid-row: 4; }
  .profile__bio, .profile__soon, .profile__groups { grid-column: 1 / -1; }
}
body.modal-open { overflow: hidden; }

/* Colaboradores externos */
.collab { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.collab > * { min-width: 0; }
.person--empty { border-style: dashed; background: transparent; }
.avatar--empty { background: transparent; color: var(--ocre-ink); border-style: dashed; }
.collab__join { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.collab__join h3 { font-size: 1.35rem; }
.collab__join p { color: var(--muted); }
@media (max-width: 860px) { .collab { grid-template-columns: 1fr; } }
.section--tight + .section--tight { padding-top: 0; }
#colaboradores { padding-bottom: clamp(56px, 8vw, 112px); }

/* El espacio: datos + mapa */
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.place__info { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.place__list { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 0; width: 100%; border-top: 1px solid var(--line); }
.place__list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.place__list strong { font-size: .95rem; }
.place__list span { color: var(--muted); font-size: .93rem; }
.place__map { position: relative; aspect-ratio: 1199 / 899; width: 100%; max-width: 100%; align-self: center; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface) var(--photo, none) center / cover no-repeat; }
.place__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.place__fallback { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 14px; text-decoration: none; }
.place__fallback em { font-style: normal; font-size: .88rem; font-weight: 700; color: #10231F; background: #fff; padding: 9px 16px; border-radius: 999px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); transition: transform .2s ease; }
.place__fallback:hover em { transform: translateY(-2px); }
@media (max-width: 860px) { .place { grid-template-columns: 1fr; } }

/* Galería (espacios para fotos) */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(160px, 1fr)); gap: 12px; }
.photo { margin: 0; border-radius: var(--radius); min-height: 160px; display: flex; align-items: flex-end; padding: 18px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--ocre) 30%, transparent), transparent 60%),
    linear-gradient(160deg, var(--brand-bg), color-mix(in srgb, var(--brand-bg) 70%, var(--paper)));
  background-size: cover; background-position: center; }
.photo span { font-size: var(--step--1); font-weight: 600; color: var(--on-brand); background: color-mix(in srgb, var(--brand-bg) 70%, transparent); padding: 6px 12px; border-radius: 999px; }
.photo.has-photo span { display: none; }
.photo--wide { grid-row: span 2; min-height: 340px; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .photo--wide { grid-column: span 2; grid-row: auto; min-height: 220px; }
}

/* Cómo agendar */
.section--brand { background: var(--brand-bg); color: var(--on-brand); }
.section--brand h2 { color: var(--on-brand); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: none; }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--on-brand) 25%, transparent); }
.step__n { font-family: var(--font-display); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--ocre); }
.step h3 { font-size: 1.25rem; color: var(--on-brand); }
.step p { color: color-mix(in srgb, var(--on-brand) 78%, transparent); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }


/* Cómo agendar: versión compacta */
#como-funciona.section { padding-block: clamp(32px, 4vw, 56px); }
#como-funciona .section__head { margin-bottom: clamp(18px, 2.4vw, 28px); gap: 8px; }
#como-funciona .section__head h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem); }
#como-funciona .steps { gap: clamp(14px, 2vw, 24px); }
#como-funciona .step { gap: 6px; padding-top: 12px; }
#como-funciona .step__n { font-size: 1.7rem; }
#como-funciona .step h3 { font-size: 1.08rem; }
#como-funciona .step p { font-size: .9rem; line-height: 1.5; }
@media (max-width: 520px) { #como-funciona .steps { grid-template-columns: 1fr 1fr; } }

/* Preguntas */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-grid > * { min-width: 0; }
#preguntas .section__head { margin-bottom: 0; }
#preguntas.section { padding-block: clamp(40px, 5vw, 72px); }
.faq__help { margin-top: 10px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.faq__help-title { font-family: var(--font-display); font-size: 1.35rem; }
.faq__help > p:not(.faq__help-title) { color: var(--muted); }
.faq__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.faq__facts li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.faq__facts strong { font-variant-numeric: tabular-nums; color: var(--brand); }
.faq__facts span { font-size: .84rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 861px) { #preguntas .section__head { position: sticky; top: 140px; } }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ocre); border-bottom: 2px solid var(--ocre); transform: translateY(-70%) rotate(45deg); transition: transform .3s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Contacto */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__grid > div { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.contact__title { font-size: var(--step-3); font-style: italic; color: var(--brand); }
.contact__data { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__data > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.contact__data dt { font-size: var(--step--1); font-weight: 700; color: var(--ocre-ink); text-transform: uppercase; letter-spacing: .08em; }
.contact__data dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.contact__go { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.contact__go-title { font-size: var(--step--1); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ocre-ink); }
.contact__links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; transition: border-color .2s ease, color .2s ease; }
.pill:hover { border-color: var(--teal); color: var(--teal); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ocre); }
.pill__icon { width: 20px; height: 20px; flex: none; color: var(--ocre-ink); transition: color .2s ease; }
.pill:hover .pill__icon { color: var(--teal); }
.pill { min-height: 44px; padding: 0 16px 0 12px; }
.copy { display: block; margin-top: 8px; font: inherit; font-size: .84rem; font-weight: 700; color: var(--teal); background: none; border: 0; padding: 0; cursor: pointer; }
.copy:hover { text-decoration: underline; }
.selectable { user-select: all; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__data > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Pie */
.footer { background: var(--brand-bg); color: var(--on-brand); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: var(--step--1); }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand img { width: 28px; height: 28px; flex: none; background: #EEF3EF; border-radius: 50%; padding: 3px; }
.footer a { color: #E2B26A; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); z-index: 30; transition: transform .25s ease; }
.wa-float:hover { transform: scale(1.06); background: #1EBE5A; }
.wa-float svg { width: 26px; height: 26px; }

/* Aparición al hacer scroll: el contenido es visible por defecto;
   solo se oculta cuando el JS marca <html class="js-reveal">. */
.js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal[data-split] { opacity: 1; transform: none; }
.stat__num--txt { font-size: clamp(1.15rem, .95rem + .9vw, 1.6rem); white-space: nowrap; }
@media (max-width: 400px) { .stat__num--txt { white-space: normal; } }

/* ===== Páginas de servicio ===== */
.sp__hero { background: #0E3833; color: #EEF3EF; padding-block: clamp(28px, 5vw, 64px); }
.sp__hero .wrap { display: flex; flex-direction: column; gap: 14px; }
.sp__hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; color: #F3F6F2; max-width: 20ch; }
.sp__hero h1 em { color: #E2B26A; }
.sp__lead { max-width: 62ch; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(238,243,239,.85); }
.sp__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 4px; }
.sp__ghost { color: #E2B26A; font-weight: 700; text-decoration: none; }
.sp__ghost:hover { text-decoration: underline; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: rgba(238,243,239,.7); }
.crumbs a { color: rgba(238,243,239,.9); }
.sp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 4vw, 48px); padding-block: clamp(28px, 4vw, 56px); align-items: start; }
.sp__wide { padding-block: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; }
.sp__main { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 34px); min-width: 0; }
.sp__block { display: flex; flex-direction: column; gap: 12px; }
.sp__block h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); }
.sp__block > p { color: var(--muted); max-width: 64ch; }
.sp__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp__steps li { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.sp__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; color: #10231F; background: #D6A55A; }
.sp__steps strong { display: block; margin-bottom: 2px; }
.sp__steps p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.mini { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.mini:hover { border-color: var(--teal); transform: translateY(-2px); }
.mini__photo { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #15544C; color: #EEF3EF; font-family: var(--font-display); font-style: italic; }
.mini__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mini__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mini__txt strong { font-size: .95rem; line-height: 1.25; }
.mini__txt > span { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.mini__txt em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--teal); margin-top: 2px; }
.sp__side { position: sticky; top: 140px; }
.sp__card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.sp__card-title { font-family: var(--font-display); font-size: 1.4rem; }
.sp__card > p { color: var(--muted); font-size: .94rem; }
.sp__card .btn { justify-content: center; }
.sp__card dl { margin: 4px 0 0; display: grid; border-top: 1px solid var(--line); }
.sp__card dl div { padding: 9px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.sp__card dt { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ocre-ink); }
.sp__card dd { margin: 0; font-size: .9rem; }
.svclist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svclist a { display: flex; flex-direction: column; gap: 2px; padding: 12px 2px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.svclist a:hover strong { color: var(--teal); }
.svclist span { color: var(--muted); font-size: .88rem; }
.svcpage .footer a { color: #E2B26A; }
.svc__page { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--brand-bg); color: var(--on-brand); font-weight: 700; font-size: .88rem; text-decoration: none; }
.svc__page:hover { box-shadow: 0 8px 18px -10px var(--brand-bg); }
@media (max-width: 900px) {
  .sp__grid { grid-template-columns: 1fr; }
  .sp__side { position: static; }
  .sp__wide { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .sp__steps { grid-template-columns: 1fr; } }
.svc__ctas { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.sp__hero-txt { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sp__hero--img .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.sp__img { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; box-shadow: 0 24px 48px -24px rgba(0,0,0,.6); }
.sp__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .sp__hero--img .wrap { grid-template-columns: 1fr; } .sp__img { order: -1; aspect-ratio: 16 / 10; } }

/* Hover amarillo en botones */
.btn, .service__btn, .svc__page { transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease; }
.btn:hover, .btn--ghost:hover, .service__btn:hover, .svc__page:hover {
  background: #E8B23A; border-color: #E8B23A; color: #10231F;
  box-shadow: 0 10px 24px -12px rgba(232,178,58,.85);
}
.btn--light:hover { background: #F2C24E; border-color: #F2C24E; color: #10231F; }

/* Reserva online (conectada a Agenda Metáforas) */
.pro__book { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--ocre); color: #10231F; border: 0; transition: background-color .2s ease, transform .2s ease; }
.pro__book:hover { background: #E8B23A; transform: translateY(-1px); }
.pro__book svg { width: 20px; height: 20px; }
.profile__book { justify-content: center; min-height: 48px; padding: 0 14px; font-size: .95rem; }
.profile__book svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 640px) { .profile__book { grid-column: 1 / -1; grid-row: 5; } }
.booking { width: min(680px, calc(100% - 16px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); overflow: auto; }
.booking::backdrop { background: rgba(8,28,25,.6); backdrop-filter: blur(4px); }
.booking[open] { animation: profileIn .35s cubic-bezier(.2,.75,.2,1); }
.bk { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.bk h2 { font-family: var(--font-body); font-weight: 800; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); letter-spacing: -.02em; padding-right: 44px; }
.bk h3 { font-family: var(--font-body); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-ink); margin: 14px 0 8px; }
.bk__days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.bk__day { flex: none; min-width: 74px; padding: 8px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; text-align: center; line-height: 1.15; }
.bk__day small { display: block; font-size: .7rem; color: var(--muted); text-transform: capitalize; }
.bk__day strong { font-size: 1.05rem; }
.bk__day[aria-pressed="true"] { background: var(--brand-bg); border-color: var(--brand-bg); color: var(--on-brand); }
.bk__day[aria-pressed="true"] small { color: var(--on-brand); opacity: .8; }
.bk__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 10px; }
.bk__time { font: inherit; font-weight: 700; min-height: 44px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--teal) 40%, transparent); background: color-mix(in srgb, var(--teal) 8%, transparent); color: var(--brand); cursor: pointer; }
.bk__time:hover { background: #E8B23A; border-color: #E8B23A; color: #10231F; }
.bk__msg, .bk__fine { color: var(--muted); font-size: .9rem; }
.bk__msg:empty, .bk__err:empty, .bk__fine:empty { display: none; }
.bk__chosen { font-weight: 700; color: var(--brand); }
.bk__link { font: inherit; font-weight: 700; color: var(--teal); background: none; border: 0; cursor: pointer; text-decoration: underline; padding: 0 4px; }
.bk__mod { border: 0; padding: 0; margin: 4px 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk__mod legend { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.bk__mod label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; cursor: pointer; }
.bk__mod label:has(input:checked) { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, transparent); }
.bk__mod small { flex-basis: 100%; font-weight: 500; font-size: .78rem; color: var(--muted); }
.bk__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk__f { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.bk__f--wide { grid-column: 1 / -1; }
.bk__f input { font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }
.bk__f input:focus { outline: none; border-color: var(--teal); }
.bk__f input[aria-invalid="true"] { border-color: #B8534A; }
.bk__check { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-top: 10px; }
.bk__check input { margin-top: 3px; }
.bk__err { color: #A33B32; font-weight: 700; font-size: .92rem; }
.bk__submit { justify-content: center; margin-top: 6px; }
.bk__submit[disabled] { opacity: .6; cursor: wait; }
.bk__done { text-align: center; align-items: center; display: flex; flex-direction: column; gap: 6px; }
.bk__done[hidden] { display: none; }
.bk__ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--teal) 16%, transparent); color: var(--teal); margin-top: 10px; }
.bk__ok svg { width: 34px; height: 34px; }
.bk__folio strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .04em; }
@media (max-width: 640px) {
  .booking { width: 100%; max-height: 92dvh; margin-bottom: 0; border-radius: 22px 22px 0 0; }
  .bk { padding: 18px 16px 22px; }
  .bk__mod, .bk__grid { grid-template-columns: 1fr; }
}
.bk > .eyebrow { padding-right: 48px; }
/* Próximas horas en el perfil */
.profile__slots { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--ocre) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ocre) 35%, transparent); }
.profile__slots[hidden] { display: none; }
.profile__slots-h { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-ink); }
.profile__slots-load { font-size: .85rem; color: var(--muted); }
.profile__slots-day { display: grid; grid-template-columns: 74px 1fr; gap: 8px; align-items: center; }
.profile__slots-day > span { font-size: .8rem; font-weight: 700; text-transform: capitalize; color: var(--ink); }
.profile__slots-day > div { display: flex; flex-wrap: wrap; gap: 6px; }
.profile__slot { font: inherit; font-size: .85rem; font-weight: 700; padding: 6px 10px; border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--teal) 45%, transparent); background: #fff; color: var(--brand); cursor: pointer; }
.profile__slot:hover { background: #E8B23A; border-color: #E8B23A; color: #10231F; }
@media (max-width: 640px) { .profile__slots { grid-column: 1 / -1; grid-row: 5; } .profile__book { grid-row: 6; } }
/* Pie legal y páginas legales */
.footer__legal { font-size: .85rem; line-height: 1.6; opacity: .85; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; }
.footer__links span { opacity: .7; }
.legal { background: var(--surface); }
.legal__wrap { max-width: 780px; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 80px); }
.legal h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); line-height: 1.1; margin: 10px 0 6px; color: var(--brand); }
.legal h2 { font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; margin: 30px 0 8px; color: var(--brand); }
.legal p, .legal li { color: var(--ink); line-height: 1.7; font-size: 1rem; }
.legal ul { padding-left: 20px; margin: 6px 0; display: grid; gap: 6px; }
.legal a { color: var(--teal); font-weight: 700; }
.legal__date { color: var(--muted) !important; font-size: .9rem !important; }
.legal__lead { font-size: 1.08rem !important; color: var(--muted) !important; margin-top: 14px; }
.legal__contact { margin-top: 34px; padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.crumbs--dark, .crumbs--dark a { color: var(--muted); }
.bk__check a { color: var(--teal); font-weight: 700; }
.svclist__sub { margin: 22px 0 6px; font-family: 'Manrope', sans-serif; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-ink); }
.svclist__sub:first-of-type { margin-top: 4px; }
.esp__img { margin: 0 0 28px; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 1; background: #e9e2d6; box-shadow: 0 18px 40px -28px rgba(16,64,59,.45); }
.esp__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
@media (max-width: 720px) { .esp__img { aspect-ratio: 16 / 9; border-radius: 16px; margin-bottom: 20px; } }
.slide__feats { list-style: none; margin: 4px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #fff; }
.slide__feats li { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; }
.slide__feats svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.12); color: #E8B23A; flex: none; }
.slide--box .slide__lead { max-width: 34em; }
@media (max-width: 720px) { .slide__feats { gap: 8px 16px; margin-bottom: 16px; } .slide__feats li { font-size: .85rem; } .slide__feats svg { width: 30px; height: 30px; padding: 6px; } }
.slide--box .slide__title { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
@media (max-width: 720px) { .slide--box.has-photo { background-image: linear-gradient(180deg, rgba(10,44,40,.35) 0%, rgba(10,44,40,.75) 40%, rgba(10,44,40,.96) 70%), var(--photo-m, var(--photo)); } }

/* ===== Catálogo de servicios v2: tarjetas agrupadas ===== */
.catalog__tools { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 8px; }
.catalog__tools .search { max-width: 520px; }
.catalog__filters { flex-wrap: wrap; }
.chip small { font-size: .78em; font-weight: 700; opacity: .6; margin-left: 4px; }
.chip.is-active small { opacity: .8; }
@media (max-width: 720px) {
  .catalog__filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .catalog__filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
.catalog__groups { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 48px); margin-top: 22px; }
.sgroup[hidden], .scard[hidden], .sgroup__more[hidden] { display: none !important; }
.sgroup__head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.sgroup__head h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: var(--brand); }
.sgroup__count { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ocre-ink); }
.catalog__groups[data-view="search"] .sgroup__count { display: none; }
.sgroup__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .sgroup__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scard { position: relative; display: flex; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.scard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--ocre) 55%, var(--line)); box-shadow: 0 18px 34px -24px rgba(16,64,59,.55); }
.scard__link { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
.scard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #E7E1D5; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.scard:hover .scard__img img { transform: scale(1.04); }
.scard__ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 3.2rem; color: rgba(255,255,255,.85); background: radial-gradient(120% 120% at 15% 10%, #1F6B62 0%, #10403B 55%, #0B2E2A 100%); }
.scard__ph--ninos { background: radial-gradient(120% 120% at 15% 10%, #2A8C86 0%, #15544E 60%, #0E3B37 100%); }
.scard__ph--pareja { background: radial-gradient(120% 120% at 15% 10%, #C99A4B 0%, #9B6E2C 55%, #6E4C1D 100%); }
.scard__ph--neuro { background: radial-gradient(120% 120% at 15% 10%, #3C7F9A 0%, #1E5468 60%, #133846 100%); }
.scard__ph--evaluacion { background: radial-gradient(120% 120% at 15% 10%, #4A5E57 0%, #2C3D37 60%, #1C2925 100%); }
.scard__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.scard__tag { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-ink); }
.scard__name { font-weight: 700; font-size: 1.04rem; line-height: 1.3; color: var(--ink, #12201D); padding-right: 30px; }
.scard:hover .scard__name { color: var(--brand); }
.scard__desc { color: var(--muted); font-size: .88rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard__pros { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.scard__av { display: flex; }
.scard__av > * { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -8px; object-fit: cover; background: #DCE7E3; color: var(--brand); font-size: .62rem; font-weight: 800; display: grid; place-items: center; }
.scard__av > *:first-child { margin-left: 0; }
.scard__av .more { background: var(--brand-bg); color: #fff; }
.scard__wa { position: absolute; right: 12px; bottom: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); background: color-mix(in srgb, var(--teal) 12%, transparent); transition: background .2s ease, color .2s ease; }
.scard__wa svg { width: 18px; height: 18px; }
.scard__wa:hover { background: #25D366; color: #fff; }
.sgroup__more { margin-top: 16px; font: inherit; font-weight: 700; font-size: .92rem; color: var(--brand); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.sgroup__more:hover { background: #E8B23A; border-color: #E8B23A; color: #10231F; }
@media (max-width: 640px) {
  .sgroup__grid { grid-template-columns: 1fr; gap: 12px; }
  .scard__link { flex-direction: row; }
  .scard__img { flex: none; width: 104px; aspect-ratio: auto; }
  .scard__ph { font-size: 2rem; }
  .scard__body { padding: 12px 14px 12px; gap: 4px; }
  .scard__name { font-size: .98rem; padding-right: 0; }
  .scard__desc { -webkit-line-clamp: 2; font-size: .84rem; }
  .scard__pros { padding-top: 6px; padding-right: 40px; }
  .scard__wa { right: 10px; bottom: 10px; width: 32px; height: 32px; }
  .scard:hover { transform: none; }
}
.catalog__tools .search { flex: none; width: 100%; max-width: 520px; height: auto; min-height: 48px; }
.sgroup__head h4 { margin: 0; line-height: 1.15; }
.sgroup__head { margin-top: 0; }
.scard__pros > span:last-child { white-space: nowrap; }
@media (max-width: 640px) { .scard__av > *:nth-child(n+4):not(.more) { display: none; } }
.scard__ph { position: relative; overflow: hidden; }
.scard__ph::before { content: ""; position: absolute; inset: 0; background: url('assets/img/logo-simbolo.webp') center / 34% no-repeat; opacity: .22; filter: grayscale(1) brightness(2.2); }
.scard__ph::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px); }
@media (max-width: 640px) { .scard__ph::before { background-size: 54%; } }

/* ===== Ajustes finales móvil / escritorio ===== */
html, body { overflow-x: clip; }
.catalog__tools > * { min-width: 0; max-width: 100%; }
@media (max-width: 720px) { .catalog__filters { max-width: none; width: calc(100% + 32px); } }
.hero, .hero__stage { overflow: hidden; }

/* Colaboradores: 3 tarjetas + aviso de arriendo en una fila */
@media (min-width: 981px) {
  .collab { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
  .collab .pros--collab { display: contents; }
  .collab__join { margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
}

/* Especialidades en móvil: botones en una sola línea */
@media (max-width: 640px) {
  .service { padding: 20px 18px; gap: 8px; }
  .service__ctas { gap: 10px 16px; }
  .service__btn { min-height: 38px; padding: 0 14px; font-size: .84rem; }
}

/* Equipo en móvil: tarjetas horizontales compactas */
@media (max-width: 640px) {
  .pros, .pros--collab { grid-template-columns: 1fr; gap: 12px; }
  .pro { flex-direction: row; align-items: stretch; }
  .pro:hover { transform: none; }
  .pro__photo { flex: none; width: 108px; aspect-ratio: auto; min-height: 150px; font-size: 1.8rem; }
  .pro__photo::after { display: none; }
  .pro__body { padding: 12px 14px; gap: 3px; }
  .pro__body h3 { font-size: 1rem; }
  .pro__role { font-size: .82rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pro__bio { display: none; }
  .pro__actions { padding-top: 10px; gap: 6px; }
  .pro__open { min-height: 38px; font-size: .84rem; }
  .pro__wa, .pro__book { width: 38px; height: 38px; }
  .pro__wa svg, .pro__book svg { width: 17px; height: 17px; }
}
.pro[data-slug="marcos-lineros"] .pro__photo { background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #9B0F0F; }
.collab__join .btn { white-space: nowrap; }
.contact__links .pill { border-radius: 16px; line-height: 1.3; }

/* ===== Contacto: cierre en 4 columnas ===== */
.cf__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.cf__top > div { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.cf__top .btn { display: inline-flex; align-items: center; gap: 10px; }
.btn__ico { width: 20px; height: 20px; flex: none; }
.cf { display: grid; grid-template-columns: 1.25fr .85fr 1.2fr 1.1fr; gap: clamp(28px, 4vw, 56px); padding-top: clamp(28px, 4vw, 44px); }
.cf__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cf__brand .brand { text-decoration: none; }
.cf__brand p { color: var(--muted); line-height: 1.65; max-width: 34ch; }
.cf__h { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0; }
.cf__h--sub { margin-top: 10px; }
.cf__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cf__nav a { color: var(--muted); text-decoration: none; font-weight: 600; transition: color .2s ease, padding .2s ease; }
.cf__nav a:hover { color: var(--brand); padding-left: 4px; }
.cf__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cf__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.cf__list svg { width: 22px; height: 22px; color: var(--teal); margin-top: 1px; }
.cf__list a { color: var(--ink); text-decoration: none; }
.cf__list a:hover { color: var(--teal); text-decoration: underline; }
.cf__list .copy { display: block; margin-top: 4px; }
.cf__pro { font-size: .9rem; color: var(--muted); padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--ocre) 12%, transparent); }
.cf__pro a { color: var(--ocre-ink); font-weight: 700; }
.cf__icons { display: flex; flex-wrap: wrap; gap: 10px; }
.cf__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--brand); background: #fff; border: 1px solid var(--line); transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease; }
.cf__ico svg { width: 22px; height: 22px; }
.cf__ico:hover { background: #E8B23A; border-color: #E8B23A; color: #10231F; transform: translateY(-2px); }
@media (max-width: 980px) { .cf { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .cf { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .cf__brand { grid-column: 1 / -1; }
  .cf__col:nth-child(3), .cf__col:nth-child(4) { grid-column: 1 / -1; }
  .cf__top .btn { width: 100%; justify-content: center; }
}
.cf { grid-template-columns: 1.1fr .75fr 1.45fr 1.1fr; }
.cf__list li { font-size: .97rem; overflow-wrap: normal; }
.cf__list a[href^="mailto"] { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 981px) { .cf__list a[href^="mailto"] { white-space: normal; overflow-wrap: anywhere; } }
@media (max-width: 980px) { .cf { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cf { grid-template-columns: 1fr 1fr; } .cf__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; } .cf__col:nth-child(2) { grid-column: 1 / -1; } }

/* ===== Pie de página oscuro con 4 columnas ===== */
.contact .cf__top { border-bottom: 0; padding-bottom: 0; }
.footer { padding-block: clamp(44px, 6vw, 72px) calc(24px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.footer .cf { padding-top: 0; }
.footer .cf__brand .brand__name { color: #fff; }
.footer .cf__brand .brand__sub { color: rgba(255,255,255,.6); }
.footer .cf__brand .brand__mark { background: #EEF3EF; border-radius: 50%; padding: 4px; }
.footer .cf__brand p { color: rgba(255,255,255,.72); }
.footer .cf__h { color: #E2B26A; }
.footer .cf__nav a { color: rgba(255,255,255,.78); }
.footer .cf__nav a:hover { color: #fff; }
.footer .cf__list li { color: rgba(255,255,255,.85); }
.footer .cf__list svg { color: #5CC6BE; }
.footer .cf__list a { color: rgba(255,255,255,.88); }
.footer .cf__list a:hover { color: #E8B23A; }
.footer .copy { color: #5CC6BE; }
.footer .cf__pro { background: rgba(232,178,58,.12); color: rgba(255,255,255,.75); }
.footer .cf__pro a { color: #E8B23A; }
.footer .cf__ico { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.footer .cf__ico:hover { background: #E8B23A; border-color: #E8B23A; color: #10231F; }
.footer__bottom { margin-top: clamp(32px, 5vw, 52px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 32px; }
.footer__bottom .footer__legal { margin: 0; }
.footer__bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.footer__bottom .footer__links { justify-content: center; }
.footer__legal a { white-space: nowrap; }
@media (max-width: 640px) { .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }
.cf__lbl { display: block; font-weight: 700; color: var(--brand); margin-bottom: 2px; }
.footer .cf__lbl { color: #fff; }
.cf__note { display: block; margin-top: 4px; font-size: .82rem; color: var(--muted); }
.footer .cf__note { color: rgba(255,255,255,.6); }

/* ===== Página para abogados ===== */
.nav__links { gap: 18px; }
.lx-body { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.lx-body .eyebrow { margin-bottom: -6px; }
.lx-facts { list-style: none; margin: clamp(-28px, -3vw, -20px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: 0 18px 40px -28px rgba(16,64,59,.5); }
.lx-facts li { background: var(--surface); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.lx-facts strong { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; color: var(--brand); line-height: 1.1; }
.lx-facts span { font-size: .86rem; color: var(--muted); line-height: 1.35; }
.lx-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.lx-tab { font: inherit; font-weight: 700; font-size: .95rem; padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--brand); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.lx-tab:hover { border-color: var(--brand); }
.lx-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #F3F6F2; }
.lx-tab:focus-visible, .lx-pick:focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; }
.lx-rows { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.lx-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.lx-sit { font-size: 1rem; line-height: 1.45; }
.lx-svc { font-weight: 700; color: var(--teal); text-decoration: none; line-height: 1.35; }
.lx-svc:hover { text-decoration: underline; }
.lx-pick { font: inherit; font-weight: 700; font-size: .86rem; padding: 8px 14px; min-height: 40px; border-radius: 999px; border: 1px solid var(--ocre); background: transparent; color: var(--ocre-ink); cursor: pointer; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.lx-pick:hover { background: var(--ocre); color: #10231F; }
.lx-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lx-steps li { flex-direction: column; }
.lx-pay { font-size: .95rem; color: var(--muted); }
.lx-pay strong { color: var(--ink, inherit); }
.lx-areas { font-size: .74rem !important; font-weight: 700; letter-spacing: .04em; color: var(--ocre-ink) !important; }
.lx-quote { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 48px); padding: clamp(22px, 4vw, 48px); border-radius: 26px; background: #0E3833; color: #EEF3EF; scroll-margin-top: 130px; }
.lx-quote__head { display: flex; flex-direction: column; gap: 12px; }
.lx-quote__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1.08; color: #F3F6F2; }
.lx-quote__head p:not(.eyebrow) { color: rgba(238,243,239,.82); }
.lx-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.lx-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lx-f--wide { grid-column: 1 / -1; }
.lx-f > span { font-size: .8rem; font-weight: 700; letter-spacing: .03em; color: rgba(238,243,239,.88); }
.lx-f b { color: #E2B26A; font-weight: 700; }
.lx-f input, .lx-f select, .lx-f textarea { font: inherit; font-size: 1rem; width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(238,243,239,.22); background: rgba(255,255,255,.07); color: #F3F6F2; }
.lx-f select option { color: #10231F; }
.lx-f textarea { resize: vertical; min-height: 92px; }
.lx-f input::placeholder, .lx-f textarea::placeholder { color: rgba(238,243,239,.45); }
.lx-f input:focus, .lx-f select:focus, .lx-f textarea:focus { outline: none; border-color: #E2B26A; box-shadow: 0 0 0 3px rgba(226,178,106,.25); }
.lx-f select:disabled { opacity: .55; }
.lx-f.is-bad input, .lx-f.is-bad select { border-color: #F09A8A; box-shadow: 0 0 0 3px rgba(240,154,138,.22); }
.lx-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.45; padding: 12px 14px; border-radius: 12px; background: rgba(226,178,106,.12); color: rgba(238,243,239,.9); }
.lx-privacy svg { flex: none; width: 20px; height: 20px; color: #E2B26A; margin-top: 1px; }
.lx-err { color: #F6B4A8; font-weight: 700; font-size: .92rem; }
.lx-send { display: flex; flex-wrap: wrap; gap: 12px; }
.lx-send .btn { background: #D6A55A; border-color: #D6A55A; color: #10231F; }
.lx-send .btn--ghost { background: transparent; color: #F3F6F2; border-color: rgba(238,243,239,.35); }
.lx-send .btn--ghost:hover { border-color: #F3F6F2; background: transparent; color: #F3F6F2; }
.sp__law { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 16px 18px; border-radius: var(--radius); background: #0E3833; color: #EEF3EF; text-decoration: none; transition: transform .2s ease; }
.sp__law:hover { transform: translateY(-2px); }
.sp__law-k { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E2B26A; }
.sp__law strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.25; }
.sp__law em { font-style: normal; font-weight: 700; font-size: .86rem; color: #E2B26A; }
.lawband { background: #0E3833; color: #EEF3EF; padding-block: clamp(36px, 5vw, 64px); }
.lawband__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; }
.lawband__txt { display: flex; flex-direction: column; gap: 10px; }
.lawband h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); line-height: 1.1; color: #F3F6F2; }
.lawband__txt > p:last-child { color: rgba(238,243,239,.82); max-width: 54ch; }
.lawband__areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lawband__areas li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(226,178,106,.45); color: #E2B26A; font-weight: 700; font-size: .86rem; }
@media (max-width: 1080px) { .nav__links { gap: 14px; } .nav__links a { font-size: .84rem; } }
@media (max-width: 960px) { .lawband__in { grid-template-columns: 1fr; } .lawband__in .btn { justify-self: start; } }
@media (max-width: 900px) { .lx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lx-steps { grid-template-columns: 1fr 1fr; } .lx-quote { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .lx-row { grid-template-columns: 1fr; gap: 6px; }
  .lx-pick { justify-self: start; margin-top: 4px; }
  .lx-grid { grid-template-columns: 1fr; }
  .lx-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .lx-tabs::-webkit-scrollbar { display: none; }
  .lx-tab { flex: none; }
  .lx-send .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 520px) { .lx-steps { grid-template-columns: 1fr; } .lx-facts strong { font-size: 1.2rem; } }
.lx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lx-ok { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(20px, 3vw, 32px); border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(226,178,106,.35); outline: none; }
.lx-ok[hidden] { display: none; }
.lx-ok svg { width: 44px; height: 44px; color: #E2B26A; }
.lx-ok__t { font-family: var(--font-display); font-size: 1.6rem; color: #F3F6F2; }
.lx-ok p:not(.lx-ok__t) { color: rgba(238,243,239,.85); max-width: 46ch; }
.lx-ok .btn--ghost { color: #F3F6F2; border-color: rgba(238,243,239,.35); background: transparent; }
.lx-send .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.lx-quote__head strong { color: #E2B26A; font-weight: 700; }
.lx-form[hidden] { display: none; }
.nav__links a { white-space: nowrap; }
@media (max-width: 1240px) { .nav__inner .brand__sub { display: none; } }
@media (max-width: 1060px) { .nav__opt { display: none; } }
/* Escritorio ancho: menos espacio vacío en los laterales */
@media (min-width: 1280px) { .wrap { max-width: 1480px; padding-inline: clamp(24px, 3.2vw, 56px); } }
@media (min-width: 1700px) { .wrap { max-width: 1600px; } }
/* Perfil v2: cierre y reserva online */
.profile__close { top: 14px; right: 14px; background: #fff; box-shadow: 0 4px 14px -6px rgba(16,35,31,.35); border: 1px solid var(--line); transition: background-color .2s ease; }
.profile__close:hover { background: var(--paper); }
.profile__close:focus-visible { outline: 2px solid var(--ocre); outline-offset: 2px; }
.profile__inner { padding: 22px; gap: 22px 30px; }
.profile__main h2 { padding-right: 56px; }
.profile__slots { gap: 14px; padding: 18px; margin-top: 8px; border-radius: 18px; background: color-mix(in srgb, var(--ocre) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ocre) 28%, transparent); }
.pb__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.pb__k { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-ink); }
.pb__t { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; color: var(--ink); margin-top: 2px; }
.pb__demo { font-size: .72rem; font-weight: 700; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px dashed var(--line); }
.pb__days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.pb__day { flex: none; width: 66px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.pb__day small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pb__day strong { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.1; }
.pb__day:hover { border-color: var(--teal); }
.pb__day[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #F3F6F2; }
.pb__day[aria-pressed="true"] small { color: rgba(243,246,242,.75); }
.pb__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.pb__times .profile__slot { padding: 10px 0; font-size: .95rem; text-align: center; border-radius: 12px; font-variant-numeric: tabular-nums; transition: background-color .2s ease, border-color .2s ease; }
.pb__day:focus-visible, .pb__times .profile__slot:focus-visible, .pb__all:focus-visible { outline: 2px solid var(--ocre); outline-offset: 2px; }
.pb__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--ocre) 22%, transparent); }
.pb__foot p { font-size: .85rem; color: var(--muted); }
.pb__all { font: inherit; font-weight: 700; font-size: .9rem; color: var(--teal); background: none; border: 0; padding: 6px 0; cursor: pointer; }
.pb__all:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .profile__inner { padding: 16px; }
  .profile__close { top: 10px; right: 10px; }
  .profile__slots { grid-column: 1 / -1; grid-row: 5; margin-top: 2px; padding: 14px; }
  .pb__days { margin-inline: -14px; padding-inline: 14px; }
  .pb__times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.profile__jump { justify-content: center; min-height: 46px; font-size: .92rem; }
.profile__jump svg { width: 19px; height: 19px; flex: none; }
.profile__slots { scroll-margin-top: 16px; }
@media (max-width: 640px) { .profile__jump { display: none; } }
[hidden] { display: none !important; }
/* Reserva: pasos, resumen y monto */
.bk__prog { list-style: none; margin: 8px 0 2px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; counter-reset: none; }
.bk__prog li { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line); }
.bk__prog li span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; background: var(--paper); border: 1px solid var(--line); }
.bk__prog li.is-on { color: var(--brand); border-top-color: var(--ocre); }
.bk__prog li.is-on span { background: var(--ocre); border-color: var(--ocre); color: #10231F; }
.bk__prog li.is-done { color: var(--teal); border-top-color: var(--teal); }
.bk__prog li.is-done span { background: var(--teal); border-color: var(--teal); color: #fff; }
.bk__f select { font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }
.bk__sum { margin: 0; display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bk__sum div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.bk__sum div:last-child { border-bottom: 0; }
.bk__sum dt { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.bk__sum dd { margin: 0; font-size: .95rem; font-weight: 600; overflow-wrap: anywhere; }
.bk__pay { margin-top: 12px; padding: 16px 18px; border-radius: 14px; background: #0E3833; color: #EEF3EF; display: flex; flex-direction: column; gap: 4px; }
.bk__pay-k { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #E2B26A; }
.bk__pay-v { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: #F3F6F2; }
.bk__pay-n { font-size: .85rem; line-height: 1.5; color: rgba(238,243,239,.82); margin-top: 4px; }
.bk__back2 { align-self: center; margin-top: 8px; text-decoration: none; }
.bk__done-pay { font-weight: 700; color: var(--brand); max-width: 44ch; }
@media (max-width: 640px) { .bk__sum div { grid-template-columns: 1fr; gap: 2px; } .bk__prog li { font-size: .72rem; gap: 6px; } }
/* Tarjetas de servicio en celular: que el texto no se salga */
.scard__body { min-width: 0; }
@media (max-width: 760px) {
  .scard__img { width: 96px; }
  .scard__pros { gap: 8px; padding-right: 42px; }
  .scard__pros > span:last-child { white-space: normal; line-height: 1.25; }
  .scard__av > * { width: 24px; height: 24px; margin-left: -7px; }
}
/* Cómo agendar: diseño con íconos (v2) */
#como-funciona { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(48px, 6vw, 84px); }
#como-funciona::before, #como-funciona::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255,255,255,.035); }
#como-funciona::before { width: 46vw; height: 46vw; min-width: 420px; min-height: 420px; left: -18vw; bottom: -30vw; }
#como-funciona::after { width: 40vw; height: 40vw; min-width: 380px; min-height: 380px; right: -16vw; bottom: -28vw; }
#como-funciona .section__head h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); }
#como-funciona .section__head h2::after { content: ""; display: block; width: 52px; height: 4px; border-radius: 2px; background: var(--ocre); margin-top: 18px; }
#como-funciona .section__head { margin-bottom: clamp(28px, 4vw, 48px); }
.steps--ic { gap: clamp(16px, 3vw, 40px); }
#como-funciona .steps--ic .step { border-top: 0; padding-top: 0; align-items: center; text-align: center; gap: 8px; }
.step__ic { position: relative; width: clamp(96px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; background: rgba(255,255,255,.04); border: 1.5px solid rgba(238,243,239,.22); box-shadow: inset 0 0 0 10px rgba(255,255,255,.02); }
.step__ic svg { width: 54%; height: 54%; fill: none; stroke: #EEF3EF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#como-funciona .step__ic .step__n { position: absolute; top: -4px; left: -10px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ocre); color: #fff; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1; box-shadow: 0 6px 14px -6px rgba(0,0,0,.45); }
/* línea entre pasos */
.steps--ic .step:not(:last-child) .step__ic::after { content: ""; position: absolute; top: 50%; left: calc(100% + 18px); width: calc((100vw - 100%) / 4); max-width: clamp(80px, 13vw, 210px); height: 2px; background: var(--ocre); opacity: .9; }
.steps--ic .step:not(:last-child) .step__ic::before { content: ""; position: absolute; top: calc(50% - 4px); left: calc(100% + 14px); width: 9px; height: 9px; border-radius: 50%; background: var(--ocre); }
#como-funciona .steps--ic h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, .95rem + .5vw, 1.4rem); line-height: 1.2; }
#como-funciona .steps--ic p { max-width: 30ch; font-size: .95rem; line-height: 1.55; }
@media (max-width: 900px) {
  .steps--ic .step .step__ic::after, .steps--ic .step .step__ic::before { display: none; }
  .steps--ic { row-gap: 34px; }
}
@media (max-width: 520px) {
  #como-funciona .steps--ic { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .step__ic { width: 84px; margin-bottom: 8px; }
  #como-funciona .step__ic .step__n { width: 32px; height: 32px; font-size: 1.05rem; left: -6px; }
  #como-funciona .steps--ic h3 { font-size: 1rem; }
  #como-funciona .steps--ic p { font-size: .84rem; }
}
.steps--ic .step:not(:last-child) .step__ic::before { display: none; }
.steps--ic .step:not(:last-child) .step__ic::after { top: calc(50% - 5px); left: calc(100% + 12px); height: 10px; opacity: 1; background:
  radial-gradient(circle at 5px 50%, var(--ocre) 4px, transparent 4.6px),
  radial-gradient(circle at calc(100% - 5px) 50%, var(--ocre) 4px, transparent 4.6px),
  linear-gradient(var(--ocre), var(--ocre)) center / calc(100% - 10px) 2px no-repeat; }
#como-funciona .steps--ic h3 { font-weight: 600; }
/* Contacto con foto */
.ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ct__txt { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.ct__txt .contact__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.ct__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; }
.ct__actions .btn { display: inline-flex; align-items: center; gap: 10px; }
.ct__mail { font-weight: 700; color: var(--teal); text-decoration: none; }
.ct__mail:hover { text-decoration: underline; }
.ct__img { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -36px rgba(16,64,59,.55); }
.ct__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) {
  .ct { grid-template-columns: 1fr; }
  .ct__img { order: -1; aspect-ratio: 16 / 10; border-radius: 18px; }
  .ct__actions .btn { width: 100%; justify-content: center; }
}
/* Pie de página más compacto */
.footer { padding-block: clamp(32px, 4vw, 48px) calc(18px + env(safe-area-inset-bottom, 0px)); }
.footer .cf { gap: clamp(20px, 3vw, 40px); }
.footer .cf__col { gap: 10px; }
.footer .cf__nav { gap: 6px; }
.footer .cf__list { gap: 10px; }
.footer .cf__h--sub { margin-top: 6px; }
.footer .cf__ico { width: 40px; height: 40px; border-radius: 12px; }
.footer .cf__ico svg { width: 19px; height: 19px; }
.footer .cf__brand p { line-height: 1.55; }
.footer .footer__bottom { margin-top: clamp(22px, 3vw, 32px); padding-top: 16px; gap: 6px; }
@media (max-width: 560px) { .footer .cf { gap: 22px 16px; } .footer .cf__nav { gap: 6px 16px; } }
/* Sugerencias del buscador */
.search-wrap { position: relative; flex: 1 1 360px; max-width: 560px; min-width: 0; }
.search-wrap .search { max-width: none; width: 100%; }
.sugg { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; max-height: min(70vh, 520px); overflow: auto; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 48px -20px rgba(16,35,31,.35); }
.sugg__h { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-ink); padding: 8px 10px 4px; }
.sugg__list { list-style: none; margin: 0; padding: 0; }
.sugg__item { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px; border-radius: 12px; color: inherit; text-decoration: none; }
.sugg__item:hover, .sugg__item.is-act, .sugg__all.is-act, .sugg__chip.is-act { background: color-mix(in srgb, var(--teal) 10%, transparent); }
.sugg__name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.sugg__name mark { background: color-mix(in srgb, var(--ocre) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.sugg__meta { font-size: .8rem; color: var(--muted); }
.sugg__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 6px; }
.sugg__chip { font: inherit; font-size: .88rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--brand); cursor: pointer; }
.sugg__chip:hover { border-color: var(--teal); }
.sugg__tip { font-size: .82rem; color: var(--muted); padding: 6px 10px 4px; }
.sugg__all { display: block; width: 100%; text-align: left; font: inherit; font-weight: 700; font-size: .9rem; color: var(--teal); background: none; border: 0; border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 10px 6px; cursor: pointer; border-radius: 0 0 10px 10px; }
.sugg__none { font-size: .92rem; color: var(--muted); padding: 10px; }
.sugg__none a { color: var(--teal); font-weight: 700; }
.sugg__crisis { margin: 2px 2px 8px; padding: 12px 14px; border-radius: 12px; background: #FBEDE9; border: 1px solid #F0C8BE; color: #6E2A1F; font-size: .9rem; line-height: 1.5; }
.sugg__crisis a { color: #A33B32; font-weight: 800; }
@media (max-width: 760px) { .search-wrap { flex-basis: 100%; max-width: none; } .sugg { max-height: 60vh; } }
.catalog__tools .search-wrap { flex: none; width: 100%; max-width: 560px; }
/* Especialidades: tarjetas con foto */
.espg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: clamp(14px, 1.8vw, 24px); border-radius: 26px; background: color-mix(in srgb, var(--brand) 6%, var(--paper)); }
.espc { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(16,64,59,.04); transition: transform .3s ease, box-shadow .3s ease; }
.espc:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(16,64,59,.45); }
.espc__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #E7E1D5; }
.espc__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.espc:hover .espc__img img { transform: scale(1.04); }
.espc__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2vw, 26px) clamp(18px, 2vw, 24px) clamp(16px, 1.8vw, 22px); }
.espc__tag { font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ocre-ink); }
.espc h3 { font-family: var(--font-body); font-weight: 800; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); letter-spacing: -.01em; color: var(--brand); }
.espc p { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.espc__btn { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--brand-bg); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.espc__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px var(--brand-bg); }
.espc__more { align-self: flex-start; font-weight: 700; color: var(--teal); text-decoration: none; padding: 2px 0; }
.espc__more:hover { text-decoration: underline; }
.espg__down { display: grid; place-items: center; width: 52px; height: 52px; margin: -26px auto 0; position: relative; z-index: 1; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--brand); box-shadow: 0 10px 22px -14px rgba(16,64,59,.5); transition: transform .25s ease, background-color .25s ease; }
.espg__down svg { width: 22px; height: 22px; }
.espg__down:hover { transform: translateY(3px); background: #E8B23A; border-color: #E8B23A; }
@media (max-width: 960px) { .espg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .espg { grid-template-columns: 1fr; gap: 12px; padding: 10px; border-radius: 20px; }
  .espc { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
  .espc__img { aspect-ratio: auto; height: 100%; }
  .espc__body { padding: 14px; gap: 6px; }
  .espc h3 { font-size: 1.12rem; }
  .espc p { font-size: .9rem; }
  .espc__btn { min-height: 40px; font-size: .86rem; padding: 0 12px; }
}
