/* Diamondhead Termite & Pest, LLC - stylesheet (plain CSS, no framework)
   Breakpoints: 640px (sm), 768px (md), 1024px (lg). Mobile-first. */

/* ---------- design tokens ---------- */
:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --secondary: #F1EFEA;
  --border: #E2DFD7;
  --border-strong: #D4D0C5;
  --fg: #17211E;
  --body: #394540;
  --muted: #55615C;
  --muted-2: #88938E;
  --primary: #14332B;
  --primary-hover: #0E2620;
  --accent: #C27D1A;
  --accent-hover: #A46610;
  --gold: #E3A94D;
  --danger: #B91C1C;

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--fg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
svg.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

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

.hidden { display: none !important; }
.sep { color: var(--accent); margin: 0 0.4rem; }
.sep--light { color: rgba(255, 255, 255, 0.3); }
.mono-sm { font-family: var(--font-mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.strong { font-weight: 600; color: var(--primary); }
.accent-link { color: var(--gold); }
.icon--accent { color: var(--accent); width: 1rem; height: 1rem; }
.icon--primary { color: var(--primary); }
.icon--xl { width: 1.5rem; height: 1.5rem; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }

.section { border-bottom: 1px solid var(--border); padding: 4rem 0; }
@media (min-width: 640px) { .section { padding: 5rem 0; } }
.section--white { background: #fff; }
.section--bg { background: var(--bg); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.625rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 600 0.875rem/1.2 var(--font-body);
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.985); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--outline { background: #fff; border-color: var(--border-strong); color: var(--primary); }
.btn--outline:hover { border-color: var(--primary); background: var(--secondary); }
.btn--glass { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--secondary); }
.btn--sm { min-height: 38px; padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn--lg { min-height: 48px; padding: 0.75rem 1.5rem; font-size: 0.875rem; }
.btn--block { width: 100%; white-space: normal; }
.btn--phone { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }

.text-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.text-link:hover { color: var(--accent); }

.btn-link {
  background: none;
  border: 0;
  padding: 0;
  font: 600 0.75rem/1.2 var(--font-body);
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-link:hover { color: var(--accent-hover); }

.link-inline {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 500;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-inline:hover { color: var(--accent); }

.inline-phone {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.inline-phone:hover { color: var(--accent); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 249, 246, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 4rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; white-space: nowrap; text-decoration: none; }
.brand-img { height: 2.5rem; width: auto; object-fit: contain; }
@media (min-width: 640px) { .brand-img { height: 2.75rem; } }
.brand-fallback { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--primary); }

.nav-main { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 768px) { .nav-main { display: flex; } }
.nav-link { font-size: 0.875rem; font-weight: 500; color: var(--body); text-decoration: none; white-space: nowrap; transition: color 0.15s ease; }
.nav-link:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.nav-link.is-active { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.header-cta { display: none; min-height: 38px; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--primary);
}
.menu-toggle:hover { background: var(--secondary); }
@media (min-width: 768px) { .menu-toggle { display: none; } }

.drawer { border-top: 1px solid var(--border); background: var(--bg); padding: 1rem; }
@media (min-width: 768px) { .drawer { display: none; } }
.drawer-nav { display: flex; flex-direction: column; gap: 0.375rem; }
.drawer-link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
}
.drawer-link:hover { background: var(--secondary); }
.drawer-cta { margin-top: 0.5rem; min-height: 48px; }

/* ---------- motion ---------- */
@keyframes heroEnter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroPhotoEnter { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes pageEnter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tabPanelEnter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.anim-1 { animation: heroEnter 520ms var(--ease) both; }
.anim-2 { animation: heroEnter 560ms var(--ease) 80ms both; }
.anim-3 { animation: heroEnter 560ms var(--ease) 150ms both; }
.anim-4 { animation: heroEnter 560ms var(--ease) 220ms both; }
.anim-photo { animation: heroPhotoEnter 750ms var(--ease) 100ms both; }
.page-enter { animation: pageEnter 340ms var(--ease) both; }
.tab-panel-enter { animation: tabPanelEnter 240ms var(--ease) both; }

/* Scroll reveal only when JS is running, so content stays visible without it */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms var(--ease), transform 540ms var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.card-lift { transition: transform 200ms var(--ease), border-color 180ms ease, background-color 180ms ease; }
.card-lift:hover,
.js .card-lift.is-visible:hover { transform: translateY(-3px); }

.img-zoom { transition: transform 420ms var(--ease); }
article:hover .img-zoom { transform: scale(1.035); }

/* ---------- hero ---------- */
.hero { padding: 2.5rem 0 3rem; }
@media (min-width: 640px) { .hero { padding: 3.5rem 0 4rem; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; }
  .hero-copy { grid-column: span 6; }
  .hero-media { grid-column: span 6; }
}
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 0.5rem 0; min-width: 0; }
.hero-media { min-width: 0; display: flex; }
.eyebrow { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.hero-title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--primary);
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.35rem; line-height: 1.08; } }
.hero-lead { margin-top: 1.25rem; max-width: 36rem; font-size: 1rem; line-height: 1.625; color: var(--body); }
@media (min-width: 640px) { .hero-lead { font-size: 1.125rem; } }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.hero-areas { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--secondary);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Summary strip */
.strip {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
@media (min-width: 640px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.strip-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem;
  background: #fff;
  border: 0;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font: inherit;
  transition: background-color 0.15s ease;
}
.strip-item:hover { background: #F7F5F0; }
.strip-item:hover .strip-title { text-decoration: underline; }
.strip-item:focus-visible { outline-offset: -2px; }
.strip-big { font-family: var(--font-mono); font-size: 1.125rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.strip-big--dark { color: var(--primary); }
.strip-title { margin-top: 0.5rem; font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.strip-desc { margin-top: 0.25rem; font-size: 0.75rem; line-height: 1.6; color: var(--muted); }

/* ---------- section headings ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .section-head { flex-direction: row; align-items: flex-end; } }
.section-head-text { max-width: 42rem; }
.eyebrow-accent { font-size: 0.875rem; font-weight: 500; color: var(--accent); }
.h2 {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--primary);
}
@media (min-width: 640px) { .h2 { font-size: 2.25rem; } }
.lead { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted); }
@media (min-width: 640px) { .lead { font-size: 1rem; } }
.lead--body { color: var(--body); }
.intro { max-width: 42rem; }
.section-h2 {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--primary);
}
@media (min-width: 640px) { .section-h2 { font-size: 1.75rem; } }

/* ---------- flagship feature card ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--primary);
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
}
@media (min-width: 1024px) { .feature { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.feature-body { display: flex; flex-direction: column; justify-content: space-between; padding: 1.75rem; min-width: 0; }
@media (min-width: 640px) { .feature-body { padding: 2.25rem; } }
@media (min-width: 1024px) { .feature-body { grid-column: span 7; } }
.feature-media { min-height: 240px; border-top: 1px solid rgba(255, 255, 255, 0.15); overflow: hidden; }
.feature-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
@media (min-width: 1024px) {
  .feature-media { grid-column: span 5; border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.15); }
}
.feature-kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.feature-kicker { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.feature-sub { font-size: 0.75rem; font-weight: 500; color: rgba(255, 255, 255, 0.8); }
.feature-title { margin-top: 0.75rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; color: #fff; }
@media (min-width: 640px) { .feature-title { font-size: 1.875rem; } }
.feature-title a { color: inherit; text-decoration: none; }
.feature-title a:hover { text-decoration: underline; }
.feature-text { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: rgba(255, 255, 255, 0.85); }
@media (min-width: 640px) { .feature-text { font-size: 1rem; } }
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.checklist {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.625rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}
@media (min-width: 640px) { .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checklist li { display: flex; gap: 0.625rem; align-items: flex-start; }
.tick { flex-shrink: 0; margin-top: 0.1rem; font-weight: 600; color: var(--accent); }
.feature .tick { color: var(--gold); }

/* ---------- service cards ---------- */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.card-img { height: 13rem; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--secondary); }
.card-img img, .pest-card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; min-width: 0; }
@media (min-width: 640px) { .card-body { padding: 1.75rem; } }
.card-kicker { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-title { margin-top: 0.5rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--primary); }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-text { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.625; color: var(--body); }
.card-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.75rem; font-weight: 500; color: var(--fg); }
.card-list li { display: flex; gap: 0.5rem; align-items: center; }
.card-list .tick { margin-top: 0; }
.card-foot {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Planning & education links */
.aux-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .aux-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aux-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.2s var(--ease);
}
.aux-card:hover { border-color: var(--primary); background: var(--secondary); }
.aux-card:hover .aux-title { text-decoration: underline; }
.kicker-accent { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--accent); }
.aux-title { margin-top: 0.25rem; font-size: 1rem; font-weight: 700; color: var(--primary); }
.aux-desc { margin-top: 0.125rem; font-size: 0.75rem; color: var(--muted); }
.arrow { flex-shrink: 0; font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--primary); }

/* ---------- pest guide tabs ---------- */
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--secondary);
}
.tab {
  min-height: 40px;
  padding: 0.5rem 0.875rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: 500 0.875rem/1.2 var(--font-body);
  color: var(--body);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.tab:hover { background: rgba(255, 255, 255, 0.7); color: var(--primary); }
.tab[aria-selected="true"] { background: var(--primary); color: #fff; }

.pest-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
@media (min-width: 640px) { .pest-panel { padding: 2rem; } }
@media (min-width: 1024px) {
  .pest-panel { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pest-main { grid-column: span 7; }
  .pest-side { grid-column: span 5; }
}
.pest-main, .pest-side { min-width: 0; }
.pest-head { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 640px) { .pest-head { flex-direction: row; align-items: flex-start; } }
.pest-thumb { width: 7rem; height: 7rem; flex-shrink: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--secondary); }
.pest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pest-meta { font-size: 0.75rem; color: var(--muted); }
.meta-dot { margin: 0 0.5rem; color: var(--accent); }
.pest-title { margin-top: 0.375rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--primary); }
@media (min-width: 640px) { .pest-title { font-size: 1.875rem; } }
.pest-overview { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.625; color: var(--body); }
@media (min-width: 640px) { .pest-overview { font-size: 1rem; } }
.pest-approach { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.sub-title { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.sub-text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--body); }
.pest-link-wrap { margin-top: 1.25rem; }
.pest-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}
.signs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.signs li { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.875rem; line-height: 1.625; color: var(--body); }
.cta-block { padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* ---------- DIY comparison table ---------- */
.compare { margin-top: 2rem; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.compare-head {
  display: none;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: 0.75rem 1.5rem;
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
.compare-head > div:nth-child(1) { grid-column: span 3; }
.compare-head > div:nth-child(2) { grid-column: span 4; }
.compare-head > div:nth-child(3) { grid-column: span 5; }
@media (min-width: 768px) { .compare-head { display: grid; } }
.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
}
.compare-head + .compare-row { border-top: 0; }
@media (min-width: 768px) {
  .compare-row { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; }
  .compare-title { grid-column: span 3; }
  .compare-diy { grid-column: span 4; }
  .compare-pro { grid-column: span 5; }
}
.compare-title { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.compare-diy { font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.compare-pro { font-size: 0.875rem; font-weight: 500; line-height: 1.6; color: var(--fg); }
.cell-label { display: block; margin-bottom: 0.25rem; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.cell-label--brand { color: var(--primary); }
@media (min-width: 768px) { .cell-label { display: none; } }

/* ---------- reviews ---------- */
.compare-wrap { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.reviews-block { margin-top: 4rem; padding-top: 3.5rem; border-top: 1px solid var(--border); }
.reviews-head { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .reviews-head { flex-direction: row; align-items: flex-end; } }
.reviews-head-right { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.reviews-head-text { max-width: 42rem; }

.rating-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}
.stars { font-size: 0.875rem; letter-spacing: 0.1em; color: var(--accent); white-space: nowrap; }
.stars--gold { color: var(--gold); font-size: 1rem; }
.rating-text { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }

.spotlight {
  margin-top: 2rem;
  padding: 1.75rem;
  border: 1px solid var(--primary);
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  overflow: hidden;
}
@media (min-width: 640px) { .spotlight { padding: 2.5rem; } }
.spotlight--static { margin-top: 2.5rem; }
.spot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.spot-top-left { display: flex; align-items: center; gap: 0.75rem; }
.spot-tag { font-family: var(--font-mono); font-size: 0.75rem; color: rgba(255, 255, 255, 0.8); }
.spot-controls { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.875rem;
  transition: background-color 0.15s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.2); }
.spot-counter { min-width: 3.5rem; text-align: center; font-family: var(--font-mono); font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; }
.spot-body { margin: 1.5rem 0 0; }
.spot-quote { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.6; color: #fff; }
@media (min-width: 640px) { .spot-quote { font-size: 1.5rem; } }
.spot-foot { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.spot-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; }
.spot-loc { font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); }

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}
.avatar--gold { width: 2.75rem; height: 2.75rem; font-size: 0.875rem; background: var(--accent); }
.avatar--primary { background: var(--primary); }
.avatar--sm { width: 2.25rem; height: 2.25rem; }

.reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reviews-grid--static { margin-top: 2rem; }
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  min-width: 0;
}
.review-card.is-clickable { cursor: pointer; }
.review-card.is-active { border-color: var(--primary); background: var(--secondary); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.verified { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; color: var(--muted); }
.review-quote { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--fg); }
.review-foot { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.review-foot > div { min-width: 0; }
.review-name { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: var(--primary); }
.review-meta { font-size: 0.75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- subpages ---------- */
.page { border-bottom: 1px solid var(--border); background: #fff; padding: 3rem 0; }
@media (min-width: 640px) { .page { padding: 4rem 0; } }

.crumbs { margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.crumb-sep { margin: 0 0.5rem; }
.crumb-current { color: var(--primary); }

.page-head { max-width: 48rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.page-kicker { font-size: 0.875rem; font-weight: 500; color: var(--accent); }
.page-kicker-sm { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.page-title { margin-top: 0.5rem; font-size: 1.875rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; color: var(--primary); }
@media (min-width: 640px) { .page-title { font-size: 2.25rem; } }
.page-lead { margin-top: 0.75rem; max-width: 42rem; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.page-lead--body { color: var(--body); }
.threat { font-size: 0.75rem; font-weight: 500; color: var(--accent); }
.page-cta { margin-top: 2.5rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .split-main { grid-column: span 7; }
  .split-side { grid-column: span 5; }
}
.split-main, .split-side { min-width: 0; }
.split-side { display: flex; flex-direction: column; gap: 1.5rem; }

.box { margin: 0; padding: 1.5rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.box--spaced { margin-top: 1.75rem; }
.box--plain { background: #fff; }
.box-title { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.box-title-md { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.box-title-sm { font-size: 0.875rem; font-weight: 700; color: var(--primary); }
.box-text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--body); }
.stack { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }

.check-list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; color: var(--fg); }
.check-list li { display: flex; gap: 0.625rem; align-items: flex-start; }
.check-list .tick { font-weight: 600; color: var(--accent); }
.check-list--muted { color: var(--body); }

.gallery { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fig { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.fig img { width: 100%; height: 9rem; object-fit: cover; }
.fig--wide { margin-top: 1.75rem; }
.fig--wide .fig-cap { border-top: 1px solid var(--border); }
.fig-img-contain { height: auto !important; max-height: 18rem; object-fit: contain; background: #fff; padding: 0.75rem; }
.fig-cap { padding: 0.75rem; font-size: 0.75rem; font-weight: 500; color: var(--muted); }

.method-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.method-card { padding: 1.25rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.method-tag { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.method-text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--body); }

.photo { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--secondary); }
.photo img { width: 100%; height: 16rem; object-fit: cover; }
.photo--tall img { height: 14rem; }

.cta-dark { padding: 1.5rem; border: 1px solid var(--border); border-radius: 12px; background: var(--primary); color: #fff; }
.cta-kicker { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--gold); }
.cta-title { margin-top: 0.5rem; font-size: 1.25rem; font-weight: 700; color: #fff; }
.cta-text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.cta-actions { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }

.link-list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.link-list a { color: var(--body); text-decoration: none; }
.link-list a:hover { color: var(--primary); text-decoration: underline; }

.pill-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-link {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.pill-link:hover { border-color: var(--primary); background: var(--secondary); }
.pill-link--light { font-weight: 500; }

.hero-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (min-width: 1024px) {
  .hero-split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hero-split-text { grid-column: span 7; }
  .hero-split .photo { grid-column: span 5; }
}
.hero-split-text { min-width: 0; }

.season-grid { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.season-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
@media (min-width: 640px) { .season-card { padding: 1.75rem; } }
.season-months { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--accent); }
.season-title { margin-top: 0.375rem; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.season-text { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--body); }
.season-card .pill-links { margin-top: 1.25rem; }
.season-foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.75rem; font-weight: 500; color: var(--primary); }

.edu-grid { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 768px) { .edu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.edu-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.edu-card:hover { border-color: var(--primary); background: var(--secondary); }
.edu-card:hover .edu-title { text-decoration: underline; }
.edu-title { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.edu-desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--body); }

.pest-grid { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 640px) { .pest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pest-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.pest-card-img { height: 10rem; overflow: hidden; border-bottom: 1px solid var(--border); background: #fff; }
.pest-card-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem; }
.pest-name { margin-top: 0.25rem; font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.pest-cat { margin-top: 0.25rem; font-size: 0.75rem; color: var(--muted); }
.pest-text { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: var(--body); }
.pest-card-foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }

.prep-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; color: var(--body); }
.prep-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.prep-num { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }

.faq { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq > .section-h2 { margin-top: 0; font-size: 1.25rem; }
.faq-item { padding: 1.25rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}
.faq-answer { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.625; color: var(--body); }

/* ---------- booking ---------- */
.crumbs.hidden { display: none !important; }
.step { margin-top: 2rem; }
.step-label { margin-bottom: 0.75rem; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--fg);
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.2s var(--ease);
}
.plan-card:hover { border-color: rgba(20, 51, 43, 0.5); background: #F7F5F0; }
.plan-card:active { transform: scale(0.985); }
.plan-card.is-selected, .plan-card.is-selected:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.plan-cadence { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.plan-card.is-selected .plan-cadence { color: var(--gold); }
.plan-best { font-size: 0.75rem; color: var(--muted); text-align: right; }
.plan-card.is-selected .plan-best { color: rgba(255, 255, 255, 0.75); }
.plan-name { margin-top: 0.5rem; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; color: var(--primary); }
.plan-card.is-selected .plan-name { color: #fff; }
.plan-desc { margin-top: 0.5rem; font-size: 0.75rem; line-height: 1.6; color: var(--muted); }
.plan-card.is-selected .plan-desc { color: rgba(255, 255, 255, 0.85); }

.booking-grid { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (min-width: 1024px) {
  .booking-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .booking-form-card { grid-column: span 7; }
  .booking-aside { grid-column: span 5; }
}
.booking-form-card { min-width: 0; padding: 1.5rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
@media (min-width: 640px) { .booking-form-card { padding: 2rem; } }
.form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-head { padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.form-head .step-label { margin-bottom: 0.25rem; }
.form-title { margin-top: 0.25rem; font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 640px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { min-width: 0; }
.label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--primary); }
.input {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 0.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  font: 400 0.875rem/1.2 var(--font-body);
  color: var(--fg);
}
.input::placeholder { color: var(--muted-2); }
.input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(20, 51, 43, 0.15); }
.input--mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.input--area { height: auto; min-height: 84px; padding: 0.75rem; resize: vertical; }
.seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-top: 0.5rem;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--secondary);
}
.seg-btn {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: 600 0.75rem/1.2 var(--font-body);
  color: var(--muted);
  transition: color 0.15s ease;
}
.seg-btn:hover { color: var(--primary); }
.seg-btn.is-active { background: #fff; color: var(--primary); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.field-error { margin-top: 0.375rem; font-size: 0.75rem; font-weight: 500; color: var(--danger); }
.consent { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.75rem; line-height: 1.625; color: var(--muted); cursor: pointer; }
.consent input { margin: 0.125rem 0 0; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--primary); }
.btn--block.btn--lg { min-height: 46px; }

.confirm { padding: 0.5rem 0; }
.confirm-head { display: flex; align-items: flex-start; gap: 0.75rem; }
.confirm-head .icon--xl { margin-top: 0.125rem; }
.confirm-ref { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--accent); }
.confirm-title { margin-top: 0.25rem; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.confirm-text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--body); }
.confirm-text strong { font-weight: 600; color: var(--primary); }
.dl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
@media (min-width: 640px) { .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dl-grid dt { font-size: 0.75rem; color: var(--muted); }
.dl-grid dd { margin: 0.125rem 0 0; font-weight: 600; color: var(--primary); overflow-wrap: anywhere; }
.dl-grid dd.mono-sm { font-size: 0.75rem; font-weight: 500; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.booking-aside { min-width: 0; padding: 1.5rem; border-radius: 12px; background: var(--primary); color: #fff; }
@media (min-width: 640px) { .booking-aside { padding: 2rem; } }
.aside-kicker { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.aside-name { margin-top: 0.5rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.aside-desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.aside-block { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.aside-label { font-size: 0.75rem; font-weight: 600; color: var(--gold); }
.aside-list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.9); }
.aside-item { display: flex; gap: 0.625rem; align-items: flex-start; }
.aside-tick { flex-shrink: 0; margin-top: 0.1rem; font-weight: 600; color: var(--gold); }
.kv-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; font-size: 0.875rem; }
.kv-row span:first-child { color: rgba(255, 255, 255, 0.7); }
.kv-row span:last-child { font-weight: 500; color: #fff; text-align: right; }
.call-box { margin-top: 1.75rem; padding: 1.25rem; border-radius: 8px; background: rgba(255, 255, 255, 0.1); }
.call-text { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.call-box .btn { margin-top: 1rem; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.call-mail { margin-top: 0.625rem; text-align: center; font-family: var(--font-mono); font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- footer ---------- */
.site-footer { background: var(--primary); color: #fff; }
.footer-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer-col { grid-column: span 3; }
  .footer-col--brand { grid-column: span 4; }
  .footer-col--narrow { grid-column: span 2; }
  .footer-col--wide { grid-column: span 3; }
}
.footer-col { min-width: 0; }
.footer-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.footer-head { font-size: 0.875rem; font-weight: 600; color: var(--gold); }
.footer-text { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.footer-col .footer-head + .footer-text { margin-top: 1rem; }
.footer-address { margin-top: 1rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); }
.footer-contact { margin-top: 0.75rem; font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.8; font-variant-numeric: tabular-nums; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact .accent-link { color: var(--gold); }
.footer-list { margin-top: 1rem; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.footer-list a { color: inherit; text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; } }
.legal-links { display: flex; align-items: center; gap: 1.25rem; }
.legal-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
.legal-btn:hover { color: #fff; }

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(20, 51, 43, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.modal.is-open { display: flex; }
.modal-card {
  width: 100%;
  max-width: 32rem;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--fg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
@media (min-width: 640px) { .modal-card { padding: 1.75rem; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.modal-title { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
}
.modal-close:hover { background: var(--secondary); color: var(--primary); }
.modal-body { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--body); }
.modal-body p + p { margin-top: 0.75rem; }
.modal-foot { display: flex; justify-content: flex-end; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ---------- image fallback (used when a photo fails to load) ---------- */
.img-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #14332B 0%, #1B4238 50%, #265448 100%);
}
.img-fallback-title { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em; }
.img-fallback-sub { margin-top: 0.25rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim-1, .anim-2, .anim-3, .anim-4, .anim-photo, .page-enter, .tab-panel-enter { animation: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
