:root {
  --navy: #22156b;
  --navy-2: #101642;
  --gold: #f5b806;
  --gold-soft: #fff2bd;
  --coral: #e96d4f;
  --teal: #0f9f95;
  --ink: #151725;
  --muted: #626779;
  --line: #e5e7ef;
  --paper: #ffffff;
  --soft: #f7f7fb;
  --warm: #fff8eb;
  --shadow: 0 18px 60px rgba(15, 22, 66, 0.13);
  --radius: 8px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 239, 0.75);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(16, 22, 66, 0.09);
  background: rgba(255, 255, 255, 0.96);
}

.nav-shell {
  width: min(1180px, calc(100% - 36px));
  height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 210px;
  height: auto;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: #303348;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-menu a {
  position: relative;
  padding: 8px 0;
}

.site-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-menu a:hover::after,
.site-menu a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta {
  background: var(--navy);
  color: white;
  box-shadow: 0 10px 24px rgba(34, 21, 107, 0.2);
}

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

.button svg,
.nav-cta svg,
.trust-item svg,
.contact-list svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.button-primary {
  color: var(--navy-2);
  background: var(--gold);
  box-shadow: 0 14px 34px rgba(245, 184, 6, 0.24);
}

.button-whatsapp {
  color: white;
  background: #12a862;
  box-shadow: 0 14px 34px rgba(18, 168, 98, 0.22);
}

.button-outline {
  background: white;
  color: var(--navy);
  border-color: rgba(34, 21, 107, 0.22);
}

.button-outline:hover {
  border-color: var(--navy);
  box-shadow: 0 12px 28px rgba(34, 21, 107, 0.1);
}

.button-light {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--navy);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: inline-grid;
  margin-left: auto;
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.nav-toggle .menu-glyph {
  display: block;
  color: currentColor;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.nav-toggle::before {
  content: "";
  display: none;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

@media (min-width: 1181px) {
  .nav-toggle {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: clamp(680px, calc(100svh - var(--header-h) - 34px), 900px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 16, 43, 0.78) 0%, rgba(13, 16, 43, 0.56) 36%, rgba(13, 16, 43, 0.14) 76%),
    linear-gradient(0deg, rgba(13, 16, 43, 0.18), rgba(13, 16, 43, 0.18));
}

.hero-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 56px;
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.visit h2 {
  margin: 0;
  max-width: 820px;
  font-family: "Montserrat", "Inter", sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 8vw, 6.7rem);
}

.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
}

.hero-proof strong {
  color: white;
  font-size: 1.2rem;
}

.trust-strip {
  width: min(1180px, calc(100% - 36px));
  margin: -22px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}

.trust-item {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px;
  color: var(--navy);
  font-weight: 800;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  flex: 0 0 auto;
  color: var(--coral);
}

.trust-item span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
}

.lead-tool {
  width: min(1180px, calc(100% - 36px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  align-items: stretch;
  padding: 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 21, 107, 0.97), rgba(16, 22, 66, 0.95)),
    var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.lead-tool-copy h2 {
  margin: 0;
  max-width: 520px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.04;
}

.lead-tool-copy p:last-child {
  margin: 14px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
}

.lead-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.lead-step {
  display: grid;
  gap: 7px;
  min-height: 148px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.lead-step:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 184, 6, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.lead-step span {
  color: var(--gold);
  font-weight: 900;
}

.lead-step strong {
  font-size: 1rem;
}

.lead-step small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.4;
}

.lead-whatsapp {
  background: rgba(18, 168, 98, 0.26);
  border-color: rgba(18, 168, 98, 0.55);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 94px 0;
}

.section-alt {
  width: 100%;
  padding-left: max(18px, calc((100% - 1180px) / 2));
  padding-right: max(18px, calc((100% - 1180px) / 2));
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section h2,
.visit h2 {
  font-size: clamp(2rem, 4.3vw, 4rem);
}

.section-heading p:last-child,
.intro-copy > p,
.program-content > p,
.kids-content > p,
.contact-copy > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
}

.owner-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(34, 21, 107, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 248, 235, 0.95), rgba(255, 255, 255, 0.98));
  color: var(--ink);
}

.owner-note svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.owner-note strong,
.owner-note span {
  display: block;
}

.owner-note span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.94rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.mini-grid div,
.course-card,
.teacher-card,
.testimonial-grid figure,
.progress-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.mini-grid div {
  padding: 18px;
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid strong {
  color: var(--ink);
  margin-bottom: 5px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.local-seo {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding-top: 32px;
}

.local-seo h2 {
  max-width: 560px;
}

.seo-copy {
  color: var(--muted);
}

.seo-copy p {
  margin: 0;
  font-size: 1.05rem;
}

.seo-copy ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.seo-copy li {
  position: relative;
  padding-left: 28px;
}

.seo-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 184, 6, 0.18);
}

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(16, 22, 66, 0.05);
}

.course-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
}

.course-top i,
.course-top svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.course-top span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.course-card h3,
.teacher-card h3,
.progress-grid h3 {
  margin: 20px 0 10px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  line-height: 1.12;
}

.course-card p,
.teacher-card p,
.progress-grid p,
.testimonial-grid blockquote,
.faq-list p {
  color: var(--muted);
}

.course-card dl {
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}

.course-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.course-card dt {
  color: #777d8d;
  font-weight: 700;
}

.course-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.course-card .button {
  margin-top: auto;
}

.audience-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.audience-band div {
  display: grid;
  gap: 6px;
  padding: 24px;
  background: white;
}

.audience-band svg {
  width: 26px;
  height: 26px;
  color: var(--coral);
}

.audience-band strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.audience-band span {
  color: var(--muted);
}

.premium,
.kids,
.contact {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.program-image img,
.kids img,
.real-photo-stack img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.program-image img {
  aspect-ratio: 4 / 5;
}

.program-content h2,
.kids-content h2,
.contact-copy h2 {
  max-width: 620px;
}

.program-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.program-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 18px 20px;
  color: var(--ink);
  text-align: left;
}

.program-row:hover {
  border-color: rgba(34, 21, 107, 0.35);
  box-shadow: 0 12px 28px rgba(16, 22, 66, 0.08);
}

.program-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.program-row svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.program-row strong {
  color: var(--teal);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.method-copy {
  display: grid;
  gap: 24px;
}

.method-copy article {
  padding-left: 24px;
  border-left: 3px solid var(--gold);
}

.method-copy span {
  color: var(--coral);
  font-weight: 900;
}

.method-copy h3 {
  margin: 6px 0;
  color: var(--navy);
}

.method-copy p {
  margin: 0;
  color: var(--muted);
}

.real-photo-stack {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 14px;
  align-items: end;
}

.real-photo-stack img:first-child {
  aspect-ratio: 4 / 5;
}

.real-photo-stack img:last-child {
  aspect-ratio: 4 / 4.8;
  transform: translateY(-30px);
}

.before-after {
  padding-top: 36px;
}

.progress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.progress-grid article {
  padding: 26px;
}

.progress-grid span {
  color: var(--coral);
  font-weight: 900;
}

.progress-grid h3 {
  font-size: 1.35rem;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.teacher-card {
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(16, 22, 66, 0.05);
}

.teacher-photo {
  min-height: 310px;
  background-image: url("assets/img/generated-teachers-branded.jpg");
  background-size: 315%;
  background-repeat: no-repeat;
}

.teacher-left {
  background-position: 7% center;
}

.teacher-center {
  background-position: 50% center;
}

.teacher-right {
  background-position: 92% center;
}

.teacher-card h3,
.teacher-card p,
.teacher-card span {
  margin-left: 22px;
  margin-right: 22px;
}

.teacher-card h3 {
  margin-top: 22px;
}

.teacher-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--teal);
  font-weight: 800;
}

.kids {
  padding-top: 84px;
}

.kids img {
  aspect-ratio: 3 / 2;
}

.kids .button {
  margin-top: 26px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-grid figure {
  margin: 0;
  padding: 26px;
}

.testimonial-grid blockquote {
  margin: 0;
  font-size: 1.03rem;
}

.testimonial-grid figcaption {
  margin-top: 18px;
  color: var(--navy);
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  background: #d7dae7;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease, filter 350ms ease;
}

.gallery-grid span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.gallery-grid a:hover span {
  opacity: 1;
  transform: translateY(0);
}

.faq {
  max-width: 880px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
}

.visit {
  padding: 86px max(18px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(16, 22, 66, 0.92), rgba(34, 21, 107, 0.78)),
    url("assets/img/generated-masterclass-branded.jpg") center/cover;
  color: white;
  position: relative;
  isolation: isolate;
}

.visit::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(245, 184, 6, 0.12), transparent 26%),
    radial-gradient(circle at left bottom, rgba(18, 168, 98, 0.12), transparent 22%);
  pointer-events: none;
  z-index: 0;
}

.visit-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.visit p:not(.section-kicker) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact {
  grid-template-columns: 0.85fr 0.85fr;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}

.contact-list svg {
  color: var(--coral);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8dbe7;
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(34, 21, 107, 0.1);
}

.map-shell {
  grid-column: 1 / -1;
  height: 390px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 48px max(18px, calc((100% - 1180px) / 2));
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer img {
  width: 180px;
  height: auto;
  background: white;
  border-radius: var(--radius);
  padding: 2px;
}

.site-footer p {
  max-width: 520px;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: white;
  font-weight: 800;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 42;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #12a862;
  color: white;
  box-shadow: 0 16px 38px rgba(18, 168, 98, 0.32);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

.mobile-lead-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(229, 231, 239, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(16, 22, 66, 0.18);
  backdrop-filter: blur(18px);
}

.mobile-lead-bar button,
.mobile-lead-bar a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
}

.mobile-lead-bar button {
  background: var(--gold);
  color: var(--navy-2);
}

.mobile-lead-bar a {
  background: #12a862;
  color: white;
}

.mobile-lead-bar svg {
  width: 18px;
  height: 18px;
}

.registration-modal {
  width: min(560px, calc(100% - 32px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
}

.registration-modal::backdrop {
  background: rgba(7, 10, 30, 0.62);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  max-width: min(92vw, 520px);
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--navy-2);
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.section-watch {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.section-watch.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lead-tool,
  .local-seo {
    grid-template-columns: 1fr;
  }

  .lead-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1180px) {
  .site-header .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed;
    right: 12px;
    top: 12px;
    z-index: 9999;
    flex: 0 0 44px;
    margin-left: 0;
    background: var(--navy);
    border-color: var(--navy);
    color: white;
    box-shadow: 0 14px 32px rgba(34, 21, 107, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header .nav-toggle::before {
    display: block;
  }

  .site-header .nav-toggle svg,
  .site-header .nav-toggle .menu-glyph {
    display: none;
  }

  .site-menu,
  .nav-cta {
    display: none;
  }

  .site-menu.is-open {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(var(--header-h) - 4px);
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
  }

  .site-menu.is-open a {
    padding: 12px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 76px;
  }

  .nav-shell {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 210px;
    max-width: calc(100vw - 92px);
  }

  .hero {
    min-height: 720px;
  }

  .hero-media {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 16, 43, 0.84), rgba(13, 16, 43, 0.58)),
      linear-gradient(0deg, rgba(13, 16, 43, 0.25), rgba(13, 16, 43, 0.25));
  }

  .trust-strip,
  .split,
  .premium,
  .method-grid,
  .lead-tool,
  .local-seo,
  .kids,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .mini-grid,
  .audience-band,
  .progress-grid,
  .teacher-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .real-photo-stack img:last-child {
    transform: none;
  }

  .kids img {
    order: -1;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 84px;
  }

  .site-header {
    position: sticky;
    background: rgba(255, 255, 255, 0.97);
  }

  .nav-shell {
    width: calc(100% - 24px);
    height: 68px;
  }

  .brand img {
    width: 210px;
    max-width: calc(100vw - 92px);
  }

  .site-header .nav-toggle {
    top: 10px;
    right: 12px;
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 8px;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero {
    min-height: clamp(680px, calc(100svh - 68px), 920px);
    align-items: start;
  }

  .hero-media {
    object-position: 38% center;
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.02);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(13, 16, 43, 0.88) 0%, rgba(13, 16, 43, 0.74) 48%, rgba(13, 16, 43, 0.56) 100%),
      linear-gradient(90deg, rgba(13, 16, 43, 0.74), rgba(13, 16, 43, 0.28));
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .hero h1 {
    max-width: 10.6ch;
    font-size: clamp(2.35rem, 10.2vw, 3rem);
    line-height: 1.02;
  }

  .hero-copy {
    width: 100%;
    max-width: 340px;
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions,
  .visit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    white-space: normal;
    text-align: center;
  }

  .hero-actions .button-whatsapp {
    order: -1;
  }

  .hero-proof {
    display: none;
  }

  .trust-strip {
    width: 100%;
    max-width: 390px;
    margin: 0;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 0;
    box-shadow: none;
  }

  .trust-item {
    min-width: 0;
    min-height: 60px;
    justify-content: flex-start;
    padding: 12px 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .trust-item:nth-child(2n) {
    border-right: 0;
  }

  .trust-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .lead-tool {
    width: 100%;
    max-width: 390px;
    margin-top: 0;
    padding: 22px 16px;
    border-radius: 0;
  }

  .lead-tool-copy,
  .lead-steps {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .lead-tool-copy h2 {
    font-size: 1.68rem;
    line-height: 1.08;
  }

  .lead-tool-copy p:last-child {
    width: 100%;
    max-width: 340px;
    font-size: 0.96rem;
  }

  .lead-steps {
    grid-template-columns: 1fr;
  }

  .lead-step {
    min-height: auto;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 13px;
  }

  .lead-step small {
    grid-column: 2;
  }

  .section {
    width: calc(100% - 28px);
    padding: 62px 0;
  }

  .section-alt {
    padding: 62px 14px;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: auto;
    padding: 20px;
  }

  .course-card dl div {
    display: grid;
    gap: 2px;
  }

  .course-card dd {
    text-align: left;
  }

  .program-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teacher-photo {
    min-height: 280px;
  }

  .map-shell {
    height: 320px;
  }

  .site-footer {
    padding-bottom: 106px;
  }

  .site-footer img {
    width: 180px;
    background: white;
    border-radius: var(--radius);
    padding: 2px;
  }

  .floating-whatsapp {
    display: none;
  }

  .mobile-lead-bar {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 7px;
  }

  .mobile-lead-bar button,
  .mobile-lead-bar a {
    min-height: 50px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .section-watch {
    opacity: 1;
    transform: none;
  }
}
