:root {
  --bg: #f3f4f6;
  --bg-elevated: #fafbfc;
  --surface: #ffffff;
  --ink: #1a1d23;
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --line: #e2e5ea;
  --accent: #2f5d56;
  --accent-deep: #234842;
  --accent-soft: #e7efed;
  --focus: #2f5d56;
  --danger: #9b3b3b;
  --ok: #2f5d56;
  --shadow: 0 18px 40px rgba(26, 29, 35, 0.06);
  --radius: 4px;
  --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-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #e8eeec 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ebe8e4 0%, transparent 45%),
    var(--bg);
  line-height: 1.65;
  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(--accent);
}

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

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

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(243, 244, 246, 0.88);
  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(250, 251, 252, 0.94);
}

.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.45rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

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

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 0.28rem 0;
}

.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: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

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

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

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

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

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

.lead {
  font-size: 1.125rem;
  max-width: 40rem;
}

.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: hero-rise 1.2s ease-out both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 29, 35, 0.18) 0%, rgba(26, 29, 35, 0.62) 70%, rgba(26, 29, 35, 0.78) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 12vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
  color: #fff;
  max-width: 38rem;
  animation: copy-in 0.9s ease 0.15s both;
}

.hero-copy h1,
.hero-copy p {
  color: #fff;
}

.hero-copy p {
  opacity: 0.92;
  font-size: 1.1rem;
}

.hero-copy .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  display: block;
}

.hero-copy .hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 1rem;
  max-width: 22ch;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
}

.page-hero.with-image {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .page-hero.with-image {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: fade-up 0.8s ease both;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

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

@media (min-width: 720px) {
  .offer-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .offer-list.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-item {
  padding: 0;
  background: transparent;
}

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

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

.offer-item h3 a {
  color: inherit;
  text-decoration: none;
}

.offer-item h3 a:hover {
  color: var(--accent);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.75rem 0 1rem;
}

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

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

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

.quote footer {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.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-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  padding-top: 0.15rem;
}

.rate-block {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
}

.rate-block h3 {
  margin-bottom: 0.35rem;
}

.rate-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
}

.prose {
  max-width: 42rem;
}

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

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

.detail-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 1px;
}

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

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

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

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

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

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

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

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

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

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

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

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

.blog-item {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .blog-item {
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

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

.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(--line);
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 500;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1.4fr 1fr 0.8fr;
  }
}

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

.footer-tag,
.footer-grid p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem !important;
}

.footer-grid a {
  text-decoration: none;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(26, 29, 35, 0.08);
  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 18rem;
  font-size: 0.95rem;
}

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

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.fade-in {
  animation: fade-up 0.7s ease both;
}

@keyframes hero-rise {
  from { transform: scale(1.06); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}

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

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

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

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.35rem;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
    animation: fade-up 0.25s ease both;
  }

  .site-nav a {
    padding: 0.7rem 0.25rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

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