/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:          #0d0f14;
  --bg-2:        #13151d;
  --bg-card:     #181a23;
  --text:        #f0ede8;
  --text-soft:   rgba(240,237,232,0.65);
  --text-mute:   rgba(240,237,232,0.38);
  --accent:      #ff5c35;
  --accent-2:    #7c5cfc;
  --accent-glow: rgba(255,92,53,0.18);
  --gold:        #f0b429;
  --line:        rgba(240,237,232,0.08);
  --line-strong: rgba(240,237,232,0.14);

  --sans:   'Manrope', 'Inter', system-ui, sans-serif;
  --body:   'Inter', system-ui, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius:  14px;
  --radius-lg: 22px;
  --nav-h:   72px;
  --gutter:  clamp(1.2rem, 4vw, 3rem);
  --max-w:   1280px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
::selection { background: var(--accent); color: #fff; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: min(var(--max-w), 100% - var(--gutter) * 2);
  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: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem; background: var(--accent); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease-soft), box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(13,15,20,.88);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  width: min(var(--max-w), 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__logo img {
  height: 42px;
  width: auto;
  mix-blend-mode: screen;
  transition: opacity .2s;
}
.nav__logo img:hover { opacity: .8; }
.nav__links {
  display: flex; align-items: center; gap: .1rem;
  list-style: none;
}
.nav__links a {
  padding: .45rem .62rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .02em;
  color: var(--text-soft);
  border-radius: 8px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); }
.nav__links a:hover { background: var(--line); }
.nav__cta {
  display: flex; align-items: center; gap: .75rem;
}
.nav__phone {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--text-soft);
  display: flex; align-items: center; gap: .4rem;
  transition: color .2s;
}
.nav__phone:hover { color: var(--accent); }
.nav__phone::before {
  content: "✆";
  font-size: 1em;
}

/* Dropdown */
.nav__has-dropdown { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + .5rem); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: rgba(19,21,29,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  list-style: none;
  padding: .5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease-soft), transform .2s var(--ease-soft);
  z-index: 200;
}
.nav__has-dropdown:hover .nav__dropdown,
.nav__has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown li a {
  display: block;
  padding: .5rem .9rem;
  font-size: .82rem; font-weight: 500;
  color: var(--text-soft);
  border-radius: 8px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav__dropdown li a:hover { color: var(--accent); background: var(--line); }
/* Arrow indicator on parent */
.nav__has-dropdown > a::after {
  content: "›";
  display: inline-block;
  margin-left: .3em;
  font-size: .85em;
  opacity: .6;
  transform: rotate(90deg);
  transition: transform .2s;
}
.nav__has-dropdown:hover > a::after { transform: rotate(-90deg); opacity: 1; }

/* ── Submenú anidado (Baile → Salsa / Bachata / Kizomba) ── */
.nav__dropdown li.nav__has-subdropdown { position: relative; }
.nav__subdropdown {
  position: absolute;
  top: -.5rem;
  left: calc(100% + .4rem);
  min-width: 180px;
  background: rgba(19,21,29,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  list-style: none;
  padding: .5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease-soft);
  z-index: 210;
}
.nav__dropdown li.nav__has-subdropdown:hover .nav__subdropdown,
.nav__dropdown li.nav__has-subdropdown:focus-within .nav__subdropdown {
  opacity: 1;
  pointer-events: auto;
}
.nav__subdropdown li a {
  display: block;
  padding: .5rem .9rem;
  font-size: .82rem; font-weight: 500;
  color: var(--text-soft);
  border-radius: 8px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav__subdropdown li a:hover { color: var(--accent); background: var(--line); }
.nav__dropdown li.nav__has-subdropdown > a::after {
  content: "›";
  display: inline-block;
  margin-left: auto;
  padding-left: .5rem;
  font-size: .9em;
  opacity: .5;
  float: right;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column; gap: 5px;
  width: 28px; padding: 4px 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--text);
  transition: transform .3s var(--ease-out), opacity .2s;
  border-radius: 2px;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(13,15,20,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 2rem var(--gutter);
  gap: .5rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav__mobile.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__mobile a {
  font-size: 1.4rem; font-weight: 700;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  transition: color .2s;
}
.nav__mobile a:hover { color: var(--accent); }

/* =============================================================
   5. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 5rem;
  overflow: hidden;
}

/* Animated mesh gradient */
.hero__mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255,92,53,.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 70%, rgba(124,92,252,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 10%, rgba(240,180,41,.08) 0%, transparent 60%),
    var(--bg);
  filter: blur(0px);
  animation: meshDrift 18s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: scale(1) rotate(0deg);   background-position: 0% 0%; }
  33%  { transform: scale(1.06) rotate(1.5deg); }
  66%  { transform: scale(1.03) rotate(-1deg); }
  100% { transform: scale(1.08) rotate(2deg); }
}

/* Grain overlay */
.hero__grain {
  position: absolute; inset: 0; z-index: 1;
  opacity: .04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero__content {
  position: relative; z-index: 2;
  max-width: 880px;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.hero__kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: .6rem;
}
.hero__kicker::before,
.hero__kicker::after {
  content: "";
  display: block; width: 28px; height: 1px;
  background: var(--accent); opacity: .5;
}
.hero__title {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.04em;
  color: var(--text);
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-soft);
  max-width: 56ch;
  line-height: 1.6;
}
.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-top: .5rem;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--text-mute);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero__scroll span {
  display: block; width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* =============================================================
   6. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: .92rem; font-weight: 700; letter-spacing: .02em;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .2s, color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(.97) !important; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(255,92,53,.32);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,92,53,.45);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

/* =============================================================
   7. Section base
   ============================================================= */
.section {
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
}
.section--alt { background: var(--bg-2); }
.section__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
}
.section__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--text);
  max-width: 22ch;
}
.section__title em {
  font-style: normal; color: var(--accent);
}
.section__sub {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 52ch;
  margin-top: .75rem;
  line-height: 1.7;
}
.section__head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section__head .section__title,
.section__head .section__sub {
  margin-inline: auto;
}

/* =============================================================
   8. Pillars ("¿Por qué elegirnos?")
   ============================================================= */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: .85rem;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.pillar:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.pillar__icon {
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.pillar__title {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
.pillar__text {
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* =============================================================
   9. Services grid
   ============================================================= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.service-card:hover {
  border-color: rgba(255,92,53,.4);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.service-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-soft);
}
.service-card:hover .service-card__img img {
  transform: scale(1.07);
}
.service-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex; flex-direction: column; gap: .6rem; flex: 1;
}
.service-card__sub {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.service-card__title {
  font-family: var(--sans);
  font-size: 1.15rem; font-weight: 700;
  color: var(--text); line-height: 1.2; letter-spacing: -.02em;
}
.service-card__text {
  font-size: .9rem; color: var(--text-soft); line-height: 1.65;
  flex: 1;
}
.service-card__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 700; color: var(--accent);
  margin-top: .5rem;
  transition: gap .2s var(--ease-bounce);
}
.service-card__link::after { content: "→"; }
.service-card:hover .service-card__link { gap: .75rem; }

/* =============================================================
   10. About section
   ============================================================= */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.about__img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,15,20,.5) 0%, transparent 60%);
  pointer-events: none;
}
.about__content {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.about__year {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.about__text {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: var(--text-soft);
  line-height: 1.75;
  text-align: justify;
  hyphens: auto;
}
.about__values {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: .5rem;
}
.about__tag {
  padding: .4rem 1rem;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: 50px;
  font-size: .8rem; font-weight: 600; color: var(--text-soft);
  letter-spacing: .04em;
}

/* =============================================================
   11. Contact / Ubicación
   ============================================================= */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.location__info {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-item__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-item__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-mute);
  margin-bottom: .2rem;
}
.contact-item__value {
  font-size: .95rem; color: var(--text); font-weight: 500;
  line-height: 1.4;
}
.contact-item__value a { transition: color .2s; }
.contact-item__value a:hover { color: var(--accent); }

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.location__map iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
  filter: grayscale(70%) brightness(.85);
  transition: filter .3s;
}
.location__map:hover iframe { filter: grayscale(20%) brightness(.95); }

/* Parking note */
.location__note {
  margin-top: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: .9rem; color: var(--text-soft); line-height: 1.6;
}

/* =============================================================
   12. Contact form
   ============================================================= */
.form {
  display: flex; flex-direction: column; gap: 1.1rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form__group {
  display: flex; flex-direction: column; gap: .4rem;
}
.form__label {
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-mute);
}
.form__input,
.form__textarea {
  background: var(--bg-card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  font: inherit; font-size: .95rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-mute); }
.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form__textarea { resize: vertical; min-height: 130px; }
.form__submit { margin-top: .5rem; }

/* =============================================================
   13. Footer
   ============================================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo img {
  height: 38px; opacity: .9; mix-blend-mode: screen;
  margin-bottom: 1rem;
}
.footer__tagline {
  font-size: .88rem; color: var(--text-soft); line-height: 1.6; max-width: 28ch;
}
.footer__social {
  display: flex; gap: .65rem; margin-top: 1.25rem;
}
.footer__social a {
  width: 36px; height: 36px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer__col-title {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 1rem;
}
.footer__links {
  list-style: none;
  display: flex; flex-direction: column; gap: .5rem;
}
.footer__links a {
  font-size: .9rem; color: var(--text-soft);
  transition: color .2s;
}
.footer__links a:hover { color: var(--accent); }
.footer__contact-item {
  font-size: .88rem; color: var(--text-soft);
  margin-bottom: .5rem; line-height: 1.5;
}
.footer__contact-item a { transition: color .2s; }
.footer__contact-item a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.footer__copy {
  font-size: .8rem; color: var(--text-mute);
}
.footer__logos {
  display: flex; align-items: center; gap: 1rem;
}
.footer__logos img {
  height: 32px; opacity: .45; filter: brightness(0) invert(1);
}

/* =============================================================
   14. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Defensive: elements with data-split stay visible */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal--left  { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--left.is-visible,
.reveal--right.is-visible { transform: none; opacity: 1; }

/* Staggered children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 80ms; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 160ms; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 240ms; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 320ms; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 400ms; }
[data-stagger].is-visible > * {
  opacity: 1; transform: none;
}

/* =============================================================
   15. Page header (inner pages)
   ============================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) var(--gutter) 4rem;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.page-hero__mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(255,92,53,.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 90% 30%, rgba(124,92,252,.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin-inline: auto;
}
.breadcrumb {
  font-size: .8rem; color: var(--text-mute);
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: 1.25rem;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--text-mute); opacity: .4; }
.page-hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800; letter-spacing: -.04em;
}
.page-hero__sub {
  font-size: 1.05rem; color: var(--text-soft);
  max-width: 50ch; margin-top: .75rem; line-height: 1.65;
}

/* =============================================================
   16. Service detail cards (servicios page)
   ============================================================= */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .service-detail__img { order: 1; }
.service-detail:nth-child(even) .service-detail__content { order: 0; }
.service-detail__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.service-detail__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-soft);
}
.service-detail:hover .service-detail__img img { transform: scale(1.04); }
.service-detail__content {
  display: flex; flex-direction: column; gap: 1.1rem;
}
.service-detail__tag {
  display: inline-flex;
  padding: .35rem .9rem;
  background: var(--accent-glow);
  border: 1px solid rgba(255,92,53,.3);
  border-radius: 50px;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
}
.service-detail__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -.03em;
}
.service-detail__text {
  font-size: .98rem; color: var(--text-soft); line-height: 1.75;
}

/* =============================================================
   17. Reducción de movimiento (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero__mesh { animation: none; }
  .hero__scroll { animation: none; }
}

/* =============================================================
   18. Horarios
   ============================================================= */
.horarios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.horario-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: border-color .25s, box-shadow .25s;
}
.horario-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(255,92,53,.1);
}
.horario-card__day {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.horario-card__title {
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.horario-row {
  display: flex; align-items: baseline; gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.horario-row:last-child { border-bottom: none; }
.horario-row__time {
  font-weight: 700; font-family: var(--sans);
  color: var(--text); white-space: nowrap; min-width: 52px;
}
.horario-row__class { color: var(--text-soft); flex: 1; }
.horario-row__note {
  font-size: .75rem; color: var(--accent); font-weight: 600;
  white-space: nowrap;
}
.horarios__personal {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius);
  display: flex; align-items: flex-start; gap: 1.25rem;
  flex-wrap: wrap;
}
.horarios__personal-icon {
  font-size: 1.6rem; line-height: 1;
}
.horarios__personal-content { flex: 1; min-width: 200px; }
.horarios__personal-title {
  font-size: 1rem; font-weight: 700; margin-bottom: .4rem;
}
.horarios__personal-text {
  font-size: .9rem; color: var(--text-soft); line-height: 1.5;
}

/* =============================================================
   19. Responsive
   ============================================================= */
@media (max-width: 960px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__img-wrap { aspect-ratio: 16 / 8; order: -1; }
  .location { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail:nth-child(even) .service-detail__img { order: 0; }
  .service-detail:nth-child(even) .service-detail__content { order: 1; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__title { letter-spacing: -.03em; }
}

@media (min-width: 720px) {
  .nav__mobile { display: none !important; }
}

@media (max-width: 540px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .services__grid { grid-template-columns: 1fr; }
  .horarios__grid { grid-template-columns: 1fr; }
}

/* Horarios always visible (no reveal animation) */
.horario-card, .horarios__personal { opacity: 1 !important; transform: none !important; }

/* =============================================================
   Cookie banner
   ============================================================= */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 50%; z-index: 9999;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  width: min(680px, calc(100% - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
  transition: transform .4s var(--ease-out), opacity .4s;
  opacity: 0;
}
.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cookie-banner__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap;
  padding: 1.1rem 1.5rem;
}
.cookie-banner__text {
  font-size: .85rem; color: var(--text-soft); line-height: 1.55;
  flex: 1; min-width: 200px; margin: 0;
}
.cookie-banner__link {
  color: var(--accent); text-decoration: underline;
  transition: opacity .2s;
}
.cookie-banner__link:hover { opacity: .75; }
.cookie-banner__actions {
  display: flex; gap: .6rem; flex-shrink: 0;
}
.cookie-banner__btn {
  padding: .5rem 1.1rem;
  border-radius: 8px;
  font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  border: 1px solid transparent;
}
.cookie-banner__btn--reject {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text-soft);
}
.cookie-banner__btn--reject:hover {
  border-color: var(--text-soft);
  color: var(--text);
}
.cookie-banner__btn--accept {
  background: var(--accent);
  color: #fff;
}
.cookie-banner__btn--accept:hover {
  background: var(--accent-dark, #e04a25);
}
