:root {
  --ink: #20161f;
  --ink-soft: #4f444d;
  --paper: #fff8f2;
  --white: #ffffff;
  --coral: #f0585d;
  --coral-deep: #bf2f57;
  --teal: #007c78;
  --gold: #c9933b;
  --line: rgba(32, 22, 31, 0.14);
  --shadow: 0 24px 80px rgba(32, 22, 31, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px 36px;
  color: var(--white);
  background: rgba(22, 16, 21, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: var(--coral);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.language-switcher button {
  width: 36px;
  height: 32px;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 82svh;
  padding: 124px 36px 72px;
  color: var(--white);
  background: #20161f;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(23, 15, 22, 0.97) 0%, rgba(23, 15, 22, 0.9) 36%, rgba(23, 15, 22, 0.62) 55%, rgba(23, 15, 22, 0.18) 78%, rgba(23, 15, 22, 0.05) 100%),
    linear-gradient(0deg, rgba(23, 15, 22, 0.22), rgba(23, 15, 22, 0.06));
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(76%, 980px);
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 4%, rgba(0, 0, 0, 0.5) 14%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 4%, rgba(0, 0, 0, 0.5) 14%, #000 28%);
  object-fit: cover;
  object-position: 50% 24%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd6c8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: 66px;
  line-height: 0.96;
  font-weight: 900;
}

h1 sup,
.hero-subtitle sup,
.certification sup,
.instructor-photo figcaption sup,
.site-footer sup,
.brand small sup {
  position: relative;
  top: -0.35em;
  font-size: 0.48em;
  line-height: 0;
}

.hero-subtitle {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 18px 36px rgba(240, 88, 93, 0.32);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.button-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.certification {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.fact-band {
  padding: 18px 36px 26px;
  background: var(--white);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.fact {
  min-height: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.fact span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.fact strong {
  display: block;
  font-size: 19px;
  line-height: 1.25;
}

.section {
  padding: 96px 36px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-light {
  background: var(--paper);
}

.section-image {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(32, 22, 31, 0.94), rgba(32, 22, 31, 0.76)),
    url("assets/photos/zumba-class-seaside.jpg") center / cover;
}

.section-schedule {
  background: var(--white);
}

.section-contact {
  color: var(--white);
  background: #20161f;
}

.two-column,
.about-layout,
.photo-layout,
.schedule-panel,
.reviews-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.about-layout {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.instructor-photo {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 52% 30%;
  display: block;
}

.instructor-photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(32, 22, 31, 0.58);
  backdrop-filter: blur(14px);
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: 42px;
  line-height: 1.08;
}

h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.section-copy p,
.section-heading p,
.schedule-panel p,
.reviews-layout p,
.contact-layout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.section-image .section-heading p,
.section-contact .contact-layout p {
  color: rgba(255, 255, 255, 0.76);
}

.lead {
  margin-bottom: 18px;
  font-size: 21px;
  line-height: 1.62;
}

.section-copy h2 + .lead {
  margin-top: 24px;
}

.section-copy p + p {
  margin-top: 20px;
}

.section-heading {
  max-width: 780px;
}

.section-heading p {
  margin-top: 20px;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.class-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.class-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.6;
}

.section-photos {
  background: var(--paper);
}

.photo-layout {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.photo-card {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(32, 22, 31, 0.12);
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.photo-main {
  grid-row: span 2;
  min-height: 614px;
}

.photo-main img {
  min-height: 614px;
  object-position: 50% 44%;
}

.photo-card:nth-child(2) img {
  object-position: 50% 55%;
}

.photo-card:nth-child(3) img {
  object-position: 50% 53%;
}

.photo-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  border-radius: 8px;
  background: rgba(32, 22, 31, 0.62);
  backdrop-filter: blur(14px);
}

.schedule-panel {
  align-items: stretch;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 88, 93, 0.1), rgba(0, 124, 120, 0.1)),
    var(--paper);
  box-shadow: var(--shadow);
}

.schedule-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.schedule-list {
  display: grid;
  gap: 14px;
}

.schedule-slot {
  display: grid;
  grid-template-columns: minmax(130px, 0.44fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(32, 22, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.schedule-time span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.schedule-time strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.schedule-slot h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.schedule-slot p {
  font-size: 15px;
  line-height: 1.45;
}

.schedule-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.review-rating {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
}

.review-grid {
  display: grid;
  gap: 14px;
}

.review-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(32, 22, 31, 0.08);
}

.review-card p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.58;
}

.review-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 13px;
}

.review-card footer strong {
  color: var(--ink);
}

.review-source {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white);
  border-radius: 8px;
  background: var(--teal);
  font-weight: 850;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-list a {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.contact-list a::after {
  content: "↗";
  color: #ffd6c8;
}

.contact-list a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.site-footer {
  padding: 26px 36px;
  color: rgba(255, 255, 255, 0.68);
  background: #20161f;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer p + p,
.site-footer p + a {
  margin-top: 6px;
}

.site-footer a {
  width: fit-content;
  color: #ffd6c8;
  font-weight: 800;
}

.noscript {
  max-width: 760px;
  margin: 80px auto;
  padding: 0 24px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 14px 18px;
  }

  .site-nav {
    grid-column: 1 / -1;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 78svh;
    padding: 138px 22px 54px;
  }

  .hero-image {
    width: 78%;
    object-position: 50% 23%;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .fact-grid,
  .class-grid,
  .two-column,
  .about-layout,
  .photo-layout,
  .schedule-panel,
  .reviews-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .schedule-actions {
    justify-content: flex-start;
  }

  .schedule-slot {
    grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1fr);
  }

  .section {
    padding: 72px 22px;
  }

  .instructor-photo,
  .instructor-photo img {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
  }

  .brand {
    justify-content: space-between;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .language-switcher button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 74svh;
    padding: 192px 18px 46px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(23, 15, 22, 0.88), rgba(23, 15, 22, 0.56)),
      linear-gradient(0deg, rgba(23, 15, 22, 0.46), rgba(23, 15, 22, 0.12));
  }

  .hero-image {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    object-position: 57% 42%;
  }

  h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  h2 {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .fact-band {
    padding: 14px 18px 20px;
  }

  .fact {
    min-height: 86px;
    padding: 18px;
  }

  .section {
    padding: 60px 18px;
  }

  .class-card,
  .schedule-panel {
    padding: 22px;
  }

  .schedule-slot {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .schedule-time strong {
    font-size: 30px;
  }

  .instructor-photo,
  .instructor-photo img {
    min-height: 460px;
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
  }

  .photo-main,
  .photo-main img,
  .photo-card,
  .photo-card img {
    min-height: 390px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }
}
