* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #1b1b1b;
  background-color: #f7f6f2;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.sidebar {
  width: 260px;
  background-color: #f0ede6;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

.ad-label {
  font-size: 12px;
  color: #6b5f55;
  background-color: #efe4d6;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-link {
  padding: 8px 10px;
  border-radius: 8px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  background-color: #e2d7c8;
}

.sidebar-cta {
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #1b1b1b;
  background-color: #1b1b1b;
  color: #f7f6f2;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus {
  background-color: #3d2e27;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: #1b1b1b;
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: #f1e7d8;
}

.main {
  flex: 1;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-text h1 {
  font-size: 40px;
  line-height: 1.2;
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-frame {
  background-color: #dcd3c6;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-heading {
  font-size: 28px;
}

.split {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .text-block,
.split .media-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 220px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(27, 27, 27, 0.08);
}

.card img {
  border-radius: 12px;
}

.card-cta {
  align-self: flex-start;
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background-color: #f8f1e8;
  border-radius: 12px;
}

.pricing-row span {
  font-weight: 600;
}

.highlight {
  background-color: #efe4d6;
  padding: 22px;
  border-radius: 18px;
}

.inline-link {
  color: #8c4f30;
  text-decoration: underline;
}

.sticky-cta {
  position: sticky;
  top: 24px;
  align-self: flex-start;
  background-color: #1b1b1b;
  color: #f7f6f2;
  padding: 18px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-wrap {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.lead-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(27, 27, 27, 0.06);
}

.lead-form fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-option {
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: #f7f2ea;
  padding: 10px 12px;
  border-radius: 12px;
}

.lead-form label {
  font-weight: 600;
}

.lead-form input,
.lead-form select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #c7bdb3;
  font-size: 16px;
}

.form-message {
  min-height: 20px;
  color: #6e3d2a;
}

.footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #d9cfc4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-note {
  color: #5a5147;
}

.cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  max-width: 360px;
  background-color: #ffffff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(27, 27, 27, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  cursor: pointer;
}

.banner-hidden {
  display: none;
}

.notice {
  background-color: #f2ebe2;
  padding: 14px 16px;
  border-radius: 12px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.contact-block {
  flex: 1;
  background-color: #ffffff;
  padding: 18px;
  border-radius: 16px;
}

.bg-panel {
  background-color: #e7ddd1;
  padding: 22px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  color: #1b1b1b;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bg-diagnostics {
  background-image: url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1400&q=80");
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }

  .sidebar-cta {
    margin-top: 0;
  }

  .hero,
  .split,
  .form-wrap,
  .contact-grid {
    flex-direction: column;
  }

  .sticky-cta {
    position: static;
  }
}
