/* ============================================
   JD Home Design & Construction
   Palette: #0D0D0D / #C9A84C / #FFFFFF / #F5F5F5
   ============================================ */

:root {
  --black: #0D0D0D;
  --gold: #C9A84C;
  --gold-dark: #A88A37;
  --gold-light: #E0C26A;
  --white: #FFFFFF;
  --gray-50: #F5F5F5;
  --gray-100: #EAEAEA;
  --gray-300: #BFBFBF;
  --gray-500: #6B6B6B;
  --gray-700: #2A2A2A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --container-wide: 1440px;
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 320ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 600ms cubic-bezier(.4,0,.2,1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 10px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.10), 0 20px 40px rgba(0,0,0,.10);

  --header-h: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

/* ---------- Typography scale ---------- */
.h1, h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.h2, h2 { font-size: clamp(1.875rem, 3.6vw, 2.875rem); }
.h3, h3 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); }
.h4, h4 { font-size: 1.25rem; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-gray { background: var(--gray-50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head p { color: var(--gray-500); font-size: 1.0625rem; }
.section-dark .section-head p { color: var(--gray-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .02em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--gray-700);
  transform: translateY(-2px);
}
.btn-arrow::after {
  content: '→';
  transition: transform var(--transition);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 18px 0;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 102;
}
.brand img {
  height: 44px;
  width: auto;
  transition: filter var(--transition);
}
.site-header:not(.is-scrolled):not(.is-solid) .brand img.logo-dark { display: none; }
.site-header.is-scrolled .brand img.logo-light,
.site-header.is-solid .brand img.logo-light { display: none; }

.main-nav ul {
  display: flex;
  gap: 36px;
  align-items: center;
}
/* menu-only block; the header shows the phone directly on larger screens */
.nav-footer { display: none; }
.main-nav a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover::after,
.main-nav a.is-current::after { width: 100%; }
.site-header.is-scrolled .main-nav a,
.site-header.is-solid .main-nav a { color: var(--black); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.phone-link:hover { color: var(--gold); }
.site-header.is-scrolled .phone-link,
.site-header.is-solid .phone-link { color: var(--black); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 102;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.site-header.is-scrolled .nav-toggle span,
.site-header.is-solid .nav-toggle span { background: var(--black); }
.nav-toggle.is-open span { background: var(--black); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  /* keep the container's horizontal padding — only set the vertical rhythm */
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero h1 {
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hero-sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  margin-bottom: 40px;
  max-width: 680px;
  color: rgba(255,255,255,.92);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  z-index: 1;
  animation: bob 2.4s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  margin: 12px auto 0;
  background: linear-gradient(180deg, var(--gold), transparent);
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Smaller hero on inner pages */
.hero-inner {
  min-height: 60vh;
  padding-top: calc(var(--header-h) + 40px);
}
.hero-inner h1 { margin-bottom: 16px; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 12px; font-size: 1.375rem; }
.card p { color: var(--gray-500); font-size: .9375rem; margin-bottom: 16px; flex: 1; }
.card-link {
  color: var(--gold);
  font-weight: 600;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link::after { content: '→'; transition: transform var(--transition); }
.card-link:hover::after { transform: translateX(4px); }

/* Service-specific cards: dark theme variant */
.section-dark .card { background: var(--gray-700); color: var(--white); }
.section-dark .card p { color: var(--gray-300); }

/* ---------- Project gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--gray-100);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 4/6; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 8/5; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,.95);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--white);
  background: rgba(255,255,255,.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background var(--transition);
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8125rem;
  color: var(--gray-300);
}

/* ---------- Partners strip ---------- */
.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 72px);
  padding: 32px 0;
}
.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  transition: opacity var(--transition), filter var(--transition), transform var(--transition);
  opacity: .55;
  filter: grayscale(100%);
}
.partner-logo img {
  max-height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.partner-logo:hover,
.partner-logo:focus-visible {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}
@media (max-width: 760px) {
  .partner-logo { height: 44px; }
  .partner-logo img { max-width: 140px; }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  padding: 24px 28px;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold); }
.faq-answer {
  padding: 0 28px 24px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: clamp(64px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-strip h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.cta-strip p {
  font-size: 1.125rem;
  color: var(--gray-300);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- About / Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split-media {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-media::before {
  content: '';
  position: absolute;
  top: 24px;
  right: -24px;
  bottom: -24px;
  left: 24px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.split-content h2 { margin-bottom: 24px; }
.split-content p { color: var(--gray-500); font-size: 1.0625rem; }
.split-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}
.split-stat .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}
.split-stat .lbl {
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ---------- Service areas ---------- */
.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.area-tile {
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.area-tile:hover { transform: translateY(-4px); }
.area-tile h4 { margin-bottom: 4px; }
.area-tile p { margin: 0; color: var(--gray-500); font-size: .875rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-info { padding: 8px 0; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info .lead { color: var(--gray-500); font-size: 1.0625rem; margin-bottom: 32px; }
.contact-row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.contact-row .lbl {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.contact-row .val { font-weight: 600; font-size: 1.0625rem; }
.contact-row .val a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: 24px; }
.form-row { margin-bottom: 18px; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row label {
  display: block;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-500);
  margin-bottom: 8px;
  font-weight: 600;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  margin-top: 8px;
}
.form-success {
  display: none;
  padding: 16px;
  background: rgba(201,168,76,.12);
  color: var(--black);
  border-radius: var(--radius);
  margin-top: 16px;
}
.form-success.show { display: block; }

/* ---------- Storefront card ---------- */
.storefront {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.storefront-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}
.storefront-img img { width: 100%; height: 100%; object-fit: cover; }
.storefront-info { padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.storefront-info h3 { margin-bottom: 12px; }
.storefront-info p { color: var(--gray-500); margin-bottom: 8px; }
.storefront-info .addr { font-weight: 600; color: var(--black); }

/* ---------- Google review badge ---------- */
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .9375rem;
  transition: background var(--transition), transform var(--transition);
}
.review-badge:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.review-badge .stars { color: var(--gold); letter-spacing: .08em; font-size: .9375rem; }
.review-badge .score { font-weight: 700; font-size: 1.0625rem; }
.review-badge .count { color: rgba(255,255,255,.75); font-size: .875rem; }
.review-badge .gmark {
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: -.02em;
}
/* light-background variant */
.review-badge.on-light {
  background: var(--white);
  border-color: var(--gray-100);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}
.review-badge.on-light:hover { background: var(--gray-50); }
.review-badge.on-light .count { color: var(--gray-500); }
@media (max-width: 480px) {
  .review-badge { font-size: .875rem; padding: 8px 14px; gap: 8px; }
}

/* ---------- Social links ---------- */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,.12);
  color: var(--gold);
  transition: background var(--transition), transform var(--transition), color var(--transition);
}
.social-links a:hover,
.social-links a:focus-visible {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}
.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.site-footer .social-links a {
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.site-footer .social-links a:hover {
  background: var(--gold);
  color: var(--black);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img { height: 56px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .9375rem; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: .9375rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .8125rem;
  color: var(--gray-500);
}

/* ---------- Service hero (per-service) ---------- */
.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.service-intro h2 { margin-bottom: 24px; }
.service-intro p { color: var(--gray-500); font-size: 1.0625rem; }
.service-intro ul { margin: 24px 0; }
.service-intro ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray-700);
}
.service-intro ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.service-intro-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-intro-media img { width: 100%; height: 100%; object-fit: cover; }

.related-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.related-service {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.related-service:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.related-service h4 { margin-bottom: 4px; font-size: 1.0625rem; }
.related-service p { margin: 0; font-size: .875rem; color: var(--gray-500); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split, .contact-grid, .service-intro, .storefront { grid-template-columns: 1fr; }
  .storefront-img { aspect-ratio: 16/9; }
  .split-media::before { display: none; }
}

/* Touch devices: enlarge tap targets to meet WCAG / Lighthouse minimums */
@media (max-width: 960px) {
  .footer-col ul li { margin-bottom: 2px; }
  .footer-col a,
  .card-link,
  .contact-row .val a,
  .hero-content .eyebrow a,
  .footer-bottom a {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .partner-logo { min-height: 44px; }
  .social-links a { width: 44px; height: 44px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    padding: 100px 24px 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 101;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .main-nav a {
    color: var(--black);
    font-size: 1.5rem;
    font-family: var(--font-display);
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    display: block;
  }
  .main-nav a::after { display: none; }
  .header-cta .phone-link { display: none; }
  /* phone is hidden in the header on mobile — surface it inside the menu instead */
  /* the last nav item already draws a rule — no second border here */
  .nav-footer {
    display: block;
    margin-top: 36px;
  }
  .nav-footer .btn { width: 100%; font-size: 1rem; padding: 16px 24px; }
  .nav-meta {
    margin: 16px 0 0;
    font-size: .875rem;
    line-height: 1.6;
    color: var(--gray-500);
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  /* no room for the scroll cue next to the review badge on small screens */
  .hero-scroll { display: none; }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}
