:root {
  color-scheme: light;
  --ink: #121317;
  --muted: #5b616b;
  --accent: #1f4d7a;
  --accent-soft: #e8f0f7;
  --warm: #f7f2ec;
  --edge: #e3e6ea;
  --highlight: #0d2a3d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
button:hover {
  opacity: 0.9;
}

header {
  border-bottom: 1px solid var(--edge);
  background: #fff;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 7vw;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.ad-label {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--accent-soft);
  padding: 6px 10px;
  border-radius: 999px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 40px 7vw 80px;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 62vh;
  padding: 60px 8vw;
  color: #fff;
  background-image: linear-gradient(180deg, rgba(12, 20, 28, 0.15), rgba(12, 20, 28, 0.75)), url("https://images.pexels.com/photos/6814354/pexels-photo-6814354.jpeg");
  background-size: cover;
  background-position: center;
  background-color: #1d2a34;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
  margin: 0 0 16px;
}

.hero p {
  max-width: 640px;
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: #fff;
  color: var(--highlight);
}

.mag-two-col {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.mag-text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.media-frame {
  flex: 1 1 280px;
  background: #e5e0da;
  border-radius: 16px;
  overflow: hidden;
}

.media-frame.tight {
  height: 180px;
}

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

.issue-feature {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  color: #fff;
  background-image: linear-gradient(120deg, rgba(6, 14, 22, 0.5), rgba(6, 14, 22, 0.85)), url("https://images.pexels.com/photos/28099922/pexels-photo-28099922.jpeg");
  background-size: cover;
  background-position: center;
  background-color: #222c33;
  border-radius: 24px;
}

.issue-feature .inline-link {
  color: #fff;
  text-decoration: underline;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  flex: 1 1 240px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}

.service-card.highlight {
  background: var(--warm);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  background: #efe9e2;
}

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

.program-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.program-grid ul {
  margin: 0;
  padding-left: 18px;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border-radius: 20px;
  background: var(--accent-soft);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cfd6df;
  font-size: 1rem;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-row > div {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.quote-card {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--edge);
}

footer {
  border-top: 1px solid var(--edge);
  padding: 32px 7vw 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--highlight);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--edge);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 18px 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-hero {
  background: var(--warm);
  padding: 28px 7vw;
}

.page-hero h1 {
  margin: 0;
}

.page-content {
  padding: 32px 7vw 70px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.info-grid .media-frame {
  min-height: 240px;
}

.legal-block {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--edge);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 20px;
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 40px 8vw;
  }

  .sticky-cta {
    right: 12px;
    bottom: 12px;
  }
}
