/* ─── Fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: "TAN-Tangkiwood";
  src: url("../fonts/TAN-Tangkiwood.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ─── Custom Properties ──────────────────────────────────── */
:root {
  --sage: rgb(120, 134, 107);
  --sage-dark: #5f7052;
  --sage-tint: rgba(120, 134, 107, 0.13);
  --sage-tint2: rgba(120, 134, 107, 0.25);
  --parchment: #f7f4ee;
  --parchment-d: #ede8df;
  --charcoal: #1c1c17;
  --charcoal-mid: #3a3a32;
  --gold: #c9b89a;
  --gold-light: #e0d0b8;

  --font-display: "TAN-Tangkiwood", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --font-mono: "DM Mono", "Courier New", monospace;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-sm: 10px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--parchment);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

/* ─── Grain Texture Overlay ──────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── Section Label ──────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-block;
  margin-bottom: 1.2rem;
}
.section-label::before {
  content: "— ";
  opacity: 0.6;
}

/* ─── Fade-in Animation ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 134, 107, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-ghost:hover {
  background: var(--charcoal);
  color: var(--parchment);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 5vw;
  padding-top: calc(1.4rem + env(safe-area-inset-top));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    padding var(--transition);
}

.nav.scrolled {
  background-color: var(--parchment);
  border-bottom: 1px solid rgba(120, 134, 107, 0.18);
  padding: 1rem 5vw;
  padding-top: calc(1rem + env(safe-area-inset-top));
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.nav-logo span {
  color: var(--sage);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover {
  color: var(--sage);
}
.nav-links a.active {
  color: var(--sage);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
}

.nav-cta {
  background: var(--sage);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  transition: background var(--transition) !important;
}
.nav-cta:hover {
  background: var(--sage-dark) !important;
  color: #fff !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(28, 28, 23, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition),
    width var(--transition);
}
.nav-toggle span:nth-child(1),
.nav-toggle span:nth-child(3) {
  width: 22px;
}
.nav-toggle span:nth-child(2) {
  width: 13px;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  inset: 0;
  background-color: var(--charcoal);
  z-index: 999;
  padding: calc(6rem + env(safe-area-inset-top)) 8vw calc(3rem + env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  counter-reset: nav-counter;
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: rgba(247, 244, 238, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 244, 238, 0.07);
  padding: 1.1rem 0 1.1rem 2.8rem;
  position: relative;
  counter-increment: nav-counter;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.nav-mobile a::before {
  content: "0" counter(nav-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--sage);
  line-height: 1;
}
.nav-mobile a:hover {
  color: #fff;
  padding-left: 3.2rem;
}
.nav-mobile .nav-mobile-cta {
  align-self: flex-start;
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment);
  background: var(--sage);
  border-radius: 100px;
  padding: 0.85rem 2rem;
  border-bottom: none;
  counter-increment: none;
  transition: background 0.2s ease;
}
.nav-mobile .nav-mobile-cta::before {
  display: none;
}
.nav-mobile .nav-mobile-cta:hover {
  background: var(--sage-dark);
  color: var(--parchment);
  padding-left: 2rem;
}

/* ─── Nav white text over dark hero ─────────────────────── */
.page-services .nav:not(.scrolled) .nav-logo {
  color: #fff;
}
.page-services .nav:not(.scrolled) .nav-logo span {
  color: var(--gold-light);
}
.page-services .nav:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}
.page-services .nav:not(.scrolled) .nav-links a:hover {
  color: #fff;
}
.page-services .nav:not(.scrolled) .nav-cta {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
}
.page-services .nav:not(.scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}
.page-services .nav:not(.scrolled) .nav-toggle span {
  background: #fff;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES HERO
═══════════════════════════════════════════════════════════ */
.services-hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22, 22, 17, 0.52) 0%,
    rgba(22, 22, 17, 0.42) 55%,
    rgba(22, 22, 17, 0.72) 100%
  );
  z-index: 1;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 10rem 10vw 4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.services-hero-content .section-label {
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}
.services-hero-content .section-label::before {
  color: var(--gold-light);
}
.services-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: normal;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
}
.services-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.services-hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  max-width: 540px;
}

/* Visual dark nav strip inside hero */
.shero-nav {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.shero-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.6rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  transition: background var(--transition), color var(--transition);
}
.shero-nav a:last-child {
  border-right: none;
}
.shero-nav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

/* Fixed service navigation (shown after hero exits) */
.services-hero-nav {
  position: fixed;
  top: var(--nav-h, 72px);
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--parchment);
  border-bottom: 1px solid rgba(120, 134, 107, 0.18);
  box-shadow: 0 2px 12px rgba(28, 28, 23, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.services-hero-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.services-hero-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 2rem;
  border-right: 1px solid rgba(120, 134, 107, 0.12);
  color: var(--charcoal-mid);
  transition: background var(--transition), color var(--transition);
}
.services-hero-nav a:last-child {
  border-right: none;
}
.services-hero-nav a:hover {
  background: rgba(120, 134, 107, 0.06);
  color: var(--charcoal);
}
.services-hero-nav a.toc-active {
  background: rgba(120, 134, 107, 0.08);
  color: var(--charcoal);
  border-bottom: 2px solid var(--sage);
}
.services-hero-nav .shero-num,
.shero-nav .shero-num {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  line-height: 1;
}
.services-hero-nav .shero-label,
.shero-nav .shero-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   SERVICE DETAIL SECTIONS
═══════════════════════════════════════════════════════════ */
.service-detail {
  display: grid;
  grid-template-columns: 58fr 42fr;
  min-height: 620px;
  scroll-margin-top: var(--nav-toc-h, 125px);
  overflow: hidden;
}

/* Backgrounds */
.service-detail[data-service="1"],
.service-detail[data-service="3"],
.service-detail[data-service="5"] {
  background: var(--parchment);
  --svc-bg: var(--parchment);
}
.service-detail[data-service="2"],
.service-detail[data-service="4"],
.service-detail[data-service="6"] {
  background: var(--parchment-d);
  --svc-bg: var(--parchment-d);
  grid-template-columns: 42fr 58fr;
}

/* Image on left for even services */
.service-detail[data-service="2"] .service-detail-image,
.service-detail[data-service="4"] .service-detail-image,
.service-detail[data-service="6"] .service-detail-image {
  order: -1;
}

/* Content column */
.service-detail-content {
  padding: 5rem 3.5rem 5rem 10vw;
  display: flex;
  flex-direction: column;
}
.service-detail[data-service="2"] .service-detail-content,
.service-detail[data-service="4"] .service-detail-content,
.service-detail[data-service="6"] .service-detail-content {
  padding: 5rem 10vw 5rem 3.5rem;
}

/* Image column */
.service-detail-image {
  position: relative;
  overflow: hidden;
}
.service-detail-image img {
  position: absolute;
  inset: 1.5rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}
.service-detail-image::after {
  content: "";
  position: absolute;
  inset: 1.5rem;
  z-index: 1;
  pointer-events: none;
  border-radius: 12px;
}
/* Fade edge toward content for seamless blend */
.service-detail[data-service="1"] .service-detail-image::after,
.service-detail[data-service="3"] .service-detail-image::after,
.service-detail[data-service="5"] .service-detail-image::after {
  background: linear-gradient(to right, rgba(247, 244, 238, 0.28) 0%, transparent 40%);
}
.service-detail[data-service="2"] .service-detail-image::after,
.service-detail[data-service="4"] .service-detail-image::after,
.service-detail[data-service="6"] .service-detail-image::after {
  background: linear-gradient(to left, rgba(237, 232, 223, 0.28) 0%, transparent 40%);
}

/* ── Scroll-triggered sage border on active service image ── */
.service-detail-image img {
  transition: box-shadow 0.35s ease;
}

.service-detail-image.border-active img {
  box-shadow: 0 0 0 3px rgb(120, 134, 107);
}

.service-detail-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}

/* Per-service icon colours */
.service-detail[data-service="1"] .service-detail-icon {
  background: var(--sage-tint);
  color: var(--sage);
}
.service-detail[data-service="2"] .service-detail-icon {
  background: rgba(201, 184, 154, 0.2);
  color: #9a7d52;
}
.service-detail[data-service="3"] .service-detail-icon {
  background: rgba(28, 28, 23, 0.08);
  color: var(--charcoal);
}
.service-detail[data-service="4"] .service-detail-icon {
  background: rgba(224, 208, 184, 0.28);
  color: #8a6d3e;
}
.service-detail[data-service="5"] .service-detail-icon {
  background: var(--sage-tint);
  color: var(--sage);
}
.service-detail[data-service="6"] .service-detail-icon {
  background: rgba(201, 184, 154, 0.2);
  color: #9a7d52;
}

.service-detail-accent {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 1.4rem;
}
.service-detail[data-service="1"] .service-detail-accent { background: var(--sage); }
.service-detail[data-service="2"] .service-detail-accent { background: var(--gold); }
.service-detail[data-service="3"] .service-detail-accent { background: var(--charcoal); }
.service-detail[data-service="4"] .service-detail-accent { background: var(--gold-light); }
.service-detail[data-service="5"] .service-detail-accent { background: var(--sage); }
.service-detail[data-service="6"] .service-detail-accent { background: var(--gold); }

.service-detail h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: normal;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.service-detail-intro {
  font-size: 1.15rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Two-column body: checklist left, process right */
.service-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  flex: 1;
  margin-bottom: 2.5rem;
  align-items: start;
}

.service-detail-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.service-detail-block {
  min-width: 0;
}
.service-detail-block h3 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.2rem;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.7;
}
.feature-list li::before {
  display: none;
}

/* We use a wrapper trick for the check mark */
.feature-list li .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage-tint);
  border: 1.5px solid rgba(120, 134, 107, 0.4);
  flex-shrink: 0;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
}
.feature-list li .check svg {
  width: 10px;
  height: 10px;
}

/* Process steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  counter-reset: step;
}
.process-step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.process-step-num {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  min-width: 28px;
  flex-shrink: 0;
  padding-top: 0.1rem;
}
.process-step-body strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--charcoal);
  display: block;
  margin-bottom: 0.2rem;
}
.process-step-body p {
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.7;
}

/* Section divider */
.service-divider {
  height: 1px;
  background: rgba(120, 134, 107, 0.12);
  max-width: 1100px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA + CONTACT FORM
═══════════════════════════════════════════════════════════ */
.services-final-cta {
  background: var(--charcoal);
  padding: 6rem 10vw;
}
.services-final-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.services-cta-left .section-label {
  color: var(--gold);
}
.services-cta-left .section-label::before {
  color: var(--gold);
}
.services-cta-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: normal;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.services-cta-left p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.services-cta-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.65rem;
}
.services-cta-detail-icon {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  flex-shrink: 0;
}

/* Form on dark background */
.services-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.services-contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.services-contact-form .form-group label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.services-contact-form .form-group input,
.services-contact-form .form-group textarea,
.services-contact-form .form-group select {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  width: 100%;
}
.services-contact-form .form-group input::placeholder,
.services-contact-form .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.services-contact-form .form-group select option {
  background: var(--charcoal);
  color: #fff;
}
.services-contact-form .form-group input:focus,
.services-contact-form .form-group textarea:focus,
.services-contact-form .form-group select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(120, 134, 107, 0.18);
}
.services-contact-form .form-group textarea {
  min-height: 130px;
}
.services-contact-form .form-group input.error,
.services-contact-form .form-group textarea.error {
  border-color: #e07065;
}
.services-contact-form .form-error {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #e07065;
  letter-spacing: 0.06em;
  display: none;
}
.services-contact-form .form-error.visible {
  display: block;
}
.services-contact-form .form-submit {
  margin-top: 0.4rem;
}
.services-contact-form .btn-primary {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}
.services-contact-form .btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}
.services-contact-form .form-success {
  display: none;
  background: rgba(120, 134, 107, 0.18);
  border: 1px solid rgba(120, 134, 107, 0.35);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-top: 0.8rem;
}
.services-contact-form .form-success.visible {
  display: block;
}

@media (max-width: 900px) {
  .services-final-cta-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  padding: 3rem 10vw 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
}
.footer-logo span {
  color: var(--sage);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--sage);
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.footer-social-link:hover {
  border-color: var(--sage);
  color: var(--sage);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
}
.footer-made {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
}
.footer-made span {
  color: var(--sage);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  /* Stack both navs to 3-col grid on tablet */
  .services-hero-nav {
    grid-template-columns: repeat(3, 1fr);
    top: var(--nav-h, 60px);
  }
  .services-hero-nav a:nth-child(3),
  .services-hero-nav a:last-child {
    border-right: none;
  }
  .shero-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .shero-nav a:nth-child(3),
  .shero-nav a:last-child {
    border-right: none;
  }
  /* Stack service sections vertically */
  .service-detail {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }
  /* Image always appears first (top) on mobile */
  .service-detail-image {
    order: -1;
    height: 600px;
  }
  .service-detail[data-service="2"] .service-detail-image,
  .service-detail[data-service="4"] .service-detail-image {
    order: -1;
  }
  /* Remove desktop inset — image fills full cell for overlay effect */
  .service-detail-image img {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .service-detail-image::after {
    inset: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(
      to top,
      rgba(20, 20, 15, 0.92) 0%,
      rgba(20, 20, 15, 0.78) 35%,
      rgba(20, 20, 15, 0.3) 65%,
      rgba(20, 20, 15, 0.0) 85%
    ) !important;
  }
  /* Spacing after hero before first service image */
  .service-detail[data-service="1"] {
    margin-top: 2.5rem;
  }
  /* Pull content up to overlay the image bottom */
  .service-detail-content {
    margin-top: -340px;
    padding: 0 6vw 0 !important;
    background: transparent;
    position: relative;
    z-index: 2;
  }
  /* Header items shown over the dark image gradient */
  .service-detail-icon {
    background: rgba(255, 255, 255, 0.14) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-left: 0;
  }
  .service-detail-accent {
    background: rgba(255, 255, 255, 0.45) !important;
  }
  .service-detail-content > .section-label {
    color: rgba(255, 255, 255, 0.72) !important;
  }
  .service-detail-content > h2 {
    color: #fff !important;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  /* Intro sits in normal flow below h2, inside the image overlay */
  .service-detail-content > .service-detail-intro {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.65;
    font-style: italic;
    margin: 0;
    padding-bottom: 1.5rem;
  }
  /* Parchment card — starts where the header items end */
  .sdi-card {
    background: var(--svc-bg, var(--parchment));
    padding: 1.8rem 6vw 3rem;
    margin: 0 -6vw;
  }
  .service-detail-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .services-final-cta {
    padding: 4.5rem 6vw;
  }
  .footer {
    padding: 2.5rem 6vw 1.5rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .services-hero-content h1 {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }
  /* Sticky nav: horizontal scroll on mobile */
  .services-hero-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-hero-nav::-webkit-scrollbar {
    display: none;
  }
  .services-hero-nav a {
    flex: 0 0 auto;
    padding: 0.85rem 1.1rem;
    border-right: 1px solid rgba(120, 134, 107, 0.12);
    min-width: 100px;
  }
  .services-hero-nav a:last-child {
    border-right: none;
  }
  .services-hero-nav .shero-num {
    display: none;
  }
  .shero-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .shero-nav a:nth-child(3),
  .shero-nav a:last-child {
    border-right: none;
  }
  .shero-nav a {
    padding: 1.1rem 1rem;
  }
  .service-detail-image {
    height: 420px;
  }
}
