/* =====================================================================
   ESTILOS BASE · todo color/fuente sale de theme.css
   Capas z-index: header 50 · dock 60 · overlays 80 · toasts 90
   ===================================================================== */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-sm: 0 1px 2px rgb(var(--shadow-rgb) / 0.06), 0 2px 8px rgb(var(--shadow-rgb) / 0.05);
  --shadow-md: 0 2px 6px rgb(var(--shadow-rgb) / 0.06), 0 16px 40px -12px rgb(var(--shadow-rgb) / 0.18);
  --shadow-lg: 0 30px 80px -20px rgb(var(--shadow-rgb) / 0.35);
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: var(--ease-out); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 300ms ease, color 300ms ease;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- tipografía ---------- */
.display, h1, h2, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
  margin: 0;
  text-wrap: balance;
}
.display { font-size: clamp(2.7rem, 5.6vw, 5.2rem); }
h2, .h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
.h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; }
.display em, h2 em { font-style: italic; color: var(--accent); padding-bottom: 0.06em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); max-width: 46ch; line-height: 1.55; }
.muted { color: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.stack-lg > * + * { margin-top: 28px; }
.stack > * + * { margin-top: 16px; }

/* ---------- botones ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; white-space: nowrap; letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn i { font-size: 1.05em; transition: transform 200ms var(--ease-out); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgb(255 255 255 / 0.15) inset, 0 8px 20px -10px var(--accent); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-deep); }
  .btn-dark:hover { background: color-mix(in oklab, var(--ink) 85%, var(--accent)); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn:hover i.ph-arrow-right, .btn:hover i.ph-arrow-up-right { transform: translateX(3px); }
}
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size 250ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--accent); background-size: 0% 1px; background-position: 100% 100%; } }

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background-color 250ms ease, box-shadow 250ms ease; }
.site-header.is-scrolled { background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 21px; letter-spacing: -0.02em; }
.logo-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 18px; line-height: 1; transition: background-color 300ms ease; }
.nav { display: flex; gap: 4px; padding: 5px; border-radius: var(--r-pill); background: color-mix(in oklab, var(--surface) 70%, transparent); border: 1px solid var(--line); }
.nav a { padding: 8px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color 200ms ease, background-color 200ms ease; }
.nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .nav a:not([aria-current]):hover { color: var(--ink); background: var(--surface-2); } }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform 260ms var(--ease-out); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; background: var(--bg); padding: 24px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity 220ms ease; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 40px; letter-spacing: var(--display-tracking); line-height: 1.25; padding: 6px 0; opacity: 0; transform: translateY(10px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); transition-delay: calc(var(--i) * 40ms); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu-foot { display: grid; gap: 10px; }

@media (max-width: 960px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: block; }
}

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-media); background: linear-gradient(135deg, var(--accent-soft), var(--surface-2)); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms ease, transform 900ms var(--ease-out); }
.media img.is-loaded { opacity: 1; }
.media img.is-broken { display: none; }

/* ---------- reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 6% 12% 6% round var(--r-media)); transition: clip-path 1100ms var(--ease-io); }
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-media)); }

/* =====================================================================
   HOME
   ===================================================================== */
.hero { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: center; min-height: min(760px, calc(100dvh - var(--header-h) - 40px)); }
.hero-copy .display { margin-top: 22px; }
.hero-copy .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-media { position: relative; height: 100%; min-height: 520px; }
.hero-media .m-main { position: absolute; inset: 0 0 0 14%; border-radius: var(--r-media); }
.hero-media .m-alt { position: absolute; left: 0; bottom: 9%; width: 38%; aspect-ratio: 3/4; border-radius: 18px; border: 6px solid var(--bg); box-shadow: var(--shadow-md); }
.hero-card {
  position: absolute; right: 5%; top: 7%; width: min(300px, 70%);
  padding: 18px 18px 16px; border-radius: 18px;
  background: color-mix(in oklab, var(--surface) 86%, transparent);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid color-mix(in oklab, var(--surface) 60%, var(--line));
  box-shadow: var(--shadow-md);
}
.hero-card .hc-label { font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.hero-card .hc-live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in oklab, var(--ok) 50%, transparent); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--ok) 45%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }
.hero-card .hc-time { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; margin-top: 8px; }
.hero-card .hc-svc { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.hero-card .btn { margin-top: 14px; }
.hero-in > * { opacity: 0; transform: translateY(14px); animation: heroIn 900ms var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: var(--display-tracking); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; color: var(--ink); }
.marquee-track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* bento de categorías */
.section-head { max-width: 760px; }
.section-head p { margin-top: 18px; }
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 14px; margin-top: 56px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-card); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate; background: var(--ink); }
.tile .media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0) 35%, rgb(0 0 0 / 0.62)); }
.tile:nth-child(1) { grid-row: span 2; }
.tile:nth-child(4) { grid-column: span 2; }
.tile h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(1.7rem, 2.4vw, 2.3rem); margin: 0; line-height: 1.05; }
.tile p { font-size: 14px; opacity: 0.86; margin-top: 8px; max-width: 34ch; }
.tile .tile-go { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / 0.25); transition: transform 300ms var(--ease-out), background-color 200ms ease; }
.tile .tile-count { font-size: 13px; margin-top: 14px; opacity: 0.9; display: inline-flex; gap: 8px; align-items: center; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .media img { transform: scale(1.045); }
  .tile:hover .tile-go { transform: rotate(-45deg); background: #fff; color: #111; }
}
.tile:active { transform: scale(0.99); transition: transform 160ms var(--ease-out); }

/* firma: imagen a sangre con panel */
.signature { position: relative; min-height: 640px; display: flex; align-items: flex-end; padding: clamp(16px, 4vw, 48px); border-radius: calc(var(--r-card) + 6px); overflow: hidden; isolation: isolate; }
.signature .media { position: absolute; inset: 0; z-index: -1; border-radius: 0; }
.sig-panel { background: var(--surface); color: var(--ink); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); max-width: 520px; box-shadow: var(--shadow-lg); }
.sig-panel h2 { margin-top: 0; }
.sig-panel p { margin-top: 16px; color: var(--ink-2); }
.sig-meta { display: flex; gap: 28px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.sig-meta div { display: flex; flex-direction: column; }
.sig-meta small { font-size: 12px; color: var(--ink-3); }
.sig-meta strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 26px; letter-spacing: -0.02em; }
.sig-panel .btn { margin-top: 26px; }

/* proceso */
.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-list { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.process-list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-block: 26px; }
.process-list li + li { border-top: 1px solid var(--line); }
.process-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); font-size: 24px; }
.process-list h3 { margin: 4px 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.process-list p { color: var(--ink-2); max-width: 48ch; }

/* testimonios */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-top: 48px; scrollbar-width: thin; }
.quote { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 24px; font-size: 14px; display: flex; flex-direction: column; }
.quote figcaption b { font-weight: 600; }
.quote figcaption span { color: var(--ink-3); }
.stars { color: var(--accent); display: flex; gap: 2px; margin-bottom: 16px; font-size: 15px; }
.quotes-nav { display: flex; gap: 8px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 18px; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); } }
.row-between { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* CTA final */
.cta-band { background: var(--accent-soft); border-radius: calc(var(--r-card) + 6px); padding: clamp(32px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.cta-band h2 { color: var(--ink); }
.cta-band .lead { margin-top: 18px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.cta-hours { background: var(--surface); border-radius: var(--r-card); padding: 28px; }
.cta-hours h3 { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.hours-list { margin: 0; display: grid; gap: 10px; }
.hours-list div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.hours-list dt { color: var(--ink-2); }
.hours-list dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.today-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-deep); }

/* pie */
.site-footer { padding-top: clamp(64px, 8vw, 112px); background: var(--surface); border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--ink-2); margin: 18px 0 24px; max-width: 32ch; }
.footer-col h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin: 6px 0 16px; color: var(--ink-3); }
.footer-col p { color: var(--ink); line-height: 1.75; margin-bottom: 12px; }
.footer-col .hours-list div { font-size: 14px; }
.socials { display: flex; gap: 8px; margin-top: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 18px; transition: background-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: var(--ink); color: var(--bg); } }
.footer-word { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -0.05em; line-height: 0.8; font-size: clamp(4rem, 17vw, 16rem); white-space: nowrap; margin-top: clamp(56px, 8vw, 96px); color: var(--ink); opacity: 0.08; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (hover: hover) and (pointer: fine) { .footer-bottom a:hover, .footer-col a:hover { color: var(--accent); } }

/* dock de paletas */
.theme-dock { position: fixed; left: 20px; bottom: 20px; z-index: 60; }
.theme-dock-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-md); transition: transform 160ms var(--ease-out); }
.theme-dock-btn i { font-size: 18px; }
.theme-dock-btn:active { transform: scale(0.96); }
.theme-pop { position: absolute; left: 0; bottom: 56px; width: 280px; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform-origin: bottom left; opacity: 0; transform: scale(0.96) translateY(4px); transition: opacity 160ms var(--ease-out), transform 200ms var(--ease-out); }
.theme-pop.is-open { opacity: 1; transform: none; }
.theme-pop-title { font-size: 12px; color: var(--ink-3); padding: 6px 10px 8px; }
.theme-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 12px; text-align: left; transition: background-color 160ms ease; }
.theme-opt b { display: block; font-size: 14px; font-weight: 600; }
.theme-opt small { color: var(--ink-3); font-size: 12px; }
.theme-opt[aria-pressed="true"] { background: var(--surface-2); }
@media (hover: hover) and (pointer: fine) { .theme-opt:hover { background: var(--surface-2); } }
.sw { display: flex; }
.sw i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -7px; box-shadow: 0 0 0 1px var(--line); }
.sw i:first-child { margin-left: 0; }

/* =====================================================================
   PÁGINAS INTERIORES
   ===================================================================== */
.page-hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 5vw, 64px); }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.page-hero .lead { margin-top: 20px; }
.page-hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }

/* chips de filtro */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 42px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.chip small { font-size: 12px; color: var(--ink-3); transition: color 200ms ease; }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] small { color: color-mix(in oklab, var(--bg) 70%, transparent); }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):hover { border-color: var(--ink); } }

/* listado de servicios */
.svc-group + .svc-group { margin-top: 88px; }
.svc-group-head { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.svc-group-head .media { aspect-ratio: 4/5; position: sticky; top: calc(var(--header-h) + 24px); }
.svc-group-head h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.svc-group-head .intro p { color: var(--ink-2); margin-top: 12px; max-width: 46ch; }
.svc-list { margin-top: 32px; display: grid; gap: 10px; }
.svc-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color 200ms ease, transform 200ms var(--ease-out), box-shadow 250ms ease; }
.svc-row h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.svc-row p { color: var(--ink-2); font-size: 14px; margin-top: 4px; max-width: 60ch; }
.svc-row .meta { display: flex; align-items: center; gap: 18px; }
.svc-row .dur { font-size: 13px; color: var(--ink-3); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.svc-row .price { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; white-space: nowrap; min-width: 64px; text-align: right; }
.svc-row .go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: background-color 200ms ease, color 200ms ease, transform 250ms var(--ease-out); }
.svc-row:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .svc-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
  .svc-row:hover .go { background: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }
}
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; padding: 3px 9px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-deep); vertical-align: middle; margin-left: 8px; }

/* detalle de servicio */
.detail { display: grid; grid-template-columns: 1fr 400px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail-media { aspect-ratio: 16/10; }
.detail-body { margin-top: 48px; display: grid; gap: 48px; }
.detail-body h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 18px; }
.includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; }
.includes i { color: var(--accent); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.addons { display: grid; gap: 10px; }
.addon { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.addon b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 20px; }
.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); }
.note i { color: var(--accent-deep); font-size: 22px; flex-shrink: 0; }
.book-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-md); }
.book-card .price-big { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 56px; letter-spacing: -0.03em; line-height: 1; }
.book-card .kv { display: grid; gap: 12px; margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.book-card .kv div { display: flex; justify-content: space-between; font-size: 15px; }
.book-card .kv span { color: var(--ink-2); }
.book-card .next { font-size: 14px; color: var(--ink-2); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.book-card .next b { color: var(--ink); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.rel { display: block; }
.rel .media { aspect-ratio: 4/3; }
.rel h3 { font-size: 18px; margin: 14px 0 2px; font-weight: 600; }
.rel p { font-size: 14px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .rel:hover .media img { transform: scale(1.04); } }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform 250ms var(--ease-out); font-size: 18px; color: var(--ink-2); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); max-width: 64ch; }

/* tarifas */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.menu-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); }
.menu-block-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.menu-block-head h2 { font-size: clamp(1.7rem, 2.5vw, 2.2rem); }
.menu-block-head .media { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.price-row { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 12px 0; }
.price-row a { font-weight: 500; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .price-row a:hover { color: var(--accent); } }
.price-row .leader { border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.price-row .p { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.price-row small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; }
.packs { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; margin-top: 48px; }
.pack { border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; background: var(--surface-2); }
.pack:first-child { background: var(--ink); color: var(--bg); }
.pack:first-child .pack-items { color: color-mix(in oklab, var(--bg) 70%, transparent); }
.pack h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 28px; letter-spacing: -0.02em; }
.pack-items { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.pack-foot { display: flex; justify-content: space-between; align-items: end; margin-top: 28px; gap: 12px; }
.pack-price { font-family: var(--font-display); font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.pack .tag { margin: 0; }

/* nosotros */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-media { display: grid; grid-template-columns: 1fr 0.7fr; gap: 14px; align-items: end; }
.story-media .media:first-child { aspect-ratio: 3/4; }
.story-media .media:last-child { aspect-ratio: 3/4; margin-bottom: 18%; }
.story-copy p + p { margin-top: 16px; }
.story-copy p { color: var(--ink-2); max-width: 52ch; font-size: 17px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.values div { padding: 32px 32px 0 0; }
.values div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.values i { font-size: 28px; color: var(--accent); }
.values h3 { font-size: 20px; margin: 16px 0 8px; font-weight: 600; }
.values p { color: var(--ink-2); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.member .media { aspect-ratio: 4/5; }
.member h3 { margin: 18px 0 2px; font-size: 20px; font-weight: 600; }
.member .role { color: var(--accent); font-size: 14px; font-weight: 600; }
.member p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }
.member .btn { margin-top: 16px; }
.member:nth-child(2) { margin-top: 48px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.gallery .media:first-child { grid-row: span 2; }

/* contacto */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 10px; }
.c-card { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color 200ms ease; }
.c-card i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); font-size: 22px; flex-shrink: 0; }
.c-card small { display: block; color: var(--ink-3); font-size: 13px; }
.c-card b { font-weight: 600; }
@media (hover: hover) and (pointer: fine) { a.c-card:hover { border-color: var(--ink); } }
.map { margin-top: 10px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }
[data-theme="noir"] .map iframe { filter: invert(0.92) hue-rotate(180deg) grayscale(0.5); }

/* formularios */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--ink-3); }
.input, .field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--r-input);
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent); }
.field .help { font-size: 13px; color: var(--ink-3); }
.field .err { font-size: 13px; color: var(--danger); display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field.has-error .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 1px; flex-shrink: 0; }
.form-success { text-align: center; padding: 40px 12px; }
.form-success i { font-size: 48px; color: var(--ok); }
.form-success h3 { font-size: 24px; margin: 14px 0 8px; }

/* toasts */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(100%); transition: opacity 400ms ease, transform 400ms ease; }
.toast i { font-size: 18px; }
.toast-ok i { color: color-mix(in oklab, var(--ok) 60%, white); }
.toast-warn i { color: var(--warn); }
.toast.is-in { opacity: 1; transform: none; }
.toast.is-out { opacity: 0; transform: translateY(8px); transition-duration: 200ms; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .book-card { position: static; }
}
@media (max-width: 960px) {
  .hero-grid, .process, .cta-band, .story, .contact-grid, .page-hero-split, .svc-group-head { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-media { min-height: 460px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 220px 220px; }
  .tile:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .tile:nth-child(4) { grid-column: span 2; }
  .menu-grid, .packs { grid-template-columns: 1fr; }
  .svc-group-head .media { position: static; aspect-ratio: 16/9; }
  .quotes { grid-auto-columns: minmax(280px, 80%); }
  .related { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .member:nth-child(2) { margin-top: 0; }
}
@media (max-width: 640px) {
  .hero-media { min-height: 420px; }
  .hero-media .m-main { inset: 0; }
  .hero-media .m-alt { display: none; }
  .hero-card { right: 12px; top: auto; bottom: 12px; width: calc(100% - 24px); }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .tile:nth-child(n) { grid-column: auto; grid-row: auto; }
  .signature { min-height: 560px; padding: 12px; }
  .footer-top, .form-grid, .includes, .related, .team, .values { grid-template-columns: 1fr; }
  .values div, .values div + div { padding: 24px 0; border-left: 0; }
  .values div + div { border-top: 1px solid var(--line); }
  .svc-row { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .svc-row .meta { justify-content: space-between; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 240px 180px 180px; }
  .gallery .media:first-child { grid-row: auto; }
  .story-media { grid-template-columns: 1fr 1fr; }
  .theme-dock { left: 12px; bottom: 12px; }
  .theme-dock-btn span { display: none; }
  .theme-dock-btn { width: 44px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  [data-reveal], .hero-in > * { transform: none !important; transition: opacity 300ms ease !important; }
  [data-reveal="clip"] { clip-path: none !important; }
  .marquee-track { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
