* {
  box-sizing: border-box;
}

:root {
  --ink: #1c1c1e;
  --muted: #5b6067;
  --accent: #2956d8;
  --accent-soft: #e6ecff;
  --paper: #f7f7f4;
  --sand: #efe7db;
  --slate: #f0f3f7;
  --line: #d7dde5;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.top-bar {
  background: var(--ink);
  color: #ffffff;
  padding: 10px 24px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar span {
  opacity: 0.9;
}

.layout {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 44px);
}

.sidebar {
  width: 270px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.4px;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-list a {
  color: var(--ink);
  font-weight: 500;
}

.sidebar-note {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section {
  padding: 54px 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section.alt {
  background: var(--slate);
}

.section.sand {
  background: var(--sand);
}

.section-title {
  font-size: 2rem;
  margin: 0;
}

.split {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split > div {
  flex: 1 1 320px;
}

.hero-image,
.inline-image,
.card-image,
.wide-image {
  background: #d9dee6;
  border-radius: 18px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 360px;
}

.inline-image img {
  width: 100%;
  height: 260px;
}

.wide-image img {
  width: 100%;
  height: 320px;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 240px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card h3 {
  margin: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.price {
  font-weight: 700;
  color: var(--ink);
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

button,
.btn {
  border: none;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.btn.secondary {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 1rem;
}

.footer {
  background: var(--ink);
  color: #ffffff;
  padding: 38px 72px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer a {
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.disclaimer {
  font-size: 0.9rem;
  color: #d7d9df;
  line-height: 1.5;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  max-width: 360px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner.hidden {
  display: none;
}

.contact-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-item {
  flex: 1 1 200px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .footer {
    padding: 40px 28px;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
