.root {
  --ink: #0f1a21;
  --muted: #4b5964;
  --accent: #1b6e5a;
  --accent-2: #284b63;
  --sand: #f3f1ec;
  --mist: #f7f9fb;
  --card: #ffffff;
  --line: #e0e6eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:focus,
button:focus,
select:focus,
input:focus,
textarea:focus {
  outline: 2px solid rgba(27, 110, 90, 0.3);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--sand);
  border-right: 1px solid var(--line);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.ad-label {
  font-size: 0.85rem;
  color: var(--muted);
  background: #efe5d7;
  padding: 8px 12px;
  border-radius: 12px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  font-weight: 600;
}

.sidebar-cta {
  margin-top: auto;
  position: sticky;
  top: 20px;
  padding: 16px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content {
  flex: 1;
  padding: 34px 5vw 70px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-media {
  flex: 1 1 320px;
  background: #dce5ea;
  border-radius: 20px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
}

.section {
  background: var(--card);
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: 0 18px 40px rgba(15, 26, 33, 0.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section.alt {
  background: var(--sand);
}

.split {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}

.split > div {
  flex: 1 1 280px;
}

.pill-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  background: #e8eef2;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.cards {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 220px;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media {
  background: #dae6ef;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.form-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-grid > label {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 1rem;
}

.bg-context {
  background: #e5ebf0;
  background-image: url("https://images.unsplash.com/photo-1427751840561-9852520f8ce8?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bg-context .section {
  background: rgba(15, 26, 33, 0.78);
  color: #fff;
}

.bg-abstract {
  background: #e0e7ef;
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.inline-image {
  background: #d8e0e6;
  border-radius: 18px;
  overflow: hidden;
}

.testimonial {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.testimonial img {
  width: 140px;
  height: 140px;
  border-radius: 16px;
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 360px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(15, 26, 33, 0.15);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-hero {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.legal-hero img {
  width: 320px;
  height: 200px;
  border-radius: 18px;
}

.contact-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.contact-block {
  flex: 1 1 240px;
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-cta {
    position: static;
  }
}

@media (max-width: 720px) {
  .content {
    padding: 24px 6vw 60px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-hero img {
    width: 100%;
    height: auto;
  }
}
