* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #111217;
  --muted: #5d6472;
  --accent: #0f4c8a;
  --accent-soft: #e6eef8;
  --sand: #f6f2ed;
  --stone: #d9d2c7;
  --deep: #0b1b2b;
  --highlight: #f7d58b;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  flex: 0 0 260px;
  padding: 36px 24px;
  background: var(--deep);
  color: #f5f7fb;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav-list a {
  color: #d7dfef;
  font-size: 15px;
}

.nav-list a:hover {
  color: #fff;
}

.sidebar-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 24px;
  border: 1px solid transparent;
  background: var(--highlight);
  color: var(--deep);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(13, 25, 44, 0.18);
}

.button.outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #f5f7fb;
}

.main {
  flex: 1;
  padding: 40px 56px 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: #fbfbfd;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 34px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(13, 25, 44, 0.08);
}

.section.alt {
  background: var(--sand);
}

.section.dark {
  background: var(--deep);
  color: #f5f7fb;
}

.split {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split .visual {
  flex: 1 1 280px;
}

.kicker {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}

.headline {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0;
}

.eyebrow {
  font-weight: 600;
  color: var(--accent);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 220px;
  padding: 20px;
  border-radius: 20px;
  background: #fdfdfd;
  border: 1px solid #e7e7ef;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  border-radius: 16px;
  height: 150px;
  object-fit: cover;
}

.price {
  font-size: 20px;
  font-weight: 700;
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
}

.quote {
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(15, 76, 138, 0.08);
  font-style: italic;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e1e4f0;
}

.service-options label {
  display: flex;
  align-items: center;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d4d7e2;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.sticky-cta {
  position: sticky;
  bottom: 18px;
  align-self: flex-end;
  z-index: 2;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 24px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
}

.banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(13, 25, 44, 0.18);
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 5;
}

.banner.show {
  display: flex;
}

.banner-actions {
  display: flex;
  gap: 12px;
}

.hero-image {
  height: 280px;
  border-radius: 24px;
  background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=1200&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.bg-panel {
  background-image: url("https://images.unsplash.com/photo-1517504734587-2890819debab?q=80&w=1200&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 24px;
  padding: 32px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-card {
  flex: 1 1 220px;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e6e9f2;
}

@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    flex: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-cta {
    flex-direction: row;
  }

  .main {
    padding: 32px 20px 80px;
  }
}

@media (max-width: 640px) {
  .sidebar {
    padding: 24px 18px;
  }

  .card-row,
  .split,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-cta {
    align-self: center;
  }
}
