/* Tailwind preflight essentials retained for the standalone build */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; }
button { border: 0; }
img, svg { display: block; }

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./fonts/manrope-variable.woff2") format("woff2"), url("./fonts/manrope-variable.ttf") format("truetype");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("./fonts/oswald-variable.woff2") format("woff2"), url("./fonts/oswald-variable.ttf") format("truetype");
}

:root {
  --font-sans: "Manrope", sans-serif;
  --font-heading: "Oswald", sans-serif;
  --color-graphite: #111112;
  --color-bone: #f6f5f1;
  --color-brand-pink: #df1688;
  --color-brand-pink-hover: #c50b76;
  --color-brand-accent: #f052ac;
  --color-brand-pink-ink: #a60d63;
  --color-brand-border: #6d5b37;
  --color-brand-gold: #c9ab65;
  --color-text-secondary: #b6b3af;
  --color-control-disabled: #302c31;
  --color-text-muted: #d2cad7;
  --color-surface-raised: #272625;
}


  html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
  }
  body {
    background: var(--color-graphite);
    color: var(--color-bone);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
  }
  a {
    text-decoration: none;
  }
  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    cursor: pointer;
  }
  a:focus-visible,
  button:focus-visible,
  [tabindex]:focus-visible {
    outline: 2px solid var(--color-brand-gold);
    outline-offset: 5px;
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  ::selection {
    background: var(--color-brand-accent);
    color: var(--color-graphite);
  }
  h2 {
    font-family: var(--font-heading);
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.6px;
    text-transform: uppercase;
  }


.container {
  width: min(1248px, calc(100% - 112px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #111112fa;
  border-bottom: 1px solid #ffffff18;
}
.header-inner {
  width: min(1320px, calc(100% - 80px));
  margin: auto;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: block;
  width: 98px;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 550;
  color: #c2bfc5;
  transition: color 0.2s;
}
.desktop-nav a:hover {
  color: var(--color-brand-accent);
}
.button {
  min-height: 50px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.button svg {
  flex-shrink: 0;
}
.button-light {
  background: var(--color-brand-pink);
  color: #fff;
  border-color: var(--color-brand-pink);
}
.button-light:hover {
  background: var(--color-brand-pink-hover);
  border-color: var(--color-brand-pink-hover);
}
.button-outline {
  color: var(--color-bone);
  border-color: #ffffff50;
  background: #11111240;
}
.button-outline:hover {
  color: var(--color-brand-accent);
  border-color: var(--color-brand-accent);
  background: #211e1c;
}
.header-cta {
  color: #fff;
  background: var(--color-brand-pink);
  font-size: 13px;
  padding-inline: 19px;
}
.header-cta:hover {
  background: var(--color-brand-pink-hover);
}
.menu-toggle,
.mobile-nav {
  display: none;
}
.hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  isolation: isolate;
  background: #202022;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-position: center;
  filter: saturate(0.65);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #111112f5 0%, #111112cc 36%, #11111230 75%),
    linear-gradient(0deg, #111112b8, transparent 35%);
}
.hero-content {
  padding-top: 66px;
  padding-bottom: 100px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.7px;
  color: #e1d6e5;
}
.small-square {
  width: 6px;
  height: 6px;
  background: var(--color-brand-pink);
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(76px, 8vw, 116px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  margin-top: 25px;
}
.hero h1 > span {
  display: block;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  color: var(--color-brand-gold);
  letter-spacing: -0.5px;
  margin-top: 16px;
  line-height: 1.2;
}
.hero-description {
  margin-top: 27px;
  font-size: 16px;
  color: #d0ccd3;
  line-height: 1.85;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-location {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  margin-top: 27px;
  color: #d0ccd3;
  min-height: 32px;
}
.hero-location:hover {
  color: #fff;
}
.hero-bottom {
  position: absolute;
  bottom: 27px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.hero-bottom > span {
  color: #c4bfc8;
  font-size: 11px;
}
.hero-bottom > a {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 10px;
  letter-spacing: 1.1px;
  min-height: 36px;
}
.down-arrow {
  font-size: 21px;
}
.benefits {
  background: #19191a;
  border-bottom: 1px solid #ffffff12;
  padding: 36px 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.benefit {
  padding: 0 32px;
  border-right: 1px solid #ffffff20;
}
.benefit:first-child {
  padding-left: 0;
}
.benefit:last-child {
  border: 0;
  padding-right: 0;
}
.benefit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-brand-accent);
  margin-bottom: 18px;
}
.benefit-top > span {
  font-size: 10px;
  color: #a19aa7;
}
.benefit h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.benefit p {
  font-size: 14px;
  line-height: 1.8;
  color: #b2acb8;
  max-width: 330px;
}
.section {
  padding: 88px 0;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-brand-gold);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.section-label > span {
  padding-right: 12px;
  border-right: 1px solid #5d5365;
  color: #a49aa9;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 36px;
}
.section-heading > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-secondary);
  max-width: 450px;
}
.sample-note {
  display: block;
  color: #cfc4d4;
  font-size: 12px;
  margin-top: 10px;
}
.classes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 28px;
}
.class-card {
  min-width: 0;
}
.class-image {
  position: relative;
  overflow: hidden;
  height: auto;
  aspect-ratio: 4 / 5;
  background: var(--color-surface-raised);
}
.class-image img {
  filter: saturate(0.7);
  object-position: center 36%;
}
.class-image-placeholder {
  background: var(--color-surface-raised);
}
.class-image-placeholder::after {
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, #11111270);
}
.image-pending {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #e3dce7;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}
.class-image-placeholder .class-number {
  z-index: 2;
}
.class-image::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #111112b0);
  pointer-events: none;
}
.class-number {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 1;
  color: var(--color-bone);
  background: #111112cf;
  padding: 6px 9px;
  font-size: 10px;
}
.class-level {
  position: absolute;
  bottom: 16px;
  left: 18px;
  color: #fff;
  font-size: 11px;
  z-index: 1;
}
.class-info {
  padding-top: 20px;
}
.class-info h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
.class-info > p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-secondary);
  max-width: 510px;
  min-height: 52px;
}
.class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 18px 0;
  font-size: 12px;
  color: #bcb3c4;
}
.class-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.class-meta > span + span {
  padding-left: 18px;
  border-left: 1px solid #ffffff30;
}
.class-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  border-top: 1px solid #ffffff28;
  color: var(--color-brand-accent);
  font-size: 13px;
  font-weight: 650;
  gap: 20px;
  margin-top: 20px;
}
.class-link:hover {
  color: #f4b8d9;
}
.class-link svg {
  flex-shrink: 0;
}
.programs-section {
  background: #19191a;
  border-block: 1px solid #ffffff12;
}
.programs-section .section-heading h2 {
  max-width: 600px;
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.program-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 27px 24px 15px;
  background: var(--color-graphite);
  border: 1px solid #ffffff25;
}
.program-card h3 {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -0.4px;
}
.program-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-brand-gold);
  font-size: 13px;
  margin-top: 16px;
}
.program-attendance {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 14px;
  margin-bottom: 22px;
}
.program-cta {
  justify-content: flex-start;
  padding: 15px 0;
  margin-top: auto;
  border-top: 1px solid #ffffff25;
  color: var(--color-brand-accent);
  font-size: 12px;
  gap: 9px;
}
.program-cta > svg:last-child {
  margin-left: auto;
}
.program-cta:hover {
  color: #f4b8d9;
}
.confirmed-hours {
  border-top: 1px solid var(--color-brand-border);
}
.hours-row {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 30px;
  padding: 25px 14px;
  border-bottom: 1px solid #ffffff25;
  align-items: start;
}
.hours-row dt {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.8;
}
.hours-row dd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  font-size: 16px;
  line-height: 1.9;
}
.midday-closure {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-brand-gold);
  margin-top: 22px;
}
.coordination-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 35px;
}
.coordination-notes h3 {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 9px;
}
.coordination-notes p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-secondary);
}
.contact-detail .hours-anchor {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  min-height: 36px;
}
.contact-detail > div {
  min-width: 0;
}
.contact-detail .email-link {
  overflow-wrap: anywhere;
  font-size: 14px;
}
.registration-note {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-top: 24px;
}
.footer-social > .footer-email {
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.8;
  padding-top: 10px;
}
.footer-email > svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-email > span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.content-disclaimer {
  margin-top: 30px;
  color: #aba1b3;
  font-size: 12px;
  line-height: 1.8;
}
.schedule-section {
  background: #19191a;
  border-block: 1px solid #ffffff12;
}
.schedule-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
  padding: 14px 17px;
  background: #6d5b3730;
  border-left: 3px solid var(--color-brand-accent);
  font-size: 13px;
  line-height: 1.8;
}
.schedule-selection strong {
  color: #f1b3d4;
  font-weight: 650;
}
.schedule-selection button {
  min-height: 44px;
  flex-shrink: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.attention-hours {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #6d5b37;
  border-bottom: 1px solid #6d5b37;
  padding: 24px 0;
  margin-bottom: 32px;
}
.attention-hours h3 {
  font-size: 17px;
  font-weight: 650;
}
.attention-hours p {
  margin-top: 7px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}
.schedule-sample-label {
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.8;
  color: #c6b2cf;
}
.day-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 18px;
  border-bottom: 1px solid #ffffff30;
}
.day-tabs button {
  min-height: 54px;
  padding: 15px 8px;
  font-size: 14px;
  color: #c2bac9;
  border-bottom: 2px solid transparent;
  transition:
    background 0.2s,
    color 0.2s;
}
.day-tabs button:hover {
  background: #6d5b3745;
  color: #fff;
}
.day-tabs button[aria-selected="true"] {
  color: var(--color-graphite);
  background: var(--color-brand-accent);
  border-color: var(--color-brand-accent);
  font-weight: 750;
}
.schedule-table-head,
.schedule-row {
  display: grid;
  grid-template-columns: 1fr 2.3fr 0.8fr 1.2fr;
  gap: 22px;
  align-items: center;
}
.schedule-row.is-highlighted {
  background: #6d5b3730;
  border-left: 3px solid var(--color-brand-accent);
}
.schedule-table-head {
  padding: 25px 16px 15px;
  font-size: 10px;
  color: #aba0b3;
  letter-spacing: 1px;
}
.schedule-row {
  padding: 25px 16px;
  border-bottom: 1px solid #ffffff20;
}
.session-time {
  font-size: 26px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.6px;
}
.session-time > span {
  font-size: 12px;
  color: #b7adbf;
  letter-spacing: 0;
  font-weight: 400;
}
.session-title {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
}
.session-title > span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #b7adbf;
  margin-top: 5px;
}
.session-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b7adbf;
  font-size: 12px;
  white-space: nowrap;
}
.session-link {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--color-brand-accent);
  font-size: 12px;
}
.session-link > svg {
  flex-shrink: 0;
}
.session-link:hover {
  color: #f4b8d9;
}
.schedule-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #b7adbf;
  font-size: 12px;
  line-height: 1.85;
  margin-top: 22px;
}
.note-marker {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid #b7adbf;
  border-radius: 50%;
  font-size: 10px;
  text-align: center;
  line-height: 14px;
  margin-top: 3px;
}
.about-section {
  background: var(--color-graphite);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  position: relative;
  height: 440px;
}
.about-photo img {
  object-position: 40% center;
  filter: saturate(0.7);
}
.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 18px 17px;
  background: linear-gradient(transparent, #111112d9);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.5px;
}
.about-copy h2 {
  max-width: 450px;
  margin-bottom: 25px;
}
.about-copy > p:not(.section-label) {
  max-width: 470px;
  margin-top: 17px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-text-secondary);
}
.about-copy > .about-lead {
  font-size: 17px !important;
  color: #e3dce7 !important;
  font-weight: 550;
}
.text-link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  min-height: 46px;
  margin-top: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid #83538f;
  color: var(--color-brand-accent);
  font-size: 13px;
  font-weight: 650;
}
.text-link:hover {
  border-color: var(--color-brand-accent);
}
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-top: 45px;
  margin-bottom: 28px;
  scroll-margin-top: 20px;
}
.gallery-heading h3 {
  font-size: 23px;
  font-weight: 650;
}
.gallery-heading p {
  font-size: 12px;
  font-weight: 650;
  color: var(--color-brand-accent);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.gallery-heading > span {
  max-width: 350px;
  color: var(--color-text-secondary);
  font-size: 12px;
  line-height: 1.8;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.gallery figure {
  min-width: 0;
}
.gallery img {
  height: 360px;
  display: block;
  filter: saturate(0.7);
}
.gallery figure:nth-child(n + 2) img {
  object-position: center 12%;
}
.gallery figcaption {
  color: var(--color-text-secondary);
  font-size: 10px;
  line-height: 1.8;
  margin-top: 12px;
}
.location-section {
  background: #19191a;
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.location-copy h2 {
  max-width: 440px;
}
.location-intro {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-top: 22px;
  margin-bottom: 28px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 25px;
}
.contact-detail > svg {
  color: var(--color-brand-accent);
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-detail div > span {
  display: block;
  color: #b9a6c3;
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 7px;
}
.contact-detail p,
.contact-detail a {
  font-size: 16px;
  line-height: 1.8;
}
.contact-detail a:hover {
  color: var(--color-brand-accent);
}
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.opening-hours {
  font-size: 14px;
  line-height: 1.8;
  color: #e0d9e4;
}
.opening-hours > div {
  margin-bottom: 8px;
}
.opening-hours dt {
  color: var(--color-text-secondary);
  font-size: 12px;
}
.contact-number {
  color: var(--color-text-secondary);
  font-size: 12px;
  margin-top: 15px;
}
.location-map {
  min-width: 0;
  background: #22211f;
}
.location-map iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 380px;
  background: #d4d0d6;
}
.map-preview {
  min-height: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #1d1c1a;
}
.map-preview > svg {
  color: var(--color-brand-accent);
  margin-bottom: 22px;
}
.map-preview > p {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.map-preview > span {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-top: 9px;
}
.map-preview .button {
  margin-top: 25px;
  font-size: 12px;
}
.map-preview > small {
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 17px;
}
.compact .map-preview {
  min-height: 190px;
  padding: 17px;
}
.compact .map-preview > svg {
  margin-bottom: 10px;
}
.compact .map-preview > p {
  font-size: 15px;
}
.compact .map-preview > span {
  font-size: 11px;
  margin-top: 5px;
}
.compact .map-preview .button {
  margin-top: 13px;
  min-height: 36px;
  padding: 7px 12px;
  font-size: 11px;
}
.location-map > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 20px;
  min-height: 54px;
  color: #e1d4e7;
  font-size: 12px;
  line-height: 1.7;
  border-bottom: 2px solid var(--color-brand-border);
}
.location-map > a:hover {
  color: var(--color-brand-accent);
}
.location-map > a svg {
  flex-shrink: 0;
}
.faq-section {
  background: var(--color-bone);
  color: var(--color-graphite);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 70px;
}
.faq-section .section-label {
  color: var(--color-brand-pink-ink);
}
.faq-section .section-label > span {
  color: #726b77;
  border-color: #b9afbf;
}
.faq-section h2 {
  max-width: 360px;
}
.faq-grid > div > p:not(.section-label) {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: #615a67;
}
.faq-section .text-link {
  color: var(--color-brand-pink-ink);
  border-color: #c281a5;
}
.faq-item {
  border-bottom: 1px solid #cfc9d3;
}
.faq-item:first-child {
  border-top: 1px solid #cfc9d3;
}
.faq-item h3 button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-block: 23px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.7;
  text-align: left;
}
.faq-symbol {
  color: var(--color-brand-pink-ink);
  font-size: 25px;
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item [role="region"] > p {
  padding: 0 28px 24px 0;
  color: #615a67;
  font-size: 14px;
  line-height: 1.95;
}
.closing-section {
  background: #201d18;
  padding: 48px 0;
  border-top: 1px solid #6d5b37;
}
.closing-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.closing-inner p {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--color-brand-accent);
  margin-bottom: 13px;
}
.closing-inner h2 {
  font-size: clamp(30px, 3vw, 42px);
}
.footer {
  padding: 46px 0 26px;
  background: var(--color-graphite);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 65px;
  padding-bottom: 36px;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 18px;
}
.footer-navigation > span {
  display: block;
  color: #b9a6c3;
  font-size: 10px;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.footer-navigation > a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 13px;
}
.footer-navigation > a:hover {
  color: var(--color-brand-accent);
}
.footer-brand {
  width: 160px;
}
.footer-main > div > p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-top: 12px;
}
.footer-location,
.footer-social {
  min-width: 0;
  padding-top: 18px;
}
.footer-location > span,
.footer-social > span {
  display: block;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #b9a6c3;
  margin-bottom: 20px;
}
.location-map.compact iframe {
  height: 190px;
}
.location-map.compact > a {
  font-size: 11px;
  padding: 12px;
}
.footer-social > a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 100%;
}
.footer-social > a:hover {
  color: var(--color-brand-accent);
}
.footer-social > a > svg:last-child {
  margin-left: auto;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 23px;
  border-top: 1px solid #ffffff20;
  font-size: 10px;
  color: #b1a6b8;
  line-height: 1.7;
}
.footer-bottom > p:nth-child(2) {
  border: 1px solid #6d5b37;
  padding: 5px 10px;
}
.footer-bottom > a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  letter-spacing: 1px;
}
.footer-disclaimer {
  font-size: 10px;
  line-height: 1.9;
  color: #a89aae;
  margin-top: 19px;
}
.floating-whatsapp {
  display: none;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--color-brand-accent);
  color: var(--color-graphite);
  padding: 14px;
  font-size: 13px;
}
.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .container {
    width: calc(100% - 72px);
  }
  .header-inner {
    width: calc(100% - 48px);
    gap: 16px;
  }
  .desktop-nav {
    gap: 17px;
  }
  .desktop-nav a {
    font-size: 12px;
  }
  .class-info h3 {
    font-size: 21px;
  }
  .about-grid,
  .location-grid {
    gap: 36px;
  }
  .about-photo {
    height: 420px;
  }
  .gallery img {
    height: 280px;
  }
  .footer-main {
    gap: 35px;
  }
}

@media (max-width: 960px) {
  .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html {
    scroll-padding-top: 96px;
  }
  .header-inner {
    height: 80px;
    gap: 12px;
  }
  .site-header .brand {
    width: 74px;
    margin-right: auto;
  }
  .desktop-nav {
    display: none;
  }
  .header-cta {
    min-height: 44px;
    padding: 10px 15px;
    font-size: 12px;
  }
  .header-cta > svg:last-child {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 44px;
    height: 44px;
  }
  .menu-toggle > span {
    width: 23px;
    height: 1.5px;
    background: var(--color-bone);
    transition: transform 0.2s;
  }
  .menu-toggle.is-open > span:first-child {
    transform: translateY(4.25px) rotate(45deg);
  }
  .menu-toggle.is-open > span:last-child {
    transform: translateY(-4.25px) rotate(-45deg);
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 80px);
    overflow: auto;
    padding: 10px 24px 24px;
    background: var(--color-graphite);
    border-bottom: 1px solid #6d5b37;
  }
  .mobile-nav > a:not(.button) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #ffffff20;
    font-size: 16px;
  }
  .mobile-nav .button {
    margin-top: 20px;
  }
  .section {
    padding: 72px 0;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section-heading > p {
    max-width: 100%;
  }
  .benefit {
    padding-inline: 22px;
  }
  .benefit h3 {
    font-size: 16px;
  }
  .benefit p {
    font-size: 13px;
  }
  .schedule-table-head,
  .schedule-row {
    grid-template-columns: 1fr 2fr 0.8fr 1.2fr;
    gap: 15px;
    padding-inline: 0;
  }
  .session-link {
    justify-content: flex-start;
  }
  .session-time {
    font-size: 23px;
  }
  .session-title {
    font-size: 15px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-photo {
    height: 390px;
  }
  .about-copy > p:not(.section-label),
  .about-copy h2 {
    max-width: 620px;
  }
  .gallery {
    gap: 14px;
  }
  .gallery img {
    height: 240px;
  }
  .location-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .location-map iframe {
    height: 350px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .faq-section h2 {
    max-width: none;
  }
  .closing-inner {
    flex-wrap: wrap;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-social {
    grid-column: 2;
    grid-row: 2;
  }
  .footer-navigation {
    grid-column: 1;
    grid-row: 2;
  }
  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
  .floating-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: max(18px, env(safe-area-inset-bottom));
    right: 18px;
    z-index: 40;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-brand-pink);
    color: #fff;
    border: 1px solid var(--color-graphite);
  }
  .footer {
    padding-bottom: 85px;
  }
}

@media (max-width: 600px) {
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .program-card {
    padding: 23px 21px 12px;
  }
  .program-card h3 {
    font-size: 21px;
  }
  .hours-row {
    grid-template-columns: 1fr;
    padding: 22px 0;
    gap: 9px;
  }
  .hours-row dt {
    font-size: 16px;
  }
  .hours-row dd {
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 15px;
  }
  .coordination-notes {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero h1 > span {
    max-width: 350px;
  }
  .eyebrow {
    max-width: 290px;
    line-height: 1.8;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    width: calc(100% - 32px);
  }
  .hero {
    min-height: 600px;
  }
  .hero-image {
    object-position: 60% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #111112eb, #1111128c),
      linear-gradient(0deg, #111112c9, transparent 45%);
  }
  .hero-content {
    padding-top: 50px;
    padding-bottom: 96px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .hero h1 {
    font-size: clamp(44px, 14vw, 76px);
    letter-spacing: -1px;
    margin-top: 27px;
  }
  .hero h1 > span {
    font-size: clamp(27px, 7.5vw, 36px);
    margin-top: 15px;
    letter-spacing: -0.3px;
  }
  .hero-description {
    font-size: 15px;
    margin-top: 23px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 26px;
    gap: 10px;
    max-width: 350px;
  }
  .hero-actions .button {
    min-height: 49px;
    justify-content: space-between;
    font-size: 12px;
    padding-inline: 18px;
  }
  .hero-actions .button-light > svg:first-child {
    display: none;
  }
  .hero-location {
    font-size: 11px;
    gap: 6px;
    margin-top: 23px;
  }
  .hero-bottom {
    bottom: 20px;
    gap: 16px;
    align-items: flex-end;
  }
  .hero-bottom > span {
    font-size: 10px;
    line-height: 1.7;
    max-width: 190px;
  }
  .hero-bottom > a {
    font-size: 9px;
    letter-spacing: 0.5px;
    gap: 8px;
    flex-shrink: 0;
  }
  .benefits {
    padding: 8px 0;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .benefit,
  .benefit:first-child,
  .benefit:last-child {
    border-right: 0;
    border-bottom: 1px solid #ffffff20;
    padding: 24px 0 24px 45px;
    position: relative;
  }
  .benefit:last-child {
    border-bottom: 0;
  }
  .benefit-top {
    position: absolute;
    top: 27px;
    left: 0;
    margin: 0;
  }
  .benefit-top svg {
    width: 24px;
    height: 24px;
  }
  .benefit-top > span {
    display: none;
  }
  .benefit p {
    max-width: none;
    font-size: 13px;
  }
  .section {
    padding: 58px 0;
  }
  .section-label {
    font-size: 10px;
    letter-spacing: 1.2px;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 34px;
    letter-spacing: -0.4px;
  }
  .section-heading {
    gap: 17px;
    margin-bottom: 28px;
  }
  .section-heading > p {
    font-size: 14px;
  }
  .section-heading > p br {
    display: none;
  }
  .classes-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .class-info {
    padding-top: 17px;
  }
  .class-info h3 {
    font-size: 22px;
  }
  .class-info > p {
    min-height: 0;
    font-size: 14px;
  }
  .class-meta {
    font-size: 11px;
    gap: 10px 12px;
  }
  .class-meta > span + span {
    padding-left: 12px;
  }
  .class-link {
    font-size: 13px;
  }
  .content-disclaimer {
    font-size: 11px;
    margin-top: 26px;
  }
  .attention-hours {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
    margin-bottom: 25px;
  }
  .attention-hours .button {
    font-size: 12px;
    min-height: 46px;
  }
  .schedule-sample-label {
    font-size: 9px;
    letter-spacing: 0.7px;
  }
  .day-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 0 0 12px;
  }
  .day-tabs button {
    min-height: 48px;
    font-size: 13px;
  }
  .schedule-table-head {
    display: none;
  }
  .schedule-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 9px 13px;
    padding: 22px 12px;
  }
  .session-time {
    grid-row: 1 / 3;
    align-self: start;
    font-size: 24px;
    line-height: 1.3;
  }
  .session-time > span {
    display: block;
    font-size: 11px;
    margin-top: 5px;
  }
  .session-title {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
  }
  .session-title > span {
    font-size: 11px;
    margin-top: 4px;
  }
  .session-duration {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
  }
  .session-duration svg {
    width: 13px;
    height: 13px;
  }
  .session-link {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    min-height: 44px;
    font-size: 12px;
    width: auto;
  }
  .schedule-selection {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .schedule-note {
    font-size: 11px;
  }
  .about-photo {
    height: 320px;
  }
  .photo-caption {
    font-size: 9px;
    padding-inline: 14px;
  }
  .about-grid {
    gap: 30px;
  }
  .about-copy h2 {
    margin-bottom: 20px;
  }
  .about-copy > p:not(.section-label) {
    font-size: 14px;
    margin-top: 15px;
  }
  .about-copy > .about-lead {
    font-size: 16px !important;
  }
  .gallery-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 35px;
  }
  .gallery-heading > span {
    font-size: 11px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 23px 12px;
  }
  .gallery img {
    height: 190px;
  }
  .gallery figure:nth-child(2) img {
    height: 190px;
  }
  .gallery figcaption {
    font-size: 9px;
    line-height: 1.9;
  }
  .contact-detail p,
  .contact-detail a {
    font-size: 15px;
  }
  .location-actions {
    gap: 10px;
  }
  .location-actions .button {
    font-size: 12px;
    padding-inline: 16px;
  }
  .location-map iframe {
    height: 300px;
  }
  .location-map > a {
    font-size: 11px;
    padding-inline: 15px;
  }
  .faq-item h3 button {
    font-size: 14px;
    min-height: 72px;
    gap: 18px;
  }
  .faq-item [role="region"] > p {
    font-size: 14px;
    padding-right: 8px;
  }
  .closing-section {
    padding: 35px 0;
  }
  .closing-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
  }
  .closing-inner h2 {
    font-size: 32px;
  }
  .closing-inner .button {
    font-size: 12px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 26px 14px;
  }
  .footer-brand {
    width: 145px;
  }
  .footer-main > div > p {
    font-size: 12px;
  }
  .footer-social > a {
    font-size: 12px;
  }
  .footer-location > span,
  .footer-social > span {
    font-size: 9px;
    letter-spacing: 0.7px;
  }
  .footer-bottom {
    gap: 14px;
    font-size: 9px;
  }
  .footer-bottom > p:nth-child(2) {
    order: 3;
  }
  .footer-bottom > a {
    font-size: 8px;
    margin-left: auto;
  }
  .footer-disclaimer {
    font-size: 10px;
  }
}

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


/* Mantiene visibles las redes principales en la portada */
.mobile-nav[hidden] { display: none; }
.desktop-nav a {
  position: relative;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 1px;
  background: var(--color-brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}
.class-card:focus-within .class-image img {
  filter: saturate(1);
}
.button > svg:last-child,
.text-link > svg,
.class-link > svg {
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.button:active {
  transform: scale(0.98);
}
.class-image img {
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1), filter 400ms ease;
}
.program-card {
  transition: border-color 240ms ease, background-color 240ms ease;
}
.about-photo {
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button:hover > svg:last-child {
    transform: translate(2px, -2px);
  }
  .text-link:hover > svg,
  .class-link:hover > svg {
    transform: translateX(5px);
  }
  .class-card:hover .class-image img {
    transform: scale(1.025);
    filter: saturate(1);
  }
  .program-card:hover {
    border-color: var(--color-brand-accent);
    background-color: #262127;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button:active { transform: none; }
}

.hero-social {
  width: min(100%, 260px);
}

@property --light-x {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 70%;
}
@property --light-y {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 45%;
}
.hero {
  --light-x: 70%;
  --light-y: 45%;
  transition: --light-x 420ms cubic-bezier(0.16, 1, 0.3, 1), --light-y 420ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 440px 360px at var(--light-x) var(--light-y), #df168820, #df168808 48%, transparent 76%);
  opacity: 0.45;
  transition: opacity 400ms ease;
}
.hero.light-tracking::after { opacity: 1; }
.hero-image {
  transform: translateY(var(--hero-depth, 0px)) scale(1.06);
  transform-origin: 65% 50%;
}
.hero h1 { max-width: 14ch; }
.hero h1 > span { max-width: 19ch; }
.hero-shade {
  background: linear-gradient(90deg, #111112f2 0%, #111112d0 28%, #11111245 65%, #11111218 100%), linear-gradient(0deg, #111112d9, transparent 48%);
}
@media (min-width: 1101px) {
  .hero { min-height: 720px; }
  .hero-content { padding-top: 88px; padding-bottom: 132px; }
  .hero h1 { font-size: clamp(5rem, 8vw, 7rem); }
}
@media (prefers-reduced-motion: reduce), (hover: none) {
  .hero-image { transform: none; }
}
@media (prefers-reduced-motion: reduce), (hover: none) {
  .hero { transition: none; }
  .hero::after { opacity: 0.35; transition: none; }
}

/* Typography roles: display / section / card / reading / metadata. */
body { font-size: 1rem; line-height: 1.65; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.hero h1 { font-size: clamp(4rem, 8vw, 7rem); letter-spacing: -0.025em; }
.hero h1 > span { font-size: clamp(1.75rem, 3.2vw, 2.75rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(2.125rem, 3.6vw, 3.25rem); letter-spacing: -0.02em; line-height: 1.15; }
.class-info h3, .program-card h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); letter-spacing: -0.02em; }
.about-copy > p:not(.section-label),
.section-heading > p, .class-info > p,
.program-card > p, .location-intro,
.faq-item [role="region"] > p,
.faq-grid > div > p:not(.section-label),
.coordination-notes p { font-size: 1rem; line-height: 1.75; max-width: 65ch; }
.hero-description { font-size: 1.125rem; line-height: 1.65; }
.section-label, .eyebrow, .photo-caption,
.class-number, .hero-bottom > span,
.hero-bottom > a, .footer-navigation > span,
.footer-social > span, .contact-detail div > span,
.closing-inner p { font-size: 0.75rem; line-height: 1.6; letter-spacing: 0.06em; }
.footer-bottom, .footer-bottom > a,
.footer-disclaimer { font-size: 0.75rem; line-height: 1.7; }
.desktop-nav a, .button, .class-link, .text-link { line-height: 1.5; }
.hours-row dd, .program-duration { font-variant-numeric: tabular-nums; }
.hours-row dd > span { white-space: nowrap; }
@media (max-width: 700px) {
  .hours-row { grid-template-columns: 1fr; gap: 12px; }
  .hours-row dd { grid-template-columns: 1fr; gap: 8px; }
}

.section-label > span { font-size: 0.75rem; }
.about-photo img { aspect-ratio: 1086 / 1448; }

/* A shared rhythm keeps headings close to their content and sections distinct. */
.section { padding-block: clamp(64px, 7vw, 104px); }
.section-heading { gap: 24px; margin-bottom: 32px; }
.about-copy, .location-copy, .faq-grid > div { min-width: 0; }
.email-link, .footer-email { overflow-wrap: anywhere; }
.program-card h3 { min-height: 2.6em; line-height: 1.3; }
.class-link, .program-cta { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.class-link svg, .program-cta svg { flex-shrink: 0; }
.faq-section button:focus-visible { outline-color: var(--color-brand-pink-ink); outline-offset: -4px; }
.starting-guide summary:hover { color: var(--color-brand-accent); }
.footer-bottom > p:nth-child(2) { border: 0; padding: 0; }
@media (max-width: 600px) {
  .program-card h3 { min-height: 0; }
  .footer-bottom { gap: 12px 24px; }
}
@media (max-width: 600px) {
  .section-heading { gap: 16px; margin-bottom: 24px; }
  .footer-main { row-gap: 32px; }
}

/* Compact layouts preserve reading width, touch access, and safe-area space. */
/* Lateral entrances must not create a horizontal page scrollbar. */
@supports (overflow: clip) {
  main, .footer { overflow-x: clip; }
}
a { color: var(--color-brand-accent); }
a:visited { color: var(--color-brand-accent); }
.section-light a:not(.button),
.section-light a:hover:not(.button),
.faq-section a:not(.button),
.faq-section a:hover:not(.button) {
  color: var(--color-brand-pink-ink);
}
.contact-detail a, .starting-guide a { color: var(--color-brand-accent); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.button:visited { color: var(--color-bone); }
.site-header { transition: background-color 320ms ease, border-color 320ms ease, box-shadow 320ms ease; }
.site-header.is-scrolled { background-color: #111112; border-bottom-color: #83538f; box-shadow: 0 8px 24px #00000038; }
.button { transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }
.starting-guide summary svg { transition: transform 220ms ease; }
@media (prefers-reduced-motion: reduce) {
  .site-header, .button, .starting-guide summary svg { transition: none; }
}
.starting-guide { margin-bottom: 32px; border: 1px solid #83538f; padding: 0 24px; }
.starting-guide summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 16px; cursor: pointer; font-size: 1rem; font-weight: 650; list-style: none; }
.starting-guide summary::-webkit-details-marker { display: none; }
.starting-guide summary svg { flex-shrink: 0; }
.starting-guide[open] summary svg { transform: rotate(180deg); }
.starting-guide summary:focus-visible { outline: 2px solid var(--color-brand-gold); outline-offset: 4px; }
.starting-guide-content { padding-bottom: 24px; max-width: 70ch; }
.starting-guide-content > p { color: var(--color-text-muted); margin-bottom: 20px; }
.starting-guide ol { margin: 0; padding-left: 24px; display: grid; gap: 20px; }
.starting-guide li { padding-left: 8px; }
.starting-guide li::marker { color: var(--color-brand-accent); font-weight: 700; }
.starting-guide a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-bone); text-decoration: underline; text-underline-offset: 5px; }
.starting-guide a:hover { color: var(--color-brand-accent); }
.starting-guide li span { display: block; color: var(--color-text-secondary); font-size: 0.875rem; }
.header-inner > *, .location-actions > *, .footer-main > * { min-width: 0; }
.menu-toggle { flex-shrink: 0; }
.menu-toggle { background: transparent; color: var(--color-bone); border: 1px solid #83538f; }
.floating-whatsapp[hidden] { display: none; }
@media (max-width: 600px) {
  .contact-detail { gap: 12px; }
  .contact-detail > svg { width: 20px; }
}
@media (max-width: 600px) {
  .hero-bottom { padding-right: 64px; }
}
.button { white-space: normal; }
@media (pointer: coarse) {
  .class-link, .text-link, .footer-navigation > a,
  .footer-social > a, .hours-anchor, .hero-location,
  .hero-bottom > a, .contact-detail .email-link,
  .system-step-whatsapp { min-height: 44px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.75rem, 12vw, 4.5rem); overflow-wrap: anywhere; }
  .hero h1 > span { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .hero-content { padding-bottom: 120px; }
  .hero-location { flex-wrap: wrap; line-height: 1.6; }
  .hero-bottom { flex-wrap: wrap; }
  .location-actions { align-items: stretch; }
  .location-actions > .button { width: 100%; justify-content: space-between; }
  .floating-whatsapp { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 380px) {
  .header-inner { width: calc(100% - 24px); gap: 8px; }
  .header-cta { padding-inline: 10px; gap: 6px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-navigation, .footer-social { grid-column: 1; grid-row: auto; }
  .footer-bottom { align-items: flex-start; }
}
@media (max-height: 500px) and (max-width: 960px) {
  .site-header { position: relative; }
  .hero-content { padding-top: 32px; }
}

/* The three training goals are the first decision; memberships stay separate. */
.goal-programs .section-heading h2 { max-width: 650px; }
.goal-card { padding: 0; overflow: hidden; }
.goal-card-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface-raised); }
.goal-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.7); }
.goal-card-image--estetica img { object-position: center 24%; }
.goal-card-image--salud img,
.goal-card-image--longevidad img { object-position: center 12%; }
.goal-card-content { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 23px 24px 12px; }
.goal-card .program-cta { display: flex; align-items: center; min-height: 49px; }
.goal-card .program-duration { min-height: 24px; text-transform: uppercase; letter-spacing: .04em; }
.goal-card-content .program-duration { margin-top: 0; }
.goal-card h3 { min-height: 0; font-family: var(--font-heading); font-size: clamp(1.8rem, 2.5vw, 2.4rem); line-height: 1.15; text-transform: uppercase; }
.goal-card .program-attendance { max-width: 34ch; }
.goal-card-content .program-attendance { margin-bottom: 20px; }
.orientation-prompt { margin: 32px auto 0; color: var(--color-text-secondary); text-align: center; line-height: 1.8; }
.orientation-prompt a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-left: 5px; color: var(--color-brand-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.orientation-prompt a svg { flex: 0 0 auto; }

/* Programs are the primary choice; service photos remain present as compact references. */
@media (max-width: 960px) {
  .goal-programs .programs-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); }
}
.classes-section .classes-grid { gap: 32px 24px; }
.classes-section .class-card { display: grid; grid-template-columns: minmax(0, 32%) minmax(0, 1fr); align-items: start; gap: 20px; }
.classes-section .class-image { aspect-ratio: 1; }
.classes-section .class-info { padding-top: 4px; }
.classes-section .class-info > p { min-height: 0; margin-bottom: 12px; }
.classes-section .class-number { top: 10px; left: 10px; padding: 5px 7px; font-size: 12px; }
.gallery figcaption { font-size: 12px; }

@media (max-width: 600px) {
  .goal-programs .programs-grid { grid-template-columns: 1fr; }
  .goal-card-image { aspect-ratio: 4 / 3; }
  .goal-card-content { padding: 20px 21px 12px; }
  .classes-section .class-card { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }
  .gallery figcaption { font-size: 12px; }
}

.methodology-section { background: var(--color-graphite); }
.methodology-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr); align-items: center; gap: clamp(34px, 6vw, 80px); }
.methodology-content { min-width: 0; max-width: 660px; }
.methodology-section .section-heading { display: block; margin-bottom: 26px; }
.methodology-section .section-heading h2 { min-width: 0; max-width: 12ch; overflow-wrap: break-word; color: var(--color-bone); font-size: clamp(2.6rem, 5.2vw, 4.8rem); line-height: 1; }
.additional-services { display: grid; gap: 0; margin: 0 0 28px; padding: 0; }
.additional-services > div { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: 18px; padding: 17px 0; border-top: 1px solid var(--color-control-disabled); }
.additional-services dt { color: var(--color-brand-gold); font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; line-height: 1.2; text-transform: uppercase; }
.additional-services dd { color: var(--color-text-secondary); font-size: 1rem; line-height: 1.55; }
.methodology-cta { margin-top: 2px; }
.methodology-cta:focus-visible { outline: 2px solid var(--color-brand-gold); outline-offset: 4px; }
.methodology-photo { min-width: 0; margin: 0; }
.methodology-photo img { width: 100%; height: auto; border-left: 4px solid var(--color-brand-pink); }
.methodology-photo figcaption { margin-top: 13px; color: var(--color-text-muted); font-size: .875rem; line-height: 1.5; }

.membership-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .85fr); align-items: end; gap: clamp(24px, 5vw, 64px); margin-bottom: 36px; }
.membership-heading h2 { min-width: 0; max-width: 12ch; overflow-wrap: break-word; }
.membership-heading > p { max-width: 56ch; color: var(--color-text-secondary); font-size: 1rem; line-height: 1.7; }
.membership-groups { display: grid; gap: 36px; }
.membership-group > h3 { margin: 0 0 15px; color: var(--color-brand-gold); font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; line-height: 1.25; text-transform: uppercase; }
.membership-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.membership-grid-flexible { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.membership-grid-flexible > .membership-card:first-child { grid-column: 2; }
.membership-grid-flexible > .membership-card:last-child { grid-column: 3; }
.membership-card { min-height: 258px; padding: 24px 22px 12px; border-top: 2px solid var(--color-brand-pink); }
.membership-card .program-duration { margin: 0 0 15px; font-size: .75rem; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; }
.membership-card h4 { min-width: 0; max-width: none; margin: 0; color: var(--color-bone); font-family: var(--font-heading); font-size: clamp(1.25rem, 1.5vw, 1.45rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; text-transform: uppercase; overflow-wrap: break-word; }
.membership-card .program-attendance { min-height: 3em; margin: 14px 0 18px; color: var(--color-text-secondary); font-size: 1rem; font-weight: 400; line-height: 1.5; }
.membership-card .program-cta { display: flex; align-items: center; width: 100%; min-height: 50px; gap: 10px; padding: 12px 0; font-size: .875rem; }
.membership-card .program-cta:focus-visible { outline: 2px solid var(--color-brand-gold); outline-offset: 4px; }

.program-detail-hero { padding-block: clamp(54px, 8vw, 104px); background: var(--color-graphite); border-bottom: 1px solid #ffffff18; }
.detail-hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(38px, 7vw, 96px); }
.detail-hero-copy { min-width: 0; }
.detail-hero-copy .section-label, .detail-aside-label { color: var(--color-brand-gold); }
.detail-hero-copy h1 { max-width: 12ch; font-family: var(--font-heading); font-size: clamp(3.25rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.025em; line-height: 1; text-transform: uppercase; text-wrap: balance; }
.detail-hero-copy h1 > span { display: block; max-width: 25ch; margin-top: 18px; font-family: var(--font-sans); font-size: clamp(1.2rem, 2.15vw, 1.7rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.35; text-transform: none; }
.detail-lead { max-width: 60ch; margin-top: 22px; color: var(--color-text-secondary); font-size: 1rem; line-height: 1.8; }
.detail-hero-copy .hero-actions { margin-top: 28px; }
.detail-hero-visual { height: clamp(340px, 42vw, 540px); min-width: 0; overflow: hidden; background: var(--color-surface-raised); }
.detail-hero-visual img { object-position: center 34%; }
.program-information .section-heading h2 { max-width: 660px; }
.program-content-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: clamp(36px, 7vw, 88px); align-items: start; }
.program-copy-block { min-width: 0; }
.program-copy-block h3, .program-followup h3 { margin: 0 0 10px; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; line-height: 1.3; text-transform: uppercase; }
.program-copy-block p, .detail-focus-list { margin: 0 0 27px; color: #514d50; font-size: 1rem; line-height: 1.8; }
.detail-focus-list { display: grid; gap: 10px; padding-left: 22px; }
.detail-focus-list li::marker { color: var(--color-brand-pink); }
.program-followup { min-width: 0; padding: 25px; background: #19191a; border: 1px solid #ffffff25; color: var(--color-bone); }
.program-followup h3 { font-size: 1.45rem; }
.program-followup p:not(.detail-aside-label) { margin-bottom: 18px; color: var(--color-text-secondary); line-height: 1.8; }
.program-followup .text-link { min-height: 44px; }
.program-modalities-row { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.program-modalities-row > div { max-width: 72ch; }
.program-modalities-row h2 { max-width: 680px; margin-bottom: 16px; }
.program-modalities-row > div > p:last-child { color: var(--color-text-secondary); line-height: 1.8; }
.program-modalities-row > .button { flex: 0 0 auto; }
.program-faq-inner { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: clamp(35px, 7vw, 96px); align-items: start; }
.program-faq-inner h2 { max-width: 11ch; }
.program-faq-list { border-top: 1px solid #11111228; }
.program-faq-list details { border-bottom: 1px solid #11111228; }
.program-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; cursor: pointer; font-weight: 700; line-height: 1.5; list-style: none; }
.program-faq-list summary::-webkit-details-marker { display: none; }
.program-faq-list summary:focus-visible { outline: 2px solid var(--color-brand-pink-ink); outline-offset: 4px; }
.program-faq-list summary svg { flex: 0 0 auto; transition: transform 180ms ease; }
.program-faq-list details[open] summary svg { transform: rotate(180deg); }
.program-faq-list details > p { max-width: 68ch; padding: 0 40px 22px 0; color: #514d50; line-height: 1.8; }
.closing-inner > div { max-width: 68ch; }
.closing-inner > div > .section-label { margin-bottom: 10px; }
.closing-inner > div > p:not(.section-label) { margin-top: 12px; color: var(--color-text-secondary); line-height: 1.75; }

@media (max-width: 900px) {
  .membership-heading { grid-template-columns: minmax(0, 1fr) minmax(240px, .85fr); gap: 24px; }
  .membership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .membership-grid-flexible > .membership-card:first-child,
  .membership-grid-flexible > .membership-card:last-child { grid-column: auto; }
  .membership-card { min-height: 240px; }
  .methodology-layout { gap: 32px; }
  .additional-services > div { grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 12px; }
  .detail-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); gap: 34px; }
  .program-modalities-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
  .program-content-grid, .program-faq-inner { grid-template-columns: 1fr; }
  .program-faq-inner h2 { max-width: 18ch; }
  .detail-hero-inner { grid-template-columns: 1fr; }
  .detail-hero-copy h1 { max-width: 100%; font-size: clamp(3rem, 12vw, 4.75rem); }
  .detail-hero-copy h1 > span { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .detail-hero-visual { height: min(110vw, 440px); }
}
@media (max-width: 600px) {
  .goal-card { padding: 0; }
  .goal-card h3 { font-size: 1.8rem; }
  .orientation-prompt { text-align: left; }
  .orientation-prompt a { margin-left: 0; }
  .membership-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .membership-groups { gap: 30px; }
  .membership-grid { grid-template-columns: 1fr; gap: 14px; }
  .membership-card { min-height: 0; padding: 20px 19px 10px; }
  .membership-card .program-attendance { min-height: 0; margin: 12px 0 16px; }
  .methodology-layout { grid-template-columns: 1fr; gap: 32px; }
  .methodology-content { max-width: none; }
  .additional-services > div { grid-template-columns: 1fr; gap: 6px; }
  .methodology-photo { width: min(100%, 540px); }
  .program-followup { padding: 21px; }
  .program-modalities-row > .button { width: 100%; justify-content: space-between; }
  .program-faq-list summary { min-height: 72px; }
  .program-faq-list details > p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .membership-card, .membership-card .program-cta { transition: none; }
  .program-faq-list summary svg { transition: none; }
}
.section-light a:focus-visible,
.section-light button:focus-visible,
.section-light summary:focus-visible,
.faq-section a:focus-visible {
  outline-color: var(--color-brand-pink-ink);
}

/* The system section follows the three training programs and uses a reserved photo slot. */
.system-section { padding-block: clamp(30px, 5.5vh, 48px); background: var(--color-graphite); }
.system-section .section-label { color: var(--color-brand-gold); }
.system-section > .container > .section-label { margin-bottom: 14px; }
.system-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr); align-items: stretch; gap: clamp(28px, 4vw, 56px); }
.system-content { min-width: 0; }
.system-section .section-heading { display: block; margin-bottom: 22px; }
.system-section .section-heading h2 { max-width: 19ch; color: var(--color-bone); font-size: clamp(2.45rem, 3.6vw, 3.8rem); line-height: 1; }
.system-section .section-heading > p { max-width: 64ch; margin-top: 14px; color: var(--color-text-secondary); font-size: 1rem; line-height: 1.55; }
.system-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; overflow: visible; }
.system-step { position: relative; display: block; min-width: 0; padding: 8px clamp(9px, 1vw, 16px) 13px; background-image: linear-gradient(var(--color-control-disabled), var(--color-control-disabled)); background-position: right center; background-repeat: no-repeat; background-size: 1px calc(100% - 32px); outline: none; transition: transform .28s ease; }
.system-step:nth-child(4) { background-image: none; }
.system-step::before { position: absolute; inset: 0; z-index: 0; box-sizing: border-box; border-left: 3px solid var(--color-brand-pink); border-radius: 3px 0 0 3px; background: linear-gradient(90deg, rgb(223 22 136 / 17%), rgb(223 22 136 / 8%) 42%, transparent 91%) 0 0 / 100% 100% no-repeat, linear-gradient(90deg, rgb(223 22 136 / 88%), rgb(223 22 136 / 0%) 88%) 0 100% / 100% 1px no-repeat; box-shadow: -5px 0 17px rgb(223 22 136 / 24%), 0 0 17px rgb(223 22 136 / 8%); content: ""; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.system-step-rail { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; min-height: 36px; }
.system-step-line { display: block; flex: 1; min-width: 18px; height: 1px; background: linear-gradient(90deg, rgb(223 22 136 / 92%), rgb(223 22 136 / 38%)); }
.system-step-number { position: relative; z-index: 2; display: grid; flex: 0 0 36px; width: 36px; height: 36px; box-sizing: border-box; place-items: center; border: 1px solid var(--color-brand-pink); border-radius: 50%; background: var(--color-graphite); color: var(--color-brand-pink); font-size: .9rem; font-weight: 750; line-height: 1; transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease; }
.system-step-copy { position: relative; z-index: 2; margin-top: 8px; }
.system-step h3 { color: var(--color-bone); font-family: var(--font-heading); font-size: clamp(1.05rem, 1.2vw, 1.2rem); font-weight: 600; line-height: 1.25; text-wrap: balance; text-transform: uppercase; }
.system-step-detail { display: grid; margin-top: 6px; }
.system-step-detail > p,
.system-step-whatsapp { grid-area: 1 / 1; align-self: center; transition: opacity .25s ease, color .25s ease, background-color .25s ease, border-color .25s ease; }
.system-step-detail > p { color: var(--color-text-secondary); font-size: .95rem; line-height: 1.45; }
.system-step-whatsapp { visibility: hidden; justify-self: start; max-width: 100%; min-height: 34px; padding: 7px 9px; border: 1px solid var(--color-brand-pink); color: var(--color-bone); font-size: .75rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; opacity: 0; pointer-events: none; }
.system-step-whatsapp:focus-visible { outline: 2px solid var(--color-brand-pink); outline-offset: 3px; }
.system-step-whatsapp:hover { border-color: var(--color-brand-pink); background-color: var(--color-brand-pink); color: var(--color-bone); }
.system-step:hover,
.system-step:focus-within { z-index: 3; transform: scale(1.025); }
.system-step:hover::before,
.system-step:focus-within::before { opacity: 1; }
.system-step:hover .system-step-number,
.system-step:focus-within .system-step-number { border-color: var(--color-brand-pink); background-color: var(--color-brand-pink); color: var(--color-bone); box-shadow: 0 0 15px rgb(223 22 136 / 40%); }
.system-step:hover .system-step-detail > p,
.system-step:focus-within .system-step-detail > p { opacity: 0; }
.system-step:hover .system-step-whatsapp,
.system-step:focus-within .system-step-whatsapp { visibility: visible; opacity: 1; pointer-events: auto; }
.system-step:focus-visible { outline: 2px solid var(--color-brand-pink); outline-offset: 2px; }
.photo-placeholder { box-sizing: border-box; display: flex; width: 100%; height: 100%; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; overflow: hidden; border: 1px dashed #8b7889; background: radial-gradient(ellipse at 72% 18%, #5c354d 0, transparent 40%), linear-gradient(135deg, #29262b, #1e1d20); color: var(--color-bone); text-align: center; }
.photo-placeholder::before { width: 42px; height: 42px; border: 1px solid var(--color-brand-pink); border-radius: 50%; content: ""; box-shadow: inset 0 0 0 7px #d43e8c18; }
.photo-placeholder-kicker { color: var(--color-brand-gold); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.photo-placeholder strong { max-width: 24ch; font-family: var(--font-heading); font-size: clamp(1rem, 1.7vw, 1.35rem); line-height: 1.2; text-transform: uppercase; }
.photo-placeholder-note { max-width: 35ch; color: var(--color-text-secondary); font-size: .85rem; line-height: 1.5; }
.system-photo-placeholder { min-height: clamp(420px, 50vh, 500px); border-top: 0; border-right: 0; border-bottom: 0; border-left: 4px solid var(--color-brand-pink); }
.goal-card-image > .photo-placeholder { padding: 16px; }
.detail-photo-placeholder { min-height: 100%; }
.gallery-placeholder { height: 360px; }
.class-image-placeholder .image-pending { z-index: 1; }

@media (max-width: 860px) {
  .system-layout { grid-template-columns: 1fr; }
  .system-photo-placeholder { min-height: 420px; }
}
@media (max-width: 760px) {
  .system-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-step:nth-child(2) { background-image: none; }
}
@media (max-width: 600px) {
  .system-section { padding-block: clamp(44px, 12vw, 62px); }
  .system-steps { grid-template-columns: 1fr; }
  .system-step { padding: 14px 16px 17px; background-image: none; }
  .system-step:nth-child(2), .system-step:nth-child(3) { background-image: none; }
  .system-step-rail { gap: 13px; }
  .system-step-number { flex-basis: 34px; width: 34px; height: 34px; }
  .system-step-copy { margin-top: 9px; }
  .system-section .section-heading h2 { max-width: 17ch; font-size: clamp(2.35rem, 10vw, 3.35rem); }
  .system-section .section-heading > p { margin-top: 18px; font-size: 1rem; }
  .system-photo-placeholder { min-height: 300px; }
  .gallery-placeholder { height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .system-step,
  .system-step::before,
  .system-step-number,
  .system-step-detail > p,
  .system-step-whatsapp { transition: none !important; }
  .system-step:hover,
  .system-step:focus-within { transform: none; }
}
@media (hover: none) {
  .system-step-detail { grid-template-rows: auto auto; row-gap: 10px; }
  .system-step-detail > p { grid-row: 1; opacity: 1; }
  .system-step-whatsapp { grid-row: 2; visibility: visible; opacity: 1; pointer-events: auto; }
}

/* Image assets added to the ESFITNESS photo areas. */
.goal-card-image--salud img { object-position: center 28%; }
.goal-card-image--longevidad img { object-position: center 70%; }
.system-photo-placeholder:not(.photo-placeholder) { display: block; height: clamp(390px, 48vh, 480px); min-height: 0; overflow: hidden; }
.system-photo-placeholder:not(.photo-placeholder) > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
@media (max-width: 860px) {
  .system-photo-placeholder:not(.photo-placeholder) { height: 420px; }
}
@media (max-width: 600px) {
  .system-photo-placeholder:not(.photo-placeholder) { height: 300px; }
}.detail-hero-visual > img[src*="salud-"] { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }

/* Keep both evaluation photos fully visible in their frames. */
.system-photo-placeholder:not(.photo-placeholder) > img { object-fit: contain; object-position: center; background: var(--color-graphite); }
.gallery img[src*="medidas-"] { width: 100%; object-fit: contain; object-position: center; background: var(--color-graphite); }
.detail-hero-visual > img[src*="longevidad-"] { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }

/* Give compact service cards enough room for their photo and action on phones. */
@media (max-width: 600px) {
  .classes-section .class-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
  }
  .classes-section .class-image { aspect-ratio: 1; }
  .classes-section .class-info { min-width: 0; }
  .classes-section .class-info h3 {
    font-size: clamp(1rem, 4vw, 1.15rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .classes-section .class-link {
    justify-content: flex-start;
    gap: 8px;
    min-height: 44px;
    font-size: .75rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .classes-section .class-link svg { width: 16px; height: 16px; }
  .floating-whatsapp { right: max(18px, env(safe-area-inset-right, 0px)); }
}
@media (max-width: 380px) {
  .classes-section .class-card { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
}

/* On phones, let visitors browse their training goals one card at a time. */
.goal-carousel-navigation[hidden] { display: none; }
@media (max-width: 600px) {
  .goal-programs .goal-carousel-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-inline: -2px;
    padding: 4px 2px 16px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--color-brand-accent) transparent;
    -webkit-overflow-scrolling: touch;
  }
  .goal-programs .goal-carousel-track > .goal-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .goal-programs .goal-carousel-track::after {
    content: "";
    flex: 0 0 14%;
  }
  .goal-programs .goal-carousel-track:focus-visible {
    outline: 2px solid var(--color-brand-gold);
    outline-offset: 3px;
  }
  .goal-carousel-navigation:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
  }
  .goal-carousel-hint {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: .8rem;
    line-height: 1.4;
  }
  .goal-carousel-controls { display: flex; align-items: center; gap: 6px; }
  .goal-carousel-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #83538f;
    background: transparent;
    color: var(--color-bone);
  }
  .goal-carousel-button:disabled { opacity: .45; }
  .goal-carousel-button:focus-visible {
    outline: 2px solid var(--color-brand-gold);
    outline-offset: 3px;
  }
  .goal-carousel-status {
    min-width: 2.8em;
    color: var(--color-text-secondary);
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
  }
}
