/* Base */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #171717;
  background: #f7f4f1;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: #1b4d8c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar {
  background: #111013;
  color: #f7f4f1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand {
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar nav a {
  color: #f7f4f1;
  font-size: 15px;
}

.sidebar .meta {
  font-size: 13px;
  color: #c9c1bc;
}

.content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.section.dark {
  background: #111013;
  color: #f7f4f1;
}

.section.accent {
  background: #f2e7dc;
}

.section.tight {
  padding: 18px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero .hero-visual {
  border-radius: 18px;
  overflow: hidden;
}

.hero h1 {
  font-size: 32px;
  margin: 0;
}

.hero p {
  font-size: 17px;
  line-height: 1.6;
}

.inline-cta {
  font-weight: 600;
  color: #0f2f5c;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split .panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #ece6e1;
}

.card img {
  border-radius: 12px;
}

.asymmetric {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.offset {
  align-self: flex-end;
  width: 92%;
}

.layered {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.layered .layer {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #efe7e2;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.layered .layer.secondary {
  background: #0f2f5c;
  color: #f7f4f1;
  margin-left: 24px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 16px;
  border-bottom: 1px dashed #ddd0c7;
  padding-bottom: 8px;
}

.testimonial {
  border-left: 3px solid #f0b74c;
  padding-left: 12px;
  font-size: 15px;
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #ece6e1;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.price {
  font-size: 18px;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: #0f2f5c;
  color: #ffffff;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  cursor: pointer;
}

.button.light {
  background: #f0b74c;
  color: #111013;
}

.button.ghost {
  background: transparent;
  color: #0f2f5c;
  border: 1px solid #0f2f5c;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-wrap label {
  font-size: 14px;
  font-weight: 600;
}

.form-wrap input,
.form-wrap select,
.form-wrap textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d8cfc7;
  font-size: 15px;
}

.form-note {
  font-size: 13px;
  color: #6e655f;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  background: #f04f47;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.footer {
  background: #111013;
  color: #c9c1bc;
  padding: 24px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  color: #f7f4f1;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #e5dbd2;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 30;
}

.cookie-banner.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 900px) {
  .layout {
    flex-direction: row;
  }

  .sidebar {
    width: 240px;
    min-height: 100vh;
  }

  .content {
    padding: 40px 48px;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero h1 {
    font-size: 44px;
  }

  .split {
    flex-direction: row;
  }

  .cards {
    flex-direction: row;
  }

  .card {
    flex: 1;
  }

  .asymmetric {
    flex-direction: row;
  }

  .offset {
    width: 70%;
  }

  .stats {
    flex-direction: row;
    gap: 24px;
  }

  .stat {
    flex: 1;
    border-bottom: none;
    border-right: 1px dashed #ddd0c7;
    padding-right: 12px;
  }

  .stat:last-child {
    border-right: none;
  }

  .pricing {
    flex-direction: row;
  }

  .price-item {
    flex: 1;
  }

  .form-wrap {
    max-width: 520px;
  }
}
