/* ==========================================================
   A&M Service Center & Towing — main stylesheet
   ========================================================== */

:root {
  --ink: #0f1412;
  --ink-2: #18201c;
  --ink-3: #222c27;
  --paper: #f6f5f0;
  --white: #ffffff;
  --text: #1c2320;
  --muted: #5d6762;
  --muted-light: #a9b3ae;
  --line: #e2e1da;
  --line-dark: rgba(255, 255, 255, 0.1);
  --yellow: #ffd21f;
  --yellow-dark: #e6b800;
  --green: #17914b;
  --green-dark: #0f6e38;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(15, 20, 18, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 20, 18, 0.18);
  --max: 1200px;
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 94px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.section { padding: 100px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: var(--yellow); }
.section-dark p { color: var(--muted-light); }
.section-white { background: var(--white); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--muted-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px rgba(255, 210, 31, 0.35); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

/* ---------- Top bar & header ---------- */
.topbar {
  background: var(--green);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-live { display: inline-flex; align-items: center; gap: 8px; }
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 210, 31, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 210, 31, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 210, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 210, 31, 0); }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 94px;
}
.logo img { height: 72px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  transition: background 0.2s ease;
}
.nav a:hover { background: var(--paper); }
.nav a.active { background: var(--ink); color: var(--white); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }
.nav .btn:hover { background: var(--yellow-dark); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 10px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 25%, rgba(15, 20, 18, 0.55) 70%, rgba(15, 20, 18, 0.3));
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 120px;
}
.hero-content { max-width: 720px; }
.hero h1 span { color: var(--yellow); }
.hero-lead { font-size: 1.2rem; color: #d4dbd7; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 70px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 900px;
}
.stat { background: rgba(15, 20, 18, 0.75); padding: 24px 26px; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.1;
}
.stat span { font-size: 0.92rem; color: var(--muted-light); }

/* Page hero (interior pages) */
.page-hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.page-hero .hero-bg { opacity: 0.25; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 35%, rgba(15, 20, 18, 0.5));
}
.page-hero .container { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 90px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 760px; }
.page-hero h1 span { color: var(--yellow); }
.page-hero p { color: #d4dbd7; font-size: 1.15rem; max-width: 620px; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero .impound-call-note {
  margin: 22px 0 28px;
  padding: 16px 20px;
  border-left: 4px solid var(--yellow);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.02rem;
  color: #e3e8e5;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--ink);
  color: var(--yellow);
  margin-bottom: 22px;
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card p { color: var(--muted); margin-bottom: 18px; }
.card-link {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { gap: 10px; }
.card-link::after { content: "→"; transition: transform 0.2s ease; }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.media-tag {
  position: absolute;
  left: -20px;
  bottom: 28px;
  background: var(--yellow);
  color: var(--ink);
  padding: 18px 22px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  box-shadow: var(--shadow-lg);
}
.media-tag strong { display: block; font-size: 2rem; }
.media-tag span { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green) 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='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section-dark .check-list li { color: #e3e8e5; }
.check-list.single { grid-template-columns: 1fr; }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 20px;
}
.step h3 { color: var(--white); }
.step p { margin: 0; }

/* ---------- Feature cards (why us) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature .icon svg { width: 24px; height: 24px; color: var(--ink); }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- Testimonials ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.stars { color: var(--yellow-dark); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.review blockquote { margin: 0 0 22px; color: var(--text); flex-grow: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
}
.review-author strong { display: block; font-family: var(--font-head); line-height: 1.2; }
.review-author span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Areas ---------- */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  color: #e3e8e5;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.area::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 46px solid rgba(15, 20, 18, 0.06);
}
.cta-band h2 { margin: 0 0 6px; color: var(--ink); }
.cta-band p { margin: 0; color: #3b3a2a; font-size: 1.1rem; }
.cta-band .btn { position: relative; z-index: 1; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 16px;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { grid-row: span 2; }

/* ---------- Impound locations ---------- */
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.location {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.location-head {
  background: var(--ink);
  color: var(--white);
  padding: 28px 30px;
}
.location-head h3 { font-size: 1.6rem; margin-bottom: 6px; }
.location-head p { margin: 0; color: var(--muted-light); }
.location-body { padding: 28px 30px; }
.location-body h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 24px 0 10px;
}
.location-body h4:first-child { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr:last-child td { border-bottom: 0; }
.notice {
  background: #fff8d6;
  border: 1px solid #f1df8a;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 500;
}
.agency-list { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.agency-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.agency-list li:last-child { border-bottom: 0; }
.agency-list small { display: block; color: var(--muted); }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.location-actions .btn { padding: 12px 20px; font-size: 0.95rem; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.info-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--green);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.info-card p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
a.contact-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.contact-card .icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--yellow);
  display: grid;
  place-items: center;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-card strong { font-family: var(--font-head); font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-card > div:last-child { min-width: 0; }
.contact-grid > * { min-width: 0; }
.contact-card.highlight { background: var(--yellow); border-color: var(--yellow); }
.contact-card.highlight small { color: #4d4a2a; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; font-weight: 600; color: var(--green); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 420px;
}
.contact-grid .map-wrap { height: 100%; min-height: 420px; align-self: stretch; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- In loving memory ---------- */
.memorial {
  --gold: #c9a961;
  --serif: "Cormorant Garamond", Georgia, serif;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 169, 97, 0.14), transparent 60%),
    var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.memorial .container { position: relative; z-index: 1; }
.memorial-hero { padding: 110px 0 90px; text-align: center; }
.memorial-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 36px;
}
.memorial-portrait {
  width: 280px;
  height: 340px;
  margin: 0 auto 40px;
  padding: 10px;
  border-radius: 160px 160px 18px 18px;
  border: 1.5px solid var(--gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.memorial-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 150px 150px 12px 12px;
}
.memorial h1,
.memorial h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
}
.memorial h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 10px; }
.memorial h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 10px; }
.memorial-dates {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #d9dfdb;
}
.memorial-dates::before,
.memorial-dates::after { content: ""; width: 48px; height: 1px; background: var(--gold); }
.memorial-role {
  margin-top: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.memorial-body { padding: 0 0 110px; }
.memorial-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.85;
  color: #d4dbd7;
}
.memorial-text p:first-child::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 4.4rem;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--gold);
}
.memorial-quote {
  max-width: 760px;
  margin: 70px auto;
  padding: 0 20px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.35;
  color: var(--white);
}
.memorial-quote::before,
.memorial-quote::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 0 auto 28px;
  background: var(--gold);
}
.memorial-quote::after { margin: 28px auto 0; }

.memorial-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 900px;
  margin: 0 auto 70px;
  background: rgba(201, 169, 97, 0.3);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.memorial-fact { background: var(--ink-2); padding: 28px 24px; text-align: center; }
.memorial-fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
}
.memorial-fact span { font-size: 0.92rem; color: var(--muted-light); }

.memorial-family {
  max-width: 720px;
  margin: 60px auto 0;
  padding: 36px;
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: var(--radius-lg);
  text-align: center;
}
.memorial-family h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0;
  color: var(--gold);
}
.memorial-family p { color: #d4dbd7; margin: 0 0 6px; }
.memorial-footnote { text-align: center; margin-top: 40px; color: var(--muted-light); font-size: 0.95rem; }
.memorial-footnote a { color: var(--gold); }

/* Home page tribute teaser */
.tribute {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.tribute .memorial-portrait { width: 220px; height: 270px; margin: 0; }
.tribute h2 { margin-bottom: 6px; }
.tribute .memorial-dates { font-size: 1.15rem; margin-bottom: 20px; }
.tribute p { color: #d4dbd7; }
.btn-gold { border-color: var(--gold); color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--ink); }

@media (max-width: 760px) {
  .memorial-facts { grid-template-columns: 1fr; }
  .tribute { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .tribute .memorial-portrait { margin: 0 auto; }
  .memorial-portrait { width: 230px; height: 285px; }
  .memorial-hero { padding: 80px 0 60px; }
  .memorial-family { padding: 26px 20px; }
  .memorial-dates { font-size: 1.1rem; gap: 0; }
  .memorial-dates::before,
  .memorial-dates::after { display: none; }
  .memorial-role { font-size: 0.74rem; letter-spacing: 0.14em; }
  .memorial-kicker { margin-bottom: 26px; }
  .memorial-quote { margin: 50px auto; }
  .memorial-facts { margin-bottom: 50px; }
  .memorial-fact { padding: 20px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-light); padding: 80px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo {
  display: inline-block;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.footer-logo img { height: 50px; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer-phone {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--yellow);
  margin-bottom: 8px;
}
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink-3);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.socials a:hover { background: var(--yellow); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

/* ---------- Mobile call bar ---------- */
.call-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 200;
  box-shadow: var(--shadow-lg);
}
.call-bar .btn { width: 100%; padding: 17px; font-size: 1.08rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid, .reviews, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 44px; }
}

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 94px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; padding: 15px; }
}

@media (max-width: 860px) {
  .topbar-hide-sm { display: none; }

  .split, .contact-grid, .locations { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .media-tag { left: 16px; }
  .process { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }
  .section { padding: 72px 0; }
  .call-bar { display: block; }
  body { padding-bottom: 80px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .services-grid, .reviews, .features, .info-grid, .footer-grid { grid-template-columns: 1fr; }
  .check-list, .form-row { grid-template-columns: 1fr; }
  .hero .container { padding-top: 80px; padding-bottom: 80px; }
  .hero-actions .btn { width: 100%; }
  .stat { padding: 18px; }
  .stat strong { font-size: 1.7rem; }
  .form-card { padding: 26px 20px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 1rem; }

  /* Compact service cards: icon beside the title */
  .service-card {
    padding: 22px 20px;
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    align-items: center;
  }
  .service-card .icon { width: 48px; height: 48px; border-radius: 12px; margin: 0; }
  .service-card .icon svg { width: 24px; height: 24px; }
  .service-card h3 { margin: 0; font-size: 1.15rem; }
  .service-card p,
  .service-card .card-link { grid-column: 1 / -1; }
  .service-card p { margin: 14px 0 12px; font-size: 0.97rem; }
  .services-grid { gap: 14px; }

  .step { padding: 24px 22px; }
  .step::before { font-size: 2.2rem; margin-bottom: 12px; }
  .process { gap: 14px; }

  .features { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px !important; }
  .feature { padding: 18px 16px; }
  .feature .icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; }
  .feature .icon svg { width: 20px; height: 20px; }
  .feature h3 { font-size: 1rem; margin-bottom: 6px; }
  .feature p { font-size: 0.88rem; line-height: 1.5; }
  .review { padding: 24px 22px; }
  .reviews { gap: 14px; }

  .split { gap: 32px; }
  .split-media img { aspect-ratio: 16 / 11; }
  .media-tag { padding: 12px 16px; bottom: 16px; }
  .media-tag strong { font-size: 1.5rem; }
  .check-list { margin: 20px 0 26px; gap: 10px; }
  .split .btn,
  .cta-band .btn { width: 100%; white-space: normal; }

  .cta-band { padding: 32px 22px; }
  .area { padding: 8px 14px; font-size: 0.9rem; }

  .location-head,
  .location-body { padding: 22px 20px; }
  .location-actions .btn { flex: 1 1 100%; }

  .contact-card { padding: 16px; gap: 14px; }
  .contact-card strong { font-size: 1rem; }
  .contact-grid { gap: 24px; }
  .contact-grid .map-wrap { min-height: 320px; height: 320px; }

  .gallery { grid-template-rows: 200px 130px 130px; gap: 10px; }

  .page-hero .container { padding-top: 60px; padding-bottom: 60px; }
  .page-hero p { font-size: 1.05rem; }

  .footer { padding: 56px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; margin-bottom: 36px; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .topbar { font-size: 0.8rem; }
  .header .container { height: 80px; }
  .logo img { height: 60px; }
  .nav { top: 80px; }
}
