* {
  box-sizing: border-box;
}

:root {
  --ink: #1e1f22;
  --muted: #5f6066;
  --accent: #2b4c7e;
  --accent-2: #c9a86a;
  --bg: #f5f2ee;
  --panel: #ffffff;
  --soft: #efe8df;
  --dark: #23262d;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  padding: 32px 24px;
  background-color: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid #e4ded7;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.3px;
}

.ad-label {
  font-size: 0.85rem;
  color: var(--muted);
  background-color: var(--soft);
  padding: 8px 10px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-weight: 600;
}

.nav a {
  color: var(--ink);
}

.sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.btn.secondary {
  background-color: var(--accent-2);
  color: #1c1c1c;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section {
  padding: 56px 8%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section.tight {
  padding-top: 32px;
  padding-bottom: 32px;
}

.section.alt {
  background-color: var(--soft);
}

.section.dark {
  background-color: var(--dark);
  color: #f5f2ee;
}

.hero {
  min-height: 420px;
  position: relative;
  color: #fff;
  justify-content: flex-end;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 28, 0.55);
}

.hero-content {
  position: relative;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-bg {
  background-image: url("https://images.unsplash.com/photo-1521791055366-0d553872125f?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.split {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .text {
  flex: 1 1 320px;
}

.split .media {
  flex: 1 1 280px;
}

.image-frame {
  background-color: #dcd3c7;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: var(--panel);
  border-radius: 16px;
  padding: 20px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.card .price {
  font-weight: 700;
  color: var(--accent);
}

.overlap {
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.badge {
  background-color: var(--accent-2);
  color: #1c1c1c;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
}

.form-card {
  background-color: var(--panel);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.form-card label {
  font-weight: 600;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d8d1c8;
  font-family: inherit;
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  padding: 12px 18px;
  border-radius: 999px;
  background-color: var(--accent-2);
  color: #1c1c1c;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.footer {
  padding: 36px 8% 60px;
  background-color: var(--panel);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background-color: #1f232b;
  color: #f5f2ee;
  padding: 16px;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  z-index: 12;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.cookie-actions .accept {
  background-color: var(--accent-2);
  color: #1c1c1c;
}

.cookie-actions .reject {
  background-color: transparent;
  border: 1px solid #f5f2ee;
  color: #f5f2ee;
}

.notice {
  background-color: #f0e6d8;
  padding: 18px;
  border-radius: 14px;
}

.grid-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bg-docs {
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.bg-team {
  background-image: url("https://images.unsplash.com/photo-1497215842964-222b430dc094?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.bg-contact {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e4ded7;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .sticky-cta {
    right: 14px;
    bottom: 14px;
  }
}
