/* AgendaOS — sitio público del salón */

/* =========================================================
   Tokens
   ========================================================= */
:root {
  --brand: #c0807a;
  --brand-600: color-mix(in oklab, var(--brand), #3a1f1c 18%);
  --brand-700: color-mix(in oklab, var(--brand), #2a1512 38%);
  --brand-300: color-mix(in oklab, var(--brand), #fff 40%);
  --brand-100: color-mix(in oklab, var(--brand), #fff 82%);
  --brand-50: color-mix(in oklab, var(--brand), #fff 92%);
  --ink: #2a1f1d;
  --ink-2: #4a3b38;
  --muted: #85736f;
  --cream: #fdf9f6;
  --blush: #f8eee9;
  --sand: #f3e8e0;
  --gold: #b8925a;
  --line: rgba(42, 31, 29, .1);
  --white: #fff;
  --ok: #3f8f6b;
  --danger: #c2453d;
  --display: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px -4px rgba(74, 40, 34, .15);
  --shadow: 0 24px 48px -24px rgba(74, 40, 34, .35);
  --shadow-lg: 0 40px 80px -30px rgba(74, 40, 34, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.01em; color: var(--ink); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--brand-600); }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.lead { font-size: 1.12rem; color: var(--ink-2); font-weight: 300; max-width: 560px; }
.chip { display: inline-block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--brand-50); color: var(--brand-700); font-weight: 500; }
.chip-brand { background: var(--brand); color: #fff; vertical-align: middle; margin-left: 6px; }
.link-arrow { color: var(--brand-700); font-weight: 500; text-decoration: none; display: inline-flex; gap: 6px; transition: gap .25s var(--ease); }
.link-arrow:hover { gap: 10px; }
.meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin: 0; }

/* =========================================================
   Botones
   ========================================================= */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 99px; border: 1px solid transparent; cursor: pointer;
  background: var(--bg); color: var(--fg); font: 500 .98rem/1.2 var(--sans); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:hover:not([disabled]) { transform: translateY(-2px); }
.btn:active:not([disabled]) { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-lg { padding: 16px 28px; font-size: 1.04rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-brand { --bg: var(--brand); box-shadow: 0 12px 24px -12px var(--brand); }
.btn-brand:hover:not([disabled]) { --bg: var(--brand-600); box-shadow: 0 18px 30px -14px var(--brand-600); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(42, 31, 29, .22); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-soft { --bg: var(--brand-50); --fg: var(--brand-700); }
.btn-soft:hover { --bg: var(--brand); --fg: #fff; }
.btn-light { --bg: #fff; --fg: var(--brand-700); }
.btn-outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg); animation: shine 4.5s 1.5s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* =========================================================
   Encabezado
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 249, 246, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s, background .3s; }
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { background: rgba(253, 249, 246, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 10px 30px -22px rgba(74, 40, 34, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; transition: min-height .3s; }
.site-header.is-scrolled .header-inner { min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font: italic 600 1.45rem/1 var(--display);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25); transition: transform .5s var(--spring);
}
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.brand-name { font: 600 1.4rem/1 var(--display); letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--ink-2); position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1.5px; background: var(--brand); transition: right .3s var(--ease); }
.site-nav a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: 130px 0 80px; overflow: hidden; background: linear-gradient(180deg, var(--blush), var(--cream) 85%); }
.hero-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-blobs i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero-blobs i:nth-child(1) { width: 420px; height: 420px; background: var(--brand-300); top: -120px; left: -100px; }
.hero-blobs i:nth-child(2) { width: 360px; height: 360px; background: #f2d6b8; bottom: -140px; right: 25%; animation-delay: -6s; }
.hero-blobs i:nth-child(3) { width: 260px; height: 260px; background: var(--brand-100); top: 20%; right: -60px; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 10px) scale(.95); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: .98; margin-bottom: 22px; }
.hero h1 em { display: inline-block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 38px; }
.hero-stats { display: flex; gap: 38px; list-style: none; padding: 0; margin: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font: 500 1.9rem/1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.hero-stats span { font-size: .82rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.hero-media { position: relative; justify-self: center; width: min(100%, 480px); }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.arch img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s var(--ease) both; }
.arch-ring { position: absolute; inset: -18px -18px 30px 30px; border: 1.5px solid var(--brand-300); border-radius: 260px 260px 34px 34px; z-index: -1; animation: fade 1.5s .6s both; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  animation: rise .9s var(--ease) both, bob 6s ease-in-out infinite;
}
.float-card small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.float-card b { display: block; font-weight: 600; font-size: .98rem; }
.float-card > .icon { color: var(--brand-600); transition: transform .3s var(--ease); }
.float-card:hover > .icon { transform: translateX(4px); }
.float-a { left: -46px; bottom: 70px; animation-delay: .9s, 2s; }
.float-b { right: -30px; top: 60px; animation-delay: 1.15s, 3s; }
.float-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); }
.pulse-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 1.8s infinite; }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-media .arch { animation: rise 1.1s .2s var(--ease) both; }

/* Página interna */
.page-hero { position: relative; overflow: hidden; padding: 70px 0 50px; background: linear-gradient(180deg, var(--blush), var(--cream)); }
.page-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
.page-hero .wrap { position: relative; }
.page-hero .wrap > * { animation: rise .8s var(--ease) both; }
.page-hero .wrap > :nth-child(2) { animation-delay: .08s; }
.page-hero .wrap > :nth-child(3) { animation-delay: .16s; }

/* =========================================================
   Marquesina
   ========================================================= */
.marquee { overflow: hidden; background: var(--ink); color: var(--cream); padding: 18px 0; transform: rotate(-1.2deg); margin: 10px -10px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee span { font: italic 500 1.6rem/1 var(--display); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--brand-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Secciones
   ========================================================= */
.section { padding: 100px 0; }
.section-blush { background: var(--blush); }
.section-sand { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-weight: 300; font-size: 1.08rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Categorías */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card { position: relative; display: block; aspect-ratio: 6 / 5; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 31, 29, 0) 35%, rgba(42, 31, 29, .82)); transition: background .4s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card:hover img { transform: scale(1.08); }
.cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.cat-body h3 { color: #fff; font-size: 1.9rem; margin-bottom: 6px; }
.cat-body p { font-size: .92rem; font-weight: 300; opacity: .88; margin: 0; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), margin .5s; }
.cat-card:hover .cat-body p, .cat-card:focus-visible .cat-body p { max-height: 80px; margin-bottom: 10px; }
.cat-count { display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); margin-bottom: 10px; }
.cat-from { display: inline-block; font-size: .88rem; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .5); }

/* Favoritos */
.fav-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.fav-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.fav-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fav-img { aspect-ratio: 1; overflow: hidden; }
.fav-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fav-card:hover .fav-img img { transform: scale(1.06); }
.fav-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fav-body h3 { font-size: 1.5rem; margin: 4px 0 0; }
.fav-body .meta { justify-content: space-between; display: flex; margin-bottom: 8px; margin-top: auto; }
.fav-body .meta b { color: var(--ink); font-weight: 600; margin-left: auto; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 36px 30px 30px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-n { position: absolute; top: 14px; right: 22px; font: italic 600 4.4rem/1 var(--display); color: var(--brand-50); }
.step-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 20px; transition: transform .5s var(--spring), background .3s, color .3s; }
.step-icon .icon { width: 26px; height: 26px; }
.steps li:hover .step-icon { transform: rotate(-8deg) scale(1.08); background: var(--brand); color: #fff; }
.steps h3 { font-size: 1.6rem; }
.steps p { color: var(--ink-2); font-weight: 300; margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.badge-round { position: absolute; right: -36px; bottom: 40px; width: 130px; height: 130px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; animation: spin 18s linear infinite; box-shadow: var(--shadow); }
.badge-round span { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; width: 100%; text-align: center; padding: 0 10px; line-height: 1.6; }
@keyframes spin { to { transform: rotate(360deg); } }
.split-copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.split-copy p { color: var(--ink-2); font-weight: 300; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: .96rem; }
.checks .icon { color: #fff; background: var(--brand); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 2.4; }

/* Equipo */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.team-card { text-align: center; }
.team-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 200px 200px 22px 22px; overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow-sm); background: var(--sand); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.92); }
.team-card:hover .team-photo img { transform: scale(1.06); filter: saturate(1.05); }
.team-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: italic 600 4rem/1 var(--display); }
.team-card h3 { font-size: 1.6rem; margin-bottom: 2px; }
.team-card .role { color: var(--brand-600); font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.team-card .bio { color: var(--ink-2); font-weight: 300; font-size: .95rem; }

/* Galería */
.gallery { columns: 4 220px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }

/* CTA */
.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 60px; border-radius: 32px; color: #fff; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, var(--brand-300), var(--brand) 45%, var(--brand-700));
}
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); right: -100px; top: -160px; z-index: -1; box-shadow: 0 0 0 40px rgba(255, 255, 255, .05), 0 0 0 90px rgba(255, 255, 255, .04); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-band h2 em { color: #fff; }
.cta-band p { opacity: .9; font-weight: 300; max-width: 480px; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pie */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 80px 0 30px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; }
.brand-light .brand-name { color: #fff; }
.footer-tag { margin: 16px 0 20px; font: italic 500 1.25rem/1.3 var(--display); color: var(--brand-300); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); transition: background .3s, border-color .3s, transform .3s var(--spring); }
.socials a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.hours { list-style: none; padding: 0; margin: 0; font-size: .94rem; }
.hours li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.hours li.is-today { color: #fff; }
.hours li.is-today span::after { content: " · hoy"; color: var(--brand-300); }
.hours b { font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; opacity: .7; }

/* =========================================================
   Catálogo completo
   ========================================================= */
.cat-tabs { position: sticky; top: 64px; z-index: 30; background: rgba(253, 249, 246, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.cat-tabs-inner { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.cat-tabs-inner::-webkit-scrollbar { display: none; }
.cat-tabs a { flex: none; text-decoration: none; padding: 8px 16px; border-radius: 99px; font-size: .92rem; color: var(--ink-2); border: 1px solid var(--line); transition: all .25s; }
.cat-tabs a:hover, .cat-tabs a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.catalog { padding-top: 50px; }
.catalog-block { margin-bottom: 70px; }
.catalog-head { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; }
.catalog-head img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); border: 4px solid #fff; }
.catalog-head h2 { font-size: 2.4rem; margin-bottom: 2px; }
.catalog-head p { color: var(--muted); margin: 0; }
.svc-list { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.svc-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; border-bottom: 1px solid var(--line); transition: background .25s; }
.svc-row:last-child { border-bottom: 0; }
.svc-row:hover { background: var(--brand-50); }
.svc-info h3 { font-size: 1.4rem; margin-bottom: 4px; }
.svc-info p { color: var(--ink-2); font-weight: 300; font-size: .95rem; margin-bottom: 6px; max-width: 640px; }
.svc-side { display: flex; align-items: center; gap: 18px; flex: none; }
.price { font: 500 1.15rem/1 var(--sans); white-space: nowrap; }

/* =========================================================
   Confirmación / ticket
   ========================================================= */
.ticket-page { min-height: 100vh; padding: 60px 0 100px; background: linear-gradient(180deg, var(--blush), var(--cream) 60%); }
.ticket { position: relative; width: min(560px, 100%); margin: 0 auto; background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; animation: rise .8s var(--ease) both; }
.ticket-top { position: relative; padding: 44px 36px 30px; text-align: center; background: radial-gradient(120% 120% at 50% 0%, var(--brand-100), #fff 70%); }
.ticket-check { width: 82px; height: 82px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 0 0 10px var(--brand-50), 0 18px 30px -12px var(--brand); animation: pop .6s .3s var(--spring) both; }
.ticket-check .icon { width: 40px; height: 40px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .75s ease forwards; }
.ticket-check.is-cancel { background: var(--muted); box-shadow: 0 0 0 10px var(--sand); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticket-top h1 { font-size: 2.4rem; margin-bottom: 6px; }
.ticket-top p { color: var(--ink-2); margin: 0; }
.ticket-code { display: inline-block; margin-top: 16px; font: 600 1.1rem/1 var(--sans); letter-spacing: .2em; padding: 10px 18px; border-radius: 12px; background: var(--ink); color: #fff; }
.ticket-cut { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 26px; }
.ticket-cut::before, .ticket-cut::after { content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--blush); }
.ticket-cut::before { left: -42px; }
.ticket-cut::after { right: -42px; }
.ticket-body { padding: 26px 36px 34px; }
.ticket-rows { list-style: none; padding: 0; margin: 0 0 24px; }
.ticket-rows li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticket-rows li:last-child { border-bottom: 0; }
.ticket-rows .icon { color: var(--brand-600); margin-top: 3px; }
.ticket-rows small { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.ticket-rows b { font-weight: 500; }
.ticket-actions { display: grid; gap: 10px; }
.ticket-note { font-size: .88rem; color: var(--muted); text-align: center; margin: 18px 0 0; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; font-size: .8rem; font-weight: 500; background: var(--brand-50); color: var(--brand-700); margin-bottom: 10px; }
.status-pill.pendiente { background: #fdf3dc; color: #8a6414; }
.status-pill.cancelada, .status-pill.no_asistio { background: #f3e9e7; color: var(--muted); }
.flash { width: min(560px, 100%); margin: 0 auto 18px; padding: 14px 18px; border-radius: 14px; background: #eaf6ef; color: #245c43; animation: rise .5s var(--ease) both; }
.flash.error { background: #fbecea; color: #8c2a24; }
.btn-text { background: none; border: 0; color: var(--muted); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; padding: 8px; }
.btn-text:hover { color: var(--danger); }

/* Confeti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.confetti i { position: absolute; top: -14px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .2; } }

/* =========================================================
   Asistente flotante
   ========================================================= */
.asst-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; align-items: center; gap: 10px;
  border: 0; cursor: pointer; padding: 10px 18px 10px 10px; border-radius: 99px; background: var(--ink); color: #fff;
  font: 500 .95rem/1 var(--sans); box-shadow: var(--shadow-lg); animation: rise .6s 1.4s var(--ease) both; transition: transform .3s var(--spring);
}
.asst-fab:hover { transform: translateY(-3px) scale(1.02); }
.asst-fab .asst-avatar { width: 40px; height: 40px; }
.asst-fab::before { content: ""; position: absolute; left: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); animation: ping 2.6s 2.5s infinite; z-index: -1; }
.asst-fab { isolation: isolate; }
.asst-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--brand-300), var(--brand-600)); color: #fff; }
.asst-avatar .icon { width: 18px; height: 18px; }
.asst-open .asst-fab { transform: scale(0); opacity: 0; pointer-events: none; }
.asst-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 85; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 44px));
  display: flex; flex-direction: column; background: var(--cream); border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform-origin: bottom right; transform: scale(.6) translateY(30px); opacity: 0; pointer-events: none;
  transition: transform .45s var(--spring), opacity .25s;
}
.asst-open .asst-panel { transform: none; opacity: 1; pointer-events: auto; }
.asst-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--ink); color: #fff; }
.asst-head b { display: block; font: 600 1.2rem/1.1 var(--display); }
.asst-head small { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .75; }
.asst-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6fd39f; }
.asst-close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .3s; }
.asst-close:hover { background: rgba(255, 255, 255, .2); transform: rotate(90deg); }
.asst-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: .94rem; line-height: 1.45; white-space: pre-line; animation: msg-in .35s var(--ease) both; }
.msg-bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }
.msg-user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.msg-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-300); animation: typing 1s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.asst-chips { display: flex; flex-wrap: wrap; gap: 7px; animation: msg-in .4s .1s var(--ease) both; }
.asst-chips button, .asst-chips a { border: 1px solid var(--brand-300); background: #fff; color: var(--brand-700); padding: 7px 13px; border-radius: 99px; font: 500 .84rem/1.2 var(--sans); cursor: pointer; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.asst-chips button:hover, .asst-chips a:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.asst-slots { display: grid; gap: 7px; width: 100%; }
.asst-slot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); animation: msg-in .4s var(--ease) both; transition: border-color .2s, transform .2s; }
.asst-slot:hover { border-color: var(--brand); transform: translateX(3px); }
.asst-slot b { font-weight: 500; font-size: .92rem; }
.asst-slot small { display: block; color: var(--brand-600); font-size: .74rem; }
.asst-slot .icon { color: var(--brand-600); }
.asst-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.asst-form input { flex: 1; border: 1px solid var(--line); background: var(--cream); border-radius: 99px; padding: 11px 16px; font: inherit; font-size: .95rem; outline: none; transition: border-color .2s; min-width: 0; }
.asst-form input:focus { border-color: var(--brand); }
.asst-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .2s; flex: none; }
.asst-form button:hover { transform: scale(1.08) rotate(-8deg); }

/* =========================================================
   Aparición al hacer scroll
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-zoom { transform: scale(.94); }
.js .reveal-left { transform: translateX(-40px); }
.js .reveal-right { transform: translateX(40px); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .35s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* =========================================================
   Contacto y mapa
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.contact-copy h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li > .icon { width: 42px; height: 42px; padding: 11px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); }
.contact-list small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list b, .contact-list a { font-weight: 500; text-decoration: none; color: var(--ink); }
.contact-list a:hover { color: var(--brand-700); }
.map-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sand) url("../img/mapa.jpg") center / cover; isolation: isolate; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.55) sepia(.12); }
.map-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(42, 31, 29, .08); }
.map-card {
  position: absolute; left: 16px; right: 16px; bottom: 30px; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--shadow);
}
.map-card b { display: block; font-weight: 600; }
.map-card span:not(.map-pin) { display: block; font-size: .86rem; color: var(--muted); }
.map-card .btn { margin-left: auto; }
.map-pin { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; animation: bob 3s ease-in-out infinite; }
.map-frame.compact { aspect-ratio: 16 / 9; border-radius: 20px; margin: 4px 0 22px; }

/* Ticket: estado de pago y avisos */
.pay-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: .8rem; font-weight: 500; background: var(--sand); color: var(--ink-2); }
.pay-pill.pagado { background: #eaf6ef; color: var(--ok); }
.pay-pill.en_revision { background: #fdf3dc; color: #8a6414; }
.ticket-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--brand-50); font-size: .9rem; margin-bottom: 18px; color: var(--ink-2); }
.ticket-notice .icon { color: var(--brand-600); margin-top: 2px; }
.ticket-notice b { color: var(--ink); }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .map-frame { aspect-ratio: 4 / 5; }
  .map-frame.compact { aspect-ratio: 4 / 3; }
  .map-card { flex-wrap: wrap; }
  .map-card .btn { width: 100%; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero { padding-top: 110px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .fav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card { aspect-ratio: 4 / 5; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 50px; }
  .hero-media { width: min(100%, 420px); }
  .float-a { left: -10px; }
  .float-b { right: -6px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .badge-round { right: 10px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: var(--cream);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .site-nav a:not(.btn) { font: 600 2rem/1 var(--display); color: var(--ink); }
  .site-nav.open { opacity: 1; pointer-events: auto; }
  .site-nav.open a { animation: rise .5s var(--ease) both; }
  .site-nav.open a:nth-child(2) { animation-delay: .05s; }
  .site-nav.open a:nth-child(3) { animation-delay: .1s; }
  .site-nav.open a:nth-child(4) { animation-delay: .15s; }
  .site-nav.open a:nth-child(5) { animation-delay: .2s; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fav-grid { gap: 12px; }
  .fav-body { padding: 14px; }
  .fav-body h3 { font-size: 1.2rem; }
  .cat-body { padding: 16px; }
  .cat-body h3 { font-size: 1.4rem; }
  .wrap { width: calc(100% - 32px); }
  .section { padding: 70px 0; }
  .hero-stats { gap: 24px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .float-card { padding: 10px 12px; }
  .float-b { top: 20px; }
  .cta-band { padding: 40px 26px; }
  .svc-row { flex-direction: column; align-items: flex-start; padding: 20px; }
  .svc-side { width: 100%; justify-content: space-between; }
  .checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .catalog-head img { width: 70px; height: 70px; }
  .catalog-head h2 { font-size: 2rem; }
  .asst-fab .asst-label { display: none; }
  .asst-fab { padding: 10px; }
  .asst-panel { right: 12px; bottom: 12px; }
  .ticket-top, .ticket-body { padding-left: 22px; padding-right: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
