/* =========================================================
   ADIOS FUNERAL SERVICES — site.css
   Palette: deep green · brand brown · white · black text
   ========================================================= */

:root {
  --green-950: #0a2015;
  --green-900: #0f3120;
  --green-800: #14462c;
  --green-700: #1a713a;
  --green-600: #1a9648;
  --green-50:  #eef6f0;
  --brown-600: #c57c24;
  --brown-700: #9a5f17;
  --brown-800: #7a4a10;
  --brown-100: rgba(197,124,36,.12);
  --amber: #e7b36f;
  --white: #ffffff;
  --paper: #f4f5f6;
  --night: #000000;
  --night-2: #000000;
  --ink: #17181a;
  --ink-2: #4a4f54;
  --ink-3: #5c6166;
  --line: rgba(0,0,0,.11);
  --radius: 2px;
  --radius-lg: 2px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --shadow: 0 6px 20px rgba(0,0,0,.07);
  --shadow-lg: 0 18px 46px rgba(0,0,0,.10);
  --serif: "Outfit", "Segoe UI", system-ui, sans-serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-800); }
p { margin: 0 0 1.1em; color: var(--ink-2); font-weight: 300; }
ul, ol { color: var(--ink-2); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
h1, h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; }
h4 { font-size: 1.02rem; font-weight: 600; }
strong { color: var(--ink); font-weight: 600; }
li { font-weight: 300; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brown-600); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 2px; border: 1.5px solid transparent;
  font: 600 .82rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), color .35s, border-color .35s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--amber);
  transform: translateY(102%); transition: transform .5s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateY(0); }
.btn-green { background: var(--green-700); color: var(--white); box-shadow: 0 10px 26px rgba(26,113,58,.22); }
.btn-green:hover { color: var(--night); box-shadow: 0 16px 34px rgba(26,113,58,.28); }
.btn-brown { background: var(--brown-600); color: var(--night); }
.btn-brown::after { background: var(--green-700); }
.btn-brown:hover { color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn-ghost::after { background: var(--white); }
.btn-ghost:hover { color: var(--night); }
.btn-outline { border-color: var(--line); color: var(--green-700); background: transparent; }
.btn-outline::after { background: var(--green-700); }
.btn-outline:hover { color: var(--white); border-color: var(--green-700); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--night); color: rgba(255,255,255,.85); font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { color: var(--amber); }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border: 0; background: none;
  font: 500 .95rem var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 2px;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav li.active > .nav-link { color: var(--green-700); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; list-style: none; margin: 0; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 2px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.has-dd:hover > .dropdown, .has-dd:focus-within > .dropdown, .has-dd.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .chev, .has-dd.open .chev { transform: rotate(180deg); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 2px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.dropdown a small { display: block; color: var(--ink-3); font-size: .8rem; line-height: 1.35; }
.dropdown a:hover { background: var(--paper); color: var(--green-700); }
.dropdown .dd-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 500; color: var(--green-700); }
.header-cta { margin-left: 10px; padding: 11px 20px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--night); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.42) 100%),
    linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 45%);
}
.hero-home { min-height: min(88vh, 780px); display: flex; align-items: center; padding: 96px 0 120px; }
.hero-page { padding: 64px 0 72px; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero-page h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.hero .lead { font-weight: 300; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 60ch; margin-bottom: 30px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 600 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--green-700);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--brown-600); }
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: var(--amber); }
.hero-trust { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.9); font-size: .95rem; }
.hero-trust .icon { color: var(--amber); }
.breadcrumbs { font-size: .88rem; margin-bottom: 22px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; color: rgba(255,255,255,.7); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: rgba(255,255,255,.9); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Contact strip under hero ---------- */
.strip { position: relative; z-index: 2; margin-top: -54px; }
.strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.strip-item { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; border-right: 1px solid var(--line); text-decoration: none; color: inherit; }
.strip-item:last-child { border-right: 0; }
.strip-item .ic { width: 44px; height: 44px; border-radius: 2px; display: grid; place-items: center; background: var(--brown-100); color: var(--green-700); flex: none; }
.strip-item strong { display: block; font-size: .98rem; }
.strip-item span { font-size: .9rem; color: var(--ink-3); line-height: 1.45; }
a.strip-item:hover strong { color: var(--green-700); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-paper { background: var(--paper); }
.section-green { background: var(--night); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.section-green::before {
  content: ""; position: absolute; left: -10%; bottom: -40%; width: 50vw; height: 50vw; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(231,179,111,.14), transparent 65%);
}
.section-green h2, .section-green h3 { color: var(--white); }
.section-green p, .section-green li { color: rgba(255,255,255,.75); }
.section-green .eyebrow { color: var(--amber); }
.section-green .eyebrow::before { background: var(--amber); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child, .prose .eyebrow + h2 { margin-top: 0; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card, .feature, .step, .loc-card { position: relative; }
.card::before, .feature::before, .step::after, .loc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; z-index: 2; background: var(--green-700);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out);
}
.card:hover::before, .feature:hover::before, .step:hover::after, .loc-card:hover::before { transform: scaleX(1); }
.card, .feature, .step, .loc-card, .gallery figure { box-shadow: 0 2px 10px rgba(0,0,0,.04); transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s; }
a.card:hover, .loc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { font-size: .97rem; margin-bottom: 1em; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); }
.card-link .icon { width: 16px; transition: transform .2s; }
a.card:hover .card-link .icon { transform: translateX(4px); }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--brown-700); margin-bottom: 8px; }

.feature { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.feature .ic { width: 52px; height: 52px; border-radius: 2px; display: grid; place-items: center; background: var(--brown-100); color: var(--green-700); margin-bottom: 18px; transition: background .4s, color .4s, transform .5s var(--ease-out); }
.feature:hover .ic { background: var(--green-700); color: var(--white); transform: rotate(-6deg) scale(1.06); }
.feature .ic .icon { width: 24px; height: 24px; }
.feature p { margin: 0; font-size: .97rem; }
.section-green .feature, .section-green .loc-card { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.14); box-shadow: none; color: var(--white); }
.section-green .loc-card p { color: rgba(255,255,255,.72); }
.section-green .loc-card .card-link { color: var(--amber); }
.section-green .loc-card:hover { background: rgba(255,255,255,.09); }
.section-green .feature .ic { background: rgba(231,179,111,.16); color: var(--amber); }
.section-green .feature:hover .ic { background: var(--amber); color: var(--night); }
.section-green .feature:hover { background: rgba(255,255,255,.09); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow); }
.split-media .badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--night); color: var(--white); border-left: 3px solid var(--amber);
  padding: 16px 20px; border-radius: 2px; box-shadow: var(--shadow-lg); max-width: 220px; font-size: .9rem; line-height: 1.35;
}
.split-media .badge strong { display: block; color: var(--amber); font-family: var(--sans); font-weight: 700; font-size: 1.7rem; line-height: 1.1; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 20px; height: 20px; border-radius: 2px;
  background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist.cols { grid-template-columns: 1fr 1fr; gap: 10px 28px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font: 600 .72rem/1 var(--sans); letter-spacing: .24em; color: var(--brown-700); margin-bottom: 16px;
}
.step p { margin: 0; font-size: .96rem; }
.step h3 { font-size: 1.1rem; }

/* ---------- Fleet ---------- */
.fleet-card .card-media { aspect-ratio: 3 / 2; }
.specs { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { font-size: .82rem; padding: 5px 11px; border-radius: 2px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption { padding: 14px 18px 16px; }
.gallery figcaption strong { display: block; }
.gallery figcaption span { font-size: .9rem; color: var(--ink-3); }

/* ---------- Areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li, .chips a { padding: 8px 16px; border-radius: 2px; border: 1px solid var(--line); background: var(--white); font-size: .93rem; color: var(--ink-2); text-decoration: none; }
.chips a:hover { border-color: var(--green-700); color: var(--green-700); }
.section-green .chips li, .section-green .chips a { background: transparent; border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.88); }
.loc-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); text-decoration: none; color: inherit; display: block; transition: .25s; }
.loc-card:hover { border-color: var(--green-700); box-shadow: var(--shadow); color: inherit; }
.loc-card h3 { display: flex; align-items: center; gap: 10px; }
.loc-card h3 .icon { color: var(--brown-600); }
.section-green .loc-card h3 .icon { color: var(--amber); }
.loc-card p { font-size: .95rem; margin-bottom: .8em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 2px; background: var(--white); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 500; font-size: 1.05rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 2px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a713a' d='M11 5h2v14h-2z'/%3E%3Cpath fill='%231a713a' d='M5 11h14v2H5z'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 20px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(140deg, var(--green-900), var(--green-700)); color: var(--white); padding: 84px 0; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.cta-band::before { width: 520px; height: 520px; top: -240px; left: -120px; }
.cta-band::after { width: 400px; height: 400px; bottom: -200px; right: -80px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band .btn-green { background: var(--amber); color: var(--night); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.cta-band .btn-green::after { background: var(--white); }
.cta-band .btn-outline { border-color: rgba(255,255,255,.35); color: var(--white); }
.cta-band .btn-outline::after { background: var(--white); }
.cta-band .btn-outline:hover { color: var(--night); border-color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .2em; }
.cta-inner p { margin: 0; max-width: 56ch; }

/* ---------- Related links ---------- */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: 2px; text-decoration: none; color: var(--ink); background: var(--white); font-weight: 500;
}
.related a { transition: border-color .3s, color .3s, transform .45s var(--ease-out); }
.related a:hover { border-color: var(--green-700); color: var(--green-700); transform: translateY(-3px); }
.related .icon { width: 16px; color: var(--brown-600); }

/* ---------- Info boxes ---------- */
.note { border-left: 3px solid var(--brown-600); background: var(--paper); padding: 20px 24px; border-radius: 0 2px 2px 0; margin: 1.5em 0; }
.note p:last-child { margin: 0; }
.aside-card { position: sticky; top: 110px; padding: 30px; border-radius: 2px; background: var(--night); color: var(--white); border-top: 3px solid var(--amber); }
.aside-card h3 { color: var(--white); font-family: var(--sans); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.aside-card p { color: rgba(255,255,255,.82); font-size: .96rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card .muted { font-size: .85rem; margin-top: 16px; margin-bottom: 0; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.form { display: grid; gap: 16px; padding: 34px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .92rem; font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid rgba(0,0,0,.18); border-radius: 2px; font: 400 1rem var(--sans); color: var(--ink); background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(26,113,58,.15); }
.form textarea { min-height: 130px; resize: vertical; }
.form small { color: var(--ink-3); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 2px; display: grid; place-items: center; background: var(--brown-100); color: var(--green-700); flex: none; }
.contact-list strong { display: block; }
.contact-list a { text-decoration: none; }
.map { border: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-2); color: rgba(255,255,255,.75); padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: .7rem; letter-spacing: .24em; font-weight: 600; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p { color: rgba(255,255,255,.72); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--amber); margin-top: 5px; }
.footer-bottom { margin-top: 60px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-areas { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-areas a { color: rgba(255,255,255,.7); }

/* ---------- Floating & mobile call bar ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 2px;
  display: grid; place-items: center; background: #25d366; color: var(--white); box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.wa-float:hover { color: var(--white); transform: scale(1.05); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .with-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .header-cta span.long { display: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 118px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px var(--gutter) 120px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
  }
  .menu-open .nav { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 10px; display: none; min-width: 0; }
  .has-dd:hover > .dropdown, .has-dd:focus-within > .dropdown { display: none; }
  .has-dd.open > .dropdown { display: block; }
  .header-cta { margin: 18px 0 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .split-media .badge { left: 14px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .topbar-left .hide-sm, .topbar-right .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .site-header .container { min-height: 66px; }
  .nav { inset: 106px 0 0 0; }
  .brand img { width: 118px; }
  .section { padding: 68px 0; }
  .section-sm { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery figcaption { padding: 10px 12px 12px; }
  .gallery figcaption span { display: none; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
  .hero-home { min-height: 0; padding: 72px 0 110px; }
  .hero-page { padding: 44px 0 52px; }
  .checklist.cols { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 0; }
  .btn-row .btn { flex: 1 1 auto; }
  .wa-float { display: none; }
}

/* ---------- Animated hero slider (home) ---------- */
.hero-slider { padding: 0; display: block; min-height: 0; }
.hero-slider::before { display: none; }
.hero-slider .slides { display: grid; }
.hero-slider .slide {
  grid-area: 1 / 1; position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: min(88vh, 800px); padding: 96px 0 200px;
  opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.hero-slider .slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s; z-index: 1; }
.slide-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform: scale(1.14); transition: transform 9s linear; }
.slide:nth-child(even) .slide-bg img { transform-origin: 70% 40%; }
.slide:nth-child(odd) .slide-bg img { transform-origin: 30% 60%; }
.slide.is-active .slide-bg img { transform: scale(1); }
.slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.4) 100%),
    linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 50%);
}
.slide-copy { position: relative; }
.slide-title { color: var(--white); max-width: 16ch; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.07; letter-spacing: -.025em; font-weight: 700; margin: 0 0 .45em; }
.slide-title .accent { color: var(--amber); }
.slide .lead { max-width: 58ch; }

/* staggered layer entrance: from the right, one after another */
.slide .a1, .slide .a2, .slide .a3, .slide .a4 { opacity: 0; transform: translateX(60px); }
.slide.is-active .a1, .slide.is-active .a2, .slide.is-active .a3, .slide.is-active .a4 {
  animation: heroIn 1s cubic-bezier(.22,1.18,.36,1) both;
}
.slide.is-active .a1 { animation-delay: .3s; }
.slide.is-active .a2 { animation-delay: .5s; }
.slide.is-active .a3 { animation-delay: .75s; }
.slide.is-active .a4 { animation-delay: .95s; }
@keyframes heroIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }

/* trust list + controls sit over the bottom of every slide */
.hero-foot { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-foot .hero-trust { margin: 0; }
.hero-controls { display: flex; align-items: center; gap: 14px; }
.hero-arrow {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 2px; cursor: pointer;
  background: transparent; border: 1.5px solid rgba(255,255,255,.3); color: var(--white); transition: background .3s, border-color .3s, color .3s;
}
.hero-arrow svg { width: 20px; height: 20px; fill: currentColor; }
.hero-arrow:hover { background: var(--amber); border-color: var(--amber); color: var(--night); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 34px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hero-dot i { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.hero-dot i::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active i::after { animation: heroProgress var(--hero-interval, 7s) linear forwards; }
.hero-slider.is-paused .hero-dot.is-active i::after { animation-play-state: paused; }
.hero-slider.no-auto .hero-dot.is-active i::after { animation: none; transform: scaleX(1); }
@keyframes heroProgress { to { transform: scaleX(1); } }

@media (max-width: 960px) {
  .hero-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .hero-slider .slide { min-height: 0; padding: 64px 0 250px; align-items: flex-start; }
  .slide-title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-foot { bottom: 76px; gap: 18px; }
  .hero-foot .hero-trust { gap: 8px 18px; }
  .hero-foot .hero-trust li { font-size: .86rem; }
  .hero-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide-bg img, .slide.is-active .slide-bg img { transform: none; transition: none; }
  .slide.is-active .a1, .slide.is-active .a2, .slide.is-active .a3, .slide.is-active .a4 { animation: none; opacity: 1; transform: none; }
  .hero-slider .slide { transition: none; }
}

/* ---------- Google reviews (home) ---------- */
.gbp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; margin-bottom: 40px; }
.gbp-card h2 { margin-bottom: .6em; }
.gbp-score { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 2px; }
.gbp-score b { font-size: 3.2rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.gbp-score span { display: block; font-size: .9rem; color: var(--ink-3); margin-top: 4px; }
.stars { display: flex; gap: 3px; color: var(--brown-600); }
.stars .icon { width: 20px; height: 20px; }
.gbp-map { min-height: 360px; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; background: var(--white); }
.gbp-map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.review { margin: 0; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.review .stars .icon { width: 16px; height: 16px; }
.review blockquote { margin: 0; font-weight: 300; color: var(--ink-2); line-height: 1.65; flex: 1; }
.review figcaption strong { display: block; }
.review figcaption span { font-size: .85rem; color: var(--ink-3); }
@media (max-width: 960px) { .gbp { grid-template-columns: 1fr; gap: 32px; } }

/* contact strip now has three items */
.strip-inner { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .strip-inner { grid-template-columns: repeat(3, 1fr); }
  .strip-item:nth-child(2) { border-right: 1px solid var(--line); }
  .strip-item:nth-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 720px) {
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item, .strip-item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
}

/* anchor jumps (e.g. /locations#kiambu) land below the sticky header */
section[id] { scroll-margin-top: 90px; }

/* hero intro can run to two paragraphs */
.slide .lead + .lead { margin-top: -14px; }

/* black tint over every hero slide photo, under the directional gradient */
.slide-bg::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.2) 100%),
    linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 50%),
    rgba(0,0,0,.35);
}

/* hero foot holds only the slider controls now */
.hero-controls { margin-left: auto; }
.gbp-card { align-self: center; }

/* soft blur over the left of each hero photo, fading out by the middle, so the text sits on a calm background */
.slide-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 62%);
  mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 62%);
}
.slide-bg::after { z-index: 2; }
@media (max-width: 720px) {
  /* on phones the text covers the full width, so blur the whole photo evenly */
  .slide-bg::before { -webkit-mask-image: none; mask-image: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}

/* ---------- Hero on phones: photo on top at its natural shape, text below ----------
   A tall phone hero crops wide photos down to a thin slice, so stack instead of overlaying. */
@media (max-width: 720px) {
  .hero-slider .slide { flex-direction: column; align-items: stretch; padding: 0 0 118px; background: var(--night); }
  .hero-slider .slide-bg { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 16 / 10; flex: none; }
  .slide-bg::before { display: none; }
  .slide-bg::after { background: linear-gradient(0deg, var(--night) 0%, rgba(0,0,0,0) 38%); }
  .hero-slider .slide-copy { padding-top: 22px; }
  .hero-foot { bottom: 70px; }
}

/* ---------- Green header bar ---------- */
.site-header { background: var(--green-700); border-bottom: 0; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.site-header .header-cta { background: var(--amber); color: var(--night); box-shadow: none; }
.site-header .header-cta::after { background: var(--white); }
.menu-toggle { background: transparent; border-color: rgba(255,255,255,.4); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { background: var(--white); }
.menu-open .menu-toggle span { background: transparent; }
@media (min-width: 961px) {
  .nav > ul > li > .nav-link { color: var(--white); }
  .nav > ul > li > .nav-link:hover, .nav > ul > li > .nav-link[aria-current="page"], .nav li.active > .nav-link { color: var(--amber); }
}



/* header green, a shade deeper than the button green */
.site-header { background: #145c2f; }

/* Hero on phones: photo fades into deep green, text overlaps the fade (per prefhero mock-up) */
@media (max-width: 720px) {
  .hero-slider .slide { background: var(--green-900); }
  .hero-slider .slide-bg { aspect-ratio: 4 / 3; }
  .slide-bg::after { background: linear-gradient(180deg, rgba(15,49,32,0) 30%, rgba(15,49,32,.7) 68%, var(--green-900) 100%); }
  .hero-slider .slide-copy { margin-top: -72px; padding-top: 0; }
}

/* Hero on phones: golden curve with a lighter green band just before the hero ends (per prefhero mock-up) */
@media (max-width: 720px) {
  .hero-slider::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: 2; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 110' preserveAspectRatio='none'%3E%3Cpath d='M0 50 C130 62 270 46 390 6 L390 110 L0 110Z' fill='%23145c2f'/%3E%3Cpath d='M0 50 C130 62 270 46 390 6' fill='none' stroke='%23e7b36f' stroke-width='2.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
  }
  .hero-foot { bottom: 124px; }
  .hero-slider .slide { padding-bottom: 176px; }
}

/* start every slide's text at the same height as slide 1 (shorter slides were vertically centred, leaving a gap under the menu) */
@media (min-width: 721px) { .hero-slider .slide { align-items: flex-start; } }

/* white logo in the footer (the header uses the gold logo file) */
.footer-brand img { filter: brightness(0) invert(1); }

/* fleet card spec pills: slightly tighter so three fit on one line */
.specs { gap: 6px; }
.specs li { padding: 4px 9px; font-size: .78rem; }

/* ---------- Black header bar (logo stays gold) ---------- */
.site-header { background: var(--night); border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar { border-bottom: 1px solid rgba(255,255,255,.08); }
/* mobile menu button with an "All Services" label */
.menu-toggle { width: auto; padding: 0 14px; gap: 10px; }
.menu-toggle .menu-label { font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--white); }

/* ---------- Card buttons (2026-10-01): a solid button instead of the "Learn more" text link ---------- */
.card-link {
  align-self: flex-start; padding: 12px 18px; border-radius: 2px; background: var(--green-700); color: var(--white);
  letter-spacing: .12em; transition: background .3s, color .3s;
}
a.card:hover .card-link, a.loc-card:hover .card-link { background: var(--amber); color: var(--night); }
.loc-card .card-link { display: inline-flex; }
.section-green .loc-card .card-link { background: var(--amber); color: var(--night); }
.section-green a.loc-card:hover .card-link { background: var(--white); }

/* ---------- Header "Funeral plan" button ---------- */
.site-header .header-plan { margin-left: 10px; padding: 10px 16px; border-color: rgba(255,255,255,.35); color: var(--white); }
.site-header .header-plan::after { background: var(--white); }
.site-header .header-plan:hover { color: var(--night); border-color: var(--white); }
.site-header .header-plan + .header-cta { margin-left: 8px; }
/* the desktop nav has no room for it; the plan CTA sits in the hero, the strip and the CTA bands instead */
@media (min-width: 961px) { .site-header .header-plan { display: none; } }
@media (max-width: 960px) {
  .site-header .header-plan { margin: 18px 0 0; color: var(--ink); border-color: var(--line); }
  .site-header .header-plan + .header-cta { margin: 10px 0 0; }
}

/* ---------- Strip: four items (call, WhatsApp, plan, office) ---------- */
.strip-inner { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .strip-inner { grid-template-columns: 1fr 1fr; } .strip-item:nth-child(2) { border-right: 0; } }
@media (max-width: 720px) { .strip-inner { grid-template-columns: 1fr; } .strip-item { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Funeral plan request form ---------- */
.plan-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.plan-intro .steps { grid-template-columns: 1fr; }
.plan-head h2 { font-size: 1.9rem; margin-bottom: .2em; }
.plan-head p { margin: 0; }
.plan-progress { list-style: none; display: flex; gap: 6px; padding: 0; margin: 18px 0 0; counter-reset: s; }
.plan-progress li { flex: 1; counter-increment: s; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 10px; border-top: 3px solid var(--line); }
.plan-progress li::before { content: counter(s) ". "; }
.plan-progress li.is-on { color: var(--green-700); border-color: var(--green-700); }
.plan-form:not(.js) .plan-progress, .plan-form:not(.js) .plan-nav .plan-next, .plan-form:not(.js) .plan-nav .plan-back { display: none; }
.plan-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.plan-form.js .plan-step:not(.is-on) { display: none; }
.plan-step legend { font-weight: 700; font-size: 1.08rem; margin-bottom: 4px; padding: 0; }
.plan-label { display: block; font-size: .92rem; font-weight: 500; margin-bottom: 6px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { position: relative; display: block !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(0,0,0,.18); border-radius: 2px; background: var(--white); font-size: .94rem; line-height: 1.3; transition: border-color .2s, background .2s; }
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid rgba(0,0,0,.35); border-radius: 2px; background: var(--white) center / 12px no-repeat; }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice:hover span { border-color: var(--green-700); }
.choice input:checked + span { border-color: var(--green-700); background: var(--green-50); }
.choice input:checked + span::before { background-color: var(--green-700); border-color: var(--green-700); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }
.choice input:focus-visible + span { outline: 3px solid var(--brown-600); outline-offset: 2px; }
.plan-step .form-row .choice-grid { grid-template-columns: 1fr; }
.plan-error { margin: 0; color: #b3261e; font-size: .9rem; font-weight: 500; }
.plan-nav [hidden] { display: none !important; }
.plan-nav { display: flex; justify-content: space-between; gap: 12px; }
.plan-nav .plan-next, .plan-nav .plan-send { margin-left: auto; }
@media (max-width: 960px) { .plan-intro { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 720px) {
  .choice-grid { grid-template-columns: 1fr; }
  .plan-progress li { font-size: .68rem; letter-spacing: .04em; }
  .plan-nav .btn { flex: 1; }
}

/* ---------- FAQs ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 2px; }
.section-paper .faq-item { background: var(--white); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--green-700); }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--green-700); }
.faq-a { padding: 0 22px 18px; }
.faq-a p { margin: 0; }

/* Hearse fleet cards: taller frame so the portrait van photos show the whole vehicle */
.fleet-card .card-media { aspect-ratio: 1 / 1; }
.fleet-card img[src*="toyota-hiace-hearse-back"] { object-position: center 25%; }
.fleet-card img[src*="mercedes-limousine-hearse-adios"] { object-position: 70% center; }

/* Coffin galleries: show the whole coffin inside the frame instead of cropping it */
.gallery.fit img { object-fit: contain; background: var(--white); padding: 10px; }
.gallery.fit figure { background: var(--white); }
.gallery.fit figcaption { border-top: 1px solid var(--line); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); } }
/* Homepage / listing card for coffins: whole product visible */
.card-media img[src*="mahogany-casket-on-trolley"] { object-fit: contain; background: #e9e9e9; }
.card-media img[src*="lowering-gear-graveside"] { object-position: center 25%; }
