/* ==========================================================================
   Tampa Rug Cleaning & Restoration — tamparugcleaning.com
   Plain CSS. Mobile-first. No build step, no framework.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --background: #ffffff;
  --foreground: #0f0f0f;
  --muted: #f6f1e8;
  --muted-2: #fbf8f3;
  --muted-foreground: #5c5c5c;

  --primary: #9c4a21;
  --primary-dark: #7d3a19;
  --primary-foreground: #ffffff;

  --secondary: #1f4550;
  --secondary-dark: #16333b;
  --secondary-foreground: #ffffff;

  --accent: #cfa45c;
  --accent-soft: #e6cfa4;

  --border: #e4d9c8;
  --border-strong: #d3c4ad;
  --ring: #9c4a21;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 0.5rem;
  --radius-btn: 0.375rem;

  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
  --shadow-md: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 2px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 8px 20px -6px rgb(0 0 0 / 0.16);

  --wrap: 1180px;
  --header-h: 74px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5.2vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 1.95rem); }
h3 { font-size: 1.125rem; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary-dark); }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --- Layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 3.5rem; }
.section--tight { padding-block: 2.5rem; }
.section--muted { background: var(--muted); }
.section--muted-soft { background: var(--muted-2); border-block: 1px solid var(--border); }
.section--dark { background: var(--secondary); color: var(--secondary-foreground); }
.section--brand { background: var(--primary); color: var(--primary-foreground); }
.lead { font-size: 1.075rem; color: var(--muted-foreground); }
.section--dark .lead, .section--brand .lead { color: rgb(255 255 255 / 0.85); }
.center { text-align: center; }
.measure { max-width: 68ch; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow--gold { color: var(--accent); }

.section-head { max-width: 62ch; margin-bottom: 2.25rem; }
.section-head.center { margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100px;
  z-index: 999;
  padding: 0.7rem 1.1rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0.5rem; color: #fff; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.75); }
.btn--ghost:hover { background: rgb(255 255 255 / 0.14); color: #fff; border-color: #fff; }
.btn--onbrand { background: #fff; color: var(--primary); border-color: #fff; }
.btn--onbrand:hover { background: var(--muted); color: var(--primary-dark); }
.btn--outline { background: #fff; color: var(--primary); border-color: var(--border-strong); }
.btn--outline:hover { background: var(--muted); border-color: var(--primary); color: var(--primary-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
}
.arrow-link:hover { text-decoration: underline; }
.arrow-link::after { content: "\2192"; transition: transform 0.15s ease; }
.arrow-link:hover::after { transform: translateX(3px); }

/* --- Announcement bar --------------------------------------------------- */
.topbar {
  background: var(--secondary-dark);
  color: rgb(255 255 255 / 0.92);
  font-size: 0.82rem;
  text-align: center;
  padding: 0.5rem 1.25rem;
}
.topbar strong { color: var(--accent); }
.topbar a { color: #fff; font-weight: 600; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand__mark { flex: none; width: 42px; height: 42px; }
.brand__name { font-weight: 700; font-size: 1.02rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--secondary); }
.brand__tag { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-btn);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--muted); }

.site-nav { display: none; }
.site-nav ul { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
}
.site-nav a:hover { background: var(--muted); color: var(--primary); }
.site-nav a[aria-current="page"] { color: var(--primary); font-weight: 600; box-shadow: inset 0 -2px 0 var(--primary); }
.header-cta { display: none; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .header-cta { display: flex; align-items: center; gap: 0.9rem; }
  .header-cta__num { font-weight: 700; font-size: 0.95rem; color: var(--secondary); text-decoration: none; white-space: nowrap; }
  .header-cta__num:hover { color: var(--primary); }
  /* Service-area build: no phone number in the header, so this reassurance
     line takes the slot the number used to hold. */
  .header-cta__note { font-size: 0.85rem; color: var(--muted-foreground); white-space: nowrap; }
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 0.75rem 0 1.15rem;
}
.mobile-nav.is-open { display: block; }
@media (min-width: 1024px) { .mobile-nav, .mobile-nav.is-open { display: none; } }
.mobile-nav ul { list-style: none; margin: 0 0 0.9rem; padding: 0; }
.mobile-nav a {
  display: block;
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
}
.mobile-nav a[aria-current="page"] { color: var(--primary); }
.mobile-nav .btn { width: 100%; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding-block: 3.5rem;
  background: var(--secondary);
  overflow: hidden;
  isolation: isolate;
}
.hero--short { min-height: 340px; padding-block: 3rem; }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 100% at 78% 18%, rgb(207 164 92 / 0.30) 0%, transparent 58%),
    radial-gradient(90% 90% at 10% 88%, rgb(156 74 33 / 0.42) 0%, transparent 62%),
    linear-gradient(115deg, #16333b 0%, #1f4550 48%, #2b5866 100%);
}
.hero__pattern { position: absolute; inset: 0; z-index: -1; opacity: 0.16; pointer-events: none; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(10 22 26 / 0.86) 0%, rgb(10 22 26 / 0.62) 45%, rgb(10 22 26 / 0.30) 100%);
}
.hero__inner { position: relative; max-width: 40rem; color: #fff; }
.hero h1 { color: #fff; margin-bottom: 0.75rem; }
.hero__sub { font-size: 1.1rem; font-weight: 600; color: var(--accent); margin-bottom: 0.9rem; }
.hero p.hero__body { color: rgb(255 255 255 / 0.9); font-size: 1.03rem; margin-bottom: 1.6rem; }
.hero .btn-row { margin-bottom: 1.4rem; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.85);
}
.hero__trust li { display: flex; align-items: center; gap: 0.4rem; }
.hero__trust svg { flex: none; color: var(--accent); }
.hero__seal { display: none; }
@media (min-width: 900px) {
  .hero__seal {
    display: block;
    position: absolute;
    right: 2rem;
    bottom: 1.5rem;
    width: 132px;
    opacity: 0.5;
    pointer-events: none;
  }
}

/* --- Breadcrumb --------------------------------------------------------- */
.crumbs { font-size: 0.85rem; color: var(--muted-foreground); padding-block: 0.9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--border-strong); }
.crumbs a { color: var(--muted-foreground); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }

/* --- Grids -------------------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: 2.25rem; align-items: start; }
/* Grid items default to min-width:auto, which lets a wide child (a max-width
   prose column, a table) push the track past the viewport. Reset it. */
.grid > *, .split > *, .steps > *, .features > *, .stats > *, .footer-grid > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }
@media (min-width: 900px) { .split--wide-right { grid-template-columns: 1fr 1.15fr; } }

/* --- Feature list (2x2 icon grid) --------------------------------------- */
.features { display: grid; gap: 1.4rem; }
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { display: flex; gap: 0.85rem; }
.feature__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
}
.feature h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.feature p { font-size: 0.92rem; color: var(--muted-foreground); }

/* --- Cards -------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border-strong); }
.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--muted);
  color: var(--primary);
  border: 1px solid var(--border);
}
.card p { font-size: 0.94rem; color: var(--muted-foreground); }
.card .arrow-link { margin-top: auto; padding-top: 1rem; }
.card--flag { border-top: 4px solid var(--primary); }

.tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Highlight panel (flood/storm block) -------------------------------- */
.panel {
  display: grid;
  gap: 1.75rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, var(--muted) 100%);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) { .panel { grid-template-columns: 1.15fr 1fr; padding: 2.25rem; align-items: center; } }
.panel h2 { margin-bottom: 0.5rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.checklist li { display: flex; gap: 0.6rem; font-size: 0.94rem; }
.checklist svg { flex: none; margin-top: 0.28rem; color: var(--primary); }
.section--dark .checklist svg { color: var(--accent); }

/* --- Process steps ------------------------------------------------------ */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 1.4rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.92rem; color: var(--muted-foreground); margin: 0; }

/* --- Stats bar ---------------------------------------------------------- */
.stats {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
  text-align: center;
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat__label { font-size: 0.9rem; color: rgb(255 255 255 / 0.85); }

/* --- Contact info list -------------------------------------------------- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.8rem; }
.info-list .info__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
}
.info__label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
.info__value { font-weight: 600; color: var(--foreground); text-decoration: none; overflow-wrap: anywhere; }
a.info__value:hover { color: var(--primary); text-decoration: underline; }

/* --- Forms -------------------------------------------------------------- */
.form-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--secondary); }
.field .hint { font-size: 0.78rem; font-weight: 400; color: var(--muted-foreground); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--foreground);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-btn);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
fieldset { margin: 0 0 1.25rem; padding: 0; border: 0; }
fieldset legend {
  padding: 0;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.form-note { font-size: 0.82rem; color: var(--muted-foreground); margin-top: 0.9rem; }
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-btn);
  background: var(--muted);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
.form-status:empty { display: none; }
/* Tone is set by main.js on submit. Colour is never the only signal — the
   message text always says what happened, for colour-blind and SR users. */
.form-status[data-tone='ok'] {
  background: #eef6ee;
  border-color: #b8d9b8;
  color: #1f5130;
}
.form-status[data-tone='error'] {
  background: #fdf0ec;
  border-color: #e8bfae;
  color: #8a2f12;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Guide callout ------------------------------------------------------ */
.callout {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
@media (min-width: 800px) { .callout { grid-template-columns: 56px 1fr auto; gap: 1.4rem; } }
.callout__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--secondary); color: var(--accent); }
.callout h2 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.callout p { font-size: 0.92rem; color: var(--muted-foreground); margin: 0; }

/* --- Areas served ------------------------------------------------------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.pill-list li {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--secondary);
}
.section--dark .pill-list li { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.22); color: #fff; }

/* --- FAQ / details ------------------------------------------------------ */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--secondary);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.35rem; font-weight: 400; color: var(--primary); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { background: var(--muted-2); }
.faq .faq__body { padding: 0 1.15rem 1.15rem; font-size: 0.94rem; color: var(--muted-foreground); }

/* --- Prose (guide page) ------------------------------------------------- */
.prose { width: 100%; max-width: 72ch; }
.prose img, .prose table { max-width: 100%; }
.prose h2 { margin-top: 2.5rem; padding-top: 0.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; font-size: 1.05rem; }
.prose p, .prose li { color: #2b2b2b; }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.96rem;
}
.toc {
  padding: 1.25rem 1.4rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.toc h2 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); margin: 0 0 0.7rem; }
.toc ol { margin: 0; padding-left: 1.1rem; font-size: 0.93rem; }
.toc li { margin-bottom: 0.3rem; }

/* --- Tables ------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff; }
caption { padding: 0.75rem 1rem; text-align: left; font-size: 0.85rem; color: var(--muted-foreground); background: var(--muted); border-bottom: 1px solid var(--border); }
th, td { padding: 0.7rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--muted-2); font-weight: 700; color: var(--secondary); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }

/* --- Photo placeholders ------------------------------------------------- */
.photo-ph {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 1.5rem;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgb(156 74 33 / 0.10) 0%, rgb(31 69 80 / 0.10) 100%),
    repeating-linear-gradient(45deg, var(--muted) 0 12px, var(--muted-2) 12px 24px);
  text-align: center;
}
.photo-ph--tall { min-height: 340px; }
.photo-ph__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.photo-ph__caption { font-size: 0.9rem; color: var(--muted-foreground); max-width: 32ch; margin: 0.35rem auto 0; }
.photo-ph svg { margin: 0 auto 0.6rem; color: var(--border-strong); }

/* --- Testimonials ------------------------------------------------------- */
.quote {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.quote blockquote { margin: 0 0 1rem; font-size: 0.96rem; }
.quote__stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 0.8rem; }
.quote__by { margin-top: auto; font-size: 0.86rem; color: var(--muted-foreground); }
.quote__by strong { display: block; color: var(--foreground); font-size: 0.92rem; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--secondary); color: rgb(255 255 255 / 0.78); font-size: 0.92rem; }
.site-footer a { color: rgb(255 255 255 / 0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; } }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.footer-brand__name { font-weight: 700; color: #fff; font-size: 1rem; line-height: 1.2; }
.site-footer h3 { color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: var(--radius-btn);
  color: rgb(255 255 255 / 0.8);
}
.footer-social a:hover { background: rgb(255 255 255 / 0.1); color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  justify-content: space-between;
  padding-block: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.85rem;
}

/* --- Sticky mobile call bar --------------------------------------------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-strong);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -2px 12px rgb(0 0 0 / 0.12);
}
.callbar a {
  padding: 0.85rem 0.5rem;
  background: #fff;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.callbar a.is-primary { background: var(--primary); color: #fff; }
@media (min-width: 1024px) { .callbar { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 54px; } }

/* --- 404 ---------------------------------------------------------------- */
.err { display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.err__code { font-size: clamp(4rem, 16vw, 8rem); font-weight: 700; line-height: 1; color: var(--accent); letter-spacing: -0.04em; }

/* --- Utilities ---------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media print {
  .site-header, .callbar, .topbar, .site-footer { display: none; }
}

/* ---- Utilities -------------------------------------------------------- */
/* Generated from former inline style attributes. Inline styles are blocked
   by the Content-Security-Policy in _headers, which silently broke spacing
   in production while looking fine on a plain local server. Keep new
   one-off styling here rather than reintroducing style="". */
.u-mt-125 { margin-top:1.25rem; }
.u-white { color:#fff; }
.u-mt-1 { margin-top:1rem; }
.u-row-center-15 { justify-content:center;margin-top:1.5rem; }
.u-mt-2 { margin-top:2rem; }
.u-mt-175 { margin-top:1.75rem; }
.u-fs-095 { font-size:0.95rem; }
.u-narrow { max-width:60rem;margin-inline:auto; }
.u-my-15 { margin:1.5rem 0; }
.u-fs-125 { font-size:1.25rem; }
.u-fs-115 { font-size:1.15rem; }
.u-fs-098 { font-size:0.98rem; }
.u-my-2 { margin:2rem 0; }
.u-panel-ghost { margin-top:2.5rem;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.25); }
.u-mt-15 { margin-top:1.5rem; }
.u-row-center-175 { justify-content:center;margin-top:1.75rem; }
.u-fw-500 { font-weight:500; }
.u-fs-135 { font-size:1.35rem; }
.u-fs-094-muted { font-size:0.94rem;color:var(--muted-foreground); }
.u-white-80 { color:rgba(255,255,255,.8); }
.u-white-mt-175 { color:#fff;margin-top:1.75rem; }
.u-accent { color:var(--accent); }
.u-bt-0 { border-top:0; }
.u-btn-accent { background:var(--accent);border-color:var(--accent);color:#16333b; }
