:root {
  --accent: #e1702c;
  --accent-dark: #b85e24;
  --accent-light: #eda980;
  --ink: #1d1d1f;
  --ink-soft: #48484d;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-soft-2: #eef1f6;
  --card-bg: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
  --footer-bg: #1d1d1f;
  --btn-secondary-bg: rgba(0, 0, 0, 0.05);
  --btn-secondary-bg-hover: rgba(0, 0, 0, 0.09);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.05);
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #f2f2f3;
  --ink-soft: #a8a8ad;
  --bg: #121212;
  --bg-soft: #1c1c1e;
  --bg-soft-2: #202226;
  --card-bg: #1e1e21;
  --line: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(18, 18, 18, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --btn-secondary-bg: rgba(255, 255, 255, 0.08);
  --btn-secondary-bg-hover: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 18px;
  margin: 0;
}

.section-head.left {
  margin: 0 0 48px;
  text-align: left;
}

p { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(225, 112, 44, 0.3);
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--ink);
}

.btn-secondary:hover { background: var(--btn-secondary-bg-hover); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(225, 112, 44, 0.35);
}

.btn-ghost:hover { background: rgba(225, 112, 44, 0.08); }

.btn-block { width: 100%; }

/* Pulse effect for primary CTAs */
.btn-pulse {
  position: relative;
}

.btn-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  z-index: -1;
  animation: btn-pulse-ring 2.2s cubic-bezier(0.4, 0, 0.5, 1) infinite;
}

@keyframes btn-pulse-ring {
  0% { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-pulse::after { animation: none; }
}

/* Header - Liquid Glass */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo .mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: currentColor;
}

.logo .mark svg { width: 26px; height: auto; }

.logo-text { color: var(--accent); }
/* Header logo text sits on a near-white glass background in light mode, where
   --accent (#e1702c) fails WCAG AA contrast (3.2:1). Use a darker shade there
   only — the footer and dark-mode header keep the original accent, which
   already passes against their dark backgrounds. */
.site-header .logo-text { color: #a85720; }
[data-theme="dark"] .site-header .logo-text { color: var(--accent); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 1;
  min-width: 0;
}

nav.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
  white-space: nowrap;
}

nav.main-nav a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}

.header-phone svg { width: 16px; height: 16px; flex-shrink: 0; }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--ink-soft);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.theme-toggle:hover { color: var(--accent); border-color: rgba(225, 112, 44, 0.35); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }

[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle .bar {
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
  will-change: transform;
}

.nav-toggle .bar:nth-child(1) { transform: translateY(-7px); }
.nav-toggle .bar:nth-child(2) { opacity: 1; }
.nav-toggle .bar:nth-child(3) { transform: translateY(7px); }

body.nav-open .nav-toggle .bar:nth-child(1) { transform: rotate(45deg); }
body.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle .bar:nth-child(3) { transform: rotate(-45deg); }

/* Fullscreen mobile menu */
body.nav-open { overflow: hidden; }

.mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform 0.3s ease-out;
  will-change: transform;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body.nav-open .mobile-menu { transform: translateY(0); pointer-events: auto; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 28px;
  padding: 96px 24px 24px;
}

.mobile-menu nav a {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  will-change: transform;
}

body.nav-open .mobile-menu nav a { transform: translateY(0); opacity: 1; }
.mobile-menu nav a:nth-child(1) { transition-delay: 100ms; }
.mobile-menu nav a:nth-child(2) { transition-delay: 150ms; }
.mobile-menu nav a:nth-child(3) { transition-delay: 200ms; }
.mobile-menu nav a:nth-child(4) { transition-delay: 250ms; }
.mobile-menu nav a:nth-child(5) { transition-delay: 300ms; }
.mobile-menu nav a:nth-child(6) { transition-delay: 350ms; }
.mobile-menu nav a:nth-child(7) { transition-delay: 400ms; }

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 24px 56px;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  transition-delay: 440ms;
  will-change: transform;
}

body.nav-open .mobile-menu-footer { transform: translateY(0); opacity: 1; }

.mobile-menu-footer .phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}

.mobile-menu-footer .phone-link svg { width: 16px; height: 16px; color: var(--accent); }

@media (min-width: 1241px) {
  .mobile-menu { display: none; }
}

/* Announcement bar */
.announce-bar {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  color: #fff;
}

.announce-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  flex-wrap: wrap;
}

.announce-msg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.announce-bar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.announce-bar a.link-inline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero — full-screen photo */
.hero {
  position: relative;
  padding: 0;
  height: 100vh; /* fallback if JS hasn't sized it yet; script.js sets an exact px height so header + announce bar + hero never exceed one screen */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url('images/hero.webp') center 25% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.15) 0%, rgba(8, 12, 18, 0.35) 55%, rgba(8, 12, 18, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 56px 24px 96px;
  max-width: 720px;
}

.hero .eyebrow {
  color: #bcd7ff;
}

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.08;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  max-width: 560px;
  margin-bottom: 18px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Entrance animation — hero content fades/rises in on page load */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-lead,
.hero-content .hero-google-badge,
.hero-content .hero-ctas {
  opacity: 0;
  animation: hero-rise 0.8s cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.hero-content .eyebrow { animation-delay: 0.05s; }
.hero-content h1 { animation-delay: 0.16s; }
.hero-content .hero-lead { animation-delay: 0.3s; }
.hero-content .hero-google-badge { animation-delay: 0.44s; }
.hero-content .hero-ctas { animation-delay: 0.56s; }

.btn-on-photo {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-on-photo:hover { background: rgba(255, 255, 255, 0.24); }

.hero-chips-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-card);
}

.chip svg { width: 15px; height: 15px; flex-shrink: 0; }

.hero-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  font-size: 13.5px;
  font-weight: 600;
  color: #1d1d1f;
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero-google-badge:hover {
  background: #fff;
  transform: translateY(-1px);
}

.hero-google-badge .review-google-mark { width: 18px; height: 18px; }
.hero-google-badge .stars svg { width: 14px; height: 14px; }

.hero-google-divider {
  width: 1px;
  height: 16px;
  background: rgba(0, 0, 0, 0.12);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  animation: hero-bounce 2s infinite, hero-fade-in 0.6s ease-out 1s both;
}

.hero-scroll svg { width: 18px; height: 18px; }

@keyframes hero-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* About */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-features {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(225, 112, 44, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.about-feature h3 { margin: 0 0 4px; font-size: 16px; }
.about-feature p { margin: 0; font-size: 15px; }

.about-panel {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.about-panel .stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}

.about-panel .stat {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.about-panel .stat b {
  display: block;
  font-size: 24px;
  color: var(--accent);
}

.about-panel .stat span {
  font-size: 13px;
  color: var(--ink-soft);
}

/* Founder */
.founder { background: var(--bg); overflow: hidden; }

.founder-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.founder-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-blob {
  position: absolute;
  width: 125%;
  height: 125%;
  color: var(--accent);
  opacity: 0.85;
  z-index: 0;
}

.founder-photo {
  position: relative;
  z-index: 1;
  width: 280px;
  border-radius: 0 0 100px 100px;
  overflow: hidden;
}

.founder-photo img { display: block; width: 100%; height: auto; }

.founder-quote { position: relative; }

.founder-quote .quote-mark {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: -12px;
}

.founder-quote blockquote {
  margin: 0 0 20px;
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.founder-quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.founder-quote .role {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.founder-quote .review-tag { margin-top: 14px; }

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-quote .quote-mark { margin-top: 8px; }
}

/* Courses */
.courses { background: var(--bg-soft); }

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

.course-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid var(--line);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.course-card.featured {
  background: linear-gradient(160deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: none;
}

.course-card.featured h3,
.course-card.featured .price { color: #fff; }

.course-card.featured p { color: rgba(255,255,255,0.85); }

.course-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(225, 112, 44, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.course-card .icon svg { width: 22px; height: 22px; }

.course-card.featured .icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.course-card h3 { font-size: 18px; margin-bottom: 8px; }
.course-card p { font-size: 14.5px; margin-bottom: 18px; flex-grow: 1; }

.course-card .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  white-space: nowrap;
}

.course-card .price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.course-card.featured .badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  width: fit-content;
}

.courses-note {
  text-align: center;
  margin-top: 36px;
  color: var(--ink-soft);
  font-size: 14px;
}

.courses-more {
  display: none;
  margin: 8px auto 0;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.courses-more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.courses-more.is-open svg { transform: rotate(180deg); }

/* Registration */
.registration {
  position: relative;
  background: linear-gradient(160deg, var(--accent), var(--accent-dark));
  overflow: hidden;
}

.registration-bg {
  position: absolute;
  top: 50%;
  right: -4%;
  width: 40%;
  height: auto;
  max-width: 360px;
  color: #fff;
  opacity: 0.14;
  transform: translateY(-50%) rotate(-12deg);
  pointer-events: none;
}

.registration-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.registration-inner .eyebrow { color: rgba(255, 255, 255, 0.85); }
.registration-inner h2 { color: #fff; }
.registration-inner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  max-width: 520px;
  margin: 0;
}

.registration-inner .btn { margin-top: 26px; }

.btn-on-accent {
  background: #fff;
  color: var(--accent-dark);
}

.btn-on-accent:hover { background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.btn-on-accent.btn-pulse::after { background: #fff; }

/* Modal (registration popup) */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close:hover { color: var(--accent); border-color: rgba(225, 112, 44, 0.35); }
.modal-close svg { width: 18px; height: 18px; }

.modal-head { padding-right: 32px; }

/* Course "select" link */
.course-select {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
}

.course-select:hover { text-decoration: underline; }
.course-select span { transition: transform 0.15s ease; }
.course-select:hover span { transform: translateX(2px); }

.course-card.featured .course-select { color: #fff; }

/* Documents */
.documents { background: var(--bg-soft); }

.documents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.document-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.document-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.document-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(225, 112, 44, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.document-info { flex-grow: 1; min-width: 0; }
.document-info h3 { margin: 0 0 4px; font-size: 15.5px; line-height: 1.3; }

.document-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.document-download {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink-soft);
}

/* News */
.news { background: var(--bg); }

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

.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  background: var(--bg-soft);
}

.news-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.tag-info { background: rgba(225, 112, 44, 0.12); color: var(--accent); }
.tag-alert { background: rgba(255,59,48,0.12); color: #d70015; }
.tag-new { background: rgba(52,199,89,0.14); color: #248a3d; }

[data-theme="dark"] .tag-alert { background: rgba(255,69,58,0.18); color: #ff6961; }
[data-theme="dark"] .tag-new { background: rgba(48,209,88,0.18); color: #4cd964; }

.news-card time {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.news-card h3 { font-size: 17px; margin-bottom: 8px; }
.news-card p { font-size: 14.5px; margin: 0; }

/* Gallery */
.gallery { background: var(--bg-soft); }

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

.gallery-grid .g-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.g-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, #dcdfe4, #c3c8ce);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.g-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.g-item .g-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.g-item:hover .g-photo { transform: scale(1.05); }

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.62) 100%);
}

.g-item .g-label {
  position: relative;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 12px;
  color: #fff;
}

/* Gallery lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 14, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  padding: 24px;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 92vw;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover { background: var(--accent); border-color: var(--accent); }

.lightbox-close svg,
.lightbox-nav svg { width: 20px; height: 20px; }

.lightbox-close { top: 20px; right: 20px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 640px) {
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* Reviews */
.reviews {
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
}

.stars { display: flex; justify-content: center; gap: 3px; color: #ff9f0a; }
.stars svg { width: 20px; height: 20px; }
.stars.small svg { width: 15px; height: 15px; }

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 36px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.reviews-badge span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.google-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.google-g {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Reviews slider — Google-style peek carousel, loops infinitely */
.reviews-slider {
  position: relative;
  padding: 0 56px;
}

.reviews-track-wrap {
  overflow: hidden;
  margin: 0 -12px;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-slide {
  flex: 0 0 auto;
  width: 72%;
  margin: 0 12px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 32px;
  text-align: left;
  opacity: 0.38;
  transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.review-slide.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow-soft);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-meta {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.review-google-mark {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.9;
}

.review-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.review-stars-row .stars { justify-content: flex-start; }

.review-time {
  font-size: 13px;
  color: var(--ink-soft);
}

.review-highlight {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.review-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.review-more {
  display: none;
  margin-top: 8px;
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease, color 0.15s ease;
}

.slider-arrow:hover { background: var(--accent); color: #fff; }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }
.slider-arrow svg { width: 18px; height: 18px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.slider-dots button.active {
  background: var(--accent);
  transform: scale(1.25);
}

@media (max-width: 720px) {
  .review-slide { width: 84%; padding: 22px 22px; }
}

/* Follow */
.follow { background: var(--bg-soft); }

.follow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.follow-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.follow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.follow-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.follow-icon svg { width: 24px; height: 24px; }

.follow-instagram .follow-icon {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}

.follow-tiktok .follow-icon { background: #010101; }

.follow-text { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.follow-text strong { font-size: 15px; color: var(--ink); }
.follow-text span { font-size: 13.5px; color: var(--ink-soft); }

.follow-arrow { width: 18px; height: 18px; color: var(--ink-soft); flex-shrink: 0; transition: transform 0.15s ease, color 0.15s ease; }
.follow-card:hover .follow-arrow { color: var(--accent); transform: translateX(3px); }

@media (max-width: 640px) {
  .follow-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { background: var(--bg-soft); }

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.faq-item:hover { border-color: rgba(225, 112, 44, 0.35); }

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.faq-item[open] summary { color: var(--accent); }

.faq-q { flex: 1; }

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(225, 112, 44, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.25s ease;
}

.faq-toggle svg { width: 16px; height: 16px; }

.faq-item[open] .faq-toggle {
  background: var(--accent);
  color: #fff;
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 15px;
  max-width: 60ch;
}

/* Contact */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
}

.contact-info {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-row:last-of-type { margin-bottom: 0; }

.contact-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-row .icon svg { width: 19px; height: 19px; }

.contact-row h3 { margin: 0 0 4px; font-size: 15px; }
.contact-row p, .contact-row a { margin: 0; font-size: 15px; color: var(--ink-soft); }
.contact-row a:hover { color: var(--accent); }
.contact-row a[href^="tel"] { white-space: nowrap; }
.contact-row .contact-role { margin: 0 0 2px; font-size: 13.5px; }

.map-embed {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

.map-embed-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.map-embed-placeholder svg { width: 28px; height: 28px; color: var(--accent); }

.map-embed-placeholder:hover { background: var(--bg-soft-2); color: var(--ink); }

/* Form */
.contact-form {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(225, 112, 44, 0.15);
}

.field textarea { resize: vertical; min-height: 110px; }

.field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.field-check input { width: 16px; height: 16px; margin-top: 3px; }
.field-check label { font-weight: 400; font-size: 13px; line-height: 1.4; }

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

.form-success {
  display: none;
  background: rgba(52,199,89,0.12);
  color: #248a3d;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

[data-theme="dark"] .form-success {
  background: rgba(48,209,88,0.16);
  color: #4cd964;
}

.form-success.show { display: block; }

/* Footer */
footer.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; max-width: 320px; }
.footer-brand .footer-ico { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,0.55); }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.footer-bottom a:hover { color: #fff; }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content .hero-lead,
  .hero-content .hero-google-badge,
  .hero-content .hero-ctas {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-scroll {
    animation: none;
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1240px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
}

@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-panel { grid-template-columns: 1fr; text-align: center; }
  .reviews-panel .reviews-copy { order: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-actions .btn-primary { display: none; }
  .nav-wrap { padding: 12px 20px; }
  .logo { font-size: 16px; }
  .logo .mark svg { width: 22px; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .course-grid { grid-template-columns: 1fr; }
  .course-grid .course-card:nth-child(n + 5) { display: none; }
  .course-grid.is-expanded .course-card:nth-child(n + 5) { display: flex; }
  .courses-more { display: inline-flex; }
  .documents-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-item:first-child { grid-column: span 2; grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .modal-panel { padding: 28px 22px; }
  .reviews-panel { padding: 32px 24px; }
  .review-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
  }
  .review-text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .review-more.is-visible { display: inline-block; }
  .announce-inner { padding: 7px 20px; font-size: 12.5px; gap: 6px; }
  .announce-bar a.link-inline { display: none; }
  .hero-content { padding: 28px 20px 40px; }
  .hero-scroll { display: none; }
  .reviews-slider { padding: 0 40px; }
  .slider-arrow { width: 34px; height: 34px; }
  .reviews-summary { flex-direction: column; text-align: center; }
}

