* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #1b1b1b;
  background: #f6f4f0;
  line-height: 1.6;
}

a {
  color: #1f4b7a;
  text-decoration: none;
}

a:focus,
button:focus,
select:focus,
input:focus,
textarea:focus {
  outline: 2px solid #1f4b7a;
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: #111319;
  color: #f8f5ef;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ad-label {
  font-size: 0.85rem;
  color: #f1c48d;
  line-height: 1.4;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  color: #f8f5ef;
}

.nav a:hover {
  text-decoration: underline;
}

.sidebar-contact {
  margin-top: auto;
  font-size: 0.9rem;
  color: #c9c2b3;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 32px 40px 120px;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: center;
  background: #fdf9f3;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.15;
}

.hero-text p {
  max-width: 520px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.button {
  border: none;
  background: #1f4b7a;
  color: #fdf9f3;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.button.secondary {
  background: #f1c48d;
  color: #1b1b1b;
}

.button:hover {
  background: #16385a;
}

.button.secondary:hover {
  background: #d8ab70;
}

.hero-image {
  flex: 0 0 40%;
  border-radius: 18px;
  overflow: hidden;
  background-color: #d9d4c7;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 0;
}

.section h2 {
  font-size: 1.9rem;
}

.section-split {
  display: flex;
  gap: 28px;
  align-items: center;
}

.section-split.reverse {
  flex-direction: row-reverse;
}

.section-split .text {
  flex: 1;
}

.section-split .image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  background-color: #d0d6de;
}

.highlight-panel {
  background: #f1ede4;
  border-left: 6px solid #1f4b7a;
  padding: 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.service-card {
  flex: 1 1 260px;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(17, 19, 25, 0.08);
}

.service-card .image {
  border-radius: 14px;
  overflow: hidden;
  background-color: #e1e4ea;
}

.service-card img {
  width: 100%;
  height: 160px;
}

.price {
  font-weight: 700;
  color: #1f4b7a;
}

.form-block {
  background: #111319;
  color: #fdf9f3;
  border-radius: 26px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-block form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-block label {
  font-size: 0.95rem;
}

.form-block input,
.form-block select,
.form-block textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
}

.form-note {
  font-size: 0.85rem;
  color: #d7cfc0;
}

.testimonial {
  font-style: italic;
  background: #fffdf7;
  padding: 18px;
  color: #16385a;
  border-radius: 16px;
  border: 1px solid #e7e1d6;
}

.cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.section-bg {
  background: #f1ede4;
  border-radius: 24px;
  padding: 28px;
}

.bg-photo {
  background-size: cover;
  background-position: center;
  color: #fdf9f3;
}

.bg-photo-1 {
  background-image: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1400&q=80");
}

.bg-photo-2 {
  background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1400&q=80");
}

.bg-photo-3 {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1400&q=80");
}

.bg-photo.overlay {
  position: relative;
  overflow: hidden;
}

.bg-photo.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 25, 0.6);
}

.bg-photo .content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #ddd6c9;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #f1c48d;
  color: #1b1b1b;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(17, 19, 25, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.sticky-cta button {
  background: #1f4b7a;
  color: #fdf9f3;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.sticky-cta button:hover {
  background: #16385a;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #111319;
  color: #fdf9f3;
  padding: 16px 18px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  z-index: 20;
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
  border: none;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-accept {
  background: #f1c48d;
  color: #1b1b1b;
}

.cookie-reject {
  background: #2b2f3a;
  color: #fdf9f3;
}

.cookie-accept:hover {
  background: #d8ab70;
}

.cookie-reject:hover {
  background: #44495a;
}

.legal-page {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 980px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .main {
    padding: 24px 24px 120px;
  }

  .hero {
    flex-direction: column;
  }

  .section-split,
  .section-split.reverse {
    flex-direction: column;
  }

  .sticky-cta {
    right: 12px;
    left: 12px;
    justify-content: space-between;
  }
}
