/* Base */
:root {
  color-scheme: light;
  --bg: #f6f4f1;
  --ink: #1b1b1d;
  --muted: #5b5b63;
  --accent: #2f5d62;
  --accent-2: #d18b47;
  --card: #ffffff;
  --line: #dedbd6;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  padding: 28px 0 10px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero {
  position: relative;
  padding: 64px 0 40px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 20%;
  width: 240px;
  height: 240px;
  background: rgba(47, 93, 98, 0.12);
  border-radius: 50%;
  z-index: 0;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero-card {
  background: var(--card);
  padding: 32px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.hero-card h1 {
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  margin: 0 0 16px;
}

.hero-card p {
  color: var(--muted);
  margin: 0 0 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn.light {
  background: var(--accent-2);
  color: #1b1b1d;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-visual img {
  width: min(420px, 80vw);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.section {
  padding: 60px 0;
}

.section.alt {
  background: #ece9e4;
}

.bg-panel {
  background: url("assets/section-bg.svg") center/cover no-repeat;
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  padding: 26px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.offset-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card);
  padding: 26px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-left: 0;
}

.offset-block.right {
  align-self: flex-end;
  margin-right: 0;
}

.pill {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(47, 93, 98, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--card);
  padding: 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.card img {
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
}

.inline-cta {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.list-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-item {
  background: rgba(255, 255, 255, 0.85);
  padding: 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: #fff6ea;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(209, 139, 71, 0.5);
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing .card {
  border: 1px solid var(--line);
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.form-wrap {
  background: var(--card);
  padding: 28px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: inherit;
}

.footer {
  margin-top: auto;
  padding: 40px 0;
  background: #1b1b1d;
  color: #f3f0ec;
}

.footer a {
  color: #f3f0ec;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 20;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 340px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  z-index: 30;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.page-hero {
  padding: 60px 0 30px;
}

.page-hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-box {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

@media (min-width: 860px) {
  .hero-layout,
  .split {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1.1;
  }

  .hero-visual {
    flex: 0.9;
    align-items: flex-end;
  }

  .cards,
  .pricing,
  .footer-grid,
  .info-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .pricing .card,
  .info-box {
    flex: 1 1 260px;
  }

  .offset-block {
    margin-left: 40px;
  }

  .offset-block.right {
    margin-right: 40px;
  }

  .list-row {
    flex-direction: row;
  }

  .list-item {
    flex: 1 1 240px;
  }

  .testimonials {
    flex-direction: row;
  }
}
