:root {
  --bg: #f3f2ef;
  --bg-deep: #e8e6e1;
  --surface: #fbfaf8;
  --text: #1c1c1a;
  --muted: #5a5954;
  --accent: #2f4a3e;
  --accent-hover: #243a31;
  --accent-soft: #dfe8e3;
  --border: #d4d1ca;
  --danger: #8b3a2f;
  --shadow: 0 18px 40px rgba(28, 28, 26, 0.08);
  --radius: 4px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(47, 74, 62, 0.07), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(90, 89, 84, 0.06), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(243, 242, 239, 0.88);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text);
  text-decoration: none;
  max-width: 16rem;
  line-height: 1.25;
}

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

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

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

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.45rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  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: #f7f6f4;
}

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

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

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

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-zoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 28, 26, 0.15) 0%, rgba(28, 28, 26, 0.72) 78%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
  color: #f7f6f4;
  max-width: 36rem;
  animation: rise 0.9s ease both;
}

.hero-content .eyebrow {
  color: #dfe8e3;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(247, 246, 244, 0.88);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-actions .btn-ghost {
  border-color: rgba(247, 246, 244, 0.45);
  color: #f7f6f4;
}

.hero-actions .btn-ghost:hover {
  background: rgba(247, 246, 244, 0.1);
  border-color: #fff;
  color: #fff;
}

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

.page-hero p {
  max-width: 40rem;
  color: var(--muted);
}

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

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offer-list {
  display: grid;
  gap: 1.25rem;
}

.offer-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.offer-item:nth-child(1) { animation-delay: 0.05s; }
.offer-item:nth-child(2) { animation-delay: 0.15s; }
.offer-item:nth-child(3) { animation-delay: 0.25s; }
.offer-item:nth-child(4) { animation-delay: 0.35s; }

.offer-item img {
  width: 140px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
}

.offer-item h3 {
  margin-bottom: 0.35rem;
}

.offer-item p {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.offer-meta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
}

.band {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.quote-block {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}

.quote-block blockquote {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-style: italic;
}

.quote-block cite {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.soft-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.soft-panel h3 {
  margin-top: 0.5rem;
}

.soft-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
}

.price-row span:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.review {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.review p {
  margin-bottom: 0.75rem;
}

.review-meta {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted);
}

.review.extended {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.prose {
  max-width: 42rem;
}

.prose ul,
.legal ul {
  padding-left: 1.2rem;
}

.prose li,
.legal li {
  margin-bottom: 0.4rem;
}

.legal {
  max-width: 48rem;
}

.legal h2 {
  margin-top: 2rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

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

th, td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  background: var(--surface);
}

th {
  font-family: var(--font-display);
  background: var(--accent-soft);
}

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

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

.form-row label {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 0.92rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

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

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

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  display: none;
}

.form-status.success {
  display: block;
  background: var(--accent-soft);
  color: var(--accent);
}

.form-status.error {
  display: block;
  background: #f3e4e1;
  color: var(--danger);
}

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: #1c1c1a;
  color: #d8d6d1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: #f7f6f4;
  margin-bottom: 0.75rem;
}

.footer-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: #f7f6f4;
  margin-bottom: 0.75rem;
}

.footer-text,
.footer-links a {
  color: #d8d6d1;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(216, 214, 209, 0.2);
  padding-top: 1rem;
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(28, 28, 26, 0.96);
  color: #f7f6f4;
  border-top: 1px solid rgba(247, 246, 244, 0.15);
  padding: 1rem 0;
}

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

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.95rem;
}

.cookie-inner a {
  color: #dfe8e3;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-banner .btn-ghost {
  border-color: rgba(247, 246, 244, 0.35);
  color: #f7f6f4;
}

.media-wide {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.timeline-item strong {
  font-family: var(--font-display);
  color: var(--accent);
}

.cta-band {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1rem;
  background: var(--accent);
  color: #f7f6f4;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 34rem;
  margin: 0 auto 1.25rem;
  color: rgba(247, 246, 244, 0.88);
}

.cta-band .btn-primary {
  background: #f7f6f4;
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: #fff;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

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

@keyframes slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: rgba(243, 242, 239, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
  }

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

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

  .split,
  .contact-layout,
  .footer-grid,
  .offer-item,
  .timeline-item,
  .two-col {
    grid-template-columns: 1fr;
  }

  .offer-item img {
    width: 100%;
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
