*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --ink: #1b1b1f;
  --muted: #5b5b66;
  --accent: #1d5b5e;
  --accent-2: #9c6b3d;
  --card: #ffffff;
  --line: #e6e0d7;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  padding: 32px 24px;
  background: #f0ebe2;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 500;
}

.nav a {
  padding: 6px 0;
}

.nav a:hover {
  color: var(--accent);
}

.side-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(29, 91, 94, 0.2);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

.main {
  flex: 1;
  padding: 40px 56px 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero {
  display: flex;
  gap: 40px;
  align-items: center;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero h1 {
  font-size: 40px;
  margin: 0;
  line-height: 1.15;
}

.hero p {
  color: var(--muted);
  margin: 0;
}

.hero-media {
  flex: 1;
  background: #d9d3c7;
  border-radius: 24px;
  overflow: hidden;
}

.image-frame {
  background: #d9d3c7;
  border-radius: 16px;
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split {
  display: flex;
  gap: 36px;
  align-items: stretch;
}

.split.reverse {
  flex-direction: row-reverse;
}

.panel {
  flex: 1;
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 220px;
  background: var(--card);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
}

.card img {
  border-radius: 14px;
}

.price {
  font-weight: 700;
  color: var(--accent-2);
}

.stripe-section {
  background: #efe7db;
  border-radius: 26px;
  padding: 32px;
  display: flex;
  gap: 28px;
  align-items: center;
}

.stripe-section.bg-focus {
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.stripe-content {
  flex: 1;
  backdrop-filter: blur(2px);
  background: rgba(21, 21, 24, 0.55);
  padding: 24px;
  border-radius: 18px;
}

.stripe-section.bg-focus .btn.secondary {
  border-color: #fff;
  color: #fff;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  align-items: flex-start;
}

.list-item strong {
  min-width: 140px;
}

.form-wrap {
  background: var(--card);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--line);
}

.form-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

label {
  font-weight: 600;
  font-size: 14px;
}

select,
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.field {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inline-cta {
  color: var(--accent);
  font-weight: 600;
}

.inline-cta:hover {
  text-decoration: underline;
}

.sticky-cta {
  position: sticky;
  top: 24px;
  align-self: flex-end;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  max-width: 280px;
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 18px;
  max-width: 320px;
  display: none;
  z-index: 50;
}

.cookie-banner.visible {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.table-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.table-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 18px;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.table-row span {
  min-width: 180px;
  font-weight: 600;
}

.bg-library {
  background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bg-library .panel {
  background: rgba(16, 16, 19, 0.7);
  color: #fff;
}

.bg-map {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bg-map .panel {
  background: rgba(30, 30, 34, 0.65);
  color: #fff;
}

.note {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .main {
    padding: 32px 24px 64px;
  }

  .hero,
  .split {
    flex-direction: column;
  }

  .sticky-cta {
    position: static;
    align-self: stretch;
  }
}
