/* ==========================================================
   KEIKO GYM · Puerto del Rosario
   Hoja de estilos principal
   ========================================================== */

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-var.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0e0d0c;
  --ink-2: #161412;
  --ink-3: #1f1c19;
  --sand: #f6f2ec;
  --sand-2: #ece5da;
  --gold: #d29a4a;
  --gold-2: #e8b968;
  --gold-dark: #a8722c;
  --text: #2a2622;
  --muted: #6f675e;
  --muted-dark: #a59c90;
  --line: rgba(255, 255, 255, .1);
  --line-dark: rgba(14, 13, 12, .1);
  --radius: 14px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .45);
  --container: 1200px;
  --head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
p { margin: 0 0 1.1em; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--head); font-weight: 500; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 1em 1.8em; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(210, 154, 74, .7); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--head); font-size: .85rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--gold); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .4s, padding .4s, box-shadow .4s;
  padding: 18px 0;
}
.site-header.scrolled,
.site-header.solid { background: rgba(14, 13, 12, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 10px 0; box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 52px; height: 52px; object-fit: contain; transition: width .4s, height .4s; }
.scrolled .brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--head); font-size: 1.25rem; letter-spacing: .2em; line-height: 1; }
.brand small { display: block; font-family: var(--body); font-size: .62rem; letter-spacing: .28em; color: var(--muted-dark); margin-top: 5px; }
.menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.menu a { color: rgba(255, 255, 255, .82); text-decoration: none; font-family: var(--head); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; position: relative; padding: 6px 0; transition: color .3s; }
.menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.menu a:hover, .menu a.active { color: #fff; }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); transform-origin: left; }
.menu .btn { padding: .75em 1.4em; font-size: .85rem; color: var(--ink); }
.menu .btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 13, 12, .96) 0%, rgba(14, 13, 12, .78) 38%, rgba(14, 13, 12, .15) 70%, rgba(14, 13, 12, .35) 100%),
    linear-gradient(0deg, rgba(14, 13, 12, .9) 0%, transparent 35%);
}
.hero-kanji {
  position: absolute; right: 4%; bottom: 6%; z-index: -1;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; font-size: clamp(6rem, 16vw, 15rem);
  writing-mode: vertical-rl; color: rgba(255, 255, 255, .06); line-height: 1; user-select: none; pointer-events: none;
}
.hero-content { padding: 140px 0 120px; max-width: 680px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 600; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 2.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta div { font-size: .9rem; color: rgba(255, 255, 255, .65); }
.hero-meta strong { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 500; color: #fff; letter-spacing: .02em; line-height: 1.1; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- Secciones ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.dark h2, .dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.dark .section-head p { color: var(--muted-dark); }
.gold { color: var(--gold); }

/* Intro / Sobre nosotros */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 86%; }
.about-media .float { position: absolute; right: 0; bottom: -40px; width: 52%; border-radius: var(--radius); border: 8px solid var(--sand); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.about-badge {
  position: absolute; left: -18px; top: 36px; background: var(--ink); color: #fff; padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-family: var(--head); font-size: 3rem; line-height: 1; color: var(--gold); }
.about-badge span { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.about h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.about .lead { font-size: 1.18rem; color: var(--text); }
.about p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--text); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0d0c' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; background: var(--ink-3);
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 13, 12, .05) 25%, rgba(14, 13, 12, .92) 100%); transition: background .5s; }
.service:hover img { transform: scale(1.07); }
.service-body { padding: 30px; }
.service-num { font-family: var(--head); color: var(--gold); letter-spacing: .2em; font-size: .85rem; }
.service h3 { font-size: 1.75rem; margin: .35em 0 .4em; }
.service p { color: rgba(255, 255, 255, .75); font-size: .98rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.service:hover p, .service:focus-within p { max-height: 200px; opacity: 1; }
.service.wide { grid-column: span 2; }

/* Banda filosofía / Keiko */
.philosophy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.philosophy-media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.kanji-title { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.kanji-title b { font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; font-weight: 400; font-size: 4.2rem; color: var(--gold); line-height: 1; }
.kanji-title span { font-family: var(--head); letter-spacing: .3em; text-transform: uppercase; font-size: .85rem; color: var(--muted-dark); line-height: 1.6; }
.philosophy h2 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 34px; }
.values div { background: var(--ink); padding: 22px 20px; }
.values strong { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; color: #fff; font-size: 1.1rem; }
.values span { font-size: .88rem; color: var(--muted-dark); }

/* Instalaciones / galería */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; background: var(--sand-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(14, 13, 12, .78); color: #fff; backdrop-filter: blur(6px);
  font-family: var(--head); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; padding: 7px 12px; border-radius: 999px;
}
.g1 { grid-column: span 7; grid-row: span 3; }
.g2 { grid-column: span 5; grid-row: span 3; }
.g3 { grid-column: span 4; grid-row: span 3; }
.g4 { grid-column: span 4; grid-row: span 3; }
.g5 { grid-column: span 4; grid-row: span 3; }

/* Horario */
.schedule-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hours { background: #fff; border-radius: var(--radius); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .35); overflow: hidden; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: 22px 30px; border-bottom: 1px solid var(--line-dark); }
.hours-row:last-child { border-bottom: 0; }
.hours-row span { font-weight: 600; }
.hours-row strong { font-family: var(--head); font-weight: 500; font-size: 1.35rem; letter-spacing: .04em; }
.hours-row.closed strong { color: var(--muted); }
.hours-row.today { background: linear-gradient(90deg, rgba(210, 154, 74, .14), transparent); box-shadow: inset 3px 0 0 var(--gold); }
.hours-status { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; margin-top: 4px; }
.hours-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9a9187; }
.hours-status.open::before { background: #34b36b; box-shadow: 0 0 0 4px rgba(52, 179, 107, .18); }
.note { font-size: .88rem; color: var(--muted); margin-top: 16px; }

/* Reseñas */
.rating-band { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; background: var(--ink-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: 44px clamp(26px, 4vw, 54px); }
.rating-score { font-family: var(--head); font-size: 5rem; line-height: 1; color: #fff; }
.stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 8px; }
.stars svg { width: 22px; height: 22px; }
.rating-band p { margin: 0; color: var(--muted-dark); }
.rating-band h3 { font-size: 1.6rem; margin-bottom: .3em; }

/* CTA */
.cta { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: clamp(100px, 13vw, 170px) 0; background: var(--ink); }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 13, 12, .95) 10%, rgba(14, 13, 12, .55) 60%, rgba(14, 13, 12, .2)); }
.cta h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 720px; }
.cta p { max-width: 540px; color: rgba(255, 255, 255, .78); font-size: 1.15rem; margin-bottom: 2em; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; }
.contact-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.contact-list .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list strong { font-weight: 600; font-size: 1.08rem; text-decoration: none; color: var(--text); }
.contact-list a:hover { color: var(--gold-dark); }
.form { background: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .35); }
.form h3 { font-size: 1.8rem; }
.form p.small { font-size: .9rem; color: var(--muted); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border: 1px solid #ddd5ca; border-radius: 10px; background: var(--sand); color: var(--text); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(210, 154, 74, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 22px; }
.consent input { margin-top: 5px; accent-color: var(--gold-dark); }
.form .btn { width: 100%; }
.map-box { margin-top: 26px; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16/10; background: var(--ink-3) url("../img/mapa-placeholder.svg") center/cover; display: grid; place-items: center; text-align: center; color: #fff; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box .map-cta { padding: 24px; }
.map-box .map-cta p { font-size: .85rem; color: var(--muted-dark); max-width: 360px; margin: 12px auto 0; }

/* Footer */
.site-footer { background: #090807; color: var(--muted-dark); padding: 80px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .18em; margin-bottom: 1.2em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { width: 84px; margin-bottom: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: .85rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.footer-bottom button:hover { color: var(--gold); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Banner de cookies */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200; max-width: 560px;
  background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); padding: 26px;
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.cookie-banner.show { transform: none; }
.cookie-banner h2 { font-size: 1.3rem; margin-bottom: .4em; }
.cookie-banner p { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: .8em 1.3em; font-size: .82rem; }
.btn-outline-dark { border-color: #cfc6ba; color: var(--text); background: transparent; }
.btn-outline-dark:hover { border-color: var(--ink); }

/* Páginas legales */
.page-hero { background: var(--ink); color: #fff; padding: 170px 0 80px; position: relative; overflow: hidden; }
.page-hero::after { content: "稽古"; position: absolute; right: 3%; bottom: -30px; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; font-size: 13rem; color: rgba(255, 255, 255, .05); line-height: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero p { color: var(--muted-dark); margin: 0; }
.breadcrumbs { font-size: .85rem; color: var(--muted-dark); margin-bottom: 18px; }
.breadcrumbs a { text-decoration: none; color: var(--gold); }
.legal { padding: 80px 0 120px; }
.legal .container { max-width: 860px; }
.legal h2 { font-size: 1.6rem; margin-top: 2em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.6em; }
.legal p, .legal li { color: #4a443d; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 2em; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.legal th { background: var(--sand-2); font-weight: 600; }
.legal-box { background: #fff; border-left: 3px solid var(--gold); border-radius: 8px; padding: 22px 26px; margin: 1.4em 0; }
.legal-box p:last-child { margin: 0; }
.todo { background: #fff3cd; color: #7a5a00; padding: 0 4px; border-radius: 3px; font-weight: 600; }

/* Animaciones de entrada */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service.wide, .service.banner { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rating-band { grid-template-columns: auto 1fr; }
  .rating-band .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: rgba(14, 13, 12, .98);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .menu a { font-size: 1.5rem; }
  .menu-open .menu { opacity: 1; visibility: visible; }
  .menu-open .site-header { background: transparent; }
  .nav { position: relative; z-index: 2; }
  .menu-toggle { position: relative; z-index: 3; }
  .about, .philosophy, .schedule-wrap, .contact { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; margin-bottom: 40px; }
  .philosophy-media { order: -1; }
  .philosophy-media img { aspect-ratio: 16/11; }
  .gallery { grid-auto-rows: 90px; }
  .g1, .g2 { grid-column: span 12; }
  .g3, .g4 { grid-column: span 6; grid-row: span 2; }
  .g5 { grid-column: span 12; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .service.wide, .service.banner { grid-column: auto; }
  .service { min-height: 380px; }
  .service p { max-height: none; opacity: 1; }
  .checks { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .rating-band { grid-template-columns: 1fr; text-align: left; }
  .hero-meta { gap: 24px; }
  .hero-meta strong { font-size: 1.5rem; }
  .about-badge { left: 0; }
  .brand span { font-size: 1.05rem; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* Ajustes finos */
.kanji-title b { white-space: nowrap; }
@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero-media img { object-position: 78% top; height: 62%; }
  .hero::before { background: linear-gradient(180deg, rgba(14,13,12,.35) 0%, rgba(14,13,12,.1) 25%, rgba(14,13,12,.85) 52%, var(--ink) 64%); }
  .hero-content { padding: 52vh 0 70px; }
  .scroll-cue { display: none; }
  .eyebrow { letter-spacing: .22em; font-size: .75rem; }
}

/* ---------- Servicios: tarjeta ancha inferior ---------- */
.service.banner { grid-column: 1 / -1; min-height: 300px; }
.service.banner::before { background: linear-gradient(90deg, rgba(14,13,12,.95) 20%, rgba(14,13,12,.35) 100%); }
.service.banner img { object-position: center 30%; }
.service.banner .service-body { max-width: 560px; }
.service.banner p { max-height: none; opacity: 1; }

/* ---------- Efecto fondo fijo: el contenido se desliza por encima ---------- */
main > section { background: var(--sand); position: relative; z-index: 1; }
main > section.dark { background: var(--ink); }
main > section.hero { position: sticky; top: 0; z-index: 0; }
main > section.hero + section { box-shadow: 0 -30px 60px -10px rgba(0,0,0,.55); }
.hero .container { transition: opacity .1s linear; }

.window { position: relative; z-index: 1; isolation: isolate; clip-path: inset(0); background: transparent !important; color: #fff; overflow: hidden; }
.window-bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.window-bg img { width: 100%; height: 100%; object-fit: cover; }
section.window:not(.cta) { min-height: 78vh; display: flex; align-items: center; text-align: center; }
section.window:not(.cta)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(14,13,12,.45) 0%, rgba(14,13,12,.82) 75%); }
.window h2 { font-size: clamp(2.4rem, 6vw, 5rem); color: #fff; margin: 0 auto; max-width: 980px; text-wrap: balance; }
.window-kicker { font-family: var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-size: clamp(.75rem, 1.4vw, .95rem); margin-bottom: 1.6em; }
.cta.window .cta-media { position: fixed; }

@media (max-width: 760px), (max-height: 620px) {
  main > section.hero { position: relative; }
}
.cta.window h2 { margin: 0 0 .5em; max-width: 720px; text-align: left; }

/* Servicios: acupuntura + suplementación en la última fila */
.service.banner { grid-column: span 3; }
@media (max-width: 1024px) { .service.banner { grid-column: span 2; } }
@media (max-width: 620px) { .service.banner { grid-column: auto; } }
.service.wide img { object-position: center 40%; }

/* Portada con dos imágenes en fundido */
.hero-media .slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1.8s ease; }
.hero-media .slide.is-on { opacity: 1; }
.hero-media .slide img { animation: none; transform: scale(1.06); transition: transform 9s linear; }
.hero-media .slide.is-on img { transform: scale(1); }
