/* ==========================================================================
   Mari Tile and Trades — main stylesheet
   Palette taken from the logo: espresso ink, warm cream, brushed gold.
   ========================================================================== */

:root {
  --ink: #231c15;
  --ink-2: #3a2f25;
  --ink-soft: #5b4f44;
  --muted: #7a6d60;
  --cream: #faf6ef;
  --paper: #fffdf9;
  --stone: #f1eadf;
  --stone-2: #e6dccb;
  --gold: #b8924a;
  --gold-light: #d9bb7c;
  --gold-deep: #8c6a2c;
  --line: rgba(35, 28, 21, 0.12);
  --line-light: rgba(255, 253, 249, 0.16);
  --success: #3f6b4a;
  --danger: #9a3a2e;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 10px rgba(35, 28, 21, 0.06);
  --shadow: 0 18px 50px -20px rgba(35, 28, 21, 0.35);
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
em.gold, .gold-text { font-style: italic; color: var(--gold); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 38px; height: 1px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-light); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-soft); font-weight: 300; }
.section-dark .lead { color: rgba(250, 246, 239, 0.78); }
.text-center { text-align: center; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { --bg: var(--gold); --fg: #fff; --bd: var(--gold); }
.btn-gold:hover { --bg: var(--gold-deep); --bd: var(--gold-deep); }
.btn-dark:hover { --bg: var(--ink-2); --bd: var(--ink-2); }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: rgba(35, 28, 21, 0.35); }
.btn-outline:hover { --bg: var(--ink); --fg: var(--cream); --bd: var(--ink); }
.btn-outline-light { --bg: transparent; --fg: var(--cream); --bd: rgba(250, 246, 239, 0.5); }
.btn-outline-light:hover { --bg: var(--cream); --fg: var(--ink); --bd: var(--cream); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Brand / logo ---------- */
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--ink); }
.brand-word {
  display: inline-flex; align-items: baseline;
  font-family: var(--font-display); font-weight: 600; font-size: 38px; letter-spacing: 0.01em;
  text-shadow: -0.045em 0 0 var(--gold-light);
}
.brand-a { height: 0.708em; width: 0.74em; margin: 0 0.01em; overflow: visible; }
.brand-tag {
  margin-top: 5px; font-family: var(--font-body); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase; padding-left: 0.34em;
}
.brand--light { color: var(--cream); }
.brand--light .brand-word { text-shadow: -0.045em 0 0 var(--gold); }
.brand--lg .brand-word { font-size: 56px; }
.brand--lg .brand-tag { font-size: 13px; margin-top: 8px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(250, 246, 239, 0.82); font-size: 0.8rem; letter-spacing: 0.04em; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar-items { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-items span { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--gold-light); }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font-weight: 500; }
.topbar a:hover { color: var(--gold-light); }
@media (max-width: 760px) { .topbar-items span:not(:first-child) { display: none; } }
@media (max-width: 420px) { .topbar-items { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 249, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-list { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav-list a {
  position: relative; display: block; padding: 8px 0;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--gold-deep); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.95rem; color: var(--ink); white-space: nowrap; }
.nav-phone svg { width: 17px; height: 17px; color: var(--gold); }
.nav-phone:hover { color: var(--gold-deep); }
.nav .btn { min-height: 46px; padding: 12px 22px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) { .nav-phone { display: none; } }
@media (max-width: 980px) {
  :root { --header-h: 74px; }
  /* backdrop-filter would trap the fixed mobile menu inside the header */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .brand-word { font-size: 32px; }
  .brand-tag { font-size: 8.5px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 28px var(--gutter) 40px; background: var(--paper); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 16px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-phone { display: inline-flex; justify-content: center; font-size: 1.15rem; }
  .nav .btn { min-height: 54px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--cream);
  min-height: min(88vh, 860px); display: flex; align-items: center;
  padding-block: clamp(80px, 12vw, 140px);
}
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(23, 18, 13, 0.9) 0%, rgba(23, 18, 13, 0.72) 42%, rgba(23, 18, 13, 0.25) 100%);
}
.hero-content { max-width: 700px; }
.hero h1 { color: var(--cream); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .lead { color: rgba(250, 246, 239, 0.85); max-width: 580px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.hero-badges li { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: rgba(250, 246, 239, 0.9); }
.hero-badges svg { width: 20px; height: 20px; color: var(--gold-light); }

.page-hero { position: relative; isolation: isolate; color: var(--cream); padding-block: clamp(80px, 11vw, 130px) clamp(60px, 8vw, 96px); }
.page-hero h1 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 820px; }
.page-hero h1 em { color: var(--gold-light); }
.page-hero .lead { color: rgba(250, 246, 239, 0.85); max-width: 640px; }
.page-hero .btn-row { margin-top: 30px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250, 246, 239, 0.7); margin-bottom: 22px; }
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 72px); }
.section-alt { background: var(--cream); }
.section-stone { background: var(--stone); }
.section-dark { background: var(--ink); color: rgba(250, 246, 239, 0.82); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }

/* Subtle tile-grid texture for dark sections */
.tile-texture { position: relative; isolation: isolate; }
.tile-texture::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.06; pointer-events: none;
  background-image:
    linear-gradient(var(--gold-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold-light) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 30px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--stone-2); border-radius: 50%; color: var(--gold-deep); }
.trust-icon svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; line-height: 1.2; }
.trust-item span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 980px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item { padding: 20px 4px; }
}

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

.media-stack { position: relative; padding: 0 12% 12% 0; }
.media-stack .img-main { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.media-stack .img-accent {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-lg); border: 8px solid var(--paper); box-shadow: var(--shadow);
}
.section-alt .media-stack .img-accent { border-color: var(--cream); }
.media-badge {
  position: absolute; left: -18px; top: 36px; background: var(--ink); color: var(--cream);
  padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 210px;
}
.media-badge strong { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--gold-light); font-weight: 500; }
.media-badge span { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 8px; line-height: 1.4; }
@media (max-width: 600px) { .media-badge { left: 12px; top: 12px; padding: 14px 16px; } .media-badge strong { font-size: 1.8rem; } }

.check-list { display: grid; gap: 14px; margin: 26px 0 34px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list strong { font-weight: 500; color: var(--ink); }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 14px 30px; }
@media (max-width: 560px) { .check-list.cols-2 { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative; display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.service-num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 0.95rem; margin-bottom: 6px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.96rem; }
.service-card .link-arrow { margin-top: auto; padding-top: 6px; }
.service-card .stretched::after { content: ""; position: absolute; inset: 0; }
.service-card.featured { border-color: var(--gold); }
.service-card .tag {
  position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--gold); color: #fff;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 10px; border-radius: 2px;
}

/* ---------- Tile specialty band ---------- */
.specialty-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.specialty-item { padding: 34px 30px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background 0.35s var(--ease); }
.specialty-item:hover { background: rgba(250, 246, 239, 0.04); }
.specialty-item svg { width: 34px; height: 34px; color: var(--gold-light); margin-bottom: 18px; }
.specialty-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.specialty-item p { margin: 0; font-size: 0.94rem; color: rgba(250, 246, 239, 0.7); }
@media (max-width: 900px) { .specialty-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .specialty-grid { grid-template-columns: 1fr; } .specialty-item { padding: 26px 22px; } }

.materials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; justify-content: center; }
.materials li { border: 1px solid var(--line-light); border-radius: 100px; padding: 8px 18px; font-size: 0.85rem; letter-spacing: 0.06em; color: rgba(250, 246, 239, 0.85); }
.section-alt .materials li, .section .materials.dark li { border-color: var(--stone-2); color: var(--ink-soft); background: var(--paper); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--stone-2); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold); font-weight: 400; margin-bottom: 18px;
}
.step::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--stone); }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: var(--cream);
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(23, 18, 13, 0.75));
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .gallery { grid-auto-rows: 160px; gap: 10px; } .gallery figure.tall { grid-row: span 1; } }
.note { font-size: 0.85rem; color: var(--muted); margin-top: 22px; }

/* ---------- Testimonials ---------- */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.reviews-head .section-head { margin-bottom: 0; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--stone-2); background: var(--paper);
  display: grid; place-items: center; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.carousel-btn:disabled { opacity: 0.35; pointer-events: none; }

.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
@media (max-width: 980px) { .carousel { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .carousel { grid-auto-columns: 88%; gap: 16px; } }

.review-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px 28px; margin: 0;
}
.review-stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 18px; }
.review-stars svg { width: 16px; height: 16px; }
.review-card blockquote { margin: 0 0 24px; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.5; color: var(--ink); }
.review-card blockquote::before { content: "\201C"; display: block; font-size: 3.4rem; line-height: 0.6; color: var(--gold-light); margin-bottom: 8px; }
.review-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--stone); color: var(--gold-deep); font-family: var(--font-display); font-size: 1.1rem; flex-shrink: 0; }
.review-card cite { font-style: normal; font-weight: 500; display: block; line-height: 1.3; }
.review-card figcaption span span { display: block; font-size: 0.8rem; color: var(--muted); }

.reviews-grid { columns: 3 320px; column-gap: 24px; }
.reviews-grid .review-card { break-inside: avoid; margin-bottom: 24px; }

.review-disclaimer { font-size: 0.84rem; color: var(--muted); margin-top: 28px; max-width: 760px; }

/* ---------- Service areas ---------- */
.areas-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 30px; margin-top: 10px; }
.areas-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.areas-list li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.areas-list a:hover { color: var(--gold-deep); }
.areas-list .primary { font-weight: 500; }
@media (max-width: 900px) { .areas-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .areas-list { grid-template-columns: repeat(2, 1fr); gap: 0 18px; } }

.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--stone); aspect-ratio: 4 / 3; }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.3rem); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.3s var(--ease);
  background:
    linear-gradient(var(--gold-deep), var(--gold-deep)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--gold-deep), var(--gold-deep)) center / 1.5px 100% no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-deep); }
.faq .faq-body { padding: 0 40px 26px 0; color: var(--ink-soft); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Service detail (services page) ---------- */
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 16px; border-radius: 100px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: var(--ink-soft); border: 1px solid transparent; }
.subnav a:hover { border-color: var(--stone-2); color: var(--ink); }

/* ---------- Values / feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 34px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.section-dark .feature-card { background: rgba(250, 246, 239, 0.03); border-color: var(--line-light); }
.feature-card svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 18px; }
.feature-card h3 { font-size: 1.3rem; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.section-dark .feature-card p { color: rgba(250, 246, 239, 0.7); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .feature-grid { grid-template-columns: 1fr; } }

.quote-block { position: relative; padding: clamp(28px, 4vw, 44px); border-left: 2px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin: 30px 0; }
.quote-block p { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); font-style: italic; margin-bottom: 14px; }
.quote-block cite { font-style: normal; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }

.signature { font-family: var(--font-display); font-style: italic; font-size: 2rem; color: var(--gold-deep); margin-top: 8px; }

/* ---------- Prose (local pages, policy) ---------- */
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink); color: rgba(250, 246, 239, 0.82); border-radius: var(--radius-lg); padding: 34px 30px; }
.aside-card h3 { color: var(--cream); }
.aside-card .check-list li { color: rgba(250, 246, 239, 0.85); }
.content-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .content-with-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); padding-block: clamp(70px, 9vw, 110px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(23, 18, 13, 0.8); }
.cta-band h2 { color: var(--cream); max-width: 760px; margin-inline: auto; }
.cta-band .lead { color: rgba(250, 246, 239, 0.82); max-width: 600px; margin: 0 auto 34px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact & form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { margin-bottom: 18px; }
.contact-methods { display: grid; gap: 14px; margin: 32px 0; }
.contact-method { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); transition: border-color 0.3s, transform 0.3s var(--ease); }
a.contact-method:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-method .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: grid; place-items: center; flex-shrink: 0; }
.contact-method .icon svg { width: 20px; height: 20px; }
.contact-method small { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-method strong { display: block; font-weight: 500; font-size: 1.05rem; word-break: break-word; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.form-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field label, .field legend { display: block; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.field .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; background: var(--cream); border: 1px solid var(--stone-2); border-radius: var(--radius);
  font-size: 1rem; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c6a2c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--paper); box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.18); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { display: none; font-size: 0.82rem; color: var(--danger); margin-top: 6px; }
.field.has-error .field-error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--stone-2); border-radius: 100px;
  font-size: 0.92rem; cursor: pointer; background: var(--cream); transition: all 0.25s var(--ease); user-select: none;
}
.chip span::before { content: ""; width: 14px; height: 14px; border: 1px solid var(--stone-2); border-radius: 3px; background: var(--paper); transition: all 0.25s; }
.chip input:checked + span { border-color: var(--gold); background: rgba(184, 146, 74, 0.1); color: var(--ink); }
.chip input:checked + span::before {
  border-color: var(--gold);
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.form-privacy { font-size: 0.82rem; color: var(--muted); margin: 0; }
.form-privacy a { text-decoration: underline; text-underline-offset: 2px; }
.btn.is-loading { pointer-events: none; opacity: 0.8; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; display: none; }
.btn.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { display: none; padding: 16px 18px; border-radius: var(--radius); font-size: 0.95rem; }
.form-status.is-visible { display: block; }
.form-status.success { background: rgba(63, 107, 74, 0.1); border: 1px solid rgba(63, 107, 74, 0.35); color: var(--success); }
.form-status.error { background: rgba(154, 58, 46, 0.08); border: 1px solid rgba(154, 58, 46, 0.3); color: var(--danger); }
.form-status a { text-decoration: underline; font-weight: 500; }

.form-success { text-align: center; padding: 30px 10px; }
.form-success .icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; }
.form-success .icon svg { width: 34px; height: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: #1a140f; color: rgba(250, 246, 239, 0.7); padding-top: clamp(64px, 8vw, 96px); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 24px; max-width: 320px; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--cream); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { word-break: break-word; }
.footer-bottom { border-top: 1px solid rgba(250, 246, 239, 0.1); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.84rem; }
.footer-bottom a:hover { color: var(--cream); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 760px) { .site-footer { padding-bottom: 72px; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--ink); border-top: 1px solid rgba(250, 246, 239, 0.12);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%); transition: transform 0.35s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; color: var(--cream); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
  .mobile-bar a + a { background: var(--gold); color: #fff; }
  .mobile-bar svg { width: 18px; height: 18px; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.1s; }
.js .reveal-delay-2 { transition-delay: 0.2s; }
.js .reveal-delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.not-found .big { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: var(--gold); }
