* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1b1b1b;
  --muted: #5b5f66;
  --line: #d8dde3;
  --accent: #2f5f8f;
  --accent-2: #3b7aa6;
  --surface: #f6f7f9;
  --surface-2: #eef2f6;
  --warm: #f0e6d6;
  --shadow: 0 16px 40px rgba(14, 20, 31, 0.12);
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar a {
  color: var(--ink);
  font-weight: 500;
}

.sidebar .note {
  font-size: 13px;
  color: var(--muted);
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 24px 40px;
  border-bottom: 1px solid var(--line);
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface-2);
  padding: 6px 10px;
  border-radius: 999px;
}

.hero {
  background-image: url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?w=1400&q=80");
  background-size: cover;
  background-position: center;
  background-color: #cfd6e0;
  color: #ffffff;
  padding: 90px 40px 70px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero h1 {
  font-size: 38px;
  max-width: 620px;
}

.hero p {
  max-width: 560px;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section.split {
  flex-direction: row;
  gap: 40px;
  align-items: center;
}

.section.split.reverse {
  flex-direction: row-reverse;
}

.section.surface {
  background: var(--surface);
}

.section.surface-alt {
  background: var(--surface-2);
}

.section h2 {
  font-size: 26px;
}

.section p {
  color: var(--muted);
}

.section .muted {
  color: var(--muted);
}

.section .list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-frame {
  background-color: #dbe4ee;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 520px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 240px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 18px rgba(14, 20, 31, 0.06);
}

.card .price {
  font-weight: 700;
  color: var(--accent);
  font-size: 18px;
}

.card img {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  object-fit: cover;
  background-color: #dbe4ee;
}

.btn {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn.link {
  background: none;
  color: var(--accent);
  border: none;
  padding: 0;
}

.sticky-cta {
  position: sticky;
  top: 24px;
  align-self: flex-start;
  background: var(--warm);
  padding: 20px;
  border-radius: 16px;
  max-width: 260px;
}

.sticky-cta p {
  font-size: 14px;
  margin-bottom: 12px;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

.form-wrap label {
  font-size: 14px;
  color: var(--muted);
}

.form-wrap input,
.form-wrap select,
.form-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-button {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}

.service-button.active {
  border-color: var(--accent);
  color: var(--accent);
  background: #eef5ff;
}

.banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 16px 20px;
  display: none;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  max-width: 720px;
  width: calc(100% - 40px);
  z-index: 10;
}

.banner p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 40px 50px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-header {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.legal-header .image-frame {
  max-width: 340px;
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
}

@media (max-width: 980px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .section.split,
  .section.split.reverse {
    flex-direction: column;
  }

  .sticky-cta {
    position: static;
    max-width: 100%;
  }
}
