@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/bodoni-moda-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bodoni-moda-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/karla-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/karla-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/karla-700-normal.woff2") format("woff2"); }

:root {
  --brand-hex: #681852;
  --brand: oklch(0.38 0.12 340);
  --navy: #2a1022;
  --ink: oklch(0.24 0.05 260);
  --paper: #f6f1ec;
  --mist: color-mix(in oklab, var(--brand) 8%, white);
  --brand-deep: color-mix(in oklab, var(--brand) 72%, black);
  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Karla", system-ui, sans-serif;
}
@supports not (color: oklch(0.5 0.2 25)) {
  :root { --brand: #681852; --ink: #1a1f33; --brand-deep: #8c1d18; }
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; color-scheme: light; }
html, body { margin: 0; overflow-x: hidden; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.skip { position: absolute; left: 0.8rem; top: -3rem; z-index: 80; background: var(--brand); color: #fff; padding: 0.5rem 0.8rem; text-decoration: none; font-weight: 700; }
.skip:focus { top: 0.8rem; }
.wrap { width: min(1180px, calc(100% - 2.4rem)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); text-wrap: balance; line-height: 1.08; margin: 0 0 0.55rem; }
p { text-wrap: pretty; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; view-transition-name: topbar; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; view-transition-name: logo; }
.brand img { height: 64px; width: auto; }
.nav-desk { display: flex; flex-wrap: wrap; gap: 0.2rem; justify-content: flex-end; }
.nav-desk a { text-decoration: none; padding: 0.55rem 0.8rem; min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.18s ease, transform 0.16s ease; }
.nav-desk a:hover { color: var(--brand); }
.nav-desk a:active { transform: scale(0.98); }
.menu-btn { display: none; background: var(--brand); color: #fff; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.65rem 1rem; min-height: 44px; transition: background 0.18s ease, transform 0.16s ease; }
.menu-btn:hover { background: var(--brand-deep); }
.menu-btn:active { transform: scale(0.98); }
#menu { border: 0; padding: 1.4rem; background: var(--paper); inset: auto 0 0 0; width: 100%; height: fit-content; box-shadow: 0 -12px 40px color-mix(in oklab, var(--ink) 16%, transparent); transition: opacity 0.2s ease, overlay 0.2s allow-discrete, display 0.2s allow-discrete; }
#menu:popover-open { opacity: 1; }
@starting-style { #menu:popover-open { opacity: 0; } }
html:has(#menu:popover-open) body { overflow: hidden; }
.menu-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.menu-nav a { text-decoration: none; font-weight: 800; padding: 0.65rem 0; min-height: 44px; }
.status { display: inline-block; min-height: 2.4em; margin-top: 0.45rem; background: var(--navy); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; padding: 0.35rem 0.65rem; }
.cta { display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; text-decoration: none; font-weight: 800; min-height: 48px; padding: 0.7rem 1.15rem; transition: background 0.18s ease, transform 0.16s ease; }
.cta:hover { background: var(--brand-deep); }
.cta:active { transform: scale(0.98); }
.cta-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0.65rem 1.1rem; text-decoration: none; font-weight: 800; border: 2px solid currentColor; transition: background 0.18s ease, color 0.18s ease, transform 0.16s ease; }
.cta-ghost:hover { background: #fff; color: var(--navy); }
.cta-ghost:active { transform: scale(0.98); }

.hero { position: relative; min-height: min(88dvh, 780px); color: #fff; overflow: hidden; }
.hero img { width: 100%; height: min(88dvh, 780px); object-fit: cover; object-position: center 30%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in oklab, var(--navy) 78%, transparent), color-mix(in oklab, var(--navy) 18%, transparent) 72%); }
.hero-copy { position: absolute; inset: auto 0 0 0; padding: 3.2rem 0 3rem; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5.4rem); max-width: 14ch; }
.hero .kicker { font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; margin: 0 0 0.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.why { padding: 4.2rem 0; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.4rem; align-items: center; }
.why ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.why li { padding: 0.7rem 0; border-bottom: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); font-weight: 650; font-size: 1.05rem; }
.badge-wrap { justify-self: center; }
.badge-wrap img { width: min(100%, 340px); filter: drop-shadow(0 12px 24px color-mix(in oklab, var(--navy) 20%, transparent)); transform: rotate(-6deg); }
@media (min-width: 900px) {
  .badge-wrap img { animation: seal-tilt linear both; animation-timeline: view(); animation-range: entry 10% cover 60%; }
}
@keyframes seal-tilt { from { transform: rotate(-14deg) scale(0.92); } to { transform: rotate(-6deg) scale(1); } }

.clases { padding: 1rem 0 4rem; }
.clase { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.4rem; align-items: center; margin: 1.8rem 0; }
.clase:nth-child(even) { grid-template-columns: 1.1fr 1fr; }
.clase:nth-child(even) .clase-txt { order: -1; }
.clase img { width: 100%; height: 280px; object-fit: cover; }
.clase h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.clase a { font-weight: 800; color: var(--brand); }

.aulas { background: var(--navy); color: #fff; padding: 3.4rem 0; }
.aula-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0.6rem; }
.aula-strip img { width: 100%; height: 220px; object-fit: cover; }
.aula-strip img:first-child { height: 100%; min-height: 280px; grid-row: span 2; }

.opiniones { padding: 4rem 0; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
figure.note { background: #fff; padding: 1.3rem 1.3rem 1.1rem; min-height: 100%; box-shadow: 6px 8px 0 color-mix(in oklab, var(--brand) 18%, transparent); }
figure.note blockquote { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; }
figure.note figcaption { margin-top: 0.9rem; font-weight: 800; font-size: 0.86rem; color: var(--brand); }

.horario { padding: 0 0 4rem; }
table.board { width: 100%; border-collapse: collapse; font-weight: 650; }
table.board th, table.board td { text-align: left; padding: 0.75rem 0.6rem; border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
table.board th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.social-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 320px; }
.social-band img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.social-copy { background: #f1e211; color: var(--navy); padding: 2.4rem; display: flex; flex-direction: column; justify-content: center; }

.contacto { padding: 4rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
input, textarea { font: inherit; width: 100%; padding: 0.75rem 0.85rem; border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent); background: #fff; min-height: 48px; }
input:user-invalid, textarea:user-invalid { border-color: var(--brand); }
textarea { field-sizing: content; min-height: 8rem; }
label { display: block; font-weight: 700; margin: 0.85rem 0 0.3rem; }

footer.site { padding: 2.4rem 0 6.5rem; background: var(--navy); color: #fff; }
footer.site a { color: #fff; }
.action-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--navy); color: #fff; padding: 0.45rem 0.6rem calc(0.45rem + env(safe-area-inset-bottom)); justify-content: space-around; }
.action-bar a { color: #fff; text-decoration: none; font-weight: 800; font-size: 0.78rem; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0.4rem 0.5rem; transition: opacity 0.16s ease, transform 0.16s ease; }
.action-bar a:hover { opacity: 0.85; }
.action-bar a:active { transform: scale(0.98); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-enter > * { animation: rise 1.1s ease both; }
.hero-enter > *:nth-child(2) { animation-delay: 0.14s; }
.hero-enter > *:nth-child(3) { animation-delay: 0.26s; }
.hero-enter > *:nth-child(4) { animation-delay: 0.38s; }

@media (max-width: 860px) {
  .nav-desk { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .action-bar { display: flex; }
  body { padding-bottom: 4.4rem; }
  .why, .clase, .clase:nth-child(even), .quotes, .social-band, .contact-grid, form .row { grid-template-columns: 1fr; }
  .clase:nth-child(even) .clase-txt { order: 0; }
  .aula-strip { grid-template-columns: 1fr 1fr; }
  .aula-strip img:first-child { grid-column: span 2; grid-row: auto; min-height: 200px; height: 220px; }
  .hero { min-height: 78dvh; }
  .hero img { height: 78dvh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
}
@view-transition { navigation: auto; }
.hero img { object-position: center 60%; }
.equipo { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; padding: 1rem 0 3rem; }
.equipo article { background: #fff; padding: 1.3rem; }
.salon-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.55rem; }
.salon-grid img { width: 100%; height: 260px; object-fit: cover; }
.salon-grid img:first-child { grid-row: span 2; height: 100%; min-height: 360px; }
.hd-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
@media (max-width: 860px) {
  .equipo, .salon-grid, .hd-list { grid-template-columns: 1fr; }
  .salon-grid img:first-child { grid-row: auto; min-height: 220px; height: 220px; }
}

.hero-shade { background: linear-gradient(180deg, color-mix(in oklab, var(--navy) 20%, transparent), color-mix(in oklab, var(--navy) 72%, transparent) 100%); }
.hero-copy { z-index: 2; }
.cta { background: var(--brand-hex); color: #fff; }
