:root {
  --bg: #f3f1ec;
  --bg-deep: #e8e4db;
  --surface: #fffcf7;
  --text: #1a1c19;
  --muted: #5a5e57;
  --accent: #3d5a45;
  --accent-hover: #2f4636;
  --accent-soft: #dfe8e1;
  --line: #d4cfc4;
  --error: #8b3a2f;
  --success: #2f5d3a;
  --shadow: 0 18px 40px rgba(26, 28, 25, 0.08);
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-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.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(61, 90, 69, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(212, 207, 196, 0.55), transparent 50%),
    var(--bg);
  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 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.35rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; color: var(--muted); }
p strong, li strong { color: var(--text); }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  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, 236, 0.86);
  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(255, 252, 247, 0.92);
}

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

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

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50% 50% 45% 55%;
  background: linear-gradient(145deg, var(--accent), #6d8a72);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  max-width: 14rem;
}

.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;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  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: #f7faf7;
}

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

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

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

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.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 {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 1.1rem;
  color: var(--text);
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

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

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

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -1rem -1rem auto;
  width: 42%;
  height: 28%;
  background: var(--accent-soft);
  z-index: -1;
}

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

.section-muted {
  background: linear-gradient(180deg, transparent, rgba(232, 228, 219, 0.55), transparent);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head p {
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.offer-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-card-body {
  padding: 1.25rem 1.3rem 1.5rem;
}

.offer-card h3 {
  margin-bottom: 0.5rem;
}

.offer-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.offer-meta {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.story-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.story-band img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

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

.quote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
}

.quote p {
  color: var(--text);
  font-size: 1.05rem;
}

.quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.page-hero h1 {
  max-width: 18ch;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose ul,
.prose ol {
  color: var(--muted);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

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

.detail-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.4rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.detail-aside dt {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.9rem;
}

.detail-aside dd {
  margin: 0.25rem 0 0;
  color: var(--text);
}

.detail-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}

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

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

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

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

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

.form label {
  font-weight: 500;
  color: var(--text);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--text);
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

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

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

.form-status.is-success {
  display: block;
  border-color: var(--success);
  color: var(--success);
  background: #eef6f0;
}

.form-status.is-error {
  display: block;
  border-color: var(--error);
  color: var(--error);
  background: #f8efed;
}

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

.contact-card {
  background: var(--accent-soft);
  padding: 1.5rem;
}

.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.blog-item img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.blog-item-body {
  padding: 1rem 1.2rem 1.2rem 0;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: #1f2922;
  color: #d8ddd6;
}

.site-footer a {
  color: #e8efe9;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #f5f3ef;
  margin-bottom: 0.6rem;
}

.footer-tag,
.footer-address,
.site-footer p {
  color: #b8c0b6;
}

.footer-label {
  color: #f5f3ef !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(31, 41, 34, 0.96);
  color: #e8efe9;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: slideUp 0.4s ease both;
}

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

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

.cookie-inner p {
  color: #d5dbd3;
  margin: 0;
  max-width: 48rem;
}

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

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

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.25rem 0;
}

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

.legal-table th {
  background: var(--bg-deep);
  color: var(--text);
}

.cta-band {
  background: var(--accent);
  color: #f4f7f4;
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2,
.cta-band p {
  color: #f4f7f4;
  margin: 0;
}

.cta-band p {
  opacity: 0.9;
  max-width: 36ch;
}

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

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

.img-placeholder {
  background: linear-gradient(135deg, var(--bg-deep), var(--accent-soft));
  min-height: 12rem;
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-split,
  .story-band,
  .detail-layout,
  .contact-grid,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .blog-item {
    grid-template-columns: 1fr;
  }

  .blog-item-body {
    padding: 0 1.1rem 1.2rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

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

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

  .header-inner {
    position: relative;
  }

  .hero-visual img {
    aspect-ratio: 16 / 11;
  }

  .detail-aside {
    position: static;
  }
}

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