:root {
  --bg: #f3f1ec;
  --bg-alt: #e8e4dc;
  --surface: #faf8f4;
  --ink: #1c2420;
  --ink-soft: #4a554e;
  --accent: #2f3d36;
  --accent-soft: #8fa392;
  --line: rgba(28, 36, 32, 0.12);
  --shadow: 0 18px 40px rgba(28, 36, 32, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 1120px;
  --narrow: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(143, 163, 146, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(47, 61, 54, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.65;
  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(--ink);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.narrow { width: min(100% - 2rem, var(--narrow)); margin-inline: auto; }

.visually-hidden {
  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: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  max-width: min(100%, 280px);
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent-soft);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(143, 163, 146, 0.25);
}

.brand-text {
  font-size: 0.92rem;
  line-height: 1.25;
}

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

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

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

.nav-cta {
  background: var(--accent);
  color: #f7f5f1 !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  cursor: pointer;
}

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

.nav-toggle-bars::before { top: -6px; position: absolute; }
.nav-toggle-bars::after { top: 6px; position: absolute; }

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

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

.btn-ghost.light {
  border-color: rgba(247, 245, 241, 0.45);
  color: #f7f5f1;
}

.hero-home {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(28, 36, 32, 0.15) 0%, rgba(28, 36, 32, 0.72) 70%);
  padding: clamp(4rem, 12vh, 7rem) 0 clamp(2.5rem, 6vh, 4rem);
}

.hero-copy {
  color: #f7f5f1;
  max-width: 720px;
  animation: fadeUp 0.9s ease both;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #f7f5f1;
}

.hero-copy h1 { color: #f7f5f1; }
.hero-copy .lede { color: rgba(247, 245, 241, 0.88); font-size: 1.08rem; }

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

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
  animation: fadeUp 0.7s ease both;
}

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

.page-hero-split .split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

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

.section {
  padding: var(--space) 0;
}

.section-alt {
  background: rgba(232, 228, 220, 0.55);
}

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

.feature-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s ease both;
}

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

.plain-list {
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

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

.offer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.offer-row:hover {
  border-color: var(--accent-soft);
  transform: translateX(4px);
}

.offer-title { font-weight: 600; color: var(--ink); }
.offer-meta { color: var(--ink-soft); font-size: 0.92rem; white-space: nowrap; }

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

blockquote {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border-left: 3px solid var(--accent-soft);
  box-shadow: var(--shadow);
}

blockquote p { color: var(--ink); }
blockquote footer { color: var(--ink-soft); font-size: 0.92rem; }

.section-link { margin-top: 1.25rem; }

.cta-band {
  text-align: center;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.service-card:hover { transform: translateY(-4px); }

.service-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service-card-body { padding: 1.1rem 1.2rem 1.35rem; }

.service-card h2 { font-size: 1.25rem; }
.service-card h2 a { text-decoration: none; color: var(--ink); }

.meta { font-size: 0.9rem; color: var(--ink-soft); }
.price-line { font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-soft);
  margin: 0 0 0.5rem;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

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

.steps { padding-left: 1.2rem; color: var(--ink-soft); }
.steps li { margin-bottom: 0.5rem; }

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

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

.rates-table th {
  background: var(--accent);
  color: #f7f5f1;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 1rem; }

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
}

.field-error {
  color: #8a2f2f;
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
}

.form-status.success {
  background: rgba(143, 163, 146, 0.25);
  color: var(--ink);
}

.form-status.error {
  background: rgba(138, 47, 47, 0.12);
  color: #8a2f2f;
}

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

.process-steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 1rem 0 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tags span {
  border: 1px solid var(--line);
  padding: 0.25rem 0.55rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.legal h2 { margin-top: 1.75rem; }
.center { text-align: center; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #2a342e;
  color: rgba(247, 245, 241, 0.82);
  padding: 2.5rem 0 1.5rem;
}

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

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #f7f5f1;
  margin-bottom: 0.5rem;
}

.footer-tag { color: rgba(247, 245, 241, 0.7); }

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

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

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
  animation: fadeUp 0.45s ease both;
}

.cookie-banner p { margin-bottom: 0.85rem; color: var(--ink-soft); font-size: 0.95rem; }

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

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

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
    display: none;
  }

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

  .site-nav ul { flex-direction: column; align-items: flex-start; }

  .feature-service,
  .page-hero-split .split,
  .prose-grid,
  .contact-grid,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .offer-row { flex-direction: column; }
  .offer-meta { white-space: normal; }
}
