:root {
  --deep: #0b3d5c;
  --blue: #1a6fa8;
  --teal: #27aec3;
  --light-teal: #6fd3d9;
  --foam: #eef8fa;
  --ink: #12232e;
  --muted: #5c7484;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(11, 61, 92, 0.12);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--deep);
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 16px; color: var(--muted); }

.lead {
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 700px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 61, 92, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--deep);
  text-decoration: none;
}
.logo span { color: var(--teal); }
.logo-mark {
  width: 30px;
  height: 30px;
  color: var(--teal);
  flex-shrink: 0;
}
.logo-mark circle { color: var(--blue); }
.site-footer .logo-mark { color: var(--light-teal); }
.site-footer .logo-mark circle { color: var(--white); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--blue); color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 20% 20%, rgba(111, 211, 217, 0.35), transparent 55%),
              linear-gradient(135deg, var(--deep), var(--blue) 60%, var(--teal));
  color: var(--white);
  padding: 64px 0 88px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.hero .eyebrow { color: var(--light-teal); }

.hero h1 { color: var(--white); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
}

.hero-guarantee {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 6px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 620px;
}
.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.guarantee-item .check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: var(--light-teal);
}
.guarantee-item span {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.98rem;
  line-height: 1.4;
}
.guarantee-item strong { color: var(--light-teal); }

.hero-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.hero-actions .btn {
  flex: 1 1 200px;
  max-width: 260px;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--white);
  color: var(--deep);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); }

.cta-band .btn-primary,
.service-card .btn-primary {
  background: var(--teal);
  color: var(--white);
}
.cta-band .btn-primary:hover,
.service-card .btn-primary:hover { background: var(--blue); }

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-full { width: 100%; text-align: center; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--foam); }

/* Pain points */
.pain-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.pain-row {
  display: flex;
  align-items: center;
  gap: 40px;
}
.pain-row.reverse { flex-direction: row-reverse; }
.pain-text, .pain-photo { flex: 1 1 0; min-width: 0; }
.pain-text h3 { color: var(--blue); }
.pain-text p { margin-bottom: 0; }
.pain-photo.placeholder {
  aspect-ratio: 4 / 3;
}
.pain-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

/* Placeholders */
.placeholder {
  background: var(--foam);
  border: 2px dashed rgba(11, 61, 92, 0.28);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.placeholder.small {
  aspect-ratio: 4 / 3;
  font-size: 0.8rem;
  padding: 14px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.service-card.highlight {
  background: var(--deep);
  color: var(--white);
}
.service-card.highlight h3,
.service-card.highlight strong { color: var(--light-teal); }
.service-card.highlight p { color: rgba(255, 255, 255, 0.85); }

.service-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.service-card.highlight .placeholder.small {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
}
.media-box {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.media-box iframe,
.media-box img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 35% 30%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Testimonials */
#testimonials .container { text-align: center; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.testimonial-card.placeholder {
  aspect-ratio: 3 / 4;
}
.trustpilot-cta {
  display: inline-block;
  margin-top: 32px;
  color: var(--deep);
  border-color: rgba(11, 61, 92, 0.35);
}
.trustpilot-cta:hover { background: rgba(11, 61, 92, 0.06); }

/* Teacher */
#teacher .container { text-align: center; }
.qualifications-list {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}
.qualifications-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--deep);
  text-align: left;
}
.qualifications-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Contact */
.cta-band {
  background: linear-gradient(135deg, var(--foam), var(--white));
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-copy { max-width: 420px; }

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.form-row input, .form-row textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(11, 61, 92, 0.25);
  font-family: inherit;
  font-size: 1rem;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(39, 174, 195, 0.2);
}
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.success { color: #1a7a4c; }
.form-status.error { color: #b3261e; }

/* FAQ */
.faq-hero { padding-bottom: 24px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-weight: 700;
  color: var(--deep);
  font-size: 1.05rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.4rem;
  color: var(--teal);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 20px; margin: -6px 0 0; }
.active-nav-link { color: var(--teal) !important; }

/* Footer */
.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .logo { color: var(--white); }
.site-footer p { color: rgba(255, 255, 255, 0.65); margin: 0; }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--light-teal); }

/* Gear page */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gear-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.gear-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.gear-card p { font-size: 0.92rem; margin-bottom: 14px; }
.gear-card .placeholder.small { margin-bottom: 16px; }
.gear-icon-box {
  aspect-ratio: 4 / 3;
  background: var(--foam);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.gear-icon-box svg {
  width: 56px;
  height: 56px;
  color: var(--teal);
}
.gear-link {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.gear-link:hover { color: var(--blue); text-decoration: underline; }

/* Resources page */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.resource-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
}
.resource-card h2 { font-size: 1.25rem; color: var(--blue); margin-bottom: 10px; }
.resource-card p { margin-bottom: 0; }

/* Responsive */
@media (max-width: 860px) {
  .pain-row, .pain-row.reverse { flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 360px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { order: -1; max-width: 360px; margin: 0 auto; }
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .gear-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
}
