/*
Theme Name: De'Angele Patios
Description: Custom theme for De'Angele Patios & Outdoor Living Space (deangele.net) — Wellesley, MA hardscape and patio contractor. Rebuilt from the site's original React/Vite design to be server-rendered for search engines and LLM crawlers.
Author: De'Angele Patios & Outdoor Living Space
Version: 1.0
Text Domain: deangele-patios
*/

:root {
  --navy: #0F132E;
  --navy-mid: #285127;
  --green: #52B61E;
  --green-soft: rgba(82, 182, 30, 0.15);
  --white: #ffffff;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  --max-width: 1280px;

  /* Shared design tokens — every card/button/input/photo on the site
     pulls its radius and shadow from here rather than a one-off value,
     so corner rounding and elevation read as one consistent system. */
  --radius-sm: 0.5rem;   /* buttons, inputs, small chips */
  --radius-md: 0.75rem;  /* cards, photos, form panels */
  --radius-lg: 1.25rem;  /* large feature panels (hero stat card, CTA blocks) */
  --shadow-card: 0 4px 16px rgba(15,19,46,0.08);
  --shadow-lift: 0 10px 30px rgba(15,19,46,0.15);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Nav ---- */
.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: rgba(15,19,46,0.55);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
/* WP admin bar is position:fixed at top:0 for logged-in users — push our
   own absolutely-positioned nav down by its height so they don't overlap.
   No effect for logged-out visitors, who never see the admin bar. */
body.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-nav { top: 46px; }
}
.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.site-logo { display: flex; align-items: center; gap: 0.75rem; color: var(--white); font-weight: 700; }
.site-logo img { width: 44px; height: 44px; border-radius: var(--radius-sm); }
.site-logo .brand-title { font-size: 1.1rem; line-height: 1.1; }
.site-logo .brand-sub { font-size: 0.7rem; opacity: 0.75; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.nav-phone { display: flex; align-items: center; gap: 0.5rem; color: var(--white); font-weight: 600; }
.nav-link { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-link:hover { color: var(--green); }
.btn-primary {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(82,182,30,0.35);
  transition: opacity 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover { opacity: 0.9; transform: scale(1.03); }
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* ---- Hero ---- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, #0F132E 0%, #285127 60%, #0F132E 100%);
  padding: 8rem 0 6rem;
}
.hero .container { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero .container { grid-template-columns: 1fr 1fr; } }
.hero-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
  font-size: 0.875rem;
}
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; line-height: 1.1; margin: 0 0 1.5rem; }
.hero h1 .accent { color: var(--green); }
.hero p.lede { font-size: 1.15rem; color: rgba(255,255,255,0.75); max-width: 40rem; margin: 0 0 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-address { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7); text-decoration: none; }
.hero-address:hover { color: rgba(255,255,255,0.95); }

/* ---- Full-bleed hero (About page) ---- */
.about-hero-fullbleed {
  position: relative;
  height: 82vh; min-height: 34rem;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center 40%;
  padding: 0 0 4rem;
}
.about-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,19,46,0.85) 0%, rgba(15,19,46,0.4) 55%, rgba(15,19,46,0.15) 100%);
}
.about-hero-content { position: relative; z-index: 1; max-width: 36rem; color: var(--white); }
.about-hero-content h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; margin: 0.5rem 0 1.25rem; }
.about-hero-content h1 em { font-style: italic; color: var(--green); }
.about-hero-content .lede { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin: 0 0 2rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700;
  color: var(--green); margin-bottom: 0.75rem;
}
.about-hero-content .eyebrow { color: rgba(255,255,255,0.7); }

/* ---- Service pages ---- */
.service-hero { padding: 6rem 0 5rem; }
.breadcrumb-back { display: inline-block; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; margin-bottom: 1.25rem; }
.breadcrumb-back:hover { color: var(--white); }
.service-content { max-width: 48rem; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; color: var(--slate-600); }
.service-content h2 { color: var(--navy); font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.service-content h2:first-child { margin-top: 0; }
.service-content h3 { color: var(--navy); font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.service-content p { margin: 0 0 1.25rem; }
.service-content ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.service-content li { margin-bottom: 0.5rem; }
.service-content strong { color: var(--navy); }
.hero-image-wrap { position: relative; }
.hero-image-wrap img { border-radius: var(--radius-md); box-shadow: var(--shadow-lift); width: 100%; height: 420px; object-fit: cover; }
.hero-stats {
  position: relative;
  margin-top: -1.5rem;
  margin-left: auto; margin-right: auto;
  width: 92%;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.hero-stats div + div { border-left: 1px solid var(--slate-200); }
.hero-stats .stat-num { font-size: 1.75rem; font-weight: 700; color: var(--green); }
.hero-stats .stat-label { font-size: 0.85rem; color: var(--slate-600); }

/* ---- Section shell ---- */
.section { padding: 5rem 0; }
.section-alt { background: #f8fafc; }
.section-header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section-header h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 700; margin: 0 0 0.75rem; }
.section-header p { color: var(--slate-600); font-size: 1.05rem; }

/* ---- Services grid ---- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.service-card { display: block; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); background: var(--white); transition: transform 0.2s; text-decoration: none; color: inherit; }
.service-card:hover { transform: translateY(-4px); }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card .service-body { padding: 1.5rem; }
.service-icon { width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm); background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; }
.service-card p { color: var(--slate-600); font-size: 0.95rem; margin: 0; }

/* ---- Why choose us ---- */
.feature-card { text-align: center; padding: 1.5rem; }
.feature-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; }
.feature-card p { color: var(--slate-600); font-size: 0.95rem; margin: 0; }

/* ---- Service areas ---- */
.areas-section { background: linear-gradient(135deg, #0F132E 0%, #285127 100%); color: var(--white); }
.areas-section .section-header p { color: rgba(255,255,255,0.75); }
.areas-eyebrow { display: inline-block; background: rgba(255,255,255,0.1); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; }
.areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem; background: rgba(255,255,255,0.06); border-radius: var(--radius-md); padding: 2rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(4, 1fr); } }
.areas-grid span { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.areas-callout { max-width: 56rem; margin: 1.5rem auto 0; background: rgba(82,182,30,0.12); border: 1px solid rgba(82,182,30,0.3); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; font-size: 0.95rem; }
.areas-cta { text-align: center; margin-top: 2rem; }
.areas-cta p { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--green);
  border-radius: 0.75rem;
  padding: 1.75rem;
}
.testimonial-stars { color: #f5b301; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.testimonial-quote-icon.icon { fill: #a8dc8c; stroke: none; width: 2rem; height: 2rem; margin-bottom: 0.5rem; }
.testimonial-card p.quote { color: var(--slate-600); font-size: 0.95rem; margin: 0 0 1.25rem; }
.testimonial-name { font-weight: 700; border-top: 1px solid var(--slate-200); padding-top: 1rem; }
.testimonial-loc { font-size: 0.85rem; color: var(--slate-600); }
.stats-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  background: linear-gradient(135deg, #285127 0%, #0F132E 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 3rem;
}
.stats-strip > div { display: flex; align-items: center; gap: 0.6rem; }
.stats-strip > div + div { border-left: 1px solid rgba(255,255,255,0.2); padding-left: 2.5rem; }
.stats-strip .stat-num { color: var(--white); font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; gap: 0.35rem; }
.stats-strip .stat-num .star { color: #f5b301; }
.stats-strip .stat-label { font-size: 0.85rem; opacity: 0.75; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info { background: linear-gradient(135deg, #0F132E 0%, #285127 100%); color: var(--white); border-radius: var(--radius-md); padding: 2rem; }
.contact-info h3 { font-size: 1.25rem; margin: 0 0 1.5rem; }
.contact-row { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; }
.contact-row .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.6); }
.contact-row a { color: inherit; text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }
.contact-form { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 2rem; }
.form-note { font-size: 0.8rem; color: var(--slate-600); text-align: center; margin-top: 0.75rem; }

/* Overrides for the De'Angele Patios Lead Form plugin's own lead-form.css
   (deangele.com/Millennium's pale-green-pill, hidden-label style) so the
   contact section matches this site's approved design: visible labels,
   bordered rectangular fields, brand green. The plugin's CSS carries no
   !important specifically so theme CSS like this can win — see its own
   header comment. */
.contact-form .dlf-form { max-width: none; gap: 0; }
.contact-form .dlf-field { display: block; margin-bottom: 1rem; }
.contact-form .dlf-field label {
  position: static; width: auto; height: auto; padding: 0; margin: 0 0 0.4rem; overflow: visible; clip: auto; white-space: normal; border: 0;
  display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy);
}
.contact-form .dlf-field input,
.contact-form .dlf-field select,
.contact-form .dlf-field textarea {
  width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--slate-200); border-radius: 0.5rem; font-size: 0.95rem; font-family: inherit; background: var(--white); color: var(--navy);
}
.contact-form .dlf-field textarea { border-radius: 0.5rem; resize: vertical; min-height: 100px; }
.contact-form .dlf-field input:focus,
.contact-form .dlf-field select:focus,
.contact-form .dlf-field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.contact-form .dlf-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form .dlf-row { grid-template-columns: 1fr 1fr; } }
.contact-form .dlf-submit-btn {
  width: 100%; background: var(--green); color: var(--white); font-weight: 700; padding: 0.9rem; border-radius: 0.5rem; font-size: 1rem; text-transform: none; letter-spacing: normal;
}
.contact-form .dlf-submit-btn:hover:not(:disabled) { opacity: 0.9; }
.contact-form .dlf-status { text-align: center; margin-top: 0.5rem; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; }

.icon { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.15em; fill: none; stroke: currentColor; stroke-width: 2; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---- Inner-page header (Materials hub + single guide) ---- */
.page-hero {
  background: linear-gradient(135deg, #0F132E 0%, #285127 100%);
  color: var(--white);
  padding: 9rem 0 3.5rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin: 0 0 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 40rem; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--green); }

/* ---- Material guide cards (archive grid) ---- */
.guide-card-wrap { position: relative; }
.guide-card { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); background: var(--white); transition: transform 0.2s; display: block; }
.guide-card:hover { transform: translateY(-4px); }
.guide-card img { width: 100%; height: 220px; object-fit: cover; }
.guide-card .guide-card-body { padding: 1.5rem; }
.guide-card h2 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--navy); }
.guide-card p { color: var(--slate-600); font-size: 0.92rem; margin: 0; }
.guide-card .read-more { display: inline-block; margin-top: 0.75rem; color: var(--green); font-weight: 600; font-size: 0.9rem; }

/* ---- Pinterest save button ---- */
.pin-save-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #E60023; color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 0.5rem 0.9rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25); transition: background 0.15s, transform 0.15s;
}
.pin-save-btn:hover { background: #ad081b; transform: translateY(-1px); }
.pin-save-btn-card { position: absolute; top: 0.85rem; right: 0.85rem; padding: 0.4rem 0.75rem; font-size: 0.8rem; }
.guide-hero-wrap .pin-save-btn { position: absolute; top: 1.25rem; right: 1.25rem; }

/* ---- About page (dedicated template) ----
   Design-system rules for this page: every block below shares ONE
   content column (--about-col, set on .about-col) instead of each
   piece independently centering itself at its own width — that
   mismatch (42rem text centered inside a 64rem photo grid centered
   inside a 1280px container) was why stacked sections didn't line up
   on their left edge. Text still wraps at a readable measure via
   max-width on the <p> itself, but stays pinned to the same left
   edge as the photo grid above/below it. Radii are pulled from the
   shared --radius-sm/md/lg scale, not one-off values. */
.about-col { max-width: 60rem; margin: 0 auto; }
.about-col h2 { color: var(--navy); font-size: 1.85rem; font-weight: 700; margin: 0 0 1rem; }
.about-col > p { color: var(--slate-600); font-size: 1.05rem; line-height: 1.75; max-width: 42rem; margin: 0; }

/* The reviews grid re-uses the site-wide .section-header (centered
   intro) component, but that component's h2 is sized for full
   marketing-page sections (clamp 2–2.75rem) — on this page every
   other heading is 1.85rem, so left unchanged it would be the one
   heading that reads a different size than the rest of the page.
   Scoped to siblings of the About hero so no other page is affected. */
.about-hero-fullbleed ~ section .section-header h2 { font-size: 1.85rem; }

.about-photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 2rem 0 0;
}
.about-photo-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-card); transition: transform 0.2s; }
.about-photo-grid img:hover { transform: scale(1.02); }
.about-photo-grid .about-photo-lead { grid-column: span 2; }
@media (max-width: 780px) {
  .about-photo-grid { grid-template-columns: 1fr 1fr; }
  .about-photo-grid .about-photo-lead { grid-column: span 2; }
}
@media (max-width: 480px) {
  .about-photo-grid { grid-template-columns: 1fr; }
  .about-photo-grid .about-photo-lead { grid-column: span 1; }
}

.award-chips { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.award-chip { border-left: 3px solid var(--green); padding-left: 1rem; }
.award-chip-title { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.award-chip-year { font-size: 0.75rem; color: var(--slate-600); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.2rem; }

/* ---- Credentials: text + big photo w/ overlay badge, small carousel ---- */
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) {
  .credentials-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
/* The single vertical photo slot (matching the mockup's one-image layout)
   is filled by a 3-image carousel, not a static photo — the certificates
   photo (the actual person holding the awards) is the featured/longest-
   held image, the other two rotate through afterward. The badge sits
   fully INSIDE the image's own box (no negative offset) so it can never
   be clipped by a parent's overflow/stacking context — the earlier
   version used a negative-offset overlap and got cut off by an ancestor. */
.credentials-photo { position: relative; }
.credentials-carousel { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lift); }
.credentials-carousel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: dnl-credentials-fade 12s infinite;
}
.credentials-carousel img:nth-child(1) { animation-delay: 0s; }
.credentials-carousel img:nth-child(2) { animation-delay: -12s; animation-name: dnl-credentials-fade-2; }
.credentials-carousel img:nth-child(3) { animation-delay: -12s; animation-name: dnl-credentials-fade-3; }
@keyframes dnl-credentials-fade {   /* certificates photo: featured, holds 0s–6s */
  0%, 45%  { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes dnl-credentials-fade-2 { /* before/after graphic: 7s–9s */
  0%, 54%, 83%, 100% { opacity: 0; }
  58%, 79% { opacity: 1; }
}
@keyframes dnl-credentials-fade-3 { /* UAC event photo: 9.5s–11.5s */
  0%, 79% { opacity: 0; }
  83%, 96% { opacity: 1; }
  100% { opacity: 0; }
}

.credentials-badge {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  background: var(--navy); border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem; box-shadow: var(--shadow-lift);
}
.credentials-badge img { width: 7rem; height: auto; }
@media (max-width: 480px) {
  .credentials-badge img { width: 5.5rem; }
}

.project-divider { display: flex; align-items: baseline; gap: 1rem; margin: 0 0 0.5rem; }
.project-divider span { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate-600); font-weight: 700; white-space: nowrap; }
.project-divider-rule { height: 1px; flex: 1; background: rgba(15,19,46,0.12); }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2.5rem; }
.process-step-num {
  width: 2.5rem; height: 2.5rem; border: 1.5px solid var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--green); margin-bottom: 0.75rem;
}
.process-step h3 { color: var(--navy); font-size: 1.05rem; font-weight: 700; margin: 0 0 0.4rem; }
.process-step p { color: var(--slate-600); font-size: 0.9rem; line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.review-card { background: var(--white); border: 1px solid rgba(15,19,46,0.08); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-card); }
.review-stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.review-card p { font-style: italic; color: var(--slate-600); margin: 0 0 1.25rem; font-size: 0.98rem; line-height: 1.6; }
@media (max-width: 780px) {
  .review-grid { grid-template-columns: 1fr; }
}

.review-byline { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar { width: 3rem; height: 3rem; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.review-avatar-sm { width: 2.25rem; height: 2.25rem; font-size: 0.85rem; background: var(--navy); }
.review-author { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.review-author span { display: block; font-weight: 500; color: var(--slate-600); font-size: 0.8rem; }

/* Full-width dark band, matching the footer's navy — not a floating
   card inside a white section, so the one dark accent on this page
   reads as an intentional rhythm beat rather than a mismatched widget. */
.spotlight-section { background: var(--navy); }
.client-spotlight { color: rgba(255,255,255,0.92); max-width: 46rem; margin: 0 auto; text-align: center; }
.client-spotlight .review-stars { justify-content: center; }
.client-spotlight blockquote { font-style: italic; font-size: 1.3rem; line-height: 1.75; margin: 0 0 1.5rem; color: rgba(255,255,255,0.95); }
.client-spotlight .review-byline { justify-content: center; }
.client-spotlight .review-author { color: var(--white); }
.client-spotlight .review-author span { color: rgba(255,255,255,0.6); }

/* Compact closing CTA — replaces a full contact-form section on pages
   (like About) that already end with several trust-building sections;
   the homepage/service pages keep the full form. */
.cta-band { background: var(--green); text-align: center; }
.cta-band h2 { color: var(--white); font-size: 1.85rem; font-weight: 700; margin: 0 0 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 34rem; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-band .btn-primary { background: var(--white); color: var(--green); box-shadow: none; }
.cta-band .btn-primary:hover { opacity: 0.92; }

/* ---- Services FAQ / decision page ---- */
.faq-list { max-width: 52rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--slate-200, #e2e8f0); padding: 1.75rem 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 0 0 0.75rem; }
.faq-item p { color: var(--slate-600); line-height: 1.7; margin: 0 0 0.5rem; }
.faq-item a.faq-link { color: var(--green); font-weight: 600; }

/* ---- Services summary list (Services page, above the FAQ) ---- */
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 64rem; margin: 0 auto; }
@media (max-width: 780px) { .services-list { grid-template-columns: 1fr; } }
.services-list-item {
  display: block; background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 1.5rem; transition: transform 0.2s, box-shadow 0.2s;
}
.services-list-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.services-list-item h3 { color: var(--navy); font-size: 1.1rem; font-weight: 700; margin: 0 0 0.4rem; }
.services-list-item p { color: var(--slate-600); font-size: 0.92rem; line-height: 1.6; margin: 0 0 0.75rem; }
.services-list-item .faq-link { font-size: 0.88rem; }

/* ---- Guide photo gallery ---- */
.guide-gallery { max-width: 64rem; margin: 3rem auto 0; }
.guide-gallery h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 0 0 1.25rem; text-align: center; }
.guide-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.guide-gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.guide-gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.guide-gallery-item .pin-save-btn { opacity: 0; transition: opacity 0.15s; }
.guide-gallery-item:hover .pin-save-btn { opacity: 1; }
@media (max-width: 780px) {
  .guide-gallery-grid { grid-template-columns: 1fr 1fr; }
  .guide-gallery-item .pin-save-btn { opacity: 1; }
}

/* ---- Single guide content ---- */
.guide-hero-wrap { position: relative; margin-bottom: 2.5rem; }
.guide-hero-wrap .guide-featured-image { margin-bottom: 0; }
.guide-featured-image { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 2.5rem; }
.guide-content { max-width: 48rem; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; color: #1e293b; }
.guide-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 2.5rem 0 1rem; }
.guide-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; }
.guide-content p { margin: 0 0 1.25rem; }
.guide-content ul, .guide-content ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
.guide-content li { margin-bottom: 0.5rem; }
.guide-content strong { color: var(--navy); }
.guide-cta { max-width: 48rem; margin: 3rem auto 0; background: var(--green-soft); border: 1px solid rgba(82,182,30,0.3); border-radius: var(--radius-md); padding: 2rem; text-align: center; }
.guide-cta h3 { margin: 0 0 0.5rem; color: var(--navy); }
.guide-cta p { color: var(--slate-600); margin: 0 0 1.25rem; }
