/* ==========================================================================
   Jacob Conway Plumbing Services
   Palette derived from the business logo:
   charcoal #262220, copper #C08552 (light #D9A06B / dark #8F5A34), cream #FAF6F1
   ========================================================================== */

:root {
  --ink-950: #1d1a17;
  --ink-900: #262220;
  --ink-800: #332e29;
  --copper-300: #d9a06b;
  --copper-500: #c08552;
  --copper-600: #a56a38;
  --copper-700: #8f5a34;
  --copper-ink: #8f5222;
  --cream: #faf6f1;
  --white: #ffffff;
  --border: #e8e1d8;
  --text: #3a3632;
  --text-muted: #6b645c;
  --text-on-dark: #f5efe7;
  --text-on-dark-muted: #c9c2b8;
  --error: #b3402a;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(38, 34, 32, 0.06), 0 10px 30px rgba(38, 34, 32, 0.08);
  --shadow-lift: 0 2px 4px rgba(38, 34, 32, 0.08), 0 18px 44px rgba(38, 34, 32, 0.14);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink-900);
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.6rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--copper-ink);
}

.container {
  width: min(74rem, 100% - 2.5rem);
  margin-inline: auto;
}

.container.narrow {
  max-width: 46rem;
}

/* ---------- accessibility helpers ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

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

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.8em 1.5em;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-copper {
  background: var(--copper-500);
  color: var(--ink-950);
  box-shadow: 0 4px 14px rgba(192, 133, 82, 0.35);
}

.btn-copper:hover {
  background: var(--copper-300);
  box-shadow: 0 6px 20px rgba(217, 160, 107, 0.4);
}

.btn-ghost {
  border-color: rgba(245, 239, 231, 0.5);
  color: var(--text-on-dark);
  background: rgba(38, 34, 32, 0.25);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: var(--copper-300);
  color: var(--copper-300);
}

.btn-outline {
  border-color: var(--copper-500);
  color: var(--text-on-dark);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--copper-300);
  color: var(--copper-300);
}

.btn-outline-dark {
  border-color: var(--ink-900);
  color: var(--ink-900);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--ink-900);
  color: var(--white);
}

.btn-lg {
  padding: 1em 1.9em;
  font-size: 1.05rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.text-link {
  font-weight: 700;
  color: var(--copper-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(38, 34, 32, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  flex: none;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.2;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.brand-name-light {
  font-weight: 600;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--copper-ink);
  letter-spacing: 0.02em;
}

.site-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--copper-500);
  transition: right 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink-900);
}

.site-nav a:hover::after {
  right: 0;
}

.header-phone {
  padding: 0.6em 1.2em;
  font-size: 0.92rem;
}

/* mobile nav toggle */

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--ink-900);
  font: inherit;
  font-weight: 700;
}

.nav-toggle-box {
  width: 26px;
  height: 18px;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 0;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink-900);
  content: "";
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar {
  top: 7.5px;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  opacity: 0;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--ink-900);
  padding: 1.25rem 1.25rem 1.5rem;
}

.mobile-menu ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.mobile-menu nav > ul li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a:not(.btn) {
  display: block;
  padding: 0.9rem 0.25rem;
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.mobile-menu a:not(.btn):hover {
  color: var(--copper-300);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(29, 26, 23, 0.96) 30%, rgba(29, 26, 23, 0.72) 62%, rgba(29, 26, 23, 0.45)),
    url("https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=1800&q=72")
    center / cover no-repeat;
  color: var(--text-on-dark);
  padding: 5.5rem 0 6rem;
}

.hero-inner {
  max-width: 54rem;
  animation: hero-in 0.9s ease both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-on-dark-muted);
  border: 1px solid rgba(217, 160, 107, 0.35);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.75rem;
  background: rgba(38, 34, 32, 0.35);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper-300);
  flex: none;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(217, 160, 107, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(217, 160, 107, 0);
  }
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.4rem, 1.5rem + 5vw, 4.4rem);
  margin-bottom: 0.45em;
}

.text-copper {
  color: var(--copper-300);
}

.hero-sub {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  color: var(--text-on-dark-muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(38, 34, 32, 0.5);
  backdrop-filter: blur(4px);
  color: var(--text-on-dark-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.chip:hover {
  border-color: var(--copper-300);
  transform: translateY(-2px);
}

.chip strong {
  color: var(--white);
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.stars svg {
  fill: var(--copper-300);
}

.stars-lg svg {
  fill: var(--copper-500);
}

/* ---------- trust bar ---------- */

.trustbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.9rem 0;
}

.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-source {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--copper-ink);
  margin-top: 0.15rem;
}

.stat-source a {
  color: inherit;
}

/* ---------- sections ---------- */

.section {
  padding: 4.5rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark p {
  color: var(--text-on-dark-muted);
}

.section-dark strong {
  color: var(--white);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper-ink);
  margin-bottom: 0.6rem;
}

.eyebrow-copper {
  color: var(--copper-300);
}

.section-intro {
  max-width: 42rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ---------- services ---------- */

.services-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-body {
  padding: 1.2rem 1.3rem 1.3rem;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.service-body h3 {
  position: relative;
  padding-top: 0.85rem;
  margin-bottom: 0.45em;
}

.service-body h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--copper-500);
}

.card-plain {
  border: 1px solid var(--border);
  padding: 1.5rem 1.5rem 1.3rem;
  background: var(--cream);
  box-shadow: none;
}

.card-plain p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.card-plain h3 {
  position: relative;
  padding-top: 0.85rem;
  margin-bottom: 0.45em;
}

.card-plain h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--copper-500);
}

.card-cta {
  background: var(--ink-900);
  border-color: var(--ink-900);
  padding: 1.5rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
}

.card-cta h3 {
  color: var(--white);
  position: relative;
  padding-top: 0.85rem;
  margin-bottom: 0.45em;
}

.card-cta h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--copper-300);
}

.card-cta p {
  color: var(--text-on-dark-muted);
  flex: 1;
}

.card-cta .text-link {
  color: var(--copper-300);
}

/* ---------- split sections ---------- */

.split {
  display: grid;
  gap: 2rem;
}

.split-center {
  align-items: center;
}

.van-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(217, 160, 107, 0.25);
}

.van-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.van-figure figcaption {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  padding: 0.75rem 1rem 0.85rem;
  background: var(--ink-800);
}

/* ---------- quote process ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.step {
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  position: relative;
}

.step-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--copper-500);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  font-variant-numeric: tabular-nums;
}

.step p {
  color: var(--text-muted);
  margin: 0;
}

/* ---------- why jacob ---------- */

.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem 2rem;
}

.why-item h3 {
  margin-bottom: 0.3em;
}

.why-item p {
  color: var(--text-muted);
  margin: 0;
}

.why-item {
  border-left: 3px solid var(--copper-500);
  padding-left: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.why-item:hover {
  border-color: var(--copper-300);
  transform: translateX(4px);
}

/* ---------- gallery (before / after) ---------- */

.gallery-grid {
  display: grid;
  gap: 1.1rem;
}

.ba {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: var(--ink-900);
  font: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ba:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.ba img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ba .ba-after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.55s ease;
}

.ba.revealed .ba-after {
  clip-path: inset(0 0 0 0);
}

.ba-tag {
  position: absolute;
  top: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: rgba(29, 26, 23, 0.82);
  color: var(--text-on-dark);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.ba-tag-before {
  left: 0.8rem;
}

.ba-tag-after {
  right: 0.8rem;
  opacity: 0.45;
}

.ba.revealed .ba-tag-before {
  opacity: 0.45;
}

.ba.revealed .ba-tag-after {
  opacity: 1;
  background: var(--copper-500);
  color: var(--ink-950);
}

.ba-hint {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(29, 26, 23, 0.82);
  color: var(--text-on-dark);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* ---------- reviews ---------- */

.reviews-head {
  display: grid;
  gap: 1.6rem;
  align-items: center;
  margin-bottom: 2rem;
}

.rating-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  max-width: 20rem;
}

.rating-score {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0.2rem 0 0;
  letter-spacing: -0.02em;
}

.rating-score span {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.rating-label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.rating-label a {
  font-weight: 700;
}

.carousel {
  position: relative;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(21rem, 82vw);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0.25rem 1rem;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.reviews-track:focus-visible {
  outline: 3px solid var(--copper-500);
  outline-offset: 4px;
}

.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.review .stars {
  margin-bottom: 0.9rem;
}

.review p {
  font-size: 1.02rem;
  color: var(--ink-900);
  font-weight: 600;
  margin-bottom: auto;
  padding-bottom: 1rem;
}

.review footer {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.review footer a {
  color: var(--copper-ink);
  text-decoration: none;
}

.review footer a:hover {
  text-decoration: underline;
}

.carousel-nav {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 0.4rem;
}

.car-btn {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink-900);
  background: var(--white);
  color: var(--ink-900);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.car-btn:hover {
  background: var(--ink-900);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- facebook band ---------- */

.facebook-band .btn {
  max-width: 100%;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-phone {
  display: inline-block;
  text-decoration: none;
  margin: 0.5rem 0 0.75rem;
  border: 2px solid var(--copper-500);
  border-radius: var(--radius);
  padding: 0.9rem 1.4rem;
  background: var(--white);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-phone:hover {
  border-color: var(--copper-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-phone-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--copper-ink);
}

.contact-phone-number {
  display: block;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.contact-available {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* form */

.contact-form {
  padding: 1.8rem;
}

.contact-form h3 {
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink-900);
}

.optional {
  font-weight: 500;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid #d7cfc4;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper-500);
  box-shadow: 0 0 0 3px rgba(192, 133, 82, 0.25);
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.field.invalid input,
.field.invalid textarea {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.35rem 0 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.9rem 0 0;
}

.form-result {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
}

.form-result h4 {
  margin-bottom: 0.5rem;
}

.form-result-preview {
  white-space: pre-wrap;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.92rem;
}

.form-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink-950);
  color: var(--text-on-dark-muted);
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-mark {
  border-radius: 12px;
  flex: none;
}

.footer-brand {
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.footer-tagline {
  color: var(--copper-300);
  font-weight: 600;
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--copper-300);
}

.footer-smallprint {
  padding-top: 1.5rem;
  font-size: 0.82rem;
}

.footer-smallprint p {
  margin: 0;
}

/* ---------- sticky mobile bar ---------- */

.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  gap: 1px;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink-950);
  box-shadow: 0 -4px 16px rgba(29, 26, 23, 0.25);
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.75rem;
}

.mobile-bar-call {
  background: var(--copper-500);
  color: var(--ink-950);
}

.mobile-bar-call:active {
  background: var(--copper-300);
}

.mobile-bar-quote {
  background: var(--ink-900);
  color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-bar-quote:active {
  background: var(--ink-800);
}

body {
  padding-bottom: 3.6rem;
}

/* ---------- 404 ---------- */

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

/* ---------- scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-group] > [data-reveal]:nth-child(1) { transition-delay: 0ms; }
[data-reveal-group] > [data-reveal]:nth-child(2) { transition-delay: 70ms; }
[data-reveal-group] > [data-reveal]:nth-child(3) { transition-delay: 140ms; }
[data-reveal-group] > [data-reveal]:nth-child(4) { transition-delay: 210ms; }
[data-reveal-group] > [data-reveal]:nth-child(5) { transition-delay: 280ms; }
[data-reveal-group] > [data-reveal]:nth-child(6) { transition-delay: 350ms; }
[data-reveal-group] > [data-reveal]:nth-child(7) { transition-delay: 420ms; }
[data-reveal-group] > [data-reveal]:nth-child(8) { transition-delay: 490ms; }

/* no-JS fallback: never hide content */
.no-js [data-reveal],
.no-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (min-width: 640px) {
  .trustbar-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2.5rem;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .reviews-head {
    grid-template-columns: 1fr auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 5.5rem 0;
  }

  .trustbar-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

  .hero {
    padding: 7.5rem 0 8.5rem;
  }
}

@media (min-width: 820px) {
  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .mobile-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

@media (max-width: 819px) {
  .site-nav,
  .header-phone {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand-tagline {
    display: none;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
