/* ============================================================
   Zuzu Korean Language School — Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --cream:        #fffaf5;
  --coral:        #ff6b6b;
  --coral-dark:   #e55a5a;
  --coral-light:  #fff0f0;
  --navy:         #2c3e50;
  --navy-light:   #3d5166;
  --navy-muted:   #5a7a96;
  --text:         #2c3e50;
  --text-muted:   #6b7a8d;
  --white:        #ffffff;
  --border:       #e8ddd4;

  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;

  --radius-sm:    4px;
  --radius-md:    10px;
  --radius-lg:    18px;
  --radius-pill:  100px;

  --shadow-sm:    0 1px 4px rgba(44,62,80,.07);
  --shadow-md:    0 4px 20px rgba(44,62,80,.10);
  --shadow-lg:    0 10px 40px rgba(44,62,80,.14);

  --transition:   all .25s ease;

  --max-width:    1160px;
  --header-h:     70px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.text-center { text-align: center; }

.section {
  padding-block: clamp(72px, 9vw, 110px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,107,.35);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-lg { padding: 18px 40px; font-size: .9rem; }

/* ---------- Section headings ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

/* Decorative squiggle underline SVG */
.squiggle {
  display: block;
  width: 90px;
  height: 14px;
  color: var(--coral);
}
.squiggle-center { margin-inline: auto; margin-bottom: 48px; }
.squiggle-left   { margin-bottom: 24px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255,250,245,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
}

/* Interior pages: solid bg (no backdrop-filter — it breaks position:fixed mobile nav) */
.is-interior .site-header {
  background: rgb(255,250,245);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  transition: var(--transition);
}

.logo-scrolled { display: none; }
.site-header.scrolled .logo-default,
.is-interior .site-header .logo-default { display: none; }
.site-header.scrolled .logo-scrolled,
.is-interior .site-header .logo-scrolled { display: block; }


.footer-logo-img {
  height: 32px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  opacity: .85;
}

/* Nav — fixed alongside header on desktop; fullscreen overlay on mobile */
.site-nav {
  display: flex;
  position: fixed;
  top: 0;
  right: clamp(20px, 5vw, 56px);
  height: var(--header-h);
  align-items: center;
  z-index: 1001;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.is-home .site-nav:not(.scrolled) .nav-link       { color: rgba(255,255,255,.88); }
.is-home .site-nav:not(.scrolled) .nav-link:hover { color: var(--white); background: rgba(255,255,255,.12); }
.site-nav.scrolled .nav-link,
.is-interior .site-nav .nav-link             { color: var(--navy); }
.site-nav.scrolled .nav-link:hover,
.is-interior .site-nav .nav-link:hover       { color: var(--coral); background: var(--coral-light); }

/* Active nav link */
.is-home .site-nav:not(.scrolled) .nav-link.active { color: var(--white); background: rgba(255,255,255,.12); }
.site-nav.scrolled .nav-link.active,
.is-interior .site-nav .nav-link.active { color: var(--coral); }

.nav-arrow { font-size: .55rem; opacity: .6; margin-left: 2px; }

.nav-item { position: relative; }

/* Invisible bridge so cursor can travel from nav link into the dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: .85rem;
  color: var(--text);
  transition: var(--transition);
}
.dropdown li a:hover { color: var(--coral); background: var(--coral-light); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  transition: var(--transition);
}
.is-home .site-header:not(.scrolled) .nav-toggle span { background: var(--white); }
.site-header.scrolled .nav-toggle span,
.is-interior .site-header .nav-toggle span             { background: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15,25,40,.78) 0%,
    rgba(15,25,40,.55) 60%,
    rgba(15,25,40,.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--header-h);
  padding-block: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-text {
  max-width: 820px;
  background: rgba(10,18,32,.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-char {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 10vw, 9rem);
  color: rgba(255,255,255,.18);
  line-height: 1;
  user-select: none;
}

.hero-visual-label {
  font-family: var(--font-serif);
  font-size: clamp(.7rem, 1.2vw, .95rem);
  color: rgba(255,255,255,.35);
  letter-spacing: .25em;
  user-select: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 22px;
  padding: 6px 16px;
  background: rgba(255,107,107,.15);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,107,107,.3);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.13;
  margin-bottom: 22px;
}

.hero-headline em {
  font-style: normal;
  color: var(--coral);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 38px;
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: .8rem;
  color: rgba(255,255,255,.82);
  backdrop-filter: blur(4px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
}

/* ============================================================
   RESERVATION BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy);
  padding-block: 46px;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 6px;
}

.price { color: var(--coral); font-weight: 700; }

.cta-banner-text p  { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 4px; }
.cta-note           { color: rgba(255,255,255,.4); font-size: .78rem; }

/* ============================================================
   WHAT SETS US APART — alternating image/text rows
   ============================================================ */
.section-apart {
  background: var(--cream);
}

.apart-header {
  text-align: center;
  margin-bottom: 72px;
}

.apart-header p {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-top: 8px;
}

.apart-rows { display: flex; flex-direction: column; gap: 80px; }

.apart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.apart-row.reverse { direction: rtl; }
.apart-row.reverse > * { direction: ltr; }

.apart-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  position: relative;
}

.apart-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apart-visual-char {
  font-family: var(--font-serif);
  font-size: 9rem;
  color: rgba(255,255,255,.12);
  user-select: none;
}

.apart-visual-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.12);
}

.apart-copy .section-eyebrow { display: block; margin-bottom: 10px; }

.apart-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 18px;
}

.apart-copy p {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: .97rem;
}

/* ============================================================
   COURSES
   ============================================================ */
.section-courses { background: var(--white); }

.courses-header { text-align: center; margin-bottom: 56px; }

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

.course-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: var(--cream);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.course-card-img {
  height: 215px;
  position: relative;
  overflow: hidden;
}

.course-card-img-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
}

.course-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: var(--navy);
  line-height: 1.3;
}

.course-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.course-suitable { margin-top: 4px; flex: 1; }

.suitable-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  opacity: .6;
  margin-bottom: 8px;
}

.course-suitable li {
  font-size: .86rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  margin-bottom: 5px;
}
.course-suitable li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  opacity: .65;
}

.course-card-body .btn { margin-top: 10px; align-self: flex-start; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.section-testimonials { background: var(--navy); }
.section-testimonials .section-title   { color: var(--white); }
.section-testimonials .section-eyebrow { color: var(--coral); }
.section-testimonials .squiggle        { color: var(--coral); }

.testimonials-header { text-align: center; margin-bottom: 52px; }

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

.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
}
.testimonial-stars span { color: var(--coral); font-size: 1rem; }

.testimonial-card blockquote {
  font-size: .92rem;
  line-height: 1.82;
  color: rgba(255,255,255,.75);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author strong { display: block; color: var(--white); font-size: .88rem; }
.testimonial-author span   { font-size: .76rem; color: rgba(255,255,255,.42); }

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.section-bottom-cta { background: var(--cream); }

.bottom-cta-inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.bottom-cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.bottom-cta-inner p {
  color: var(--text-muted);
  margin-bottom: 38px;
  font-size: .97rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-newsletter {
  background: var(--coral);
  padding-block: 52px;
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--white);
  margin-bottom: 6px;
}
.newsletter-text p { color: rgba(255,255,255,.8); font-size: .9rem; }

.newsletter-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 14px 22px;
  font-size: .9rem;
  border: 2px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-radius: var(--radius-pill);
  min-width: 250px;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form input:focus { border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.22); }

.newsletter-form .btn-signup {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form .btn-signup:hover { background: var(--navy-light); transform: translateY(-1px); }

.newsletter-thanks { color: var(--white); font-weight: 700; display: none; font-size: 1rem; }

/* Footer main */
.footer-main { background: var(--navy); padding-block: 64px 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-logo { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.footer-logo .logo-text { color: var(--coral); font-family: var(--font-serif); font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.footer-logo .logo-sub  { color: rgba(255,255,255,.4); font-size: .55rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }

.footer-tagline {
  color: rgba(255,255,255,.5);
  font-size: .87rem;
  margin-bottom: 22px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-address {
  color: rgba(255,255,255,.38);
  font-size: .82rem;
  line-height: 1.9;
  margin-bottom: 12px;
}

.footer-email { color: var(--coral); font-size: .87rem; transition: var(--transition); }
.footer-email:hover { opacity: .8; }

.footer-col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 18px;
}

.footer-nav-list { display: flex; flex-direction: column; gap: 12px; }
.footer-nav-list a { font-size: .87rem; color: rgba(255,255,255,.58); transition: var(--transition); }
.footer-nav-list a:hover { color: var(--coral); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .77rem; color: rgba(255,255,255,.28); }

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .77rem; color: rgba(255,255,255,.33); transition: var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.72); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 60px) 0 60px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
}

.page-content { padding-block: 64px; }
.page-content h2 { font-family: var(--font-serif); color: var(--navy); margin: 36px 0 12px; font-size: 1.5rem; }
.page-content h3 { font-family: var(--font-serif); color: var(--navy); margin: 24px 0 10px; }
.page-content p  { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.page-content ul { margin: 12px 0 20px 20px; list-style: disc; }
.page-content li { color: var(--text-muted); margin-bottom: 6px; }
.page-content a  { color: var(--coral); }
.page-content hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.page-content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .9rem; }
.page-content th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.page-content td { padding: 11px 16px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.page-content tr:last-child td { border-bottom: none; }
.page-content tr:nth-child(even) td { background: var(--cream); }

.list-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.list-item h2 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 8px; }
.list-item h2 a { color: var(--navy); transition: var(--transition); }
.list-item h2 a:hover { color: var(--coral); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Hero */
.contact-hero { padding-bottom: 72px; }
.contact-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 10px; }
.page-hero-sub {
  color: rgba(255,255,255,.68);
  font-size: 1rem;
  margin-top: 14px;
  max-width: 540px;
}

/* Layout */
.contact-section { background: var(--cream); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 52px;
  align-items: flex-start;
}

/* Tabs */
.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 4px;
  width: fit-content;
}

.form-tab {
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.form-tab.active {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(255,107,107,.3);
}
.form-tab:not(.active):hover { color: var(--navy); }

/* Forms */
.contact-form { display: none; flex-direction: column; gap: 22px; }
.contact-form.active { display: flex; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .02em;
}

.req { color: var(--coral); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b8c1; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,107,107,.12);
}

.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

/* Select wrapper */
.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .8rem;
  color: var(--text-muted);
  pointer-events: none;
}
.select-wrap select { appearance: none; padding-right: 36px; cursor: pointer; }

/* Radio & Checkbox */
.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.radio-label,
.check-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  transition: var(--transition);
  user-select: none;
}
.radio-label:hover,
.check-label:hover { border-color: var(--coral); color: var(--navy); }

.radio-label input,
.check-label input { display: none; }

.radio-box,
.check-box {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--cream);
  flex-shrink: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-box { border-radius: 4px; }

.radio-label input:checked ~ .radio-box {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: inset 0 0 0 3px var(--white);
}
.check-label input:checked ~ .check-box {
  border-color: var(--coral);
  background: var(--coral);
}
.check-label input:checked ~ .check-box::after {
  content: '✓';
  font-size: .65rem;
  color: var(--white);
  font-weight: 900;
}
.radio-label input:checked ~ *:last-child,
.check-label input:checked ~ *:last-child { color: var(--navy); font-weight: 600; }

.radio-label:has(input:checked),
.check-label:has(input:checked) {
  border-color: var(--coral);
  background: var(--coral-light);
}

/* Consent row */
.form-consent .check-label {
  border: none;
  padding: 0;
  background: none;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--text-muted);
  border-radius: 0;
}
.form-consent .check-label:hover { border: none; background: none; }

/* Error states */
.field-error {
  display: none;
  font-size: .77rem;
  color: #e53e3e;
  font-weight: 500;
}
.has-error .field-error { display: block; }
.has-error input,
.has-error select,
.has-error textarea {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,.1);
}
.has-error .radio-group,
.has-error .check-label { border-color: #e53e3e; }

/* Submit button */
.btn-submit { position: relative; overflow: hidden; width: fit-content; }
.btn-loading { display: none; }
.btn-submit.loading .btn-text   { visibility: hidden; }
.btn-submit.loading .btn-loading { display: inline; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

/* Success state */
.form-success {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #f0fff4;
  border: 1.5px solid #9ae6b4;
  border-radius: var(--radius-md);
  color: #276749;
}
.form-success.visible { display: flex; }

.success-icon {
  width: 40px;
  height: 40px;
  background: #276749;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-success strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.form-success p { font-size: .85rem; opacity: .8; margin: 0; }

/* Sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 18px; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-icon { font-size: 1.4rem; margin-bottom: 4px; }

.sidebar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
}

.sidebar-card p,
.sidebar-card address {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.sidebar-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--coral);
  transition: var(--transition);
  margin-top: 4px;
}
.sidebar-link:hover { opacity: .8; }

/* Course list in sidebar */
.sidebar-course-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.sidebar-course-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.course-dot {
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.course-dot-navy { background: var(--navy); }

.sidebar-course-list strong {
  display: block;
  font-size: .87rem;
  color: var(--navy);
  line-height: 1.3;
}
.sidebar-course-list span {
  font-size: .78rem;
  color: var(--text-muted);
}

/* Contact responsive */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-sidebar { grid-template-columns: 1fr; }
  .form-tabs { width: 100%; }
  .form-tab { flex: 1; text-align: center; font-size: .75rem; padding: 10px 12px; }
  .radio-group, .checkbox-group { flex-direction: column; }
  .radio-label, .check-label { border-radius: var(--radius-md); }
}

/* ============================================================
   ABOUT PAGE — CONTENT TYPOGRAPHY
   ============================================================ */

/* Main section title — large, serif, with coral rule below */
.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--navy);
  margin: 56px 0 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
  line-height: 1.25;
}

/* First h2 on the page needs no top margin */
.about-content h2:first-child { margin-top: 0; }

/* Sub-section headings — eyebrow treatment with coral accent */
.about-content h3 {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 40px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-content h3::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--coral);
  flex-shrink: 0;
  border-radius: 2px;
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: .97rem;
  margin-bottom: 0;
  max-width: 640px;
}

/* First h3 after h2 needs less top margin */
.about-content h2 + h3 { margin-top: 28px; }

/* ============================================================
   ABOUT PAGE — MAP SECTION
   ============================================================ */
.about-map-section {
  background: var(--white);
  padding-block: clamp(72px, 9vw, 110px);
}

.about-map-header {
  text-align: center;
  margin-bottom: 52px;
}

.about-map-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.about-map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}

.about-map-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-map-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-map-icon { font-size: 1.3rem; }

.about-map-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  margin: 0;
}

.about-map-card address,
.about-map-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: normal;
  margin: 0;
}

.about-map-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--coral);
  transition: var(--transition);
}
.about-map-link:hover { opacity: .75; }

.about-transport-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  list-style: none;
}
.about-transport-list li {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.about-transport-list strong { color: var(--navy); }

/* About map responsive */
@media (max-width: 1024px) {
  .about-map-inner { grid-template-columns: 1fr; }
  .about-map-details { display: grid; grid-template-columns: 1fr 1fr; }
  .about-map-embed { height: 380px; }
}

@media (max-width: 640px) {
  .about-map-details { grid-template-columns: 1fr; }
  .about-map-embed { height: 300px; }
}

/* ============================================================
   GROUP CLASSES PAGE
   ============================================================ */

.gc-hero .section-eyebrow { display: block; margin-bottom: 14px; }

/* Filter tabs */
.gc-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gc-filter-btn {
  padding: 9px 20px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.gc-filter-btn:hover { border-color: var(--coral); color: var(--navy); }
.gc-filter-btn.active {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(255,107,107,.28);
}

/* Cards grid */
.gc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

/* Class card */
.gc-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition);
}
.gc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.gc-card--interest {
  border-style: dashed;
  background: var(--cream);
}
.gc-card--interest:hover { border-color: var(--border); }

/* Card top row */
.gc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Level badges */
.gc-level-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.gc-level-beginner     { background: #e6f4ea; color: #2d6a4f; }
.gc-level-intermediate { background: #fff3e0; color: #b45309; }
.gc-level-all          { background: var(--coral-light); color: var(--coral-dark); }

/* Clickable card cursor */
.gc-card--clickable { cursor: pointer; }
.gc-card--clickable:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

/* Status badge (fully booked / class started) */
.gc-status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.gc-status-full    { background: #fee2e2; color: #991b1b; }
.gc-status-started { background: #e0e7ff; color: #3730a3; }

/* Day pill */
.gc-day-pill {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.gc-day-pill--flex { color: var(--navy-muted); }

.gc-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.25;
}

.gc-card-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Meta grid */
.gc-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.gc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 14px;
  background: var(--cream);
}

.gc-meta-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .45;
}

.gc-meta-value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}

.gc-meta-item--full { grid-column: 1 / -1; }

/* Interest card details */
.gc-interest-details { display: flex; flex-direction: column; gap: 12px; flex: 1; }

.gc-interest-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gc-interest-row span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}

.gc-interest-sub {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Card footer */
.gc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.gc-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gc-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gc-price-original {
  font-size: .8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.gc-price-current {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.gc-price-note {
  font-size: .72rem;
  color: var(--text-muted);
}

.gc-cta { white-space: nowrap; flex-shrink: 0; }

/* Empty state */
.gc-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--white);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
}
.gc-empty p { color: var(--navy); font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.gc-empty-sub { color: var(--text-muted); font-weight: 400; font-size: .9rem; margin-bottom: 24px; }

/* ── Class detail modal ── */
.gcm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.gcm-overlay--open {
  display: flex;
}

body.gc-modal-open { overflow: hidden; }

.gcm-dialog {
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.gcm-cover {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: var(--radius-lg, 16px) var(--radius-lg, 16px) 0 0;
  flex-shrink: 0;
}

.gcm-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gcm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px 0;
}

.gcm-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.gcm-close {
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
  margin-top: -2px;
}
.gcm-close:hover { color: var(--navy); }

.gcm-instructor-link {
  color: var(--coral);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition);
}
.gcm-instructor-link:hover { color: var(--coral-dark); }

.gcm-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.gcm-title {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0;
}

.gcm-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.gcm-meta { margin: 0; }

.gcm-map .gc-meta-label {
  display: block;
  margin-bottom: 8px;
}

.gcm-map-frame {
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  border: 1.5px solid var(--border);
  line-height: 0;
}

.gcm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
}

/* Info strip */
.gc-info-strip {
  background: var(--navy);
  padding-block: 44px;
}

.gc-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gc-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.gc-info-icon { font-size: 1.4rem; margin-bottom: 2px; }

.gc-info-item strong {
  font-size: .92rem;
  color: var(--white);
}

.gc-info-item span {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

/* Group classes responsive */
@media (max-width: 1024px) {
  .gc-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .gc-grid { grid-template-columns: 1fr; }
  .gc-info-grid { grid-template-columns: repeat(2, 1fr); }
  .gcm-dialog { margin-top: var(--header-h, 62px); }
}

@media (max-width: 480px) {
  .gc-card-meta { grid-template-columns: 1fr; }
  .gc-card-footer { flex-direction: column; align-items: flex-start; }
  .gc-info-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   IN-PERSON COURSES PAGE
   ============================================================ */

/* Hero override */
.ip-hero { padding-bottom: 80px; }
.ip-hero .section-eyebrow { display: block; margin-bottom: 14px; }
.ip-hero h1 { margin-top: 0; }

/* ---- Private Lessons (main feature) ---- */
.ip-private-section { background: var(--cream); }

.ip-private-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Visual panel (shared between private & group) */
.ip-private-visual,
.ip-group-visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
}

.ip-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ip-visual-char {
  font-family: var(--font-serif);
  font-size: clamp(7rem, 12vw, 11rem);
  color: rgba(255,255,255,.1);
  user-select: none;
  line-height: 1;
}

.ip-visual-label {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.12);
}

.ip-price-tag {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: var(--coral);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(255,107,107,.35);
}

.ip-price-amount {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.ip-price-detail {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* Copy side */
.ip-intro {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: .97rem;
  margin-bottom: 28px;
}

/* Details 2×2 grid */
.ip-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.ip-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  background: var(--white);
}

.ip-detail-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .5;
}

.ip-detail-value {
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
}

/* Checklist */
.ip-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.ip-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ip-check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--coral-light);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23ff6b6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

.ip-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ip-pricing-link {
  font-size: .87rem;
  font-weight: 600;
  color: var(--coral);
  transition: var(--transition);
}
.ip-pricing-link:hover { opacity: .75; }

.ip-refund-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* ---- Group Classes (secondary) ---- */
.ip-group-section { background: var(--white); }

.ip-group-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.ip-group-badge-row {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: flex;
  gap: 8px;
}

.ip-level-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  backdrop-filter: blur(4px);
}

/* ---- Online strip ---- */
.ip-online-strip {
  background: var(--navy);
  padding-block: 40px;
}

.ip-online-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ip-online-eyebrow {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}

.ip-online-text p {
  color: rgba(255,255,255,.72);
  font-size: .92rem;
  line-height: 1.7;
  max-width: 540px;
}

.ip-online-text strong { color: var(--white); }

.btn-outline-navy {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
  white-space: nowrap;
}
.btn-outline-navy:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

/* CTA address */
.ip-cta-address {
  font-size: .87rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-style: normal;
}

/* In-person responsive */
@media (max-width: 1024px) {
  .ip-private-inner,
  .ip-group-inner { grid-template-columns: 1fr; gap: 40px; }

  .ip-private-visual,
  .ip-group-visual { aspect-ratio: 16/7; }

  /* On tablet, group visual goes above copy */
  .ip-group-inner { display: flex; flex-direction: column-reverse; }
}

@media (max-width: 640px) {
  .ip-details-grid { grid-template-columns: 1fr; }
  .ip-actions { flex-direction: column; align-items: flex-start; }
  .ip-online-inner { flex-direction: column; align-items: flex-start; }
  .ip-price-tag { bottom: 16px; right: 16px; padding: 14px 18px; }
  .ip-price-amount { font-size: 1.8rem; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .apart-row  { grid-template-columns: 1fr; gap: 36px; }
  .apart-row.reverse { direction: ltr; }
  .apart-visual { aspect-ratio: 16/9; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--navy);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    padding: 32px 24px;
  }
  .site-nav.open { transform: translateX(0); }

  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-nav .nav-link { color: rgba(255,255,255,.85) !important; font-size: .9rem; padding: 12px 8px; }
  .site-nav .nav-link:hover { background: rgba(255,255,255,.07) !important; color: var(--white) !important; }

  .dropdown {
    position: static;
    opacity: 1; pointer-events: auto; transform: none;
    box-shadow: none; border: none;
    background: rgba(255,255,255,.05);
    margin: 4px 0; padding: 4px 0 4px 16px;
    border-radius: var(--radius-sm);
  }
  .dropdown li a { color: rgba(255,255,255,.6); padding: 8px 12px; font-size: .85rem; }
  .dropdown li a:hover { background: rgba(255,255,255,.06) !important; color: var(--white) !important; }

  .courses-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .newsletter-content { flex-direction: column; align-items: flex-start; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { width: 100%; min-width: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-lg { width: 100%; text-align: center; box-sizing: border-box; white-space: normal; }
  .hero-text { padding: 32px 28px; max-width: 100%; width: 100%; box-sizing: border-box; }
  .apart-rows { gap: 56px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-content  { padding-block: 70px; }
  .footer-grid   { gap: 28px; }
}

/* ============================================================
   ONLINE COURSES PAGE
   ============================================================ */
.oc-hero { padding-bottom: 80px; }
.oc-hero .section-eyebrow { display: block; margin-bottom: 14px; }
.oc-hero h1 { margin-top: 0; }

.oc-course-section { background: var(--cream); }

.oc-course-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.oc-course-visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
}

.oc-course-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oc-visual-char {
  font-family: var(--font-serif);
  font-size: clamp(7rem, 12vw, 11rem);
  color: rgba(255,255,255,.1);
  user-select: none;
  line-height: 1;
}

.oc-visual-label {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.12);
}

.oc-intro {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: .97rem;
  margin-bottom: 24px;
}

.oc-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.oc-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.oc-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--coral-light);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23ff6b6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

.oc-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.oc-free-tag {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  background: #e6f4ea;
  color: #2d6a4f;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  letter-spacing: .04em;
}

@media (max-width: 1024px) {
  .oc-course-inner { grid-template-columns: 1fr; gap: 40px; }
  .oc-course-visual { aspect-ratio: 16/7; }
}

/* ============================================================
   KOREAN BASICS COURSE PAGE
   ============================================================ */

/* Intro strip */
.kb-intro-strip {
  background: var(--navy);
  padding: 28px 0;
}

.kb-intro-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.kb-intro-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 48px;
}

.kb-stat-value {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.kb-stat-label {
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.kb-intro-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* Lessons section */
.kb-lessons-section { background: var(--cream); }

.kb-lessons-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.kb-lessons-intro {
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 16px;
}

.kb-lessons-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.kb-lesson-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.kb-lesson-card:nth-child(even) {
  grid-template-columns: 1.4fr 1fr;
}

.kb-lesson-card:nth-child(even) .kb-lesson-meta {
  order: 2;
}

.kb-lesson-card:nth-child(even) .kb-video-wrap {
  order: 1;
}

.kb-part-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(229,89,52,.1);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 12px;
}

.kb-lesson-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 12px;
}

.kb-lesson-desc {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: .95rem;
  margin: 0;
}

.kb-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

.kb-video {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 900px) {
  .kb-lesson-card,
  .kb-lesson-card:nth-child(even) {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 24px;
  }

  .kb-lesson-card:nth-child(even) .kb-lesson-meta,
  .kb-lesson-card:nth-child(even) .kb-video-wrap {
    order: unset;
  }

  .kb-intro-stat { padding: 0 24px; }
}

/* ============================================================
   INSTRUCTOR PROFILE PAGE
   ============================================================ */

/* Hero */
.ip-profile-hero .section-eyebrow { display: block; margin-bottom: 14px; }

/* Top section: photo + bio */
.ip-profile-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 64px;
}

.ip-profile-photo-wrap {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.ip-profile-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.ip-profile-intro .section-eyebrow { display: block; margin-bottom: 10px; }

.ip-profile-name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 4px;
}

.ip-profile-role {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 24px;
}

.ip-profile-bio {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.ip-profile-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
}
.ip-profile-email:hover { color: var(--coral); }

/* Stats bar */
.ip-stats-bar {
  display: flex;
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 64px;
}

.ip-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.ip-stat:last-child { border-right: none; }

.ip-stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.ip-stat-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* Lower two-column */
.ip-profile-lower {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 52px;
  align-items: flex-start;
}

.ip-section-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 28px;
}

/* Teaching style */
.ip-style-list { display: flex; flex-direction: column; gap: 24px; }

.ip-style-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ip-style-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.ip-style-item strong {
  display: block;
  color: var(--navy);
  font-size: .95rem;
  margin-bottom: 4px;
}

.ip-style-item p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
  margin: 0;
}

/* Qualifications */
.ip-qual-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.ip-qual-item {
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: .9rem;
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
}

.ip-contact-card {
  background: var(--coral-light);
  border: 1px solid rgba(255,107,107,.2);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}

.ip-contact-label {
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: .95rem;
}

/* CTA buttons row */
.ip-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ip-profile-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ip-profile-photo-wrap { position: static; max-width: 280px; }

  .ip-stats-bar { flex-wrap: wrap; }
  .ip-stat { flex: 1 1 calc(50% - 1px); border-bottom: 1px solid rgba(255,255,255,.1); }
  .ip-stat:nth-child(2n) { border-right: none; }

  .ip-profile-lower {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
