*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1d1b1a;
  --muted: #5b534f;
  --paper: #f6f2ee;
  --accent: #1f4b59;
  --accent-soft: #dce7ea;
  --warm: #c88f60;
  --deep: #2c2a29;
  --border: #d5ccc4;
  --shadow: 0 18px 40px rgba(29, 27, 26, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.page {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.masthead {
  padding: 24px 0 8px;
}

.masthead-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.8rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.tagline {
  font-size: 0.95rem;
  color: var(--muted);
}

.masthead-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
}

.masthead-divider {
  height: 1px;
  background: var(--border);
  margin-top: 18px;
}

.hero {
  padding: 56px 0 32px;
}

.hero-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
}

.hero-text {
  flex: 1 1 340px;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 3vw, 3.2rem);
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 18px;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 1.05rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cta-button.alt {
  background: var(--warm);
  color: #1d1b1a;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}

.hero-visual {
  flex: 1 1 360px;
  background: #fff;
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: #fff;
}

.section.warm {
  background: #f2e7de;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  margin: 0;
}

.section-subtitle {
  max-width: 520px;
  color: var(--muted);
}

.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.column {
  flex: 1 1 240px;
}

.card-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
}

.card.dark {
  background: var(--deep);
  color: #f6f2ee;
  border-color: transparent;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-item {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

.quote {
  font-style: italic;
  color: var(--muted);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.feature-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
}

.lead-form button {
  margin-top: 8px;
}

.sticky-cta {
  position: sticky;
  bottom: 0;
  background: #1d1b1a;
  color: #fff;
  padding: 12px 0;
  z-index: 10;
}

.sticky-cta .page {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.sticky-cta a {
  color: #fff;
}

.footer {
  padding: 32px 0 48px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.sidebar-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.sidebar {
  flex: 0 0 220px;
  border-left: 1px solid var(--border);
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.content-flow {
  flex: 1 1 380px;
}

.notice {
  background: #fff6ef;
  border-left: 4px solid var(--warm);
  padding: 16px;
  border-radius: 12px;
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: none;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.cookie-actions button {
  border-radius: 999px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cookie-accept {
  background: var(--accent);
  color: #fff;
}

.cookie-reject {
  background: #ede5de;
  color: var(--ink);
}

.table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.table-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}

.table-row strong {
  min-width: 160px;
}

@media (max-width: 780px) {
  .masthead-nav {
    gap: 10px;
  }

  .sidebar {
    flex: 1 1 100%;
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 16px;
  }

  .sticky-cta .page {
    flex-direction: column;
    align-items: flex-start;
  }
}
