/* Magnus V217 — Tarjetas alineadas, identidad turquesa y movimiento ambiental. */
:root {
  color-scheme: light;
  --ink: #123e49;
  --ink-2: #45656e;
  --ink-3: #526e77;
  --petrol: #064a5b;
  --petrol-2: #027087;
  --cyan: #36c4c2;
  --cyan-deep: #027087;
  --cyan-soft: #e1f4f5;
  --white: #fff;
  --paper: #f8fcfd;
  --paper-2: #edf7f9;
  --paper-3: #d9eef2;
  --line: #d2e5e9;
  --line-strong: #abcfd6;
  --shadow-sm: 0 6px 22px rgba(11,53,62,.06);
  --shadow-md: 0 8px 20px rgba(11,53,62,.04), 0 26px 65px rgba(11,53,62,.10);
  --shell: min(1240px, calc(100% - 64px));
  --header-h: 78px;
  --brand-turquoise: #028fa0;
  --brand-blue: #027087;
  --brand-deep: #064a5b;
  --section-space: clamp(48px,5vw,72px);
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open, body.chat-open { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
video { border-radius: 24px; box-shadow: 0 30px 90px rgba(12,56,65,.25); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .45; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex='0']:focus-visible { outline: 3px solid #0e6a7f; outline-offset: 4px; }
::selection { background: #b7e1e6; color: #064a5b; }
.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: var(--section-space) 0; isolation: isolate; }
main > section { overflow: clip; }
.section > .shell { position: relative; z-index: 1; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(3.2rem,5.1vw,4.35rem); line-height: 1.06; letter-spacing: -.05em; font-weight: 750; }
h2 { font-size: clamp(2.05rem,3.25vw,3rem); line-height: 1.13; letter-spacing: -.043em; font-weight: 720; }
h3 { font-size: clamp(1.45rem,2.3vw,2rem); line-height: 1.2; letter-spacing: -.035em; }
p { text-wrap: pretty; }
em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 150; padding: 12px 18px; background: #fff; border-radius: 12px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #027087; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; font-size: .7rem; line-height: 1.5; }
.eyebrow > span { display: block; width: 18px; height: 3px; border-radius: 3px; flex-shrink: 0; background: #028fa0; }
.eyebrow-light { color: #a0dce4; }
.section-heading { max-width: 750px; margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 + p { margin-top: 16px; }
.section-heading p, .split-heading > p { color: var(--ink-2); font-size: 1rem; }
.split-heading { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.75fr); gap: 36px; max-width: none; align-items: end; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 13px 21px; border-radius: 13px; border: 1px solid transparent; font-size: .875rem; font-weight: 720; line-height: 1.45; text-align: center; transition: transform .3s var(--ease), background .25s, box-shadow .25s; }
.button svg { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
.button-primary, .button-dark { background: #027087; color: #fff; box-shadow: 0 7px 18px rgba(12,56,65,.14); }
.button-ghost { background: #fff; color: #16454f; border-color: #b3d5d9; }
.button-light { background: #d3edf0; color: #064a5b; }
.text-button, .text-link { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 10px 0; color: #027087; background: transparent; font-size: .875rem; font-weight: 720; }
.text-link-light { color: #bce2e7; }
.button:active, .menu-toggle:active, .service-step-controls button:active { transform: scale(.98); }

/* Cabecera y navegación */
.top-strip { background: #064a5b; color: #d9f1f4; }
.top-strip-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 6px; font-size: .68rem; letter-spacing: .025em; }
.site-header { position: sticky; top: 0; z-index: 80; height: var(--header-h); background: rgba(248,252,253,.97); border-bottom: 1px solid #d2e5e9; backdrop-filter: blur(14px); transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(248,252,253,.98); box-shadow: 0 4px 20px rgba(6,74,91,.07); }
.site-header::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg,#0c5d6f,#72c6d9); transform: scaleX(var(--page-progress,0)); transform-origin: left; pointer-events: none; }
.nav-shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 49px; height: 49px; background: #fff; border: 1px solid #d2e5e9; border-radius: 15px; box-shadow: 0 4px 9px rgba(11,53,62,.035); }
.brand-mark img { width: 42px; height: 42px; object-fit: contain; }
.brand-copy { display: grid; gap: 5px; line-height: 1.1; }
.brand-copy strong { font-size: 1.25rem; letter-spacing: -.04em; }
.brand-copy small { color: #526e77; font-size: .64rem; }
.desktop-nav { display: flex; gap: clamp(14px,1.4vw,22px); margin-left: auto; }
.desktop-nav a { position: relative; padding: 12px 0; color: #426972; font-size: .78rem; font-weight: 650; }
.desktop-nav a::after { content: ''; height: 2px; border-radius: 3px; background: #0e697d; position: absolute; bottom: 5px; left: 0; right: 100%; transition: right .3s var(--ease); }
.desktop-nav a[aria-current='location'] { color: #0c5d6f; }
.desktop-nav a[aria-current='location']::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-book { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #064a5b; color: #fff; font-weight: 700; font-size: .78rem; white-space: nowrap; }
.nav-ai { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #bfdce0; border-radius: 12px; background: #e8f2f4; color: #064a5b; }
.nav-ai svg { width: 19px; height: 19px; fill: currentColor; }
.nav-ai span { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid #bfdce0; background: #fff; border-radius: 12px; position: relative; padding: 0; }
.menu-toggle span { position: absolute; width: 19px; height: 2px; left: 12px; top: 20px; background: #064a5b; transition: transform .25s, opacity .25s; }
.menu-toggle span:first-child { transform: translateY(-3px); }
.menu-toggle span:last-child { transform: translateY(6px); }
.menu-toggle.is-open span:first-child { transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:last-child { transform: rotate(-45deg); }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; padding: 16px max(20px,env(safe-area-inset-right)) 24px; background: #f8fcfd; border-bottom: 1px solid #d2e5e9; box-shadow: 0 24px 45px rgba(11,53,62,.12); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 12px 14px; min-height: 46px; border-bottom: 1px solid #dbebee; color: #264c54; border-radius: 10px; font-weight: 650; }
.mobile-menu nav a[aria-current='location'] { background: #e3eff1; color: #094552; }
.mobile-menu-cta { width: 100%; margin-top: 18px; }

/* Portada: tipografía editorial, video y datos útiles */
.hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at 94% 30%,rgba(2,143,160,.13),transparent 55%),linear-gradient(115deg,#f8fcfd,#e8f5f7); padding: 36px 0 42px; border-bottom: 1px solid #d2e5e9; }
.hero-wash { position: absolute; width: 440px; height: 440px; border: 1px solid rgba(2,143,160,.13); border-radius: 50%; right: -180px; top: -210px; box-shadow: 0 0 0 60px rgba(2,143,160,.035),0 0 0 120px rgba(2,143,160,.02); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); gap: clamp(28px,3.6vw,48px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero-copy h1 { color: #064a5b; max-width: 660px; }
.hero-copy h1 em { display: block; margin-top: 7px; color: #027087; font-size: .9em; letter-spacing: -.035em; }
.hero-lead { color: #45656e; font-size: 1rem; line-height: 1.75; max-width: 55ch; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }
.hero-assistant { display: grid; grid-template-columns: 44px minmax(0,1fr) 20px; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid #cae2e5; background: rgba(255,255,255,.82); border-radius: 16px; padding: 12px; margin-top: 16px; color: #123e49; }
.assistant-orb { width: 44px; height: 44px; background: #e6f1f3; border-radius: 13px; display: grid; place-items: center; }
.assistant-orb img { width: 37px; height: 37px; object-fit: contain; }
.hero-assistant > span:nth-child(2) { display: grid; gap: 3px; }
.hero-assistant small { color: #526e77; font-size: .7rem; }
.hero-assistant strong { font-size: .82rem; line-height: 1.45; }
.hero-assistant > svg { width: 20px; fill: #027087; transition: translate .25s; }
.hero-facts-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-top: 20px; background: rgba(255,255,255,.78); border: 1px solid #cce4e9; border-radius: 14px; overflow: hidden; }
.fact-card { display: grid; align-content: start; gap: 6px; padding: 14px 13px; border: 0; border-right: 1px solid #d2e5e9; background: transparent; }
.fact-card:last-child { border-right: 0; }
.fact-card small { font-size: .6rem; font-weight: 750; letter-spacing: .14em; color: #526e77; }
.fact-card strong { font-size: clamp(1.02rem,1.7vw,1.35rem); line-height: 1.3; letter-spacing: -.03em; color: #064a5b; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact-card span { color: #436c75; font-size: .72rem; line-height: 1.5; }
.hero-media { min-width: 0; }
.hero-media-frame { position: relative; overflow: hidden; height: clamp(520px,45vw,620px); border: 5px solid #fff; border-radius: 28px 28px 88px 28px; background: #164550; box-shadow: 0 30px 65px rgba(11,53,62,.19); }
.hero-media-frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-media-gradient { position: absolute; inset: 0; background: linear-gradient(transparent 55%,rgba(6,30,36,.7)); pointer-events: none; }
.hero-media-caption { position: absolute; left: 20px; right: 20px; bottom: 64px; color: #fff; padding: 16px 18px; border: 1px solid rgba(232,247,251,.28); border-radius: 16px; background: rgba(8,38,44,.72); backdrop-filter: blur(10px); pointer-events: none; }
.hero-media-caption span { display: grid; gap: 4px; }
.hero-media-caption small { font-size: .63rem; text-transform: uppercase; letter-spacing: .12em; color: #bce5ea; }
.hero-media-caption strong { font-size: .95rem; line-height: 1.45; }

/* Rutas de atención */
.pathways { background: #f8fcfd; }
.pathway-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.pathway-card { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-content: start; gap: 14px; min-height: 0; text-align: left; padding: 20px; background: #fff; border: 1px solid #cce4e9; border-top: 3px solid #028fa0; border-radius: 17px; box-shadow: var(--shadow-sm); transition: translate .3s var(--ease),box-shadow .25s,background .25s,border-color .25s; }
.pathway-card:nth-child(2):not(.is-active) { background: linear-gradient(145deg,#edf8fa,#dceff4); border-top-color: #027087; }
.pathway-card:nth-child(3):not(.is-active) { background: linear-gradient(145deg,#eaf8f6,#d9f0ed); border-top-color: #13857f; }
.pathway-card:nth-child(4):not(.is-active) { background: linear-gradient(145deg,#f1f8fc,#e1eef6); border-top-color: #316a8b; }
.pathway-number { grid-column: 2; grid-row: 1; align-self: center; color: #526e77; font-size: .7rem; font-weight: 700; }
.pathway-icon { grid-column: 1; grid-row: 1; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #e1f4f5; color: #027087; transition: transform .3s var(--ease); }
.pathway-icon svg { width: 22px; height: 22px; fill: currentColor; }
.pathway-copy { grid-column: 1 / -1; display: grid; gap: 7px; padding-right: 15px; align-content: start; }
.pathway-copy strong { font-size: 1.06rem; line-height: 1.3; min-height: 2.6em; letter-spacing: -.025em; }
.pathway-copy small { color: #436c75; font-size: .79rem; line-height: 1.6; }
.pathway-arrow { position: absolute; right: 16px; bottom: 20px; font-size: 1.2rem; line-height: 1; color: #027087; }
.pathway-clinical, .pathway-card.is-active { background: #06576a; color: #fff; border-color: #06576a; }
.pathway-card.is-active { box-shadow: inset 0 0 0 1px #6ac8ce,var(--shadow-sm); }
.pathway-card:focus-visible { outline-color: #028fa0; }
.pathway-clinical .pathway-number, .pathway-clinical .pathway-copy small, .pathway-card.is-active .pathway-number, .pathway-card.is-active .pathway-copy small { color: #c3dee1; }
.pathway-clinical .pathway-arrow, .pathway-card.is-active .pathway-arrow { color: #b9e4ea; }

/* Servicios: búsqueda, filtros y detalle estable */
.services { background: #edf7f9; border-block: 1px solid #d2e5e9; }
.services-heading-grid { display: grid; grid-template-columns: minmax(0,1.14fr) minmax(0,.86fr); gap: 20px; align-items: stretch; margin-bottom: 24px; }
.services-heading { max-width: none; margin: 0; padding: 30px; border-radius: 22px; background: #064a5b; color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.services-heading .eyebrow { color: #a8d8de; }
.services-heading h2 { font-size: clamp(2.15rem,3.3vw,3rem); max-width: 19ch; }
.services-heading p { color: #d2e9ef; font-size: .93rem; line-height: 1.75; margin-bottom: 22px; }
.services-inline-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; width: 100%; margin-top: auto; padding-top: 18px; border-top: 1px solid #447b86; }
.services-inline-stats div { display: grid; gap: 6px; }
.services-inline-stats strong { color: #d0edf1; font-size: 1.9rem; line-height: 1; font-weight: 600; }
.services-inline-stats small { color: #c1dde1; font-size: .68rem; line-height: 1.45; }
.services-hero-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 25px; border: 1px solid #c9e1e5; background: #fff; box-shadow: var(--shadow-sm); }
.services-hero-image { position: relative; aspect-ratio: 4 / 2.65; background: #d9eaec; overflow: hidden; flex-shrink: 0; }
.sign-feature .sign-state { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; position: absolute; inset: 0; transition: opacity .8s ease; }
.sign-state-off { opacity: 1; }
.sign-state-on { opacity: 0; }
.sign-feature.is-lit .sign-state-on { opacity: 1; }
.sign-feature.is-lit .sign-state-off { opacity: 0; }
.sign-glow { position: absolute; inset: 0; opacity: 0; background: radial-gradient(ellipse at 50% 10%,rgba(126,213,232,.20),transparent 58%); transition: opacity .9s ease; pointer-events: none; }
.sign-feature.is-lit .sign-glow { opacity: 1; }
.services-hero-copy { padding: 20px; display: grid; align-content: center; gap: 8px; flex: 1; background: #fff; color: #123e49; }
.services-hero-copy > span { color: #0c5d70; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; font-size: .64rem; }
.services-hero-copy strong { font-size: 1rem; line-height: 1.45; }
.services-hero-copy p { font-size: .83rem; line-height: 1.65; color: #45656e; }
.service-search-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 24px; margin-bottom: 14px; }
.service-search-field { flex: 1; max-width: 610px; min-width: 0; }
.service-search-field label { display: block; font-size: .83rem; font-weight: 700; margin-bottom: 9px; }
.search-input-wrap { position: relative; }
.search-input-wrap > svg { position: absolute; top: 18px; left: 17px; width: 20px; height: 20px; fill: none; stroke: #4a7782; stroke-width: 1.8; pointer-events: none; }
#serviceSearch { width: 100%; min-height: 56px; padding: 13px 46px 13px 49px; border: 1px solid #afd3d8; border-radius: 14px; background: #fff; color: #123e49; font-size: 16px; box-shadow: 0 4px 14px rgba(11,53,62,.025); }
#serviceSearch::placeholder { color: #50808b; }
#serviceSearch::-webkit-search-cancel-button { display: none; }
#serviceSearchClear { position: absolute; top: 7px; right: 7px; width: 42px; height: 42px; border: 0; border-radius: 10px; background: #ecf4f5; color: #27525c; font-size: 1.4rem; }
.service-result-count { font-size: .79rem; color: #45656e; padding-bottom: 14px; }
.service-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #bedbdf; border-radius: 11px; background: #f8fcfc; color: #31535b; padding: 10px 15px; min-height: 46px; font-weight: 650; font-size: .79rem; transition: color .2s,background .2s; }
.filter-pill.is-active { background: #06576a; color: #fff; border-color: #06576a; }
.filter-count { font-size: .65rem; opacity: .9; font-variant-numeric: tabular-nums; }
.service-explorer-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.explorer-hint { font-size: .76rem; color: #45656e; margin-right: auto; }
.autoplay-button { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #bedbdf; border-radius: 11px; background: #fff; color: #31535b; padding: 8px 13px; font-size: .76rem; font-weight: 650; }
.autoplay-button[aria-pressed='true'] { background: #deedee; color: #15424c; border-color: #a4c3ca; }
.service-step-controls { display: flex; gap: 7px; }
.service-step-controls button { width: 44px; height: 44px; border: 1px solid #bedbdf; border-radius: 11px; background: #fff; color: #144e5b; font-size: 1.15rem; }
.service-experience { display: grid; grid-template-columns: minmax(0,300px) minmax(0,1fr); gap: 20px; align-items: stretch; }
.service-rail { display: grid; align-content: start; gap: 8px; contain: size; min-height: 0; max-height: none; overflow-y: auto; padding: 10px; border: 1px solid #c4e1e7; border-radius: 23px; background: #e1f1f5; scrollbar-width: thin; scrollbar-color: #70adbb transparent; overscroll-behavior: contain auto; min-width: 0; scroll-behavior: smooth; }
.service-item { width: 100%; display: grid; grid-template-columns: 62px minmax(0,1fr) 16px; align-items: center; gap: 12px; padding: 11px; background: #fff; color: #123e49; text-align: left; border: 1px solid #cde4e7; border-radius: 15px; box-shadow: 0 3px 10px rgba(11,53,62,.025); transition: background .25s,border-color .25s,box-shadow .25s; }
.service-visual { width: 62px; height: 62px; position: relative; display: block; }
.service-thumbnail { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; }
.service-index { position: absolute; left: 4px; bottom: 4px; min-width: 22px; border-radius: 5px; padding: 1px 4px; background: #064a5b; color: #fff; text-align: center; line-height: 1.5; font-size: .58rem; font-weight: 750; }
.service-item-copy { display: grid; gap: 5px; min-width: 0; }
.service-item-copy strong { font-size: .8rem; line-height: 1.4; }
.service-item-copy small { color: #4b7882; font-size: .66rem; line-height: 1.4; }
.service-item-arrow { color: #0d6376; font-size: .95rem; transition: translate .25s var(--ease); }
.service-item.is-active { color: #fff; background: #06576a; border-color: #06576a; box-shadow: 0 7px 17px rgba(12,56,65,.13); }
.service-item.is-active .service-item-copy strong { color: #fff; }
.service-item.is-active .service-item-copy small { color: #c5e0e4; }
.service-item.is-active .service-item-arrow { color: #a4dee6; }
.service-detail { border: 1px solid #c6e0e3; border-radius: 23px; background: #fff; color: #123e49; overflow: hidden; min-width: 0; box-shadow: var(--shadow-md); }
.service-detail-image { aspect-ratio: 16 / 8; position: relative; background: #daebed; overflow: hidden; }
.service-detail-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transition: opacity .3s ease; }
#serviceImage[data-fallback='true'] { object-fit: contain; padding: 35px; background: #e8f2f4; }
.service-detail-image::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(7,32,37,.68)); pointer-events: none; }
.service-image-label { position: absolute; left: 22px; right: 22px; bottom: 19px; z-index: 1; display: flex; gap: 14px; align-items: center; justify-content: space-between; color: #fff; font-size: .76rem; }
.service-image-label span { padding: 7px 11px; background: rgba(9,43,50,.75); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; }
.service-image-label strong { font-size: .76rem; font-variant-numeric: tabular-nums; }
.service-detail-copy { padding: 26px; background: linear-gradient(160deg,#fff,#f4fafb); }
.detail-kicker { color: #0c5c6e; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; font-weight: 750; }
.service-detail-copy h3 { font-size: clamp(1.7rem,2.8vw,2.5rem); margin-top: 11px; }
.service-detail-copy > p { font-size: .94rem; color: #45656e; line-height: 1.75; margin-top: 14px; }
#serviceList { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 0; margin: 18px 0 22px; }
#serviceList li { display: flex; gap: 9px; align-items: start; background: #eef6f7; padding: 13px; border-radius: 11px; font-size: .77rem; line-height: 1.5; color: #36565d; }
#serviceList li::before { content: '✓'; color: #145462; font-weight: 800; flex-shrink: 0; }
.service-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#serviceWhatsApp { background: #027087; color: #fff; }
#serviceAskAI { width: 100%; justify-content: flex-start; font-size: .8rem; }
.service-empty { text-align: center; padding: 42px 24px; background: #fff; border: 1px dashed #a4c4cb; border-radius: 20px; }
.service-empty strong { display: block; font-size: 1.2rem; line-height: 1.4; }
.service-empty p { margin: 12px 0 20px; color: #45656e; }
.no-script-note { padding: 15px 0; font-size: .9rem; }

/* Método, historia y equipo */
.method { background: radial-gradient(ellipse at 0% 100%,rgba(2,143,160,.28),transparent 60%),#064a5b; color: #fff; }
.method-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.method-intro .eyebrow { margin-bottom: 20px; }
.method-intro h2 { color: #fff; }
.method-intro > p { color: #c2dde1; margin: 22px 0 27px; line-height: 1.8; font-size: .95rem; }
.method-steps { list-style: none; padding: 0; margin: 0; }
.method-steps li { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 16px; border-bottom: 1px solid #397381; padding: 16px 0; }
.method-steps li:first-child { padding-top: 0; }
.method-steps li:last-child { border-bottom: 0; }
.method-steps > li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-size: .72rem; font-weight: 750; color: #bfe4e9; background: #1a505c; border: 1px solid #456e77; }
.method-steps strong { color: #fff; font-size: 1.02rem; font-weight: 650; }
.method-steps p { color: #b7d7dc; margin-top: 8px; font-size: .85rem; }
.story { background: #f8fcfd; }
.story-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 44px; align-items: center; }
.story-media { position: relative; height: 630px; border-radius: 80px 24px 24px 24px; overflow: hidden; background: #174650; box-shadow: var(--shadow-md); }
.story-media video { width: 100%; height: 100%; object-fit: cover; }
.story-media-caption { position: absolute; left: 20px; right: 20px; bottom: 65px; display: grid; gap: 5px; padding: 17px; border-radius: 14px; background: rgba(8,38,44,.78); color: #fff; pointer-events: none; }
.story-media-caption small { font-size: .66rem; color: #c5e5e9; text-transform: uppercase; letter-spacing: .13em; }
.story-media-caption strong { font-size: .95rem; line-height: 1.4; }
.story-copy .eyebrow, .team-copy .eyebrow { margin-bottom: 20px; }
.story-lead, .team-copy > p { margin-top: 22px; color: #45656e; font-size: .95rem; line-height: 1.8; }
.timeline { margin-top: 20px; }
.timeline > div { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; padding: 15px 0; border-top: 1px solid #d2e5e9; align-items: start; }
.timeline > div > span, .team-points > div > span { display: grid; place-items: center; align-self: start; width: 40px; height: 40px; border-radius: 12px; color: #13515f; background: #e4f0f1; font-size: .68rem; font-weight: 750; line-height: 1; }
.timeline p { color: #45656e; font-size: .84rem; line-height: 1.75; }
.timeline p strong { color: #123e49; }
.purpose-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: stretch; margin-top: 36px; }
.purpose-card { min-width: 0; position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 18px; border: 1px solid #b9dce4; box-shadow: var(--shadow-sm); overflow: hidden; transition: translate .28s var(--ease),box-shadow .28s,border-color .28s; }
.purpose-card:nth-child(n) { background: #e2f6f5; color: #133f48; border-color: #cee9ed; }
.purpose-card::after { content: ''; position: absolute; width: 150px; height: 150px; border: 1px solid rgba(2,143,160,.14); border-radius: 50%; right: -88px; bottom: -92px; pointer-events: none; }
.purpose-card:nth-child(1)::after { border-color: rgba(165,237,240,.2); }
.purpose-card > span { position: absolute; top: 24px; right: 24px; font-size: .68rem; opacity: .9; }
.purpose-card > small { margin-top: 0; padding-right: 26px; font-size: .64rem; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; }
.purpose-card h3 { font-size: 1.35rem; min-height: 3.6em; margin-top: 10px; }
.purpose-card p { font-size: .83rem; line-height: 1.75; color: #45656e; margin-top: 13px; }
.purpose-card:nth-child(n) p { color: #45656e; }
.purpose-card:nth-child(n) > small { color: #075b6b; }
.commitments { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 36px; margin-top: 30px; padding-top: 28px; border-top: 1px solid #d2e5e9; }
.commitments-head > span { color: #0c5c6e; font-size: .64rem; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; }
.commitments-head h3 { font-size: 1.75rem; margin-top: 12px; }
.commitments-head p { margin-top: 14px; color: #526e77; font-size: .85rem; }
.commitment-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 20px; }
.commitment-list > div { display: flex; align-items: start; gap: 12px; padding: 13px 0; border-bottom: 1px solid #d2e5e9; }
.commitment-list span { color: #0c5d70; font-size: .65rem; font-weight: 750; line-height: 1.9; flex-shrink: 0; }
.commitment-list p { font-size: .81rem; color: #45656e; }
.team { background: #e8f5f7; border-block: 1px solid #d2e5e9; }
.team-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.94fr); gap: 44px; align-items: center; }
.team-points { margin-top: 24px; }
.team-points > div { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; padding: 14px 0; border-top: 1px solid #c8e1e7; align-items: start; }
.team-points p { display: grid; gap: 4px; }
.team-points strong { font-size: .92rem; color: #123e49; }
.team-points small { font-size: .81rem; color: #45656e; }
.channel-link { display: grid; grid-template-columns: 34px minmax(0,1fr) 16px; align-items: center; gap: 12px; padding: 17px; border: 1px solid #bddbdf; border-radius: 15px; background: #fff; color: #163f48; margin-top: 18px; }
.channel-link img { width: 32px; height: 32px; object-fit: contain; }
.channel-link > span:nth-child(2) { display: grid; gap: 3px; }
.channel-link small { font-size: .63rem; color: #4b7882; }
.channel-link strong { font-size: .8rem; line-height: 1.45; }
.channel-arrow { color: #027087; }
.team-photo { position: relative; height: 605px; border-radius: 24px 74px 24px 24px; overflow: hidden; background: #aed2d7; box-shadow: var(--shadow-md); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.team-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 65px 25px 24px; background: linear-gradient(transparent,rgba(7,33,39,.85)); color: #fff; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; }
.team-photo figcaption span { color: #d2e8eb; font-size: .75rem; }
.team-photo figcaption strong { font-size: .85rem; }

/* Reseñas y guía */
.reviews { background: #f8fcfd; }
.reviews-source { max-width: 340px; }
.stars, .review-stars { color: #027087; letter-spacing: .1em; }
.reviews-source .stars { font-size: 1.2rem; }
.reviews-source p { font-size: .85rem; margin-top: 6px; color: #45656e; }
.reviews-source a { display: inline-block; font-weight: 700; color: #0c5d70; margin-top: 14px; font-size: .81rem; }
.review-grid-modern { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.review-card-modern { position: relative; display: flex; flex-direction: column; min-width: 0; gap: 16px; border: 1px solid #bcdfe5; border-top: 3px solid #028fa0; border-radius: 20px; background: linear-gradient(155deg,#fff,#eaf7f8); color: #123e49; padding: 24px; box-shadow: var(--shadow-sm); overflow: hidden; transition: translate .28s var(--ease),box-shadow .28s,border-color .28s; }
.review-card-modern:nth-child(2) { background: linear-gradient(155deg,#fff,#e8f1f7); border-top-color: #027087; }
.review-card-head { display: flex; justify-content: space-between; align-items: start; min-height: 58px; gap: 10px; }
.review-person { display: flex; gap: 10px; align-items: center; min-width: 0; }
.review-avatar { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .78rem; }
.avatar-orange { background: #dff3f5; color: #027087; }
.avatar-violet { background: #d9edf3; color: #06576a; }
.avatar-slate { background: #e9f6f7; color: #06576a; }
.review-person > span:last-child { display: grid; gap: 4px; }
.review-person strong { font-size: .78rem; line-height: 1.45; }
.review-person small { font-size: .65rem; color: #45656e; }
.review-google-badge { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #d2e5e9; background: #fff; border-radius: 9px; color: #286ac4; font-weight: 800; flex-shrink: 0; font-size: .8rem; }
.review-stars { font-size: .85rem; }
.review-card-modern > p { font-size: .87rem; line-height: 1.8; color: #45656e; }
.review-photo { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 14px; margin-top: auto; }
.review-spacer { display: none; }
.review-card-modern:last-child { background: radial-gradient(circle at 110% 100%,rgba(54,196,194,.24),transparent 60%),linear-gradient(155deg,#06576a,#064a5b); color: #fff; border-color: #06576a; border-top-color: #36c4c2; }
.review-card-modern:last-child > p { color: #e0f1f5; }
.review-card-modern:last-child .review-person small { color: #c3e2e9; }
.review-card-modern:last-child .review-stars { color: #a3eeec; }
.review-action { position: relative; margin-top: auto; padding-top: 4px; }
.review-photo + .review-action { margin-top: 0; }
.review-action a { display: inline-flex; align-items: center; min-height: 42px; border-bottom: 1px solid #a3c3ca; color: #16505d; font-weight: 700; font-size: .76rem; }
.review-card-modern:last-child .review-action a { color: #e0f1f5; border-color: #6cacbb; }
.review-card-modern:focus-within { border-color: #028fa0; box-shadow: 0 0 0 3px rgba(2,143,160,.12),var(--shadow-sm); }
.guide { background: #edf7f9; border-block: 1px solid #d2e5e9; }
.guide-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 20px; align-items: stretch; }
.guide-visual { position: relative; overflow: hidden; min-height: 590px; border-radius: 24px; background: #c8e1e4; }
.guide-visual > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.guide-overlay { position: absolute; left: 0; bottom: 0; right: 0; padding: 72px 25px 25px; background: linear-gradient(transparent,rgba(7,34,40,.86)); color: #fff; display: grid; gap: 5px; }
.guide-overlay small { color: #d4eaed; font-size: .75rem; }
.guide-overlay strong { font-size: 1.1rem; }
.guide-copy { padding: 28px; border: 1px solid #cce4e9; border-radius: 24px; background: #fff; color: #123e49; display: flex; flex-direction: column; }
.guide-copy:focus-within { border-color: #74b8c4; box-shadow: 0 8px 28px rgba(6,74,91,.08); }
.guide-copy .eyebrow { margin-bottom: 17px; }
.guide-copy h2 { font-size: clamp(2rem,3.4vw,3rem); }
.guide-copy > p { font-size: .9rem; color: #45656e; margin: 14px 0 18px; }
.guide-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.guide-tab { min-height: 44px; padding: 10px 14px; border: 1px solid #c8e1e4; border-radius: 11px; color: #36575f; background: #eef6f7; font-weight: 650; font-size: .78rem; }
.guide-tab.is-active { background: #06576a; color: #fff; border-color: #06576a; }
.guide-panel { border-top: 1px solid #d2e5e9; padding-top: 18px; }
.guide-panel > span { color: #0c5d70; font-size: .63rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.guide-panel h3 { margin-top: 10px; font-size: 1.65rem; }
.guide-panel > p { color: #45656e; font-size: .88rem; line-height: 1.8; margin-top: 15px; }
.guide-checks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 20px; }
.guide-checks > span { display: flex; align-items: start; gap: 9px; background: #eef6f7; padding: 12px; border-radius: 10px; font-size: .75rem; color: #36575f; }
.guide-checks > span::before { content: '✓'; font-weight: 800; flex-shrink: 0; color: #175664; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 20px; }
.guide-actions .text-link { font-size: .78rem; }

/* Comunidad */
.tiktok-section { background: radial-gradient(ellipse at 100% 30%,rgba(2,143,160,.3),transparent 60%),#063b4b; color: #fff; }
.tiktok-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 44px; align-items: center; }
.social-badge { display: inline-flex; gap: 10px; align-items: center; color: #cfe4e7; font-size: .75rem; padding: 9px 12px; border: 1px solid #4a7680; border-radius: 11px; margin-bottom: 28px; }
.social-badge img { width: 25px; height: 25px; }
.tiktok-intro h2 { font-size: clamp(2.4rem,4.1vw,3.85rem); max-width: 13ch; }
.tiktok-intro > p { color: #c1dde0; line-height: 1.8; margin: 24px 0 22px; }
.tiktok-player-shell { width: 100%; max-width: 490px; justify-self: center; padding: 13px; border: 1px solid #40666e; border-radius: 25px; background: #123c45; box-shadow: 0 25px 60px rgba(4,17,20,.3); }
.tiktok-player-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 3px 8px 13px; color: #c1dde0; font-size: .67rem; }
.tiktok-player-head strong { color: #fff; }
.tiktok-stage { width: 100%; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #0a272d; }
#tiktokFrame { width: 100%; height: 100%; min-height: 0; border: 0; background: #0a272d; }
.tiktok-controls { display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: center; padding: 12px 3px 0; }
.tiktok-controls button { width: 44px; height: 44px; border: 1px solid #578b96; background: #26505a; border-radius: 11px; color: #fff; }
.tiktok-controls a { text-align: center; font-size: .75rem; color: #d3e8eb; font-weight: 650; }

/* Contacto: colores explícitos para evitar herencias de fondos anteriores. */
.contact { background: #f8fcfd; }
.contact-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: 28px; align-items: end; margin-bottom: 28px; }
.contact-top .eyebrow { margin-bottom: 17px; }
.contact-top h2 { max-width: 790px; }
.contact-top-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px; }
.visit-planner { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); border: 1px solid #c3dee1; border-radius: 25px; overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.visit-intro { padding: 28px; background: #06576a; color: #fff; }
.visit-intro .eyebrow { color: #c5e7ec; }
.visit-intro h3 { margin-top: 20px; font-size: 2.15rem; }
.visit-intro h3 em { color: #bfe0e4; }
.visit-intro > p { color: #d2e9ef; font-size: .88rem; line-height: 1.75; margin: 18px 0 22px; }
.visit-step { display: grid; grid-template-columns: 29px minmax(0,1fr); align-items: center; gap: 11px; margin-top: 15px; }
.visit-step > span { width: 29px; height: 29px; border: 1px solid #4e7d88; border-radius: 50%; display: grid; place-items: center; color: #cee8eb; font-size: .6rem; }
.visit-step p { color: #dfedef; font-size: .8rem; }
.visit-form { padding: 28px; background: #fff; color: #123e49; }
.visit-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 15px; }
.visit-fields label { display: flex; flex-direction: column; align-items: stretch; gap: 8px; color: #264c54; font-size: .76rem; font-weight: 700; min-width: 0; }
.visit-fields label > small { display: contents; font-weight: 400; }
.visit-fields input, .visit-fields select { width: 100%; min-width: 0; min-height: 50px; padding: 11px 12px; border: 1px solid #b3d5da; border-radius: 11px; background: #f9fdfd; color: #234850; font-size: 16px; }
.field-hint { color: #4b7882; font-size: .7rem; margin-top: 13px; }
.visit-preview { border: 1px solid #d2e5e9; border-radius: 12px; background: #edf7f9; padding: 15px; margin: 18px 0; }
.visit-preview > span { color: #275b67; font-size: .61rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 750; }
.visit-preview p { color: #36575f; font-size: .8rem; line-height: 1.75; margin-top: 7px; white-space: pre-line; }
#visitWhatsApp { width: 100%; background: #027087; color: #fff; }
.visit-note { color: #4b7882; font-size: .7rem; line-height: 1.6; margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); border: 1px solid #cde4e7; border-radius: 25px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.contact-card { padding: 32px; background: #fff; color: #123e49; display: flex; flex-direction: column; }
.contact-card-head { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 14px; align-items: center; }
.contact-index { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #e4f0f1; color: #13515f; font-size: .72rem; font-weight: 750; }
.contact-card-head small { color: #4b7882; font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.contact-card-head h3 { color: #123e49; font-size: 1.55rem; margin-top: 5px; }
.contact-details { border-top: 1px solid #d2e5e9; margin-top: 20px; }
.contact-details > div { display: grid; gap: 5px; border-bottom: 1px solid #d2e5e9; padding: 13px 0; }
.contact-details small { color: #4b7882; font-size: .63rem; text-transform: uppercase; letter-spacing: .09em; }
.contact-details strong { color: #244a53; font-size: .83rem; font-weight: 650; line-height: 1.65; overflow-wrap: anywhere; }
.contact-details a { color: #027087; text-decoration: underline; text-decoration-color: #a4c3ca; text-underline-offset: 4px; }
.contact-card-actions { margin-top: auto; padding-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; }
.contact-card-actions a, .contact-card-actions button { display: inline-flex; align-items: center; min-height: 42px; font-size: .76rem; font-weight: 700; color: #0c5c6e; border: 0; padding: 0; background: transparent; }
.map-frame { min-height: 460px; background: #dcecee; }
.map-frame iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }
.visit-faq { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 36px; margin-top: 32px; margin-bottom: 28px; }
.visit-faq h3 { font-size: 1.85rem; margin-top: 16px; }
.visit-faq > div > p { margin-top: 15px; color: #4b7882; font-size: .87rem; }
.faq-list { border-top: 1px solid #c6e0e3; }
.faq-list details { border-bottom: 1px solid #c6e0e3; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 19px 0; font-size: .89rem; font-weight: 650; color: #244a53; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #e7f2f3; color: #2b5a65; font-size: 1.2rem; flex-shrink: 0; transition: rotate .3s; }
.faq-list details[open] summary span { rotate: 45deg; }
.faq-list details p { padding: 0 34px 21px 0; font-size: .85rem; line-height: 1.8; color: #45656e; }
.faq-list a { text-decoration: underline; text-underline-offset: 3px; color: #0c5c6e; }
.social-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: #fff; border: 1px solid #cee4e7; border-radius: 18px; overflow: hidden; }
.social-strip a { display: grid; grid-template-columns: 28px minmax(0,1fr) 12px; gap: 12px; align-items: center; min-height: 90px; padding: 18px; border-right: 1px solid #d2e5e9; }
.social-strip a:last-child { border: 0; }
.social-strip img { width: 28px; height: 28px; object-fit: contain; }
.social-strip span { display: grid; gap: 3px; min-width: 0; }
.social-strip small { color: #4b7882; font-size: .62rem; }
.social-strip strong { color: #264c54; font-size: .73rem; overflow-wrap: anywhere; }
.social-strip b { color: #027087; font-size: .78rem; }

/* Pie, accesos y asistente */
.footer { padding: 36px 0 24px; background: #063b4b; color: #fff; }
.footer-grid { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 42px; }
.brand-footer .brand-copy small { color: #b9d8dc; }
.footer-grid > p { max-width: 430px; color: #b5d6db; font-size: .82rem; }
.footer-links { display: flex; gap: 21px; }
.footer-links a { color: #cde3e6; font-size: .76rem; }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid #3b6978; display: flex; justify-content: space-between; gap: 20px; color: #bed8df; font-size: .67rem; }
.floating-dock { position: fixed; z-index: 85; right: max(18px,env(safe-area-inset-right)); bottom: max(18px,env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: end; gap: 8px; pointer-events: none; }
.floating-wa, .floating-ai { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 8px 15px 8px 9px; border-radius: 15px; border: 1px solid #b6d7db; pointer-events: auto; box-shadow: 0 10px 25px rgba(9,45,54,.14); font-size: .75rem; font-weight: 700; }
.floating-wa { color: #06576a; background: #fff; }
.floating-ai { color: #fff; background: #06576a; border-color: #266270; }
.floating-wa span { color: #06576a; }
.floating-ai span { color: #fff; }
.floating-wa img { width: 30px; height: 30px; object-fit: contain; }
.floating-ai img { width: 32px; height: 32px; object-fit: contain; border-radius: 10px; background: #fff; }
body.chat-open .floating-dock, body.menu-open .floating-dock { visibility: hidden; pointer-events: none; }
.chat-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(6,29,34,.52); backdrop-filter: blur(4px); }
.chat-panel { position: fixed; z-index: 101; right: 20px; bottom: 20px; width: min(450px,calc(100vw - 40px)); height: min(700px,calc(100dvh - 40px)); display: grid; grid-template-rows: auto minmax(0,1fr) auto; background: #fff; color: #123e49; border: 1px solid #b7d7dc; border-radius: 23px; box-shadow: 0 30px 90px rgba(5,25,29,.3); overflow: hidden; opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none; transition: opacity .25s,transform .35s var(--ease),visibility .25s; }
.chat-panel.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.chat-head { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #ecf4f5; color: #123e49; border-bottom: 1px solid #cbe2e5; }
.chat-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.chat-brand > span { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: #fff; }
.chat-brand img { width: 36px; height: 36px; object-fit: contain; }
.chat-brand > div { display: grid; gap: 2px; }
.chat-brand strong { font-size: .9rem; }
.chat-brand small { font-size: .67rem; color: #4b7882; }
.chat-head > button { width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #b7d7dc; border-radius: 12px; background: #fff; color: #174650; font-size: 1.3rem; }
.chat-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px; background: #f9fdfd; }
.chat-message { max-width: 91%; margin-bottom: 13px; }
.chat-message p { padding: 13px 15px; font-size: .87rem; line-height: 1.75; border-radius: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.chat-message-assistant p { background: #e8f2f4; color: #284950; border-bottom-left-radius: 4px; }
.chat-message-user { margin-left: auto; }
.chat-message-user p { background: #06576a; color: #fff; border-bottom-right-radius: 4px; }
.chat-message.is-loading p { color: #48737c; font-style: italic; }
.chat-disclaimer { color: #4b7882; font-size: .68rem; line-height: 1.65; margin: 18px 0; padding-left: 11px; border-left: 2px solid #a9c7cd; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; }
.chat-quick button { border: 1px solid #c3dee1; background: #fff; color: #2e5862; border-radius: 10px; min-height: 42px; padding: 9px 12px; font-size: .71rem; font-weight: 650; }
.chat-form { display: grid; grid-template-columns: minmax(0,1fr) 48px; gap: 9px; padding: 12px 12px max(12px,env(safe-area-inset-bottom)); border-top: 1px solid #cee4e7; background: #fff; }
.chat-form input { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #b7d7dc; border-radius: 12px; background: #f3f9fa; color: #204851; font-size: 16px; }
.chat-form button { width: 48px; height: 48px; background: #06576a; color: #fff; border: 0; border-radius: 12px; font-size: 1.15rem; }

/* Movimiento: solo transformaciones y opacidad; contenido visible por defecto. */
.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: enter-section .65s var(--ease) both; animation-delay: var(--reveal-delay,0ms); }
@keyframes enter-section { from { opacity: .15; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu:not([hidden]) { animation: enter-menu .25s var(--ease) both; }
.chat-message { animation: enter-menu .24s var(--ease) both; }
@keyframes enter-menu { from { opacity: .3; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.paw-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .8; }
.ambient-orb { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle,rgba(2,143,160,.2),transparent 70%); animation: ambient-drift 18s ease-in-out infinite alternate; animation-play-state: paused; }
.orb-a { top: -170px; right: -100px; }
.orb-b { bottom: -190px; left: -100px; background: radial-gradient(circle,rgba(54,196,194,.22),transparent 70%); animation-direction: alternate-reverse; animation-duration: 22s; }
.orb-c, .paw-3, .paw-4 { display: none; }
.paw-print { position: absolute; width: 44px; height: 44px; opacity: .09; background: #357887; mask-size: contain; mask-repeat: no-repeat; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; }
.paw-dog { mask-image: url('/assets/images/paw-dog.svg'); -webkit-mask-image: url('/assets/images/paw-dog.svg'); }
.paw-cat { mask-image: url('/assets/images/paw-cat.svg'); -webkit-mask-image: url('/assets/images/paw-cat.svg'); }
.paw-1 { left: 2%; top: 9%; rotate: -18deg; }
.paw-2 { right: 2%; bottom: 9%; rotate: 16deg; }
.paw-scene-dark .paw-print { background: #b1dde3; }
.is-in-view .ambient-orb { animation-play-state: running; }
@keyframes ambient-drift { from { transform: translate3d(-16px,-14px,0) scale(.94); } to { transform: translate3d(28px,24px,0) scale(1.08); } }
.paw-scene-dark .ambient-orb { background: radial-gradient(circle,rgba(54,196,194,.2),transparent 70%); }
.effects-paused .ambient-orb { animation-play-state: paused; }
.page-is-hidden .ambient-orb { animation-play-state: paused; }
.effects-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #527f8b; border-radius: 10px; background: #104b5b; color: #e0f1f5; font-size: .72rem; }
.effects-toggle span[aria-hidden] { width: 7px; height: 7px; border-radius: 50%; background: #36c4c2; }
.effects-toggle[aria-pressed='true'] span[aria-hidden] { background: #c1d7de; }
.effects-toggle:disabled { opacity: 1; color: #c1d7de; }
.footer-bottom { align-items: center; flex-wrap: wrap; }
.visit-fields input:focus-visible, .visit-fields select:focus-visible { border-color: #028fa0; box-shadow: 0 0 0 3px rgba(2,143,160,.09); }
.faq-list details { transition: background .25s; }
.faq-list details[open] { background: #e9f5f7; }
.faq-list details[open] summary { color: #027087; }
.hero-assistant, .channel-link { transition: border-color .25s,box-shadow .25s,background .25s; }
@media (hover: hover) and (pointer: fine) {
  .button:hover, .nav-book:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(12,56,65,.16); }
  .button-primary:hover, .button-dark:hover { background: #06576a; }
  #serviceWhatsApp:hover, #visitWhatsApp:hover { background: #064a5b; }
  .button-ghost:hover { background: #edf5f6; }
  .desktop-nav a:hover::after { right: 0; }
  .hero-assistant:hover > svg { translate: 4px 0; }
  .pathway-card:hover { translate: 0 -4px; border-color: #6ab4c0; box-shadow: 0 12px 28px rgba(6,74,91,.12); }
  .pathway-card:hover .pathway-icon { transform: rotate(-5deg); }
  .service-item:not(.is-active):hover, .filter-pill:not(.is-active):hover { background: #e5f1f2; }
  .review-card-modern:hover, .purpose-card:hover { translate: 0 -4px; box-shadow: 0 14px 32px rgba(6,74,91,.13); border-color: #5cacba; }
  .service-item:hover .service-item-arrow { translate: 3px -2px; }
  .hero-assistant:hover, .channel-link:hover { border-color: #65aebb; box-shadow: 0 6px 20px rgba(6,74,91,.08); background: #edf8fa; }
  .effects-toggle:hover { background: #176478; }
  .social-strip a:hover { background: #ecf5f6; }
  .floating-ai:hover { background: #06576a; }
  .floating-wa:hover { background: #e9f4f6; }
}

/* Tableta y escritorio compacto */
@media (max-width: 1180px) {
  :root { --shell: calc(100% - 48px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .nav-actions { margin-left: auto; }
  .hero-grid { gap: 35px; }
  .hero-copy h1 { font-size: clamp(3rem,5.5vw,4rem); }
  .hero-actions .button { padding-inline: 16px; }
  .pathway-grid { gap: 12px; }
  .pathway-card { padding: 19px; }
  .method-grid, .story-grid, .team-grid, .tiktok-grid { gap: 44px; }
  .services-heading { padding: 28px; }
  .service-experience { grid-template-columns: minmax(0,285px) minmax(0,1fr); gap: 18px; }
  .service-detail-copy { padding: 25px; }
  .social-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .social-strip a:nth-child(2) { border-right: 0; }
  .social-strip a:nth-child(-n+2) { border-bottom: 1px solid #d2e5e9; }
  .footer-grid { grid-template-columns: auto minmax(0,1fr); }
  .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 74px; --shell: calc(100% - 40px); }
  .top-strip { display: none; }
  .section { padding: 48px 0; }
  .hero { padding-top: 28px; padding-bottom: 36px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .hero-copy h1 { font-size: clamp(3.1rem,7.8vw,4.6rem); max-width: 700px; }
  .hero-lead { max-width: 68ch; }
  .hero-assistant { max-width: 630px; }
  .hero-facts-cards { max-width: 650px; }
  .hero-media { width: 100%; max-width: 700px; margin-inline: auto; }
  .hero-media-frame { height: 500px; }
  .split-heading, .services-heading-grid, .method-grid, .story-grid, .team-grid, .guide-grid, .tiktok-grid, .contact-top, .visit-planner, .contact-grid { grid-template-columns: minmax(0,1fr); }
  .split-heading { gap: 22px; }
  .pathway-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pathway-card { min-height: 0; padding: 20px; }
  .services-heading h2 { max-width: 22ch; }
  .services-hero-card { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .services-hero-image { aspect-ratio: auto; min-height: 260px; height: 100%; }
  .services-inline-stats { margin-top: 0; max-width: 540px; }
  .service-experience { grid-template-columns: minmax(0,1fr); gap: 17px; }
  .service-rail { display: flex; overflow-x: auto; overflow-y: hidden; contain: none; gap: 9px; max-height: none; padding: 10px; border-radius: 18px; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .service-item { flex: 0 0 260px; width: 260px; scroll-snap-align: start; }
  .service-detail-image { aspect-ratio: 16 / 8; }
  .method-steps { margin-top: 6px; }
  .story-media { max-width: 700px; width: 100%; height: 560px; margin-inline: auto; }
  .purpose-grid { gap: 12px; }
  .purpose-card { padding: 23px; }
  .purpose-card h3 { font-size: 1.15rem; }
  .commitments { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .team-photo { height: 580px; width: 100%; max-width: 650px; margin-inline: auto; }
  .review-grid-modern { grid-template-columns: minmax(0,1fr); max-width: 720px; margin-inline: auto; }
  .review-photo { max-height: 350px; }
  .review-spacer { display: none; }
  .guide-visual { height: 500px; min-height: 0; max-width: 680px; width: 100%; margin-inline: auto; }
  .guide-copy { padding: 30px; }
  .tiktok-intro { max-width: 660px; }
  .tiktok-player-shell { max-width: 470px; }
  .contact-top { gap: 25px; }
  .contact-top-actions { justify-content: start; }
  .visit-intro h3 { max-width: 540px; }
  .visit-intro > p { max-width: 65ch; }
  .visit-faq { gap: 28px; grid-template-columns: minmax(0,1fr); }
  .map-frame, .map-frame iframe { min-height: 360px; }
}
/* Celular: controles táctiles, columnas fluidas y equipo en su orden original. */
@media (max-width: 640px) {
  :root { --shell: calc(100% - 32px); --header-h: 70px; }
  .section { padding: 38px 0; }
  h2 { font-size: clamp(2rem,8.8vw,2.8rem); line-height: 1.13; }
  .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
  .brand-mark img { width: 35px; height: 35px; }
  .brand-copy strong { font-size: 1.13rem; }
  .brand-copy small { font-size: .56rem; }
  .nav-shell { gap: 10px; }
  .nav-actions { gap: 7px; }
  .nav-book { display: none; }
  .nav-ai { width: 42px; height: 44px; }
  .hero { padding: 26px 0 32px; }
  .hero-copy .eyebrow { font-size: .62rem; letter-spacing: .11em; margin-bottom: 16px; }
  .hero-copy h1 { font-size: clamp(2.3rem,10.6vw,3.9rem); line-height: 1.045; }
  .hero-copy h1 em { font-size: .93em; margin-top: 6px; }
  .hero-lead { margin-top: 18px; font-size: .94rem; line-height: 1.75; }
  .hero-actions { display: grid; grid-template-columns: minmax(0,1fr); margin-top: 24px; }
  .hero-assistant { grid-template-columns: 40px minmax(0,1fr) 16px; gap: 10px; }
  .assistant-orb { width: 40px; height: 40px; }
  .hero-assistant small { font-size: .65rem; }
  .hero-assistant strong { font-size: .76rem; }
  .hero-facts-cards { gap: 0; margin-top: 18px; }
  .fact-card { padding: 12px 8px; gap: 6px; }
  .fact-card strong { font-size: clamp(.9rem,3.6vw,1.2rem); }
  .fact-card small { font-size: .54rem; letter-spacing: .08em; }
  .fact-card span { font-size: .63rem; }
  .hero-media-frame { height: 430px; border-width: 3px; border-radius: 23px 23px 62px 23px; }
  .hero-media-caption { left: 12px; right: 12px; padding: 14px; }
  .hero-media-caption strong { font-size: .86rem; }
  .section-heading { margin-bottom: 28px; }
  .split-heading { gap: 20px; }
  .pathway-grid { gap: 10px; }
  .pathway-card { min-height: 0; padding: 16px; gap: 12px; border-radius: 16px; }
  .pathway-icon { width: 34px; height: 34px; border-radius: 10px; }
  .pathway-icon svg { width: 20px; height: 20px; }
  .pathway-copy strong { font-size: .9rem; }
  .pathway-copy small { font-size: .73rem; }
  .services-heading-grid { gap: 18px; }
  .services-heading { padding: 25px; border-radius: 21px; }
  .services-heading h2 { font-size: clamp(2rem,8.8vw,2.8rem); }
  .services-heading p { font-size: .86rem; }
  .services-inline-stats { gap: 12px; }
  .services-inline-stats strong { font-size: 1.65rem; }
  .services-inline-stats small { font-size: .62rem; }
  .services-hero-card { display: flex; border-radius: 21px; }
  .services-hero-image { width: 100%; height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .services-hero-copy { padding: 22px; }
  .service-search-row { display: block; margin-top: 30px; }
  .service-result-count { padding: 11px 0 0; font-size: .72rem; }
  .service-filter { display: flex; flex-wrap: wrap; gap: 7px; }
  .filter-pill { font-size: .72rem; padding: 9px 11px; flex: 1 1 auto; }
  .explorer-hint { display: none; }
  .autoplay-button { margin-right: auto; }
  .service-item { flex-basis: 245px; width: 245px; }
  .service-item-copy strong { font-size: .8rem; }
  .service-detail { border-radius: 20px; }
  .service-detail-image { aspect-ratio: 4 / 3; }
  .service-image-label { left: 16px; right: 16px; bottom: 16px; }
  .service-image-label span { font-size: .67rem; }
  .service-detail-copy { padding: 24px 20px; }
  .service-detail-copy h3 { font-size: clamp(1.75rem,7.5vw,2.3rem); }
  .service-detail-copy > p { font-size: .88rem; }
  #serviceList { grid-template-columns: minmax(0,1fr); gap: 8px; margin-block: 20px; }
  #serviceList li { font-size: .79rem; }
  .service-detail-actions { display: grid; grid-template-columns: minmax(0,1fr); }
  .service-detail-actions .button { width: 100%; }
  #serviceAskAI { justify-content: center; }
  .method-grid { gap: 28px; }
  .method-steps li { gap: 14px; }
  .method-steps strong { font-size: .95rem; }
  .method-steps p { font-size: .82rem; }
  .story-grid { gap: 32px; }
  .story-media { height: 450px; border-radius: 52px 21px 21px 21px; }
  .purpose-grid { grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 26px; }
  .purpose-card { padding: 25px; }
  .purpose-card > small { margin-top: 0; }
  .purpose-card h3 { font-size: 1.35rem; }
  .purpose-card p { font-size: .85rem; }
  .commitments { margin-top: 26px; padding-top: 24px; }
  .commitment-list { grid-template-columns: minmax(0,1fr); gap: 0; }
  .commitment-list p { font-size: .83rem; }
  .team-grid { gap: 24px; }
  .team-photo { height: 450px; order: 0; border-radius: 21px 54px 21px 21px; }
  .team-grid > .channel-link { width: 100%; margin-top: 0; }
  .review-card-modern { padding: 21px; gap: 16px; }
  .review-card-head { min-height: 0; }
  .purpose-card h3 { min-height: 0; }
  .review-person strong { font-size: .8rem; }
  .review-photo { max-height: none; aspect-ratio: 1.25; }
  .guide-visual { height: 430px; border-radius: 21px; }
  .guide-copy { padding: 24px 20px; border-radius: 21px; }
  .guide-copy h2 { font-size: clamp(2rem,8.8vw,2.8rem); }
  .guide-tabs { gap: 6px; }
  .guide-tab { padding: 9px 11px; font-size: .74rem; flex: 1 1 auto; }
  .guide-panel h3 { font-size: 1.5rem; }
  .guide-checks { grid-template-columns: minmax(0,1fr); }
  .guide-checks > span { font-size: .8rem; }
  .guide-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
  .guide-actions .text-link { justify-content: center; }
  .tiktok-grid { gap: 32px; }
  .tiktok-intro h2 { font-size: clamp(2.2rem,9.5vw,3rem); }
  .tiktok-player-shell { padding: 10px; border-radius: 21px; }
  .tiktok-player-head { font-size: .61rem; gap: 8px; }
  .contact-top-actions { display: grid; grid-template-columns: minmax(0,1fr); }
  .visit-planner { border-radius: 21px; }
  .visit-intro { padding: 25px; }
  .visit-intro h3 { font-size: 1.85rem; }
  .visit-form { padding: 24px 20px; }
  .visit-fields { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .visit-fields input, .visit-fields select { max-width: 100%; }
  .contact-grid { border-radius: 21px; }
  .contact-card { padding: 24px; }
  .contact-card-head h3 { font-size: 1.35rem; }
  .contact-details strong { font-size: .82rem; }
  .contact-card-actions { gap: 16px; }
  .map-frame, .map-frame iframe { min-height: 320px; }
  .visit-faq { margin-top: 28px; gap: 20px; }
  .faq-list summary { font-size: .84rem; }
  .faq-list details p { font-size: .83rem; }
  .social-strip { grid-template-columns: minmax(0,1fr); border-radius: 16px; }
  .social-strip a { border-right: 0; border-bottom: 1px solid #d2e5e9; min-height: 78px; }
  .social-strip strong { font-size: .79rem; }
  .footer { padding: 32px 0 34px; }
  .footer-grid { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding-right: 58px; }
  .floating-dock { right: max(10px,env(safe-area-inset-right)); bottom: max(12px,env(safe-area-inset-bottom)); gap: 8px; }
  .floating-wa, .floating-ai { width: 46px; height: 46px; min-height: 46px; padding: 0; border-radius: 14px; }
  .floating-dock span { display: none; }
  .floating-wa img { width: 28px; height: 28px; }
  .floating-ai img { width: 30px; height: 30px; }
  .chat-panel { left: 8px; right: 8px; bottom: max(8px,env(safe-area-inset-bottom)); width: auto; height: min(86dvh,740px); border-radius: 21px; }
  .chat-head { padding: 13px; }
  .chat-body { padding: 16px; }
  .reveal.is-visible { animation-delay: 0ms; }
  .paw-print { width: 30px; height: 30px; opacity: .06; }
}
@media (max-width: 359px) {
  :root { --shell: calc(100% - 24px); }
  .brand-copy small { display: none; }
  .nav-ai { display: none; }
  .pathway-grid { grid-template-columns: minmax(0,1fr); }
  .pathway-card { min-height: 0; }
  .hero-facts-cards { gap: 0; }
  .fact-card { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .sign-feature .sign-state-on { opacity: 1; }
  .sign-feature .sign-state-off { opacity: 0; }
  .sign-feature .sign-glow { opacity: 0; }
  .pathway-card:hover, .purpose-card:hover, .review-card-modern:hover, .service-item:hover .service-item-arrow { translate: none; }
}
@media print {
  .reveal { opacity: 1; transform: none; animation: none; }
  .floating-dock, .chat-panel, .chat-backdrop, .paw-scene, .mobile-menu, .effects-toggle { display: none; }
  .site-header { position: static; }
  .section { padding-block: 30px; }
}

/* V219 — Dirección cinematográfica. Solo presentación; controles originales. */
:root { --section-space:clamp(64px,7.5vw,112px); --paper:#fafcfb; --shadow-sm:0 8px 30px rgba(11,53,62,.035); --shadow-md:0 20px 60px rgba(11,53,62,.07); }
h1,h2,h3 { font-weight:500; letter-spacing:-.045em; }
h2 { font-size:clamp(2.15rem,4.2vw,3.65rem); line-height:1.1; }
.section-heading { margin-bottom:38px; }
.eyebrow { letter-spacing:.14em; }
.button,.nav-book,.filter-pill,.guide-tab,.autoplay-button { border-radius:999px; }
.button { padding:15px 25px; font-weight:650; }
.site-header { background:rgba(250,252,251,.93); box-shadow:none; }
.brand-mark { border-radius:50%; box-shadow:none; }
.desktop-nav a { font-weight:550; }
.hero { padding:0; background:#062e37; color:#fff; }
.hero-wash { display:none; }
.hero-grid { width:100%; min-height:780px; min-height:min(940px,calc(100svh + 80px)); display:grid; grid-template-columns:minmax(0,1fr); isolation:isolate; }
.hero-media { position:absolute; inset:0; width:100%; max-width:none; height:100%; z-index:-2; animation:none!important; transform:none!important; opacity:1!important; }
.hero-media-frame { height:100%; width:100%; border:0; border-radius:0; box-shadow:none; }
.hero-media-frame video { border-radius:0; box-shadow:none; object-position:center; }
.hero-media-gradient { inset:0; background:linear-gradient(90deg,rgba(3,28,33,.65),rgba(3,28,33,.3)),linear-gradient(0deg,rgba(3,28,33,.88),rgba(3,28,33,.18) 60%,rgba(3,28,33,.35)); }
.hero-copy { width:min(940px,calc(100% - 64px)); margin:auto; padding:72px 0 108px; text-align:center; }
.hero-copy .eyebrow { justify-content:center; color:#b9eeea; font-weight:550; }
.hero-copy h1 { max-width:900px; margin:auto; font-size:clamp(3.3rem,6.8vw,6.25rem); font-weight:450; line-height:1.03; color:#fff; letter-spacing:-.055em; text-wrap:balance; }
.hero-copy h1 em { font:inherit; color:#a9ece3; }
.hero-lead { max-width:62ch; margin:24px auto 0; font-size:1.04rem; line-height:1.75; color:#ebf5f3; }
.hero-actions { justify-content:center; margin-top:30px; }
.hero .button-primary { background:#fff; border-color:#fff; color:#064a5b; box-shadow:none; }
.hero .button-primary:hover { background:#d4faf2; }
.hero .button-ghost { background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.55); color:#fff; backdrop-filter:blur(10px); }
.hero-assistant { max-width:590px; margin:24px auto 0; border-radius:22px; background:rgba(5,42,49,.64); border-color:rgba(255,255,255,.28); backdrop-filter:blur(18px); text-align:left; color:#fff; box-shadow:none; }
.hero-assistant small { color:#c5ddd9; }
.hero-assistant strong,.hero-assistant svg { color:#fff; }
.hero-assistant:hover { background:rgba(5,42,49,.85); border-color:#a9ece3; }
.hero-facts-cards { width:min(650px,100%); margin:32px auto 0; border:0; border-radius:0; background:none; text-align:center; }
.hero .fact-card { padding:8px 16px; border-right:1px solid rgba(255,255,255,.24); gap:6px; }
.hero .fact-card:last-child { border:0; }
.hero .fact-card small { color:#b8d9d4; font-size:.62rem; }
.hero .fact-card strong { color:#fff; font-size:1.3rem; font-weight:550; }
.hero .fact-card span { color:#d9e8e5; font-size:.74rem; }
.hero-media-caption { bottom:22px; left:50%; right:auto; transform:translateX(-50%); width:max-content; max-width:90%; padding:0; background:none; border:0; box-shadow:none; text-align:center; }
.hero-media-caption small { display:none; }
.hero-media-caption strong { font-size:.72rem; font-weight:450; color:#c5ded9; }
.pathways,.reviews { background:#fafcfb; }
.pathway-card { padding:28px 24px; border:1px solid #d8e6e3; border-radius:24px; background:#fff; box-shadow:none; }
.pathway-card:not(.is-active):not(.pathway-clinical) { background:#fff; }
.pathway-card.is-active,.pathway-clinical { background:#064a5b; }
.pathway-copy strong { font-weight:600; }
.services { background:#edf5f2; border:0; }
.services-heading { background:#064a5b; border-radius:28px; padding:36px; box-shadow:none; }
.services-heading h2 { font-weight:500; }
.services-hero-card { border-radius:28px; box-shadow:none; }
.filter-pill { background:rgba(255,255,255,.7); }
.service-detail { border-radius:28px; border-color:#d7e5df; box-shadow:none; }
.service-detail-copy { background:#fff; padding:32px; }
.service-detail-copy h3 { font-weight:500; }
.service-rail { background:transparent; border:0; padding:0 8px 0 0; border-radius:0; }
.service-item { border-radius:18px; box-shadow:none; }
.service-item strong { font-weight:600; }
.service-detail-actions a[href*="wa.me"],.guide-actions a[href*="wa.me"] { background:#137c49; color:#fff; border:1px solid #137c49; border-radius:999px; padding:14px 22px; text-align:center; }
.service-detail-actions a[href*="wa.me"]:hover,.guide-actions a[href*="wa.me"]:hover { background:#096039; }
.team { background:#eaf4f0; border:0; }
.team-photo,.story-media { border-radius:28px; box-shadow:none; }
.purpose-card { border-radius:24px; box-shadow:none; padding:30px; }
.purpose-card h3 { font-weight:500; }
.review-card-modern,.review-card-modern:nth-child(2) { background:#fff; border:1px solid #d7e5df; border-radius:24px; box-shadow:none; padding:28px; }
.review-card-modern:last-child { background:#064a5b; border-color:#064a5b; }
.guide { background:#eaf4f0; border:0; }
.guide-grid { gap:28px; }
.guide-copy { padding:36px; border:0; border-radius:28px; }
.guide-visual { border-radius:28px; }
.guide-panel h3 { font-weight:500; }
.guide-checks > span { background:#f0f6f3; border-radius:14px; }
.tiktok-section { background:#062f39; }
.tiktok-grid h2 { font-weight:500; }
.reveal.is-visible { animation-duration:.85s; }
.ambient-orb { opacity:.45; animation-duration:24s; }
@media (max-width:900px) {
 .hero-grid { min-height:860px; }
 .hero-copy { width:calc(100% - 48px); padding:70px 0 100px; }
 .hero-media { max-width:none; }
 .hero-media-frame { height:100%; }
 .hero-copy h1 { font-size:clamp(3.4rem,9vw,5.2rem); }
 .hero-media-gradient { background:linear-gradient(0deg,rgba(3,28,33,.9),rgba(3,28,33,.48) 60%,rgba(3,28,33,.45)); }
 .service-rail { padding:0 0 10px; border-radius:0; max-width:100%; }
}
@media (max-width:640px) {
 :root { --section-space:56px; }
 .hero-grid { min-height:0; }
 .hero-copy { width:calc(100% - 36px); padding:54px 0 86px; }
 .hero-copy h1 { font-size:clamp(2.75rem,11vw,4.25rem); }
 .hero-lead { font-size:.91rem; line-height:1.7; margin-top:20px; }
 .hero-actions { display:flex; flex-direction:column; gap:10px; margin-top:24px; }
 .hero-actions .button { width:100%; }
 .hero-assistant { padding:12px; grid-template-columns:34px minmax(0,1fr) 16px; gap:10px; }
 .hero-assistant strong { font-size:.76rem; }
 .hero-assistant small { font-size:.65rem; }
 .assistant-orb { width:34px; height:34px; }
 .hero-facts-cards { margin-top:26px; grid-template-columns:repeat(3,minmax(0,1fr)); }
 .hero .fact-card { padding:4px 6px; }
 .hero .fact-card strong { font-size:clamp(.9rem,4vw,1.15rem); }
 .hero .fact-card small { font-size:.55rem; letter-spacing:.09em; }
 .hero .fact-card span { font-size:.65rem; line-height:1.4; }
 .hero-media-caption { bottom:22px; }
 .section-heading { margin-bottom:26px; }
 .pathway-card { padding:20px 16px; }
 .services-heading,.guide-copy,.service-detail-copy { padding:26px 22px; }
 .guide-grid { gap:16px; }
 .guide-visual { min-height:0; }
 .service-experience,.service-detail,.service-rail,.guide-grid,.hero-grid { min-width:0; max-width:100%; }
 .review-card-modern { padding:24px; }
}
@media (prefers-reduced-motion:reduce) { .reveal.is-visible,.ambient-orb { animation:none!important; } }


/* V223 — Magnus. Superficies claras, catálogo fotográfico y espacios compactos. */
:root { color-scheme:light; --ink:#133f48; --ink-2:#45656e; --ink-3:#526e77; --paper:#f2fafa; --paper-2:#ecf8f8; --line:#cee9ed; --section-space:clamp(36px,4vw,60px); --shadow-sm:0 4px 20px #075b6b08; --shadow-md:0 14px 42px #075b6b12; }
body { background:#f2fafa; color:#133f48; }
.section { padding-block:var(--section-space); }
h1,h2,h3 { font-weight:450; letter-spacing:-.045em; }
h2 { font-size:clamp(2.05rem,3.7vw,3.3rem); }
.site-header,.site-header.is-scrolled { background:rgba(255,255,255,.95); border-bottom:1px solid #dfeded; box-shadow:none; }
.site-header::after,.desktop-nav a::after,.eyebrow > span,.purpose-card::after { display:none; }
.desktop-nav a[aria-current='location'] { color:#075b6b; background:#e2f6f5; border-radius:999px; }
.desktop-nav a { padding:9px 12px; font-weight:550; }
.nav-ai { border-radius:50%; background:#ecf8f8; color:#075b6b; }
.magnus-line-icon { width:24px; height:24px; fill:none!important; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.hero-assistant > svg { fill:#fff; }
.hero-media-gradient { background:linear-gradient(0deg,#0b4250ed 0%,#0b42505c 55%,#0b425075 100%); }
.hero-copy h1 em { color:#aaf2ed; }
.hero .fact-card strong { font-weight:500; }
.hero-facts-cards { margin-top:24px; }
.pathways { background:#fff; }
.split-heading { display:block; text-align:center; max-width:820px; margin-inline:auto; }
.split-heading > p { max-width:64ch; margin:18px auto 0; }
.pathway-grid { gap:14px; }
.pathway-card { border-radius:22px; padding:24px; box-shadow:none; border-color:#d7e9e9; }
.pathway-icon { border-radius:50%; width:44px; height:44px; background:#e2f6f5; color:#075b6b; }
.pathway-copy strong { font-weight:550; }
.pathway-card:hover .pathway-icon { transform:translateY(-2px); }
.magnus-summary { padding-block:20px; }
.magnus-summary .services-inline-stats { border:0; padding:0; text-align:center; max-width:700px; margin:auto; }
.magnus-summary .services-inline-stats strong { color:#075b6b; font-size:1.9rem; font-weight:450; }
.magnus-summary .services-inline-stats small { color:#45656e; }
.services { background:#f2fafa; border:0; }
.services-heading-grid { display:block; margin:0 auto 22px; }
.services-heading { text-align:center; background:none; border:0; border-radius:0; padding:0; align-items:center; max-width:900px; margin:auto; color:#133f48; }
.services-heading .eyebrow { color:#075b6b; }
.services-heading h2 { max-width:23ch; margin-inline:auto; font-size:clamp(2.2rem,4.2vw,3.8rem); font-weight:450; }
.services-heading p { color:#45656e; margin:18px auto 0; max-width:62ch; font-size:.92rem; }
.service-search-row { width:min(650px,100%); display:grid; grid-template-columns:1fr; gap:8px; margin:24px auto 14px; }
.service-search-field > label { font-size:.72rem; font-weight:550; }
.service-result-count { text-align:center; min-height:1.5em; font-size:.75rem; color:#45656e; }
#serviceSearch { min-height:48px; padding-block:11px; background:#fff; border-color:#c8dfe3; border-radius:999px; }
.search-input-wrap > svg { top:14px; }
.service-filter { display:flex; justify-content:center; flex-wrap:wrap; gap:4px; width:fit-content; max-width:100%; margin:16px auto 22px; padding:5px; border-radius:999px; background:#e1eeef; border:0; }
.filter-pill { background:transparent; border:0; min-height:42px; padding:10px 16px; color:#365a64; font-weight:500; }
.filter-pill.is-active { background:#075b6b; color:#fff; box-shadow:0 3px 10px #075b6b16; }
.service-explorer-actions { gap:10px; margin:0 0 16px; align-items:center; }
.explorer-hint { font-size:.75rem; }
.autoplay-button,.gallery-motion { background:#fff; border:1px solid #c2dade; border-radius:999px; color:#134d59; min-height:42px; padding:10px 16px; font-size:.75rem; font-weight:550; cursor:pointer; }
.gallery-motion[aria-pressed='true'] { background:#e2f6f5; }
.service-step-controls button { border-radius:50%; border-color:#c2dade; }
.service-experience { display:grid; grid-template-columns:minmax(0,1fr); gap:26px; }
.service-rail { display:flex; contain:none; width:100%; max-width:100%; gap:18px; padding:6px 2px 18px; overflow-x:auto; overflow-y:hidden; background:transparent; border:0; border-radius:0; scroll-behavior:auto; scrollbar-width:thin; scrollbar-color:#9cbfc5 transparent; }
.service-item { flex:0 0 286px; width:286px; min-height:360px; position:relative; display:flex; flex-direction:column; align-items:stretch; justify-content:flex-end; padding:25px; gap:0; border:2px solid transparent; border-radius:24px; overflow:hidden; text-align:left; color:#fff; background:#075b6b; isolation:isolate; box-shadow:none; transition:transform .3s,border-color .3s; }
.service-item::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#062f3a1a 0%,#062f3a66 25%,#062f3aeb 65%,#062f3a 100%); pointer-events:none; z-index:-1; }
.service-visual { position:absolute; inset:0; width:100%; height:100%; z-index:-2; }
.service-thumbnail { width:100%; height:100%; object-fit:cover; border-radius:0; transition:transform .5s; }
.service-index { position:absolute; top:14px; left:14px; bottom:auto; background:#ffffffed; color:#075b6b; border-radius:50%; width:30px; height:30px; display:grid; place-items:center; font-size:.66rem; }
.service-item-copy { display:flex; flex-direction:column; gap:10px; }
.service-item-copy strong,.service-item.is-active .service-item-copy strong { color:#fff; font-size:1.32rem; font-weight:550; line-height:1.18; letter-spacing:-.025em; }
.service-item-copy small,.service-item.is-active .service-item-copy small { color:#bbf0ee; font-size:.68rem; font-weight:500; order:-1; }
.service-card-summary { color:#e8f2f4; font-size:.8rem; line-height:1.5; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.service-item-arrow,.service-item.is-active .service-item-arrow { position:absolute; right:16px; top:16px; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#ffffffea; color:#075b6b; }
.service-item.is-active { border-color:#11a7b7; background:#075b6b; box-shadow:0 0 0 2px #11a7b725; }
.service-item:focus-visible { outline:3px solid #075b6b; outline-offset:3px; }
.service-detail { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); border:1px solid #d6e7e9; border-radius:28px; background:#fff; box-shadow:none; }
.service-detail-image { aspect-ratio:auto; min-height:480px; height:100%; }
.service-detail-copy { padding:clamp(26px,3.2vw,46px); background:#fff; display:flex; flex-direction:column; justify-content:center; }
.service-detail-copy h3 { font-size:clamp(1.9rem,3vw,2.8rem); font-weight:450; }
#serviceList { grid-template-columns:1fr; gap:0; margin:20px 0; }
#serviceList li { background:transparent; padding:10px 0; border-radius:0; border-bottom:1px solid #e3eeee; }
#serviceWhatsApp,#visitWhatsApp { background:#137c49; border-color:#137c49; color:#fff; }
#serviceWhatsApp:hover,#visitWhatsApp:hover { background:#096039; }
#serviceAskAI { width:auto; color:#075b6b; }
.method { background:#e2f6f5; color:#133f48; }
.method-grid { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:56px; align-items:center; }
.services-hero-card { border:0; background:#fff; border-radius:28px; box-shadow:0 20px 45px #075b6b0d; }
.services-hero-image { min-height:0; height:auto; aspect-ratio:4/3; }
.services-hero-copy { background:#fff; color:#133f48; padding:28px; }
.services-hero-copy strong { color:#133f48; font-size:1.1rem; }
.services-hero-copy p { color:#45656e; }
.method-intro h2 { color:#133f48; font-size:clamp(2rem,3vw,2.9rem); }
.method-intro .eyebrow { color:#075b6b; }
.method-intro > p { color:#45656e; margin:18px 0; }
.method-intro .button-light { color:#fff; background:#075b6b; border-color:#075b6b; }
.method-steps { margin-top:22px; }
.method-steps li { padding:15px 0; border-color:#badbde; gap:14px; }
.method-steps strong { color:#133f48; font-size:1.04rem; font-weight:550; }
.method-steps p { color:#45656e; font-size:.82rem; margin-top:5px; }
.method-steps > li > span { background:#fff; border:0; color:#075b6b; border-radius:50%; }
.story { background:#fff; }
.story-grid,.team-grid { gap:56px; }
.story-media { height:560px; border-radius:28px; }
.purpose-grid { margin-top:32px; }
.purpose-card { border:0; box-shadow:none; padding:28px; border-radius:22px; }
.purpose-card h3 { min-height:0; font-weight:500; }
.commitments { margin-top:28px; }
.team { background:#ecf8f8; border:0; }
.team-photo { height:550px; border-radius:28px; }
.reviews { background:#fff; }
.reviews-source { max-width:none; margin:18px auto 0; }
.review-grid-modern { align-items:start; gap:22px; }
.review-card-modern:nth-child(n) { background:#f2fafa; color:#133f48; border:1px solid #d5e8e9; border-radius:24px; padding:26px; box-shadow:none; }
.review-card-modern:last-child > p { color:#45656e; }
.review-card-modern:last-child .review-person small { color:#45656e; }
.review-card-modern:last-child .review-stars { color:#075b6b; }
.review-card-modern:last-child .review-action a { color:#075b6b; border-color:#aacbd0; }
.review-photo { aspect-ratio:1.7; margin-top:0; }
.guide { background:#e2f6f5; border:0; }
.guide-grid { gap:0; border:1px solid #c8e4e6; border-radius:30px; overflow:hidden; background:#fff; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
.guide-visual { border-radius:0; min-height:570px; }
.guide-copy { border:0; border-radius:0; padding:36px; background:#fff; }
.guide-copy:focus-within { box-shadow:none; }
.guide-tab { border-radius:999px; background:#edf6f7; }
.guide-tab.is-active { background:#075b6b; }
.guide-panel { border-color:#d7e9e9; }
.guide-checks > span { background:#ecf8f8; color:#36575f; }
.tiktok-section { background:#0b4250; }
.tiktok-grid { gap:60px; }
.tiktok-player-shell { border:1px solid #537d85; box-shadow:none; background:#133f48; border-radius:28px; }
.tiktok-controls button { border-radius:50%; }
.contact { background:#fff; }
.visit-planner { border:1px solid #cde3e7; border-radius:28px; box-shadow:none; }
.visit-intro { background:#075b6b; padding:34px; }
.visit-form { background:#f2fafa; padding:34px; }
.visit-fields input,.visit-fields select { background:#fff; border-color:#bdd9df; }
.contact-card { background:#fff; color:#133f48; }
.contact-grid { box-shadow:none; }
.visit-faq { margin-block:32px; }
.faq-list details[open] { background:#ecf8f8; }
.faq-list details[open] summary { color:#075b6b; }
.faq-list details[open] p { color:#36575f; }
.footer { background:#075b6b; }
.floating-dock { flex-direction:row; gap:9px; right:14px; bottom:14px; }
.floating-wa,.floating-ai { width:48px; height:48px; min-height:48px; padding:9px; border-radius:50%; box-shadow:0 5px 16px #075b6b24; }
.floating-dock span { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.floating-wa img,.floating-ai img { width:28px; height:28px; border-radius:50%; }
.chat-panel { color-scheme:light; }
.paw-scene { display:none; }
.reveal.is-visible { animation:soft-arrive .65s var(--ease) both; animation-delay:var(--reveal-delay,0ms); }
@keyframes soft-arrive { from { opacity:.25; transform:translateY(18px); } to { opacity:1; transform:none; } }
@media (hover:hover) {
 .service-item:not(.is-active):hover { background:#075b6b; border-color:#9ddde0; transform:translateY(-3px); }
 .service-item:hover .service-thumbnail { transform:scale(1.04); }
 .filter-pill:not(.is-active):hover { background:#cae5e7; color:#133f48; }
 .hero-assistant:hover { background:#0b4250d9; }
 .button-ghost:hover { background:#e2f6f5; color:#075b6b; }
 .hero .button-ghost:hover { background:#ffffff24; color:#fff; }
 .button-primary:hover { color:#fff; }
 .hero .button-primary:hover { color:#075b6b; }
 .channel-link:hover { background:#fff; color:#133f48; }
 .gallery-motion:hover { background:#e2f6f5; }
}
@media(max-width:1000px) { .method-grid,.story-grid,.team-grid { gap:30px; } .desktop-nav a { padding-inline:8px; } }
@media(max-width:900px) {
 .service-detail,.method-grid,.guide-grid { grid-template-columns:minmax(0,1fr); }
 .service-detail-image { aspect-ratio:16/9; min-height:0; }
 .services-hero-card { max-width:600px; margin:auto; }
 .guide-visual { min-height:0; height:410px; }
 .guide-copy { padding:30px; }
 .story-media,.team-photo { height:520px; }
}
@media(max-width:640px) {
 :root { --section-space:32px; }
 .section { padding-block:32px; }
 .service-item { flex-basis:265px; width:265px; min-height:340px; padding:22px; }
 .service-rail { gap:13px; }
 .service-filter { border-radius:22px; gap:4px; }
 .filter-pill { font-size:.72rem; padding:9px 12px; }
 .service-explorer-actions { flex-wrap:wrap; gap:8px; }
 .explorer-hint { width:100%; }
 .autoplay-button,.gallery-motion { padding:10px 12px; font-size:.7rem; }
 .service-detail-image { aspect-ratio:4/3; }
 .service-detail-copy,.guide-copy { padding:25px 21px; }
 .pathway-card { padding:20px 16px; }
 .pathway-copy strong { font-size:.9rem; }
 .guide-visual { height:340px; }
 .story-media,.team-photo { height:440px; }
 .review-grid-modern { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:10px; }
 .review-card-modern { flex:0 0 88%; scroll-snap-align:start; }
 .visit-form,.visit-intro { padding:26px 22px; }
 .floating-dock { gap:8px; right:10px; bottom:12px; }
 .floating-wa,.floating-ai { width:44px; height:44px; min-height:44px; padding:8px; }
 .footer-bottom { padding-bottom:58px; }
}
@media(prefers-reduced-motion:reduce) { .reveal.is-visible { animation:none; } .service-thumbnail { transition:none; } }

/* V224 — interacción directa y acciones WhatsApp. */
.gallery-hint { margin:8px 0 14px; text-align:center; color:#45656e; font-size:.78rem; }
.service-rail { cursor:grab; touch-action:manipulation; overscroll-behavior-x:contain; user-select:none; -webkit-user-select:none; }
.service-rail.is-dragging,.service-rail.is-dragging .service-item { cursor:grabbing; }
.service-item { cursor:grab; }
.service-thumbnail { pointer-events:none; -webkit-user-drag:none; }
a.whatsapp-action,a.whatsapp-action.button-primary,a.whatsapp-action.button-ghost,#serviceWhatsApp.whatsapp-action,#visitWhatsApp.whatsapp-action,.hero a.whatsapp-action,.guide-actions a.whatsapp-action { display:inline-flex; align-items:center; justify-content:center; gap:10px; background:#25d366; border:1px solid #25d366; color:#063b25; text-decoration:none; border-radius:999px; padding:14px 22px; }
a.whatsapp-action:hover,.hero a.whatsapp-action:hover,#serviceWhatsApp.whatsapp-action:hover,#visitWhatsApp.whatsapp-action:hover { background:#20bd5a; border-color:#20bd5a; color:#063b25; }
a.whatsapp-action .wa-action-icon { display:block; width:22px; height:22px; object-fit:contain; flex-shrink:0; }
a.whatsapp-action svg { fill:currentColor; }
.story-media video { pointer-events:none; }
.story-media-caption { bottom:22px; }
@media (max-width:640px) { .gallery-hint { font-size:.72rem; } .story-media-caption { left:14px; right:14px; bottom:16px; padding:14px; } }

/* V225: desplazamiento libre y destino visible bajo la cabecera. */
.service-rail { scroll-snap-type:none; scroll-behavior:auto; overflow-anchor:none; }
.service-item { scroll-snap-align:none; scroll-snap-stop:normal; touch-action:manipulation; }
#serviceDetail { scroll-margin-top:calc(var(--header-h,78px) + 18px); }

/* V227: introducción de contacto compacta en celular. */
@media (max-width:640px) {
 .visit-intro { padding:22px; }
 .visit-intro .eyebrow { font-size:.68rem; letter-spacing:.12em; }
 .visit-intro h3 { margin-top:10px; font-size:1.65rem; line-height:1.15; }
 .visit-intro > p { margin:12px 0 0; font-size:.88rem; line-height:1.5; }
 .visit-intro .visit-step { display:none; }
}

/* V258: interfaz compacta del asistente, sin modificar botones flotantes */
.magnus-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.magnus-actions[hidden],.magnus-health[hidden],.chat-quick[hidden]{display:none!important}
.magnus-actions button{min-width:0;min-height:54px;padding:10px;border:1px solid #c4dde0;border-radius:13px;background:#f3faf9;color:#194852;font:600 12px/1.35 inherit;cursor:pointer;text-align:left}
.magnus-actions button:hover{background:#e1f3ef;border-color:#75b7ae}
.magnus-health{display:grid;gap:7px;padding:14px;margin:12px 0;border:1px solid #c4dde0;border-radius:14px;background:#f6faf9}
.magnus-health strong{font-size:15px}.magnus-health label{font-size:12px;font-weight:700;color:#315962}
.magnus-health input,.magnus-health select,.magnus-health textarea{box-sizing:border-box;width:100%;min-height:38px;border:1px solid #b9d1d4;border-radius:9px;padding:9px;background:#fff;color:#163f49;font:inherit;font-size:13px}
.magnus-health textarea{resize:vertical}.magnus-health-buttons{display:flex;gap:8px;margin-top:5px}.magnus-health-buttons button{flex:1;min-height:40px;border-radius:10px;border:1px solid #9bbfc2;background:#fff;color:#1b5059;font-weight:700;cursor:pointer}.magnus-health-buttons button[type=submit]{background:#175760;color:#fff}.magnus-health small{font-size:11px;line-height:1.45;color:#6a4b34}

/* V259: chat legible, tarjetas y respuestas estructuradas */
.chat-body{padding:16px;background:linear-gradient(180deg,#f6fbfc,#fff 55%)}
.chat-head{background:#fff;border-bottom:1px solid #e2edef}
.chat-message{max-width:96%;margin-bottom:12px}
.chat-message-assistant{display:grid;gap:9px}
.chat-message .magnus-reply-block{padding:12px 14px;background:#edf6f7;border:1px solid #dbecef;border-radius:14px}
.chat-message .magnus-reply-block p{padding:0!important;margin:0!important;background:none!important;border:0!important;border-radius:0!important;font-size:14px;line-height:1.52;white-space:pre-line;color:#284950}
.chat-message .magnus-reply-title{display:block;margin-bottom:5px;font-size:13px;line-height:1.35;color:#086979}
.chat-message.magnus-urgent .magnus-reply-block:first-child{border-left:4px solid #d97732;background:#fff8ef}
.chat-message-user p{font-size:14px;line-height:1.5;padding:11px 14px}
.magnus-welcome{padding:15px;border:1px solid #d4e7ea;border-radius:17px;background:linear-gradient(130deg,#e9f7f7,#fff);margin-bottom:12px}
.magnus-welcome[hidden]{display:none!important}
.magnus-welcome strong{display:block;font-size:18px;line-height:1.3;color:#0a4854;margin-bottom:6px}
.magnus-welcome p{font-size:13px;line-height:1.5;color:#56757d;margin:0}
.magnus-actions{gap:9px;margin:12px 0}
.magnus-actions button{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:12px;min-height:85px;font-family:inherit;font-size:14px;font-weight:750;line-height:1.25;background:#fff;border:1px solid #d0e4e7;border-radius:15px;box-shadow:0 3px 10px rgba(12,67,75,.035)}
.magnus-actions button span{font-size:12px;font-weight:400;line-height:1.35;color:#63808a}
.magnus-actions button:hover,.magnus-actions button:focus-visible{background:#eaf7f7;border-color:#68b4be}
.chat-quick{gap:7px;margin-top:10px}
.chat-quick button{font-family:inherit;font-size:12px;min-height:36px;border-radius:20px;padding:7px 11px}
.chat-disclaimer{font-size:12px;line-height:1.5;border-radius:10px;padding:10px 12px;background:#f2f8f8;border-left:3px solid #74afb7}
.chat-form{background:#fff;border-top:1px solid #dcebed}
@media(max-width:720px){.chat-body{padding:13px}.magnus-actions button{min-height:78px;padding:11px}.chat-message .magnus-reply-block p{font-size:13px;line-height:1.5}.magnus-welcome strong{font-size:17px}}

/* V260 · Preguntas táctiles contextuales dentro del chat */
.magnus-followup{background:#fff;border:1px solid #cde3e6;border-radius:18px;padding:15px;margin:10px 0 18px;box-shadow:0 5px 18px rgba(6,73,84,.07);max-width:100%}
.magnus-followup-top{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#074b58;font-size:15px}
.magnus-followup-top small{color:#6c8388;font-size:12px;white-space:nowrap}
.magnus-followup-question{font-weight:650;color:#173e47;font-size:15px;margin:12px 0!important}
.magnus-followup-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.magnus-followup-options button{min-height:46px;padding:9px;border:1px solid #cce0e3;border-radius:12px;background:#f7fbfb;color:#174d58;font-size:13px;font-weight:550;line-height:1.3;white-space:normal;text-align:center;cursor:pointer}
.magnus-followup-options button.is-selected{background:#e1f4f3;border-color:#0794a0;box-shadow:inset 0 0 0 1px #0794a0}
.magnus-followup-footer{display:flex;gap:8px;justify-content:flex-end;margin-top:12px;flex-wrap:wrap}
.magnus-followup-footer button{border:1px solid #cde0e3;background:#fff;color:#145361;border-radius:10px;padding:9px 12px;font-size:12px;font-weight:650;cursor:pointer}
.magnus-followup-footer .magnus-followup-next{background:#086275;color:#fff;border-color:#086275}
.magnus-followup-footer button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:400px){.magnus-followup{padding:12px}.magnus-followup-options button{font-size:12px}}

/* V261: navegación táctil compacta y accesible */
.magnus-wizard[hidden]{display:none!important}.magnus-wizard{background:#fff;border:1px solid #d2e6e7;border-radius:18px;padding:16px;margin:12px 0;box-shadow:0 8px 24px rgba(7,70,79,.06)}.magnus-wizard-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.magnus-wizard-head button{border:0;background:none;color:#086578;font-weight:700;cursor:pointer;padding:8px}.magnus-wizard-head small{color:#657f85}.magnus-wizard-progress{height:5px;border-radius:9px;background:linear-gradient(to right,#0798a1 var(--progress),#e5f0f0 var(--progress));margin:10px 0 18px}.magnus-wizard h3{font-size:19px;line-height:1.3;color:#103d46;margin:0 0 12px}.magnus-wizard>small{color:#69818a}.magnus-wizard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.magnus-wizard-grid button{font:600 14px/1.35 inherit;font-family:inherit;font-size:14px;min-height:55px;border:1px solid #cbdfe1;border-radius:13px;background:#f8fbfb;color:#164651;white-space:normal;padding:10px;cursor:pointer}.magnus-wizard-grid button.is-selected{background:#e4f6f5;border-color:#0798a1;color:#075866}.magnus-wizard-grid button:focus-visible,.magnus-wizard-head button:focus-visible{outline:3px solid #0a9da7;outline-offset:2px}.magnus-wizard-extra{width:100%;padding:12px;border:1px solid #cbdfe1;border-radius:12px;margin-top:12px;font:inherit}.magnus-wizard-next{width:100%;background:#086275;color:white;border:0;border-radius:13px;min-height:48px;margin-top:14px;font:700 14px inherit;cursor:pointer}.magnus-wizard-next:disabled{opacity:.45}.magnus-wizard-alert{font-size:13px;line-height:1.45;background:#fff5ed;color:#8b3d17;padding:12px;border-radius:12px}.magnus-actions button{min-height:76px}.magnus-welcome p{font-size:14px;line-height:1.5}.chat-message .magnus-reply-block{margin-bottom:7px}.chat-message .magnus-reply-block p{line-height:1.55}@media(max-width:390px){.magnus-wizard{padding:12px}.magnus-wizard-grid button{font-size:13px;min-height:50px}}

/* V262 · Separation of quick actions and chat replies; safe clickable URLs */
.chat-body{display:flow-root;overflow-x:hidden}
.chat-quick{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;gap:9px;margin:16px 0 22px!important;padding:0 0 14px;clear:both;isolation:isolate}
.chat-quick button{flex:0 1 auto;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.35;min-height:40px}
.chat-message{position:relative;clear:both;max-width:95%;margin-top:14px;margin-bottom:16px;overflow-wrap:anywhere}
.chat-message-user{margin-left:auto}
.magnus-actions{margin-bottom:18px!important}
.magnus-chat-link{color:#006c85!important;text-decoration:underline;text-underline-offset:3px;font-weight:700;overflow-wrap:anywhere;word-break:break-word}
.magnus-chat-link:focus-visible{outline:3px solid #089ba8;outline-offset:3px;border-radius:3px}
.chat-message .magnus-reply-block{min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){.chat-quick{gap:8px;margin-top:14px!important;margin-bottom:20px!important}.chat-message{margin-top:13px}}

/* V267 — assistant response appears one complete card at a time */
.chat-message-assistant.magnus-card-sequence .magnus-reply-block.magnus-card-pending { display: none !important; }
.chat-message-assistant.magnus-card-sequence .magnus-reply-block.magnus-card-enter { animation: magnus-card-in .36s cubic-bezier(.2,.75,.25,1) both; }
@keyframes magnus-card-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .chat-message-assistant.magnus-card-sequence .magnus-reply-block.magnus-card-enter { animation: none; } }
