:root {
  --bg: #f6f4ef;
  --bg-soft: #ebe7df;
  --surface: #fffcf7;
  --ink: #2a2824;
  --ink-muted: #5c574f;
  --line: #d9d3c7;
  --accent: #4f5d4a;
  --accent-deep: #3a4636;
  --accent-soft: #dfe5d8;
  --focus: #6b5a45;
  --danger: #8a3b2d;
  --success: #2f5d45;
  --radius: 6px;
  --shadow: 0 12px 40px rgba(42, 40, 36, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "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.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #e4eadc 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #e8e0d4 0%, transparent 45%),
    var(--bg);
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 88%, white);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand:hover { color: var(--accent-deep); }

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

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

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

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

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

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

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

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

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

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

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

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

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

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

.hero-visual {
  position: relative;
  min-height: 320px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  border-radius: 2px;
  box-shadow: var(--shadow);
  animation: rise-in 0.9s ease both;
}

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

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

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

.section-soft {
  background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
  border-block: 1px solid var(--line);
}

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

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

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

.offer-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.offer-row:hover {
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}

.offer-row img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 2px;
}

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

.offer-row p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.offer-meta {
  font-size: 0.9rem;
  color: var(--accent-deep);
  font-weight: 600;
  white-space: nowrap;
}

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

.quote-block {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-block blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
}

.quote-block cite {
  font-style: normal;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.story-panel {
  padding: 0.25rem 0;
}

.story-panel h3 {
  margin-top: 0;
}

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

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

.prose {
  max-width: 42rem;
}

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

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.media-tile {
  overflow: hidden;
}

.media-tile img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 1rem;
  transition: transform 0.5s ease;
}

.media-tile:hover img {
  transform: scale(1.02);
}

.media-tile h3 {
  margin-bottom: 0.4rem;
}

.media-tile p {
  color: var(--ink-muted);
  margin: 0;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
}

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

.rate-table th {
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--bg-soft);
}

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

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

.review-item blockquote {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.review-meta {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.review-service {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.88rem;
}

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

.blog-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
}

.blog-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 2px;
}

.blog-item time {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

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

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

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

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

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

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

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

.form-status.is-success {
  display: block;
  background: color-mix(in srgb, var(--success) 12%, white);
  color: var(--success);
  border: 1px solid color-mix(in srgb, var(--success) 30%, white);
}

.form-status.is-error {
  display: block;
  background: color-mix(in srgb, var(--danger) 10%, white);
  color: var(--danger);
  border: 1px solid color-mix(in srgb, var(--danger) 25%, white);
}

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

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

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 3.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.checklist {
  margin: 0;
  padding-left: 1.15rem;
}

.checklist li { margin-bottom: 0.4rem; }

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
  background: #2f322c;
  color: #d9d5cc;
}

.site-footer a {
  color: #ece8df;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.7fr;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #f4f1ea;
  margin-bottom: 0.4rem;
}

.footer-topic,
.footer-legal {
  color: #b9b4a8;
  font-size: 0.92rem;
}

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

.footer-base {
  padding-top: 1rem;
  font-size: 0.88rem;
  color: #a8a295;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: color-mix(in srgb, var(--surface) 94%, white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(42, 40, 36, 0.08);
  padding: 1rem 0;
  animation: fade-up 0.45s ease both;
}

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

.cookie-inner p {
  margin: 0;
  max-width: 48rem;
  font-size: 0.95rem;
}

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

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

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

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

.legal-page th {
  background: var(--bg-soft);
}

.error-page {
  text-align: center;
  padding: 6rem 0;
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-muted);
}

.muted { color: var(--ink-muted); }

@media (max-width: 900px) {
  .hero-split,
  .evidence-grid,
  .detail-hero,
  .contact-layout,
  .footer-grid,
  .blog-item,
  .offer-row,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .offer-meta {
    white-space: normal;
  }

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

  .site-nav {
    display: none;
    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;
  }

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

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

  .header-inner { position: relative; }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
