/* ==========================================================================
   GNG Roofing & Construction site stylesheet
   Design tokens first, then layout. One variable, one job. Change the
   look site-wide by editing a value in :root, not by hunting selectors.
   ========================================================================== */

@font-face { font-family: "Satoshi"; src: url("/fonts/satoshi-400.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; }
@font-face { font-family: "Satoshi"; src: url("/fonts/satoshi-500.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 500; }
@font-face { font-family: "Satoshi"; src: url("/fonts/satoshi-700.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 700; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-600.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 600; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-700.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 700; }

/* Native page-to-page crossfade on internal navigation (no JS router needed).
   No-op in browsers that don't support it. Plain instant navigation, same as today. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
  animation-timing-function: var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

:root {
  /* Colors */
  --color-primary: #d10800;
  --color-primary-dark: #a80600;
  --color-ink: #1d1d1d;
  --color-muted: #575757;
  --color-line: #999999;
  --color-off-white: #f5f5f5;
  --color-white: #ffffff;
  --color-star: #ffc23e;
  --overlay-film: rgba(8, 8, 8, 0.62);

  /* Sand surface (light beige) for the mobile nav overlay, gallery strip, footer.
     Aliased to the existing ink/muted tones so they stay in lockstep with
     the rest of the palette; override only these four lines to retone. */
  --color-sand: #ede6da;
  --color-sand-ink: var(--color-ink);
  --color-sand-muted: var(--color-muted);
  --color-sand-line: rgba(29, 29, 29, 0.15);

  /* Type */
  --font-display: "Plus Jakarta Sans", "Plus Jakarta Sans Placeholder", sans-serif;
  --font-body: "Satoshi", "Satoshi Placeholder", sans-serif;

  /* Spacing */
  --space-1: 12px;
  --space-2: 16px;
  --space-3: 20px;
  --space-4: 24px;
  --space-5: 30px;
  --space-6: 40px;
  --space-7: 60px;
  --space-8: 100px;

  /* Shape */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-pill: 58px;

  /* Layout */
  --container-width: 1280px;
  --container-pad: 24px;
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.15);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-reveal: 0.7s;
  --reveal-distance: 28px;
  --duration-ui: 0.25s;
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Disable mobile tap highlight / long-press callouts on interactive cards & images */
a, button, .card, .accordion-item summary {
  -webkit-tap-highlight-color: transparent;
}
img {
  -webkit-touch-callout: none;
  user-select: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  color: var(--color-muted);
}
.eyebrow .slashes { color: var(--color-primary); }
.eyebrow.on-light { color: var(--color-off-white); }
/* on-light is a photo-overlay treatment; the gallery strip is a sand surface, not a photo. */
.gallery-section .eyebrow.on-light { color: var(--color-sand-muted); }
.gallery-section .eyebrow .slashes { color: var(--color-primary-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: transparent; color: var(--color-white); border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-icon { font-size: 12px; transition: transform var(--duration-ui) var(--ease-out); }
.btn:hover .btn-icon { transform: translate(2px, -2px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--color-ink);
  max-width: 620px;
}
.section-head p { color: var(--color-muted); font-size: 16px; line-height: 1.6; max-width: 480px; }

/* ---- Header ------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: var(--space-4) 0;
}
.site-header.is-solid {
  position: fixed;
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: var(--space-3) 0;
  transition: padding 0.2s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.logo img { width: 130px; height: auto; }
.site-header.is-solid .logo img { width: 100px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-white);
}
.site-header.is-solid .nav-links,
.site-header.is-solid .menu-toggle span { color: var(--color-ink); }
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-primary); }
.mobile-nav a[aria-current="page"] { color: var(--color-primary-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  color: var(--color-white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.is-solid .menu-toggle span { color: var(--color-ink); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--color-sand);
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-top img { width: 74px; }
.mobile-nav-close { font-size: 28px; color: var(--color-sand-ink); line-height: 1; padding: 8px; }
.mobile-nav ul {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-sand-ink);
}
.mobile-nav ul + ul {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-sand-line);
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-sand-muted);
}

/* ---- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-film);
}
.hero .container { position: relative; z-index: 1; padding-bottom: var(--space-8); }
.hero-content { max-width: 760px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -2px;
  margin: var(--space-2) 0 var(--space-4);
}
.hero-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
.hero-play {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
}
.hero-play img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hero-copy { max-width: 480px; font-size: 16px; line-height: 1.6; color: var(--color-off-white); }

/* ---- About / stats ---------------------------------------------------- */
.about-section { padding: var(--space-8) 0; background: var(--color-white); }
.about-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-6);
}
.about-row-heading { margin-bottom: var(--space-6); }
.about-heading-col h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
  max-width: 720px;
}
.about-row-stats { align-items: stretch; }
.about-media img { border-radius: var(--radius-lg); width: 100%; height: 100%; min-height: 260px; object-fit: cover; }

.stats-list { display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); }
.stat-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: var(--space-3);
}
.stat-line .stat-label { color: var(--color-muted); font-size: 15px; }
.stat-line .stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 42px;
  letter-spacing: -1px;
  color: var(--color-ink);
}

/* ---- Services --------------------------------------------------------- */
.services-section { padding: var(--space-8) 0; background: var(--color-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  color: var(--color-white);
  display: block;
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.75) 100%);
}
.service-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: var(--space-4);
}
.service-card-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: var(--space-1);
}
.service-card-body p { font-size: 14px; line-height: 1.5; color: var(--color-off-white); }

/* ---- Roofing services gallery strip --------------------------------------------- */
.gallery-section { padding: var(--space-8) 0; background: var(--color-sand); }
.gallery-section .section-head h2 { color: var(--color-sand-ink); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: block;
}
.gallery-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.7) 100%);
}
.gallery-card span {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 1;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

/* ---- Stat highlight cards (photo-backed) ------------------------------ */
.team-section { padding: var(--space-8) 0; background: var(--color-white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.team-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; display: block; }
.team-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.75) 100%);
}
.team-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: var(--space-4);
  color: var(--color-white);
}
.team-card-body .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -1px;
}
.team-card-body .label { font-size: 14px; color: var(--color-off-white); }

/* ---- Testimonials --------------------------------------------------- */
.testimonial-section { padding: var(--space-8) 0; background: var(--color-ink); overflow: hidden; }
.testimonial-section .section-head h2 { color: var(--color-white); }
.ticker { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track {
  display: flex;
  gap: var(--space-4);
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review-card {
  width: 340px;
  flex: none;
  background: #2a2422;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.review-author { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.review-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review-author .name { color: var(--color-white); font-weight: 700; font-size: 15px; }
.review-author .source { color: var(--color-line); font-size: 13px; }
.review-stars { color: var(--color-star); font-size: 13px; letter-spacing: 2px; margin-bottom: var(--space-2); }
.review-card p { color: var(--color-off-white); font-size: 15px; line-height: 1.6; }

/* ---- FAQ ------------------------------------------------------------ */
.faq-section {
  position: relative;
  padding: var(--space-8) 0;
  color: var(--color-white);
  overflow: hidden;
}
.faq-media { position: absolute; inset: 0; z-index: 0; }
.faq-media img { width: 100%; height: 100%; object-fit: cover; }
.faq-media::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.faq-media::after { content: ""; position: absolute; inset: 0; background: var(--overlay-film); }
.faq-section .container { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.faq-panel { width: 100%; max-width: 620px; }
.faq-panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -1px;
  margin-bottom: var(--space-5);
}
.accordion-item { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  cursor: pointer;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .chevron { flex: none; transition: transform var(--duration-ui) var(--ease-out); }
.accordion-item[open] summary .chevron { transform: rotate(180deg); }
.accordion-item p { padding: 0 0 var(--space-4); color: var(--color-off-white); font-size: 16px; line-height: 1.6; max-width: 90%; }

/* Smooth native open/close: Chrome's ::details-content box (the actual generated
   box that shows/hides non-summary content) animates height:auto natively.
   Unsupported browsers just skip this rule and keep default instant toggle. */
.accordion-item::details-content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height var(--duration-ui) var(--ease-out), opacity var(--duration-ui) var(--ease-out);
}
.accordion-item[open]::details-content { height: auto; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .accordion-item::details-content { transition: none; }
}

/* ---- CTA banner --------------------------------------------------------- */
.cta-banner {
  position: relative;
  padding: var(--space-8) 0;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: var(--overlay-film); }
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: var(--space-5);
}
.cta-banner .btn { margin: 0 auto; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--color-sand); color: var(--color-sand-muted); padding: var(--space-8) 0 var(--space-4); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
}
.footer-brand img { width: 90px; margin-bottom: var(--space-3); }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--color-sand-muted); max-width: 320px; }
.site-footer h4 { color: var(--color-sand-ink); font-weight: 700; font-size: 20px; margin-bottom: var(--space-3); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); font-size: 14px; }
.footer-links a:hover { color: var(--color-primary-dark); }
.footer-contact { display: flex; flex-direction: column; gap: var(--space-2); font-size: 14px; }
.footer-contact a:hover { color: var(--color-primary-dark); }
.footer-hours p { font-size: 14px; line-height: 1.8; color: var(--color-sand-muted); }
.footer-bottom {
  border-top: 1px solid var(--color-sand-line);
  padding-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 14px;
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: var(--space-4); }
.footer-legal a:hover { color: var(--color-primary-dark); }

/* ---- Page hero (interior page masthead) ------------------------------ */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: var(--overlay-film); }
.page-hero .container { position: relative; z-index: 1; padding-bottom: var(--space-6); }
.breadcrumb { font-size: 14px; color: var(--color-off-white); margin-bottom: var(--space-2); }
.breadcrumb a { color: var(--color-off-white); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--color-primary); }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -1px;
  max-width: 760px;
}

/* ---- Secondary section heading (smaller than the 40-48px section h2) --- */
.heading-md {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--color-ink);
  margin-bottom: var(--space-3);
}

/* ---- Comparison table ------------------------------------------------- */
.compare-table-wrap { overflow-x: auto; margin-top: var(--space-6); }
.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-ink);
}
.compare-table caption {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding-bottom: var(--space-2);
}
.compare-table th { text-align: left; font-weight: 700; border-bottom: 2px solid var(--color-ink); }
.compare-table td { border-bottom: 1px solid var(--color-sand-line); vertical-align: top; }
.compare-table th, .compare-table td { padding: 12px 16px; }
.compare-table th:first-child, .compare-table td:first-child { padding-left: 0; }
.compare-table th:last-child, .compare-table td:last-child { padding-right: 0; }

/* ---- Legal / policy prose (privacy-policy) --------------------------- */
.legal-section { padding: var(--space-8) 0; }
.legal-section .container { max-width: 820px; }
.legal-updated { color: var(--color-muted); font-size: 14px; margin-bottom: var(--space-5); }
.legal-prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.5px;
  margin: var(--space-6) 0 var(--space-2);
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p, .legal-prose li { color: var(--color-muted); font-size: 16px; line-height: 1.7; }
.legal-prose p { margin: 0 0 var(--space-2); }
.legal-prose ul { margin: 0 0 var(--space-3); padding-left: var(--space-4); list-style: disc; }
.legal-prose li { margin-bottom: 8px; }
.legal-prose strong { color: var(--color-ink); }
.legal-prose a { color: var(--color-primary-dark); text-decoration: underline; }

/* ---- Services grid, 4-up variant (services.html) ---------------------- */
.services-grid.is-quad { grid-template-columns: repeat(4, 1fr); }

/* ---- Contact page ------------------------------------------------------ */
.contact-section { padding: var(--space-8) 0; background: var(--color-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: stretch; }
.contact-panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -1px;
  color: var(--color-ink);
  margin: var(--space-2) 0 var(--space-3);
  max-width: 480px;
}
.contact-lede { color: var(--color-muted); font-size: 16px; line-height: 1.6; max-width: 460px; margin-bottom: var(--space-5); }
.contact-info-list { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-5); }
.contact-info-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: var(--space-3);
  font-size: 16px;
}
.contact-info-label { color: var(--color-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.contact-info-list a:hover { color: var(--color-primary); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; box-shadow: var(--shadow-card); }
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.contact-form-embed {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--color-sand);
  border: 1px solid var(--color-sand-line);
  border-radius: var(--radius-lg);
}
.contact-form-embed h3 {
  margin: 0 0 var(--space-1) 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-sand-ink);
}
.contact-form-embed p { margin: 0 0 var(--space-2) 0; color: var(--color-sand-muted); font-size: 15px; line-height: 1.5; }
/* min-height holds layout before the GHL iframe reports its own height. */
.contact-form-embed iframe { width: 100%; min-height: 480px; border: 0; display: block; }

/* ---- Blog placeholder cards -------------------------------------------- */
.blog-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.blog-teaser-card {
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.blog-teaser-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.blog-teaser-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: var(--space-2);
  color: var(--color-ink);
}
.blog-teaser-card p { color: var(--color-muted); font-size: 15px; line-height: 1.6; }

/* ---- Service detail: intro lede + tinted section alternation ---------- */
.section-tint { background: var(--color-off-white); }
.lede { color: var(--color-muted); font-size: 16px; line-height: 1.6; max-width: 640px; margin-bottom: var(--space-4); }

/* ---- Service detail: numbered process steps ---------------------------- */
.process-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-6); }
.process-step { display: flex; gap: var(--space-3); }
.process-step-number {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.process-step-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--color-ink); margin-bottom: 6px; }
.process-step-body p { color: var(--color-muted); font-size: 15px; line-height: 1.6; }

/* ---- Service detail: checklist ------------------------------------------ */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-6); }
.check-item { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--color-ink); }
.check-item::before {
  content: "\2713";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 1000px) {
  .main-nav .nav-links, .main-nav .btn-primary { display: none; }
  .menu-toggle { display: flex; }
  .about-row { grid-template-columns: 1fr; gap: var(--space-3); }
  .about-media img { height: 280px; min-height: 0; }
  .services-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid.is-quad { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 48px; }
  .section-head h2, .about-heading-col h2 { font-size: 32px; }
  .faq-section .container { justify-content: flex-start; }
  .page-hero { min-height: 340px; }
  .page-hero h1 { font-size: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
  .contact-form-embed { padding: var(--space-3); }
  .blog-teaser-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --container-pad: 18px; }
  .hero { min-height: 720px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .stat-line .stat-value { font-size: 32px; }
  .services-grid, .team-grid, .gallery-grid { grid-template-columns: 1fr; }
  .services-grid.is-quad { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-banner h2, .section-head h2 { font-size: 30px; }
  .faq-panel h2 { font-size: 28px; }
  .accordion-item summary { font-size: 18px; }
  .page-hero { min-height: 280px; }
  .page-hero h1 { font-size: 28px; }
  .contact-panel h2 { font-size: 28px; }
  .blog-teaser-grid { grid-template-columns: 1fr; }
  .process-list, .check-grid { grid-template-columns: 1fr; }
}

/* ---- Scroll reveal ---------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--duration-reveal) var(--ease-out), transform var(--duration-reveal) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
