@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap");

:root {
  color-scheme: light;
  --ink: #1a1f2b;
  --muted: #5b6475;
  --surface: #f4f1ec;
  --surface-strong: #e8e1d9;
  --accent: #1f6b7a;
  --accent-strong: #0e4a57;
  --warm: #c9a775;
  --cool: #c5d8e6;
  --edge: rgba(26, 31, 43, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: #fbfaf8;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 0 12px;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.ad-label {
  font-size: 0.75rem;
  background: var(--surface-strong);
  padding: 6px 10px;
  border-radius: 999px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.9rem;
}

.nav a {
  padding: 4px 0;
}

.hero {
  display: flex;
  align-items: stretch;
  gap: 32px;
  margin-top: 24px;
}

.hero-content {
  flex: 1 1 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 28px;
  background: var(--surface);
  border-radius: 18px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero-content p {
  margin: 0 0 18px;
  color: var(--muted);
}

.hero-visual {
  flex: 1 1 48%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .image-frame {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--cool);
  box-shadow: 0 24px 40px rgba(31, 107, 122, 0.18);
  transform: translateY(22px);
}

.section {
  display: flex;
  gap: 32px;
  margin-top: 64px;
  align-items: center;
}

.section.reverse {
  flex-direction: row-reverse;
}

.section.offset .section-text {
  margin-top: -18px;
}

.section-text {
  flex: 1 1 54%;
}

.section-text h2 {
  margin-top: 0;
  font-size: 2rem;
}

.section-text p {
  margin: 0 0 14px;
  color: var(--muted);
}

.section-media {
  flex: 1 1 46%;
}

.image-frame {
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--edge);
}

.image-frame.warm {
  background: #eadbc5;
}

.image-frame.cool {
  background: #d9e7f3;
}

.image-frame.deep {
  background: #c7d0d4;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
}

.card {
  flex: 1 1 240px;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card .price {
  font-weight: 600;
  color: var(--accent-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn.secondary {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid var(--accent-strong);
}

.btn:hover,
.btn:focus {
  background: var(--accent-strong);
  color: #fff;
  text-decoration: none;
}

.btn.secondary:hover,
.btn.secondary:focus {
  background: var(--accent-strong);
  color: #fff;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

.testimonial {
  background: #fff;
  border-left: 4px solid var(--warm);
  padding: 16px 18px;
  margin-top: 18px;
}

.testimonial span {
  display: block;
  font-weight: 600;
  margin-top: 10px;
}

.cta-band {
  margin-top: 60px;
  padding: 36px;
  background: var(--surface);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.backdrop-section {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 48px;
  margin-top: 64px;
  display: flex;
  align-items: center;
  min-height: 280px;
  background: #d7e3ea;
}

.backdrop-section .backdrop-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.backdrop-section .backdrop-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.form-wrapper {
  margin-top: 56px;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-field {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--edge);
  font-family: inherit;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--accent-strong);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(15, 26, 41, 0.28);
  z-index: 10;
}

.sticky-cta:hover,
.sticky-cta:focus {
  background: #0a3943;
  color: #fff;
  text-decoration: none;
}

.footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 18px;
  max-width: 380px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid var(--edge);
  box-shadow: 0 12px 30px rgba(26, 31, 43, 0.18);
  display: none;
  z-index: 20;
}

.cookie-banner.visible {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-header {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.page-header .image-frame {
  flex: 1 1 42%;
  min-height: 240px;
}

.page-header .header-text {
  flex: 1 1 58%;
}

.side-note {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  margin-top: 18px;
}

.legal-grid {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.legal-grid .card {
  flex: 1 1 260px;
}

@media (max-width: 900px) {
  .hero,
  .section,
  .page-header {
    flex-direction: column;
  }

  .hero-visual .image-frame {
    transform: none;
  }

  .sticky-cta {
    right: 14px;
    left: 14px;
    text-align: center;
  }
}
