* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f4f0;
  --ink: #1c1d21;
  --muted: #5f6674;
  --brand: #2b6df3;
  --accent: #f2b84b;
  --dark: #101218;
  --light: #ffffff;
  --panel: #eef0f4;
  --panel-strong: #e2e6ee;
}

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;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--dark);
  color: var(--light);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.ad-label {
  font-size: 12px;
  color: #cfd4de;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
  border-radius: 6px;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a:active {
  transform: translateY(1px);
}

.sidebar-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--light);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  background: transparent;
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero {
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?w=1400&q=80");
  background-size: cover;
  background-position: center;
  background-color: #2a2f3c;
  min-height: 420px;
  display: flex;
  align-items: stretch;
}

.hero-inner {
  background: rgba(16, 18, 24, 0.65);
  color: var(--light);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 620px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0;
}

.hero p {
  margin: 0;
  color: #e0e4ed;
}

.section {
  padding: 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-split {
  display: flex;
  gap: 28px;
  align-items: center;
}

.section-split.reverse {
  flex-direction: row-reverse;
}

.section-split .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-split .media {
  flex: 1;
}

.img-frame {
  background-color: #d8dde7;
  border-radius: 16px;
  overflow: hidden;
}

.img-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.panel {
  background: var(--panel);
  padding: 26px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-strong {
  background: var(--panel-strong);
}

.card-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 240px;
  background: var(--light);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(18, 24, 40, 0.08);
}

.card img {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  object-fit: cover;
  background-color: #d8dde7;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}

.inline-link {
  color: var(--brand);
  text-decoration: underline;
}

.story-bg {
  background-image: url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1400&q=80");
  background-size: cover;
  background-position: center;
  background-color: #3a4151;
  color: var(--light);
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-bg .panel {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: var(--accent);
  color: #2c2b27;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.cta-banner {
  background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1400&q=80");
  background-size: cover;
  background-position: center;
  background-color: #2a3343;
  color: var(--light);
  padding: 36px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-banner .btn {
  background: var(--accent);
  color: #1c1d21;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #c6ccd8;
  font-size: 16px;
  font-family: inherit;
  background: var(--light);
}

.form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.form-row > div {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.testimonial {
  font-style: italic;
  border-left: 3px solid var(--brand);
  padding-left: 12px;
}

.footer {
  background: #101218;
  color: #d7dce7;
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.disclaimer {
  font-size: 13px;
  color: #a9b2c2;
}

.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--brand);
  color: var(--light);
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(20, 30, 60, 0.2);
  z-index: 10;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: var(--light);
  color: var(--ink);
  border-radius: 14px;
  padding: 16px;
  max-width: 340px;
  box-shadow: 0 12px 28px rgba(20, 30, 60, 0.2);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 12;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  padding: 10px 14px;
}

.nav-toggle {
  display: none;
  background: var(--brand);
  color: var(--light);
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.page-header {
  padding: 28px 48px 0 48px;
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.contact-card {
  background: var(--light);
  border-radius: 16px;
  padding: 18px;
  flex: 1 1 220px;
  box-shadow: 0 10px 24px rgba(20, 30, 60, 0.08);
}

@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: none;
  }

  body.nav-open .sidebar {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-self: flex-start;
    margin: 18px 20px 0 20px;
  }

  .hero {
    min-height: 360px;
  }

  .section,
  .story-bg,
  .cta-banner,
  .footer,
  .page-header {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section-split {
    flex-direction: column;
  }

  .section-split.reverse {
    flex-direction: column;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
