:root {
  color-scheme:dark;
  --bg:#101012;
  --surface:#19191c;
  --text:#f6f5f2;
  --muted:#cbc8d0;
  --line:#363539;
  --pink:#ff56bf;
  --soft:#2c1b28;
  --font:'Outfit',sans-serif;
  --marker:'Permanent Marker',cursive
}

[data-theme="light"] {
  color-scheme:light;
  --bg:#faf9f7;
  --surface:#eeedeb;
  --text:#171619;
  --muted:#5e5962;
  --line:#d5d1d6;
  --pink:#ac156f;
  --soft:#f7deed
}

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:400 1.125rem/1.7 var(--font);
  -webkit-font-smoothing:antialiased
}
a {
  color:inherit;
  text-decoration:none
}
button {
  font:inherit;
  cursor:pointer
}
img {
  max-width:100%;
  display:block
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button:focus-visible,a:focus-visible,video:focus-visible {
  outline:3px solid var(--pink);
  outline-offset:5px
}
[hidden] {
  display:none!important
}
::selection {
  background:var(--pink);
  color:var(--bg)
}
.container {
  width:min(1280px,calc(100% - 96px));
  margin-inline:auto
}
.sr-only,.skip-link {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap
}
.skip-link:focus {
  width:auto;
  height:auto;
  clip-path:none;
  padding:12px 20px;
  background:var(--pink);
  color:#101012;
  z-index:1000;
  top:10px;
  left:10px
}
p,h1,h2,h3,h4 {
  margin-top:0
}
section {
  padding:110px 0
}
h1,h2,h3 {
  line-height:1.08
}
h1,h2 {
  letter-spacing:-.045em
}
h2 {
  font-size:clamp(2.5rem,4.7vw,4.5rem);
  font-weight:600;
  margin-bottom:0
}
em {
  font-family:var(--marker);
  font-style:normal;
  font-weight:400;
  letter-spacing:-.035em;
  color:var(--pink)
}
.eyebrow {
  font-size:1rem;
  letter-spacing:.13em;
  font-weight:500;
  line-height:1.5;
  margin:0 0 24px
}
.site-header {
  position:sticky;
  top:0;
  z-index:50;
  background:var(--bg);
  border-bottom:1px solid var(--line)
}
.nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:90px
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0
}
.brand img {
  border-radius:50%;
  object-fit:cover
}
.brand strong {
  display:block;
  font-size:1.2rem;
  letter-spacing:.02em;
  line-height:1.3
}
.brand small {
  display:block;
  font-size:.65rem;
  letter-spacing:.13em
}
.nav-links {
  display:flex;
  gap:25px;
  font-size:1rem
}
.nav-links a {
  padding:10px 0
}
.nav-links a:hover,.text-link:hover {
  color:var(--pink)
}
.header-actions {
  display:flex;
  gap:10px
}
.theme-toggle,.menu-toggle {
  display:grid;
  place-content:center;
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--text);
  background:transparent
}
.theme-toggle {
  font-size:1.4rem
}
.menu-toggle {
  display:none
}
.menu-toggle span {
  width:18px;
  height:2px;
  background:currentColor;
  margin:3px
}
.hero {
  padding:65px 0 70px
}
.hero-grid {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:65px;
  align-items:center
}
.hero-copy .eyebrow {
  display:flex;
  align-items:center;
  gap:10px
}
.status-dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--pink)
}
h1 {
  font-size:clamp(3.3rem,6.3vw,6.2rem);
  font-weight:600;
  margin-bottom:30px;
  line-height:1.07
}
h1 em {
  display:inline-block;
  padding-bottom:8px
}
.hero-description {
  max-width:420px;
  color:var(--muted);
  font-size:1.125rem;
  line-height:1.7
}
.hero-cta {
  display:flex;
  align-items:center;
  gap:30px;
  margin-top:30px
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  padding:17px 24px;
  min-height:52px;
  border-radius:4px;
  font-weight:600;
  line-height:1.4;
  transition:transform .2s,background .2s
}
.btn:hover {
  transform:translateY(-3px)
}
.btn-primary {
  background:var(--pink);
  color:#101012
}
[data-theme="light"] .btn-primary {
  color:white
}
.btn span {
  font-size:1.3rem
}
.text-link {
  font-size:1.125rem;
  border-bottom:1px solid var(--line);
  padding:10px 0
}
.hero-foot {
  display:flex;
  gap:30px;
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:45px;
  font-size:1rem;
  color:var(--muted)
}
.hero-visual {
  background:#070707;
  aspect-ratio:1/1.1;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:25px 30px;
  overflow:hidden;
  border:1px solid #333036;
  border-radius:6px;
  color:#f6f5f2
}
.visual-top,.visual-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:1
}
.visual-top {
  font-size:.875rem;
  letter-spacing:.15em;
  color:#bbb5be
}
.visual-top>span:last-child {
  font-size:1.6rem
}
.hero-logo {
  width:83%;
  max-height:76%;
  object-fit:contain;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%)
}
.visual-bottom {
  font-size:1rem;
  line-height:1.4
}
.marker {
  font-family:var(--marker);
  font-size:1.65rem;
  color:#ff56bf;
  transform:rotate(-7deg)
}
.style-strip {
  background:#ff56bf;
  color:#161016;
  padding:19px 0;
  overflow:hidden
}
.style-strip>div {
  display:flex;
  align-items:center;
  justify-content:space-around;
  gap:30px;
  width:max-content;
  min-width:100%;
  font-size:1.4rem;
  font-weight:600;
  letter-spacing:.025em;
  padding-inline:30px
}
.style-strip span {
  font-size:1.6rem
}
.section-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:60px;
  margin-bottom:55px
}
.section-head>.eyebrow {
  margin:0
}
.section-head>p {
  max-width:360px;
  color:var(--muted);
  margin-bottom:4px
}
.section-head .eyebrow {
  color:var(--muted)
}
.class-row {
  display:grid;
  grid-template-columns:45px 1fr 1.3fr 50px;
  gap:30px;
  align-items:center;
  padding:35px 0;
  border-top:1px solid var(--line)
}
.class-row:last-child {
  border-bottom:1px solid var(--line)
}
.class-number {
  align-self:start;
  padding-top:7px;
  color:var(--muted);
  font-size:1rem
}
.class-title .eyebrow {
  color:var(--pink);
  margin-bottom:10px;
  font-size:.875rem
}
.class-title h3 {
  font-size:clamp(1.8rem,3vw,2.8rem);
  font-weight:500;
  letter-spacing:-.035em;
  margin:0
}
.class-description>p {
  color:var(--muted);
  margin:0 0 16px
}
.class-level {
  font-size:1rem;
  color:var(--text)
}
.class-arrow {
  border:1px solid var(--line);
  border-radius:50%;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  font-size:1.5rem;
  transition:background .2s,color .2s
}
.class-arrow:hover {
  background:var(--pink);
  color:var(--bg)
}
.schedule-section {
  background:var(--surface)
}
.schedule-toolbar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:30px
}
.schedule-toolbar h3 {
  font-size:1.2rem;
  font-weight:500;
  margin:0
}
.filters {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.filters button {
  background:transparent;
  border:1px solid var(--line);
  color:var(--muted);
  padding:9px 15px;
  border-radius:30px;
  font-size:1rem;
  min-height:44px
}
.filters button[aria-pressed="true"] {
  background:var(--text);
  border-color:var(--text);
  color:var(--bg)
}
.week-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px
}
.day {
  min-width:0
}
.day>h3 {
  font-size:1.25rem;
  font-weight:500;
  padding:0 0 17px;
  margin:0 0 12px;
  border-bottom:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:8px
}
.day-count {
  font-size:.875rem;
  color:var(--muted);
  font-weight:400
}
.day-lessons {
  display:grid;
  gap:10px
}
.lesson {
  background:var(--bg);
  padding:17px 14px;
  border:1px solid var(--line);
  border-top:2px solid var(--pink);
  border-radius:3px
}
.lesson-time {
  font-size:1.125rem;
  font-variant-numeric:tabular-nums;
  display:flex;
  gap:5px;
  margin:0 0 13px;
  white-space:nowrap
}
.lesson-time>span {
  color:var(--muted)
}
.lesson h4 {
  font-size:1.125rem;
  line-height:1.25;
  font-weight:500;
  margin:0 0 6px
}
.lesson>div>p {
  font-size:1rem;
  color:var(--muted);
  line-height:1.4;
  margin:0
}
.heels {
  border-top-color:#e8a6d2
}
.reggaeton {
  border-top-color:#a58ddd
}
.bachata {
  border-top-color:#d6b475
}
.fit {
  border-top-color:#8ec4b9
}
.extra {
  border-top:1px solid var(--line);
  background:var(--surface)
}
.schedule-note {
  font-size:1rem;
  color:var(--muted);
  margin:27px 0 0
}
.schedule-note a {
  color:var(--text);
  text-decoration:underline;
  text-underline-offset:4px
}
.wedding-section {
  background:#ff56bf;
  color:#1c1020
}
.wedding-grid {
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:100px;
  align-items:center
}
.wedding-section em {
  color:#1c1020
}
.wedding-section h2 {
  font-size:clamp(2.6rem,4.5vw,4.3rem)
}
.wedding-copy>p {
  max-width:410px
}
.wedding-copy>p:first-of-type {
  font-size:1.5rem;
  line-height:1.4;
  font-weight:500;
  margin:22px 0
}
.wedding-label {
  border:1px solid #762454;
  border-radius:30px;
  padding:8px 14px;
  letter-spacing:.1em;
  font-size:.875rem
}
.btn-dark {
  background:#161016;
  color:#fff;
  margin-top:15px
}
.pricing-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid var(--line);
  border-radius:4px;
  overflow:hidden
}
.pricing-card {
  padding:30px 24px;
  display:flex;
  flex-direction:column;
  border-right:1px solid var(--line)
}
.pricing-card:last-child {
  border:0
}
.pricing-card .eyebrow {
  font-size:.875rem;
  letter-spacing:.08em;
  color:var(--muted);
  margin-bottom:25px
}
.pricing-card h3 {
  font-size:1.1rem;
  font-weight:500;
  min-height:2.5em;
  margin-bottom:20px
}
.price {
  font-size:2.9rem;
  font-weight:600;
  line-height:1.1;
  letter-spacing:-.04em;
  margin-bottom:24px
}
.price small {
  display:block;
  font-weight:400;
  font-size:1rem;
  letter-spacing:0;
  line-height:1.6;
  margin-top:7px;
  color:var(--muted)
}
.pricing-card>p:not(.price):not(.eyebrow) {
  font-size:1.125rem;
  color:var(--muted);
  margin-bottom:35px
}
.pricing-card>a {
  margin-top:auto;
  border-top:1px solid var(--line);
  padding-top:20px;
  font-size:1rem;
  display:flex;
  justify-content:space-between;
  gap:10px
}
.pricing-card>a:hover {
  color:var(--pink)
}
.featured {
  background:var(--soft)
}
.featured .price {
  color:var(--pink)
}
.pricing-note {
  color:var(--muted);
  font-size:1rem;
  margin:22px 0 0
}
.pricing-note span {
  margin:0 10px
}
.contact-section {
  border-top:1px solid var(--line);
  background:var(--surface)
}
.contact-grid {
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:100px
}
.contact-grid h2 {
  margin-bottom:25px
}
.contact-grid>div>p:not(.eyebrow) {
  color:var(--muted);
  max-width:440px;
  margin-bottom:30px
}
.contact-details {
  display:grid;
  align-content:center;
  gap:25px
}
.contact-details>div,.contact-details>a {
  padding-bottom:25px;
  border-bottom:1px solid var(--line)
}
.contact-details span {
  display:block;
  font-size:.875rem;
  letter-spacing:.14em;
  color:var(--muted);
  margin-bottom:10px
}
.contact-details strong,address {
  font-size:1.2rem;
  font-weight:400;
  font-style:normal
}
.contact-details a:hover strong {
  color:var(--pink)
}
.site-footer {
  padding:35px 0
}
.footer-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  font-size:.875rem;
  color:var(--muted)
}
.footer-brand {
  font-size:1.5rem;
  font-weight:700;
  color:var(--text);
  line-height:1.1;
  letter-spacing:-.03em
}
.footer-brand span {
  display:block;
  font-size:.875rem;
  font-weight:400;
  margin-top:7px;
  letter-spacing:0;
  color:var(--muted)
}
.footer-row>span>a {
  color:var(--text);
  text-decoration:underline;
  text-underline-offset:4px
}
.video-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px
}
.video-grid figure {
  margin:0
}
.video-grid video {
  display:block;
  width:100%;
  aspect-ratio:9/16;
  background:#070707;
  object-fit:contain;
  border-radius:4px
}
.video-grid figcaption {
  padding-top:15px
}
.video-grid figcaption strong {
  display:block;
  font-size:1.2rem
}
.video-grid figcaption span {
  color:var(--muted)
}
.video-error {
  color:var(--muted);
  font-size:1rem
}

@media(min-width:1500px) {
  .hero {
  padding:85px 0
}
.hero-visual {
  max-height:590px
}

}

@media(max-width:1100px) {
  .container {
  width:calc(100% - 56px)
}
.nav-links {
  gap:16px
}
.brand small {
  display:none
}
.hero-grid {
  gap:30px
}
h1 {
  font-size:5.8vw
}
.hero-cta {
  gap:18px
}
.btn {
  padding:15px 18px
}
.section-head {
  gap:35px
}
.week-grid {
  gap:8px
}
.lesson {
  padding:15px 10px
}
.lesson-time {
  font-size:1.125rem;
  gap:3px
}
.wedding-grid,.contact-grid {
  gap:50px
}
.pricing-card {
  padding:24px 17px
}

}

@media(max-width:900px) {
  .nav {
  min-height:78px
}
.nav-links {
  gap:12px;
  font-size:1rem
}
.brand strong {
  font-size:1rem
}
.brand img {
  width:40px;
  height:40px
}
.header-actions {
  gap:6px
}
.hero-foot {
  flex-direction:column;
  gap:5px
}
.hero-cta {
  flex-wrap:wrap
}
.hero-visual {
  aspect-ratio:1/1.25
}
.visual-top {
  font-size:.6rem
}
.visual-bottom {
  font-size:.875rem
}
.marker {
  font-size:1.25rem
}
.class-row {
  grid-template-columns:30px 1fr 1.3fr 44px;
  gap:20px
}
.class-arrow {
  width:44px;
  height:44px
}
.week-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:25px 15px
}
.lesson-time {
  font-size:1.125rem
}
.pricing-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.pricing-card {
  padding:30px
}
.pricing-card:nth-child(2) {
  border-right:0
}
.pricing-card:nth-child(-n+2) {
  border-bottom:1px solid var(--line)
}
.pricing-card h3 {
  min-height:0
}
.wedding-grid {
  gap:35px
}

}

@media(max-width:760px) {
  html {
  scroll-padding-top:85px
}
.container {
  width:calc(100% - 40px)
}
section {
  padding:75px 0
}
.nav {
  min-height:74px
}
.brand small {
  display:block
}
.brand strong {
  font-size:1.1rem
}
.menu-toggle {
  display:grid
}
.nav-links {
  display:none;
  position:absolute;
  left:0;
  right:0;
  top:100%;
  background:var(--bg);
  padding:15px 20px 25px;
  border-bottom:1px solid var(--line);
  font-size:1rem
}
.nav-links.open {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 20px
}
.nav-links a {
  padding:14px 0;
  border-bottom:1px solid var(--line)
}
.hero {
  padding:40px 0
}
.hero-grid {
  grid-template-columns:1fr;
  gap:30px
}
h1 {
  font-size:clamp(3rem,10.5vw,4.8rem);
  margin-bottom:20px
}
.hero-description {
  max-width:500px;
  font-size:1.125rem
}
.hero-copy .eyebrow {
  font-size:.875rem;
  margin-bottom:25px
}
.hero-cta {
  gap:25px;
  margin-top:25px
}
.hero-foot {
  flex-direction:row;
  justify-content:space-between;
  margin-top:30px;
  gap:10px;
  font-size:1rem
}
.hero-visual {
  aspect-ratio:1.35/1;
  max-height:420px;
  padding:20px
}
.hero-logo {
  width:60%;
  max-height:85%
}
.visual-top {
  font-size:.65rem
}
.visual-bottom {
  font-size:1rem
}
.marker {
  font-size:1.4rem
}
.style-strip {
  padding:13px 0
}
.style-strip>div {
  font-size:1rem;
  gap:25px
}
.section-head {
  display:block;
  margin-bottom:35px
}
.section-head>p {
  margin-top:25px;
  max-width:470px
}
.eyebrow {
  font-size:.875rem;
  margin-bottom:18px
}
h2 {
  font-size:clamp(2.4rem,7.8vw,3.5rem)
}
.class-row {
  grid-template-columns:25px 1fr 44px;
  gap:12px;
  padding:27px 0
}
.class-title {
  grid-column:2
}
.class-title h3 {
  font-size:2rem
}
.class-title .eyebrow {
  margin-bottom:7px
}
.class-description {
  grid-column:2;
  grid-row:2
}
.class-description>p {
  font-size:1.125rem;
  margin-bottom:12px
}
.class-arrow {
  grid-column:3;
  grid-row:1
}
.class-number {
  padding-top:4px
}
.class-level {
  font-size:1rem
}
.schedule-toolbar {
  display:block
}
.schedule-toolbar h3 {
  margin-bottom:18px
}
.filters {
  gap:6px
}
.filters button {
  padding:8px 13px
}
.week-grid {
  grid-template-columns:1fr;
  gap:25px
}
.day>h3 {
  flex-direction:row;
  justify-content:space-between;
  padding-bottom:10px
}
.day-lessons {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px
}
.lesson {
  padding:15px
}
.lesson-time {
  font-size:1.125rem
}
.wedding-grid,.contact-grid {
  grid-template-columns:1fr;
  gap:35px
}
.wedding-section h2 {
  font-size:clamp(2.5rem,8.3vw,3.7rem)
}
.wedding-copy>p {
  max-width:100%
}
.wedding-copy>p:first-of-type {
  font-size:1.3rem
}
.wedding-copy .btn {
  margin-top:5px
}
.pricing-card {
  padding:23px 18px
}
.pricing-card h3 {
  min-height:2.4em
}
.price {
  font-size:2.5rem
}
.pricing-note span {
  margin:0 5px
}
.footer-row {
  flex-wrap:wrap;
  gap:20px
}
.footer-brand {
  width:100%
}
.video-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px
}
.contact-details {
  gap:20px
}

}

@media(max-width:380px) {
  .container {
  width:calc(100% - 32px)
}
.brand small {
  font-size:.55rem
}
.brand {
  gap:8px
}
.hero-cta {
  gap:15px
}
.hero-foot {
  font-size:.875rem
}
.pricing-grid {
  grid-template-columns:1fr
}
.pricing-card {
  border-right:0;
  border-bottom:1px solid var(--line)
}
.pricing-card h3 {
  min-height:0
}
.day-lessons {
  grid-template-columns:1fr
}
.lesson {
  display:flex;
  gap:20px;
  align-items:flex-start
}
.lesson-time {
  display:block;
  min-width:95px;
  margin:0
}
.lesson-time span {
  margin:0 3px
}
.video-grid {
  grid-template-columns:1fr
}
.visual-bottom {
  font-size:.875rem
}
.marker {
  font-size:1.1rem
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
*,*::before,*::after {
  transition:none!important;
  animation:none!important
}

}

/* Readable text keeps its size as the layout becomes narrower. */
@media screen {
  .week-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 24px 16px; }
  .lesson-time { font-size: 1.125rem; flex-wrap: wrap; }
  .lesson { padding: 18px 16px; }
  .lesson > div > p { line-height: 1.6; }
  .hero-cta, .hero-foot { flex-wrap: wrap; }
  .theme-toggle, .menu-toggle { width: 48px; height: 48px; flex-shrink: 0; }
  .filters button { min-height: 48px; color: var(--text); }
  .filters button[aria-pressed="true"] { color: var(--bg); }
  .nav-links { font-size: 1rem; }
}
@media screen and (max-width: 1100px) {
  .menu-toggle { display: grid; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); padding: 15px 24px 25px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
}
@media screen and (max-width: 760px) {
  .week-grid { grid-template-columns: 1fr; }
  .day-lessons { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
  .class-description { grid-column: 1 / -1; }
  .hero-description, .class-description > p { font-size: 1.125rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .pricing-card h3 { min-height: 0; }
  .lesson { display: block; }
  .lesson-time { display: flex; margin-bottom: 13px; }
}

@media print {
  .site-header,.hero,.style-strip,.filters,.hero-cta,.class-arrow,.site-footer,.btn {
  display:none!important
}
body {
  --bg:#fff;
  --surface:#fff;
  --text:#000;
  --muted:#333;
  --line:#bbb;
  --pink:#000;
  color:#000;
  background:#fff
}
.container {
  width:100%
}
section {
  padding:20px 0;
  break-inside:avoid
}
.section-head {
  margin-bottom:20px
}
h2 {
  font-size:24pt
}
.week-grid {
  grid-template-columns:repeat(5,1fr)
}
.lesson {
  break-inside:avoid
}
.wedding-section {
  background:#fff;
  color:#000
}

}

/* Video gallery: original framing, readable captions, no automatic playback. */
.videos-section { background: var(--surface); border-top: 1px solid var(--line); }
#video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 28px 18px; width: 100%; }
.video-card { min-width: 0; scroll-margin-top: 110px; }
.video-card video { height: auto; aspect-ratio: 9 / 16; border: 1px solid var(--line); }
.video-card figcaption strong { font-size: 1.125rem; margin-bottom: 6px; }
.video-card figcaption span { font-size: 1rem; line-height: 1.6; display: block; }
.watch-class { display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 48px; margin-top: 10px; color: var(--pink); text-decoration: underline; text-underline-offset: 5px; font-size: 1rem; }
.watch-class:hover { color: var(--text); }
@media screen and (max-width: 500px) {
  #video-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media print { .videos-section, .watch-class { display: none; } }

/* Vector arrows render consistently, without the platform emoji font. */
.icon-arrow { display: inline-block; width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -0.18em; }
.video-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 6px 4px 14px; margin: 0 auto 24px; width: fit-content; max-width: 100%; }
.video-tabs button { flex: 0 0 auto; min-height: 48px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--text); font-size: 1.125rem; }
.video-tabs button[aria-selected="true"] { background: var(--pink); border-color: var(--pink); color: var(--bg); }
.video-tabs button:hover { border-color: var(--pink); }
.video-tabs button:focus-visible { outline-offset: 2px; }
.video-card:focus-visible { outline: 3px solid var(--pink); outline-offset: 6px; }
@media screen and (max-width: 760px) {
  #video-grid { display: block; width: min(100%, 360px); width: min(100%, 360px, 39.375svh); margin-inline: auto; }
}

/* Mobile class disclosures keep the readable text without a long list. */
.class-toggle { width: 100%; padding: 8px 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; letter-spacing: inherit; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; cursor: pointer; }
.class-toggle:focus-visible { outline: 3px solid var(--pink); outline-offset: 5px; }
.class-toggle svg { width: 24px; height: 24px; flex-shrink: 0; transition: transform .2s; }
.class-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
/* Bound native video painting to its own area on mobile browsers. */
.video-card { contain: paint; isolation: isolate; }
@media screen and (max-width: 760px) {
  .site-header { position: relative; top: auto; }
  .class-row { grid-template-columns: 25px minmax(0, 1fr); gap: 8px 12px; padding: 14px 0; }
  .class-title { grid-column: 2; min-width: 0; }
  .class-title .eyebrow { display: none; }
  .class-title h3 { font-size: 1.625rem; line-height: 1.3; }
  .class-number { align-self: center; padding: 0; }
  .class-description { grid-column: 1 / -1; grid-row: auto; padding-top: 12px; }
  .class-arrow { grid-column: 2; grid-row: auto; justify-self: end; margin-bottom: 8px; }
  .nav-links { max-height: 70svh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { .class-toggle svg { transition: none; } }

/* The original circular mark is the visual focus, without extra labels. */
.hero-visual {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(100%, 430px);
  max-height: none;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}
.hero-visual .hero-logo {
  display: block;
  flex: 0 1 auto;
  margin: auto;
  position: static;
  width: 100%;
  height: auto;
  max-height: none;
  transform: none;
  object-fit: contain;
}
.icon-star { display: block; width: 22px; height: 22px; flex: 0 0 22px; }
.theme-toggle > span { display: grid; place-items: center; }
@media screen and (max-width: 760px) {
  .hero-visual { width: min(100%, 280px); padding: 18px; }
  .hero-grid { gap: 26px; }
  .icon-star { width: 18px; height: 18px; flex-basis: 18px; }
}

/* Consistent group colours across all extracurricular days. */
.extra { border-top: 2px solid var(--extra-accent, var(--pink)); }
.extra[data-group="infantil"] { --extra-accent: #e8a6d2; }
.extra[data-group="primaria-12"] { --extra-accent: #d6b475; }
.extra[data-group="primaria-34"] { --extra-accent: #a58ddd; }
.extra[data-group="abierto"] { --extra-accent: #8ec4b9; }
