* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1e1f24;
  --muted: #5b606b;
  --accent: #2f62d6;
  --accent-dark: #1c3f92;
  --soft: #f3f5f9;
  --sun: #f7c664;
  --sage: #d7e6d9;
  --sand: #f1eee8;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(18, 26, 41, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --sidebar-width: 240px;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--soft);
  padding: 28px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  font-weight: 600;
  color: var(--ink);
}

.nav-links a:hover {
  background: var(--white);
  box-shadow: 0 6px 16px rgba(15, 24, 42, 0.08);
}

.sidebar-note {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.content {
  flex: 1;
  padding: 36px 40px 64px;
}

.page-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.75rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(47, 98, 214, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.btn-soft {
  background: var(--sand);
  color: var(--ink);
}

.section {
  margin: 32px 0;
  padding: 28px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.section p {
  color: var(--muted);
}

.section.light {
  background: var(--soft);
}

.section.sun {
  background: var(--sun);
}

.section.sage {
  background: var(--sage);
}

.section.sand {
  background: var(--sand);
}

.section.hero {
  background: var(--white);
  border: 1px solid #e4e7ef;
  box-shadow: var(--shadow);
}

.section.hero .hero-wrap {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.section.hero .hero-text {
  flex: 1 1 300px;
}

.section.hero .hero-image {
  flex: 1 1 260px;
}

.panel {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.panel-item {
  flex: 1 1 220px;
  background: var(--white);
  padding: 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.panel-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.panel-item p {
  font-size: 0.95rem;
}

.feature-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.feature-row .feature-text {
  flex: 1 1 320px;
}

.feature-row .feature-visual {
  flex: 1 1 260px;
}

.quote {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.badge {
  display: inline-block;
  background: var(--white);
  color: var(--accent-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.timeline-step {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.timeline-content {
  flex: 1;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.list span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.service-card {
  flex: 1 1 230px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid #e5e7ef;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.enroll {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d8dce7;
  font-size: 0.95rem;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-field {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-help {
  font-size: 0.85rem;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
}

.sticky-cta button {
  background: var(--accent-dark);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 20px;
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7ef;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 50;
}

.cookie-banner.active {
  display: flex;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.inline-link {
  color: var(--accent-dark);
  text-decoration: underline;
  font-weight: 600;
}

.map-card {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.map-card img {
  width: 160px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.contact-card {
  flex: 1 1 200px;
  background: var(--white);
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #e4e7ef;
}

.section-overlay::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: rgba(47, 98, 214, 0.12);
  border-radius: 40px;
  transform: rotate(12deg);
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .content {
    padding: 24px;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 20px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
