:root {
  --ink: #1a2422;
  --ink-soft: #3d4a46;
  --muted: #6b7873;
  --paper: #f4f6f5;
  --paper-deep: #e6ebe9;
  --surface: #ffffff;
  --accent: #1a3a3a;
  --accent-mid: #2a5554;
  --gold: #c4a35a;
  --gold-soft: #e8d9b0;
  --line: rgba(26, 58, 58, 0.12);
  --shadow: 0 18px 48px rgba(26, 36, 34, 0.08);
  --radius: 4px;
  --radius-lg: 12px;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 163, 90, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(42, 85, 84, 0.12), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  min-height: 100vh;
}

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

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

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

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

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

p { margin: 0 0 1em; }

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

.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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 246, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--accent);
  border-radius: 6px 6px 2px 2px;
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 10px;
  border: 1.5px solid var(--gold);
  border-top: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

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

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

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--accent-mid);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

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

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

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

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

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

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

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 58, 58, 0.88) 0%, rgba(26, 58, 58, 0.55) 48%, rgba(26, 36, 34, 0.35) 100%),
    linear-gradient(to top, rgba(26, 36, 34, 0.7) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
  max-width: 38rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--gold-soft);
}

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

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
}

.hero .btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.hero .btn-primary:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

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

@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--line);
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

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

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

/* Offer preview list (not cards in hero; interaction lists OK) */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.offer-item:hover {
  transform: translateY(-4px);
}

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

.offer-body {
  padding: 1.35rem 1.4rem 1.6rem;
}

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

.offer-body p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.offer-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-media::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(26, 58, 58, 0.35), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Quote strip */
.quote-strip {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
}

.quote-strip blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 600;
}

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

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.rate-table th {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
}

.rate-table tr:last-child td {
  border-bottom: 0;
}

.rate-note {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.price-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.price-block .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.4rem 0 0.8rem;
}

/* Reviews */
.review-list {
  display: grid;
  gap: 1.5rem;
}

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.story {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(26, 58, 58, 0.06), rgba(196, 163, 90, 0.12));
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

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

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

.blog-card:hover {
  transform: translateY(-3px);
}

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

.blog-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.blog-card time {
  font-size: 0.85rem;
  color: var(--muted);
}

.article-hero {
  padding: 3rem 0 1.5rem;
}

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

.article-body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.article-body h2 {
  margin-top: 2rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

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

.form-row label {
  font-weight: 600;
  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(--gold);
  outline-offset: 1px;
  border-color: var(--accent-mid);
}

.field-error {
  color: #8b2e2e;
  font-size: 0.88rem;
  display: none;
}

.field-error.is-visible {
  display: block;
}

.form-status {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  display: none;
  font-weight: 500;
}

.form-status.is-success {
  display: block;
  background: rgba(42, 85, 84, 0.12);
  color: var(--accent);
  border: 1px solid rgba(42, 85, 84, 0.3);
}

.form-status.is-error {
  display: block;
  background: rgba(139, 46, 46, 0.08);
  color: #8b2e2e;
  border: 1px solid rgba(139, 46, 46, 0.25);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: fit-content;
}

.contact-aside dt {
  font-weight: 600;
  margin-top: 1rem;
}

.contact-aside dd {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
}

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

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

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
}

.faq details[open] summary {
  margin-bottom: 0.6rem;
  color: var(--accent);
}

/* Legal */
.legal-body {
  max-width: 44rem;
  padding-bottom: 4rem;
}

.legal-body h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}

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

.cookie-table th {
  background: var(--accent);
  color: #fff;
}

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

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--gold);
  line-height: 1;
  margin: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  display: none;
  animation: fadeUp 0.45s var(--ease) both;
}

.cookie-banner.is-visible {
  display: block;
}

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

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

.cookie-actions .btn {
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 3rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}

.footer-tag {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-soft);
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li,
.footer-legal li {
  margin-bottom: 0.45rem;
}

.footer-contact p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: 1.15rem 0 1.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom p {
  margin: 0;
}

.inline-error {
  background: rgba(139, 46, 46, 0.1);
  color: #8b2e2e;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 0.5rem 0;
  display: none;
}

.inline-error.is-visible {
  display: block;
}

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

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}

.method-timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--gold);
  margin-left: 0.5rem;
  padding-left: 1.75rem;
}

.method-phase {
  position: relative;
  padding-bottom: 2rem;
}

.method-phase::before {
  content: "";
  position: absolute;
  left: -2.15rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--gold);
}

@media (max-width: 960px) {
  .offer-grid,
  .blog-grid,
  .process {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    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;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .offer-grid,
  .blog-grid,
  .process,
  .split,
  .contact-grid,
  .footer-inner,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 3rem 0 3.5rem;
  }
}
