* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #1b1f2a;
  background: #f6f4f1;
  line-height: 1.6;
}

a {
  color: #1b1f2a;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  flex: 0 0 260px;
  background: #12151c;
  color: #f7f4ef;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.brand {
  font-size: 22px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.nav-links a {
  color: #f7f4ef;
}

.ad-label {
  margin-top: auto;
  font-size: 12px;
  padding: 10px 12px;
  background: #242b3a;
  border-radius: 14px;
  text-align: center;
}

.content {
  flex: 1;
  padding: 42px 50px 90px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.hero {
  display: flex;
  gap: 36px;
  align-items: stretch;
  background: #ffffff;
  padding: 36px;
  border-radius: 30px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-text h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
}

.hero-image {
  flex: 0 0 42%;
  display: flex;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
}

.image-frame {
  background: #e1e6ea;
  border-radius: 18px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn {
  border: none;
  padding: 12px 18px;
  border-radius: 22px;
  background: #12151c;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
}

.btn-secondary {
  background: #ffd788;
  color: #2c2b28;
}

.section {
  display: flex;
  gap: 28px;
  align-items: center;
}

.section.reverse {
  flex-direction: row-reverse;
}

.section .text-block {
  flex: 1;
}

.section .visual-block {
  flex: 0 0 40%;
  min-height: 240px;
}

.bg-section {
  background-color: #5b5f6c;
  background-image: url("https://images.unsplash.com/photo-1485217988980-11786ced9454?w=1400&q=80");
  background-size: cover;
  background-position: center;
  padding: 32px;
  border-radius: 28px;
  color: #ffffff;
}

.bg-section .text-block {
  background: rgba(18, 21, 28, 0.6);
  padding: 18px;
  border-radius: 18px;
}

.layered {
  position: relative;
  padding: 32px;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
}

.layered .layer {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 28px;
  background: #f1cfa4;
  top: -30px;
  right: -20px;
  opacity: 0.4;
}

.metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.metric {
  flex: 1 1 160px;
  background: #1b1f2a;
  color: #ffffff;
  padding: 20px;
  border-radius: 18px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.card {
  flex: 1 1 220px;
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
  font-size: 18px;
}

.price {
  font-weight: 600;
  color: #0f3c3a;
}

.testimonial {
  background: #fff2dd;
  border-radius: 20px;
  padding: 20px;
}

.form-section {
  background: #12151c;
  color: #ffffff;
  padding: 36px;
  border-radius: 28px;
  display: flex;
  gap: 28px;
}

.form-section .form-text {
  flex: 1;
}

.form-section form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-size: 14px;
}

select,
input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: none;
}

.cta-inline {
  text-decoration: underline;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
  border-radius: 26px;
  padding: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #ffd788;
  color: #2c2b28;
  border: none;
  padding: 14px 18px;
  border-radius: 30px;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #ffffff;
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  max-width: 320px;
  display: none;
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.simple-page {
  display: flex;
  flex-direction: column;
  gap: 26px;
  background: #ffffff;
  padding: 36px;
  border-radius: 28px;
}

.simple-page h1 {
  margin: 0;
}

.list-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice {
  background: #f4e9df;
  padding: 16px;
  border-radius: 18px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    flex: none;
    width: 100%;
  }

  .hero,
  .section,
  .form-section {
    flex-direction: column;
  }

  .hero-image,
  .section .visual-block {
    width: 100%;
  }
}
