:root {
  --bg: #f3f1ee;
  --bg-soft: #e8e4de;
  --bg-deep: #d9d3ca;
  --surface: rgba(255, 252, 248, 0.72);
  --text: #1a1917;
  --muted: #5a564f;
  --accent: #2f4a3c;
  --accent-soft: #3f6352;
  --line: #c9c2b7;
  --danger: #8a3a2a;
  --ok: #2f4a3c;
  --shadow: 0 18px 40px rgba(26, 25, 23, 0.08);
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --shell: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #ddd6cc 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #cfd8d2 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, #efebe5 48%, var(--bg-soft) 100%);
  min-height: 100vh;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background:
    linear-gradient(145deg, var(--bg-soft), var(--bg-deep));
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-soft);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--text);
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(243, 241, 238, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(243, 241, 238, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.brand-mark {
  width: 0.7rem;
  height: 1.55rem;
  background: linear-gradient(180deg, var(--accent) 0%, #7a8f82 100%);
}

.brand-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  letter-spacing: -0.02em;
  max-width: 14ch;
  line-height: 1.2;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font: inherit;
  color: var(--text);
}

.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
  margin-top: 0.15rem;
}

.nav-toggle-label {
  font-size: 0.85rem;
  margin-right: 0.55rem;
}

.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

.hero-copy {
  animation: rise 0.8s ease both;
}

.hero-kicker {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  max-width: 12ch;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 1.75rem;
}

.hero-visual {
  position: relative;
  animation: rise 0.9s ease 0.12s both;
}

.hero-visual img,
.cover-image img,
.card-media img,
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -8% -8% auto;
  width: 42%;
  height: 42%;
  background: linear-gradient(135deg, transparent 40%, rgba(47, 74, 60, 0.18));
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #f7f5f1;
}

.btn-primary:hover {
  background: var(--accent-soft);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

.section {
  padding: clamp(2.75rem, 6vw, 5rem) 0;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-intro p,
.prose p,
.lead {
  color: var(--muted);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-grid,
.card-grid,
.review-grid,
.blog-grid,
.price-grid {
  display: grid;
  gap: 1.25rem;
}

.offer-grid,
.card-grid,
.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-grid,
.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.review-card,
.price-block,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.card {
  display: grid;
  gap: 1rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3,
.review-card h3,
.price-block h3,
.panel h2,
.panel h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.card p,
.review-card p,
.price-block p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.card-media img {
  aspect-ratio: 16 / 10;
}

.meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.strip-reversed {
  grid-template-columns: 0.9fr 1.1fr;
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  color: var(--text);
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  max-width: 16ch;
}

.page-hero .lead {
  max-width: 40rem;
  font-size: 1.08rem;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 2rem 0 0.75rem;
  font-size: 1.55rem;
}

.prose ul,
.detail-list {
  padding-left: 1.1rem;
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 1rem;
}

.cover-image img {
  aspect-ratio: 16 / 9;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-weight: 500;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.9);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--text);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form .error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: var(--ok);
  color: var(--ok);
}

.form-status.is-error {
  border-color: var(--danger);
  color: var(--danger);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  min-width: 2.4rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(217, 211, 202, 0.45));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
}

.footer-tag,
.footer-contact p,
.footer-links a,
.footer-bottom p {
  color: var(--muted);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 1rem 0 1.25rem;
  background: rgba(26, 25, 23, 0.92);
  color: #f3f1ee;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner a {
  color: #d7e0da;
}

.cookie-banner .btn-ghost {
  border-color: rgba(243, 241, 238, 0.35);
  color: #f3f1ee;
}

.cookie-banner p {
  margin: 0;
  max-width: 48rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(232, 228, 222, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero-split,
  .strip,
  .strip-reversed,
  .detail-layout,
  .contact-grid,
  .footer-grid,
  .offer-grid,
  .card-grid,
  .blog-grid,
  .review-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(243, 241, 238, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.7rem;
  }

  .hero h1 {
    max-width: none;
  }
}
