* {
  box-sizing: border-box;
}

:root {
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --paper: #f6f2ec;
  --accent: #1f5f8b;
  --accent-soft: #e3eef6;
  --sand: #efe7dc;
  --sage: #d9e4dc;
  --rose: #f2e0dc;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5%;
  background: var(--paper);
  border-bottom: 1px solid #e0d7ce;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.ad-label {
  background: #fff2c5;
  color: #5a3d00;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 5% 24px;
  background: var(--accent-soft);
}

.hero-split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-image {
  background: #cbd9e6;
  border-radius: 18px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 360px;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 12px;
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 620px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  background: #174b6d;
  color: #ffffff;
}

.btn.secondary:hover,
.btn.secondary:focus {
  background: var(--accent);
  color: #ffffff;
}

.magazine {
  padding: 32px 5%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mag-row {
  display: flex;
  gap: 28px;
  align-items: stretch;
  flex-wrap: wrap;
}

.mag-col {
  flex: 1 1 260px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mag-col h2 {
  margin-top: 0;
}

.image-card {
  background: #d7dfe8;
  border-radius: 16px;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 240px;
}

.feature-strip {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: var(--sand);
  border-radius: 18px;
}

.feature-strip h3 {
  margin: 0;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  flex: 1 1 240px;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: 170px;
}

.service-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.story-band {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: var(--sage);
  border-radius: 18px;
}

.highlight {
  font-weight: 600;
}

.form-section {
  padding: 36px 5%;
  background: var(--rose);
}

.form-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cbd2d9;
  font-size: 16px;
  font-family: inherit;
}

.sticky-cta {
  position: sticky;
  bottom: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e6e6e6;
  padding: 12px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.sticky-cta .btn {
  padding: 10px 18px;
}

.footer {
  margin-top: auto;
  padding: 28px 5%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.notice {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 40;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.cookie-actions .btn {
  padding: 8px 14px;
  font-size: 14px;
}

.page-header {
  padding: 32px 5% 18px;
  background: var(--accent-soft);
}

.plain-section {
  padding: 28px 5%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.two-column .panel {
  flex: 1 1 280px;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-card {
  background: var(--sand);
  border-radius: 16px;
  padding: 20px;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bg-hero {
  background-image: url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.bg-learning {
  background-image: url("https://images.unsplash.com/photo-1509062522246-3755977927d7?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.bg-learning .notice {
  color: #f4f6f8;
}

.bg-overlay {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 18px;
  padding: 24px;
}

.references a {
  color: var(--accent);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .hero-split {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    flex: 1;
  }

  .hero-image {
    flex: 1;
  }
}
