/* ============================================================
   NORDKLANG MUSIKATELIER — Stylesheet
   Colors: white + logo brick red (#8E2D24)
   Font: Poppins (loaded via <link> in HTML for faster discovery)
   ============================================================ */

:root {
  --red: #8e2d24;
  --red-dark: #6f2019;
  --red-soft: #b8564b;
  --ink: #1a1614;
  --text: #4a4340;
  --muted: #8a807b;
  --white: #ffffff;
  --cream: #fbf8f6;
  --line: #ece5e2;
  --shadow: 0 18px 50px -20px rgba(142, 45, 36, 0.28);

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --app-height: 100vh;
  --hero-mobile-extra: 2.5rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-3px); background: var(--red-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }
.btn svg { width: 16px; height: 16px; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  --nav-bar-h: calc(4.75rem + env(safe-area-inset-top, 0px));
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  padding: 0.9rem var(--gutter);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(0,0,0,0.25);
}
.site-header {
  display: contents;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  order: 1;
  flex: 0 0 auto;
}
.nav-logo img {
  height: 46px; width: auto; display: block; object-fit: contain;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  order: 3;
  flex: 0 0 auto;
  margin-left: 1.75rem;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}
.lang-switch__opt {
  color: var(--muted);
  padding: 0.35rem 0.25rem;
  transition: color 0.25s;
}
.lang-switch__opt:hover { color: var(--ink); }
.lang-switch__opt.is-active {
  color: var(--red);
  pointer-events: none;
}
.lang-switch__sep {
  color: var(--muted);
  opacity: 0.55;
  font-weight: 500;
  padding: 0 0.15rem;
}
.nav-panel { display: contents; }
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  order: 2;
}
.nav-links li { list-style: none; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink); position: relative; padding: 0.2rem 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--red); transition: width 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .nav-cta { color: var(--red); font-weight: 600; }
.nav-links .nav-cta::after { display: none; }

.burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem;
  touch-action: manipulation;
}
.burger span {
  display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-nav {
    display: block;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
  }
  .site-nav.scrolled .site-header {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(0,0,0,0.25);
  }
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(0.9rem, env(safe-area-inset-top, 0px)) var(--gutter) 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  .nav-logo {
    order: 0;
    position: relative;
    z-index: 120;
  }
  .header-tools {
    order: 0;
    margin-left: 0;
    position: relative;
    z-index: 120;
  }
  .nav-links {
    margin: 0;
    justify-content: flex-start;
  }
  .burger { display: block; position: relative; z-index: 120; }

  .nav-panel {
    display: block;
    position: fixed;
    top: var(--nav-bar-h);
    left: 0;
    right: 0;
    z-index: 110;
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid transparent;
    box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.18);
    transition: max-height 0.4s var(--ease), border-color 0.3s;
    pointer-events: none;
  }
  .nav-panel.open {
    max-height: calc(100dvh - var(--nav-bar-h));
    max-height: calc(100svh - var(--nav-bar-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom-color: var(--line);
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a {
    display: block;
    font-size: 1.15rem;
    padding: 1rem 0.25rem;
  }
  .nav-links a::after,
  .nav-links a:hover::after,
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    padding: 0.95rem 1rem;
    border-radius: 100px;
    background: var(--red);
    color: #fff;
  }
  body.menu-open { overflow: hidden; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; position: relative;
  padding: 6rem var(--gutter) 3rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
}
@media (max-width: 768px) {
  .hero {
    min-height: calc(var(--app-height) + var(--hero-mobile-extra));
  }
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__bg picture,
.hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__bg img {
  object-fit: cover;
  object-position: center;
  opacity: 0;
}
.hero__bg.is-loaded img {
  animation: hero-photo-fade 2.2s var(--ease) forwards;
}
@keyframes hero-photo-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(ellipse 70% 48% at 50% 48%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 42%, rgba(255, 255, 255, 0.2) 68%, transparent 82%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.18) 100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg.is-loaded img {
    animation: hero-photo-fade 0.5s var(--ease) forwards !important;
  }
}
.hero-content,
.scroll-cue {
  position: relative;
  z-index: 1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(640px, 94vw);
  padding: 0 0.5rem;
  animation: rise 1s var(--ease) both;
}
.hero-logo {
  width: min(320px, 68vw); height: auto;
  filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.5));
}
.hero-tag {
  margin-top: 1.5rem; font-size: clamp(1rem, 2.4vw, 1.32rem);
  color: var(--ink); font-weight: 400;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.hero-tag-line { display: block; }
.hero-tag-line--sub { white-space: nowrap; font-size: clamp(0.92rem, 2.2vw, 1.2rem); font-weight: 300; }
.hero-tag strong { color: var(--red); font-weight: 600; }
.hero-place {
  margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #000;
}

/* animated equalizer scroll indicator */
.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 0; right: 0;
  width: fit-content; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  color: #fff; animation: rise 1s var(--ease) 0.5s both;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.scroll-cue span { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; }
.eq { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.eq i {
  width: 4px; background: var(--red); border-radius: 3px;
  animation: eq 1.1s ease-in-out infinite;
}
.eq i:nth-child(1) { animation-delay: 0s; height: 40%; }
.eq i:nth-child(2) { animation-delay: 0.15s; height: 80%; }
.eq i:nth-child(3) { animation-delay: 0.3s; height: 55%; }
.eq i:nth-child(4) { animation-delay: 0.45s; height: 95%; }
.eq i:nth-child(5) { animation-delay: 0.6s; height: 50%; }
@keyframes eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.eq i { transform-origin: bottom; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(3.25rem, 6vw, 5.5rem) 0; position: relative; }
.section-decor-left,
.section-decor-right { overflow: visible; }
.section-decor-left > .wrap,
.section-decor-right > .wrap { position: relative; z-index: 1; }

.section-decor-left::before,
.section-decor-right::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50%;
  aspect-ratio: 1;
  max-height: min(88vh, 820px);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.section-decor-left::before {
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50' preserveAspectRatio='xMinYMid meet'%3E%3Ccircle cx='0' cy='25' r='24.5' fill='none' stroke='%238e2d24' stroke-opacity='0.13' stroke-width='0.45'/%3E%3Ccircle cx='0' cy='25' r='19' fill='none' stroke='%238e2d24' stroke-opacity='0.1' stroke-width='0.45'/%3E%3Ccircle cx='0' cy='25' r='13.5' fill='none' stroke='%238e2d24' stroke-opacity='0.08' stroke-width='0.45'/%3E%3Ccircle cx='0' cy='25' r='8' fill='none' stroke='%238e2d24' stroke-opacity='0.06' stroke-width='0.45'/%3E%3C/svg%3E");
  background-position: left center;
}

.section-decor-right::after {
  right: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50' preserveAspectRatio='xMaxYMid meet'%3E%3Ccircle cx='50' cy='25' r='24.5' fill='none' stroke='%238e2d24' stroke-opacity='0.13' stroke-width='0.45'/%3E%3Ccircle cx='50' cy='25' r='19' fill='none' stroke='%238e2d24' stroke-opacity='0.1' stroke-width='0.45'/%3E%3Ccircle cx='50' cy='25' r='13.5' fill='none' stroke='%238e2d24' stroke-opacity='0.08' stroke-width='0.45'/%3E%3Ccircle cx='50' cy='25' r='8' fill='none' stroke='%238e2d24' stroke-opacity='0.06' stroke-width='0.45'/%3E%3C/svg%3E");
  background-position: right center;
}

#about.section-decor-left::before { top: 28%; }
#lessons.section-decor-right::after { top: 38%; }
#atelier.section-decor-low::before { top: 58%; }
#prices.section-decor-high::after { top: 30%; }
.contact-hero.section-decor-right::after { top: 42%; max-height: min(70vh, 640px); }

@media (max-width: 780px) {
  .section-decor-left::before,
  .section-decor-right::after {
    width: 100%;
    max-height: min(92vh, 900px);
  }

  .contact-hero.section-decor-right::after {
    max-height: min(85vh, 820px);
  }
}

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
.section-head p { margin-top: 1rem; color: var(--text); font-size: 1.05rem; }
.section-head-line { display: block; }
.section-head-about { max-width: 760px; }
.section-head-about h2 {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}
.section-head-about .section-head-line { white-space: nowrap; }
@media (max-width: 780px) {
  .section-head-about h2 {
    font-size: clamp(1.3rem, 6vw, 1.75rem);
  }
}
.about-intro { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.about-intro p { margin: 0; color: var(--text); font-size: 1.05rem; }
.section-head-prices { max-width: none; }
.section-head-prices .section-head-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.45rem 0.75rem;
}
.section-head-prices h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head-prices .price-intro {
  margin-top: 1rem; max-width: 720px; color: var(--text); font-size: 1.05rem;
}
@media (min-width: 900px) {
  .section-head-prices .section-head-line { flex-wrap: nowrap; }
}

/* red gradient sections */
.section-tint {
  background:
    linear-gradient(180deg, var(--white), var(--cream) 30%, var(--cream) 70%, var(--white));
}
.section-red {
  background: linear-gradient(150deg, var(--red-dark), var(--red) 55%, #a3382d);
  color: rgba(255,255,255,0.9);
}
.section-red h2, .section-red h3 { color: #fff; }
.section-red .eyebrow { color: rgba(255,255,255,0.75); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   ABOUT
   ============================================================ */
.person { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.person + .person { margin-top: clamp(3.5rem, 8vw, 6rem); }
.person.reverse .person-media { order: 2; }
.person-media {
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4 / 5; background: var(--cream);
  box-shadow: var(--shadow);
}
.person-media img { width: 100%; height: 100%; object-fit: cover; }
.person-media picture { display: block; width: 100%; height: 100%; }
.img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; color: var(--muted); font-size: 0.9rem;
  background:
    repeating-linear-gradient(45deg, var(--cream), var(--cream) 14px, #f3ece9 14px, #f3ece9 28px);
  border: 1px dashed var(--line);
}
.person-body h3 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.person-body .role { color: var(--red); font-weight: 500; margin: 0.35rem 0 1.4rem; font-size: 1rem; }
.person-body p { margin-bottom: 1rem; }

@media (max-width: 780px) {
  .person, .person.reverse { grid-template-columns: 1fr; }
  .person.reverse .person-media { order: 0; }
  .person-media { aspect-ratio: 3 / 4; max-width: 420px; }
}

/* ============================================================
   LESSONS (tabbed)
   ============================================================ */
.lesson-switcher {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}
.lesson-switcher__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lesson-switcher__mark {
  position: relative;
  display: inline-block;
  flex: none;
  --ball-step: 0;
  --mark-col: 0.75rem;
  --mark-gap: 0.4rem;
  --mark-ball: 0.48rem;
}
.lesson-switcher__track {
  display: grid;
  grid-template-columns: repeat(3, var(--mark-col));
  column-gap: var(--mark-gap);
  align-items: center;
  height: var(--mark-ball);
}
.lesson-switcher__dot {
  width: 0.38rem;
  height: 0.38rem;
  justify-self: center;
  border-radius: 50%;
  background: var(--red-soft);
  opacity: 0.35;
}
.lesson-switcher__ball {
  position: absolute;
  top: 50%;
  left: calc((var(--mark-col) / 2) + var(--ball-step) * (var(--mark-col) + var(--mark-gap)));
  width: var(--mark-ball);
  height: var(--mark-ball);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%);
  transition: left 0.38s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.lesson-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.4rem;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(26, 22, 20, 0.04);
}
.lesson-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 2.85rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  padding: 0.65rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  white-space: normal;
  hyphens: manual;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.lesson-tab:hover {
  border-color: rgba(142, 45, 36, 0.18);
  color: var(--red);
  background: rgba(255, 255, 255, 0.72);
}
.lesson-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(142, 45, 36, 0.55);
  transform: translateY(-1px);
}

.lesson-panel { display: none; }
.lesson-panel.active {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas:
    "copy media"
    "cta cta";
  gap: clamp(1.25rem, 3vw, 1.75rem) clamp(2rem, 5vw, 4rem);
  align-items: center;
  animation: fade 0.5s var(--ease);
}
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lesson-copy { grid-area: copy; }
.lesson-media {
  grid-area: media;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow);
}
.lesson-media img { width: 100%; height: 100%; object-fit: cover; }
.lesson-media picture { display: block; width: 100%; height: 100%; }
.lesson-copy h3 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin-bottom: 1rem; }
.lesson-copy p { margin-bottom: 1.2rem; }
.lesson-copy ul { list-style: none; margin-bottom: 0; }
.lesson-copy li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; color: var(--text); }
.lesson-copy li::before { content: '♪'; position: absolute; left: 0; color: var(--red); }
.lesson-copy li strong { color: var(--ink); font-weight: 600; }
.lesson-cta {
  grid-area: cta;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
  margin-top: 0.35rem;
}
.lesson-cta .btn {
  flex: none;
  align-self: stretch;
  white-space: nowrap;
}

/* Online lessons callout bar */
.online-callout {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0.55rem 0.7rem 0.55rem 0.65rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--cream);
}
.online-callout__icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--red);
  border: 1px solid rgba(142, 45, 36, 0.12);
}
.online-callout__icon svg { width: 14px; height: 14px; }
.online-callout__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.online-callout__text strong {
  color: var(--red);
  font-weight: 600;
}
.online-callout__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(142, 45, 36, 0.2);
  background: #fff;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.online-callout__link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

@media (max-width: 780px) {
  .lesson-switcher {
    margin-bottom: 2rem;
  }
  .lesson-switcher__hint {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }
  .lesson-tabs {
    gap: 0.28rem;
    padding: 0.32rem;
    border-radius: 16px;
  }
  .lesson-tab {
    min-height: 3.15rem;
    padding: 0.5rem 0.22rem;
    font-size: clamp(0.62rem, 2.15vw, 0.74rem);
    line-height: 1.18;
    border-radius: 12px;
  }
  .lesson-tab.active {
    transform: none;
  }
  .lesson-panel.active {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy"
      "cta";
    gap: 1.25rem;
  }
  .lesson-media { order: unset; }
  .lesson-cta {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .lesson-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .online-callout {
    width: 100%;
    border-radius: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon text"
      "link link";
    align-items: center;
    padding: 0.85rem 0.9rem;
    gap: 0.7rem 0.75rem;
  }
  .online-callout__icon {
    grid-area: icon;
    align-self: start;
    margin-top: 0.05rem;
  }
  .online-callout__text {
    grid-area: text;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    flex: none;
    font-size: 0.88rem;
    line-height: 1.4;
  }
  .online-callout__link {
    grid-area: link;
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    border-radius: 100px;
  }
}
@media (max-width: 360px) {
  .lesson-tab {
    font-size: 0.6rem;
    padding-inline: 0.15rem;
  }
}

/* ============================================================
   ATELIER
   ============================================================ */
.atelier-layout { position: relative; }
.atelier-swipe-hint,
.atelier-dots { display: none; }
.atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}
.atelier-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.atelier-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atelier-media picture { display: block; width: 100%; height: 100%; }
.atelier-copy {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}
.atelier-copy p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
}

@media (min-width: 781px) {
  .atelier-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: auto auto auto;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: stretch;
  }
  .atelier-swipe-hint,
  .atelier-dots { display: none !important; }
  .atelier-grid { display: contents; }
  .atelier-media.tall {
    grid-column: 1;
    grid-row: 1 / 3;
    aspect-ratio: auto;
    min-height: 100%;
  }
  .atelier-media-top { grid-column: 2; grid-row: 1; }
  .atelier-media-bl { grid-column: 1; grid-row: 3; }
  .atelier-media-br { grid-column: 2; grid-row: 3; }
  .atelier-copy {
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    justify-self: stretch;
    aspect-ratio: 4 / 3;
    margin: 0;
    padding: clamp(1.25rem, 2.5vw, 1.85rem);
    border-radius: var(--radius);
    background: var(--cream);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    gap: 1rem;
  }
  .atelier-copy p { font-size: clamp(0.95rem, 1.15vw, 1.05rem); }
}

@media (max-width: 780px) {
  .atelier-swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    transition: opacity 0.4s var(--ease);
  }
  .atelier-swipe-hint svg { width: 18px; height: 18px; opacity: 0.7; animation: swipe-nudge 1.6s ease-in-out infinite; }
  .atelier-swipe-hint.is-hidden { opacity: 0; pointer-events: none; }
  @keyframes swipe-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
  }
  .atelier-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 0.85rem;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .atelier-grid::-webkit-scrollbar { display: none; }
  .atelier-media {
    flex: 0 0 calc(100% - 2.75rem);
    scroll-snap-align: center;
    aspect-ratio: 4 / 3;
  }
  .atelier-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
  }
  .atelier-dots button {
    width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
    background: var(--line); cursor: pointer;
    transition: transform 0.3s var(--ease), background 0.3s;
  }
  .atelier-dots button.active { background: var(--red); transform: scale(1.2); }
  .atelier-copy {
    margin-top: 1.25rem;
    text-align: left;
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius);
    background: var(--cream);
    border: 1px solid var(--line);
  }
}

/* ============================================================
   PRICES
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.price-card-featured {
  border-color: rgba(142, 45, 36, 0.28);
  box-shadow: var(--shadow);
}
.price-card__top {
  display: flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.85rem;
}
.price-badge {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  background: var(--cream);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.55rem 0; gap: 1rem; }
.price-row .dur { color: var(--text); }
.price-row .amt { font-weight: 600; color: var(--ink); white-space: nowrap; }
.price-row .amt b { color: var(--red); font-weight: 600; }
.price-card.simple .price-row { padding: 0.3rem 0; }
.price-note { margin-top: 2.2rem; font-size: 0.95rem; color: var(--text); max-width: 760px; line-height: 1.6; }
.price-extra { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.price-extra .pill {
  background: var(--cream); border: 1px solid var(--line); border-radius: 100px;
  padding: 0.6rem 1.3rem; font-size: 0.9rem;
}
.price-extra .pill b { color: var(--ink); font-weight: 600; }
.price-trial {
  margin-top: 2.5rem;
}
.price-trial__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  padding: clamp(1rem, 2.4vw, 1.4rem) clamp(1.1rem, 3vw, 1.85rem);
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(142, 45, 36, 0.18);
  background:
    linear-gradient(135deg, rgba(142, 45, 36, 0.1) 0%, rgba(255, 255, 255, 0.92) 42%, var(--cream) 100%);
  box-shadow: var(--shadow);
}
.price-trial__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(0.92rem, 0.55rem + 0.9vw, 1.08rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.price-trial__break {
  display: none;
}
.price-trial__text strong {
  color: var(--red);
  font-weight: 600;
}
.price-trial__btn {
  flex: none;
  white-space: nowrap;
}
@media (max-width: 780px) {
  .price-trial__banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
    padding: 1.1rem 1rem;
    overflow: hidden;
  }
  .price-trial__text {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    font-size: 0.92rem;
    line-height: 1.35;
    text-wrap: balance;
  }
  .price-trial__break {
    display: block;
  }
  .price-trial__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero { padding-top: 8rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream); color: var(--red);
}
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item .label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-item a, .contact-item p { font-size: 1.05rem; color: var(--ink); font-weight: 500; word-break: break-word; }
.contact-item a:hover { color: var(--red); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.25rem; padding: 0.3rem 0; max-width: 360px; }
.hours-list li span:first-child { flex: 1; min-width: 0; }
.hours-list li span:last-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #ebe4df; color: var(--text); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { height: 72px; width: auto; display: block; opacity: 0.95; }
.footer-col h4 { color: var(--ink); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.footer-col a, .footer-col p { display: block; font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--text); }
.footer-col a:hover { color: var(--red); }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.footer-instagram,
.footer-whatsapp {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.25rem; margin: 0;
  color: var(--ink); transition: color 0.3s, opacity 0.3s, transform 0.3s var(--ease);
}
.footer-instagram:hover,
.footer-whatsapp:hover { color: var(--red); opacity: 1; transform: translateY(-2px); }
.footer-instagram svg,
.footer-whatsapp svg { width: 26px; height: 26px; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(58, 48, 44, 0.14);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
}
.footer-copy { justify-self: start; }
.footer-credit {
  justify-self: center;
  text-align: center;
  color: var(--muted);
}
.footer-credit a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s;
}
.footer-credit a:hover { color: var(--red); }
.footer-legal {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
}
.footer-legal a {
  display: inline;
  margin: 0;
  color: var(--muted);
  font-size: inherit;
}
.footer-legal a:hover { color: var(--red); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page { padding-top: 8rem; }
.legal-page .section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-end;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.3s, transform 0.3s var(--ease);
}
.legal-back svg { width: 18px; height: 18px; }
.legal-back:hover { color: var(--red); transform: translateX(-3px); }
.legal-content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.legal-content h3 {
  margin: 0.6rem 0 0;
  font-size: 1.1rem;
  color: var(--ink);
}
.legal-content p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}
.legal-content a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--red-dark); }
.legal-placeholder { color: var(--muted); font-style: italic; }

@media (max-width: 780px) {
  #prices {
    background: linear-gradient(
      180deg,
      var(--white) 0%,
      var(--white) 70%,
      var(--cream) 100%
    );
  }
  .footer {
    padding: 4.5rem 0 calc(28px + env(safe-area-inset-bottom, 0px) + 2.75rem);
    background: linear-gradient(
      180deg,
      var(--cream) 0,
      #f3eeea 2.5rem,
      #ebe4df 5.5rem,
      #ebe4df 100%
    );
  }
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  .footer-col-menu { display: none; }
  .footer-col-logo { order: 1; }
  .footer-col-hours { order: 2; }
  .footer-col-contact { order: 3; max-width: 320px; }
  .footer-logo { margin-inline: auto; height: 64px; }
  .footer-col h4 { margin-bottom: 0.75rem; }
  .footer-col a, .footer-col p { margin-bottom: 0.45rem; }
  .footer-col a { word-break: break-word; }
  .footer-social { margin-inline: auto; }
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.35rem;
    padding-top: 1.25rem;
  }
  .footer-copy { order: 1; justify-self: center; }
  .footer-legal { order: 2; justify-self: center; }
  .footer-credit { order: 3; justify-self: center; }
}

@media (min-width: 781px) and (max-width: 860px) {
  .footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px) + 2.75rem);
  }
}
