* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1c1c1e;
  --muted: #5b5e66;
  --accent: #2f6f6a;
  --accent-strong: #1f4b47;
  --sand: #f4f1ec;
  --mist: #e9eef0;
  --pearl: #ffffff;
  --shadow: 0 18px 45px rgba(23, 27, 33, 0.12);
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--pearl);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.layout {
  display: flex;
  min-height: 100vh;
  background: var(--pearl);
}

.sidebar {
  width: 250px;
  background: var(--sand);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand img {
  width: 64px;
  height: 64px;
}

.brand h1 {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.brand p {
  font-size: 0.92rem;
  color: var(--muted);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.96rem;
}

.side-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease;
}

.side-nav a:hover {
  background: rgba(47, 111, 106, 0.15);
}

.sidebar-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.content {
  flex: 1;
  padding: 40px 6vw 90px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  background: url("pattern.svg") no-repeat right 10% / 280px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: 18px;
  background: var(--pearl);
  box-shadow: var(--shadow);
}

.section.alt {
  background: var(--mist);
}

.section.split {
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.section.split.reverse {
  flex-direction: row-reverse;
}

.section h2 {
  font-size: 2rem;
  line-height: 1.2;
}

.section p {
  color: var(--muted);
  font-size: 1rem;
}

.hero {
  position: relative;
  background: url("hero.svg") no-repeat center/cover;
  color: #fff;
  padding: 80px 48px;
  min-height: 360px;
  justify-content: flex-end;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 20, 24, 0.78), rgba(15, 20, 24, 0.22));
  border-radius: 18px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillars .card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: var(--pearl);
  border: 1px solid rgba(47, 111, 106, 0.15);
}

.card img {
  width: 56px;
  height: 56px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: rgba(47, 111, 106, 0.08);
  border-radius: 12px;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.service-card .price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.inline-cta {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: underline;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  background: #fff;
}

.sticky-cta {
  position: sticky;
  bottom: 16px;
  align-self: flex-start;
  background: var(--accent-strong);
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-actions .button {
  border-color: #fff;
}

@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .side-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .content {
    padding: 32px 7vw 80px;
  }

  .section.split,
  .section.split.reverse {
    flex-direction: column;
  }
}
