/* ==========================================================================
   Molina Fencing LLC — styles.css
   Mobile-first. ~80% of traffic expected on mobile.
   Fonts: Fraunces (display) + Inter (body)
   ========================================================================== */

:root {
  /* Brand palette (from logo) */
  --green: #216C2C;
  --green-dark: #17501F;
  --green-deep: #0E3A15;
  --red: #AA1B2A;
  --red-dark: #8A1522;
  --taupe: #B0AA9D;
  --taupe-light: #DDD9D0;
  --brown: #341610;
  --bg: #F2F2EF;
  --white: #FFFFFF;
  --blue-pale: #9FD5DE;

  /* Text */
  --text: #2B2622;
  --text-soft: #5C554E;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid scale */
  --fs-h1: clamp(2.1rem, 5.5vw + 0.8rem, 3.6rem);
  --fs-h2: clamp(1.65rem, 3.2vw + 0.7rem, 2.5rem);
  --fs-h3: clamp(1.15rem, 1.2vw + 0.9rem, 1.4rem);
  --fs-body: clamp(1rem, 0.3vw + 0.95rem, 1.0625rem);

  /* Fluid spacing */
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --space-block: clamp(1.5rem, 4vw, 2.75rem);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(52, 22, 16, 0.10);
  --shadow-soft: 0 2px 10px rgba(52, 22, 16, 0.07);

  --header-h: 72px;
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brown);
  margin: 0 0 0.6em;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1em; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--blue-pale);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.section { padding-block: var(--space-section); }
.section-alt { background: var(--white); }
.section-green { background: var(--green-deep); color: #E9EFE7; }
.section-green h2, .section-green h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.section-green .eyebrow { color: var(--blue-pale); }

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-block);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.lead { font-size: 1.08em; color: var(--text-soft); }
.section-green .lead { color: #C9D6C6; }

/* ---------- Signature: picket divider ---------- */

.picket-divider {
  height: 18px;
  background-image: repeating-linear-gradient(
    to right,
    var(--taupe) 0 6px,
    transparent 6px 26px
  );
  background-size: 26px 12px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.55;
  margin-inline: auto;
  width: min(1160px, 92%);
}

.picket-divider-footer {
  width: 100%;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    to right,
    var(--taupe) 0 6px,
    transparent 6px 26px
  );
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-align: center;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--red); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { color: var(--red); border-color: var(--red); }

.btn-light {
  background: var(--white);
  color: var(--green-dark);
}
.btn-light:hover { background: var(--bg); color: var(--red); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.08); }

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.92rem; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--taupe-light);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled { box-shadow: var(--shadow-soft); }

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

.brand-logo { height: 48px; width: auto; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.main-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  padding: 1.5rem 6% 3rem;
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  z-index: 99;
}

.main-nav.is-open { display: flex; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nav-list a {
  display: block;
  padding: 0.9rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brown);
  border-bottom: 1px solid var(--taupe-light);
}

.nav-list a:hover,
.nav-list a.is-active { color: var(--green); }

.nav-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--brown);
}
.nav-phone:hover { color: var(--red); }

body.nav-open { overflow: hidden; }

@media (min-width: 920px) {
  .nav-toggle { display: none; }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    background: none;
    overflow: visible;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.4rem;
  }

  .nav-list a {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
  }

  .nav-list a.is-active { border-bottom-color: var(--green); }

  .nav-cta-group {
    flex-direction: row;
    align-items: center;
    gap: 1.1rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    linear-gradient(160deg, rgba(14, 58, 21, 0.96) 0%, rgba(23, 80, 31, 0.9) 55%, rgba(33, 108, 44, 0.85) 100%),
    var(--green-deep);
  color: var(--white);
  overflow: hidden;
}

/* NOTE FOR REAL PHOTO: replace the .hero background with e.g.
   background: linear-gradient(rgba(14,58,21,0.72), rgba(14,58,21,0.72)), url('images/hero-fence.jpg') center/cover no-repeat;
   and remove/keep .hero-pattern as desired. */

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    repeating-linear-gradient(45deg, var(--white) 0 2px, transparent 2px 90px),
    repeating-linear-gradient(-45deg, var(--white) 0 2px, transparent 2px 90px),
    repeating-linear-gradient(to right, var(--white) 0 2px, transparent 2px 180px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-block: clamp(4rem, 11vw, 8rem);
  max-width: 760px;
}

.hero h1 { color: var(--white); margin-bottom: 0.5em; }

.hero-sub {
  font-size: clamp(1.05rem, 1vw + 0.95rem, 1.2rem);
  color: #DCE7DA;
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.25rem;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #EDF3EC;
}

.hero-badges li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-pale);
  flex-shrink: 0;
}

/* ---------- Trust intro strip ---------- */

.trust-intro {
  background: var(--white);
  border-bottom: 1px solid var(--taupe-light);
}

.trust-intro-inner {
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.trust-intro p { margin: 0; font-size: 1.1rem; color: var(--text-soft); max-width: 62ch; }
.trust-intro strong { color: var(--green-dark); }

@media (min-width: 820px) {
  .trust-intro-inner { grid-template-columns: 1fr auto; }
}

/* ---------- Cards / grids ---------- */

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--taupe-light);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--taupe);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

.service-card h3 { margin-bottom: 0.35rem; }
.service-card p { color: var(--text-soft); font-size: 0.96rem; flex-grow: 1; }

.service-card .card-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-card .card-link:hover { color: var(--red); }
.service-card .card-link::after { content: "\2192"; transition: transform 0.2s ease; }
.service-card .card-link:hover::after { transform: translateX(3px); }

/* ---------- Featured split section ---------- */

.featured {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.featured-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background:
    linear-gradient(150deg, rgba(33,108,44,0.85), rgba(23,80,31,0.92)),
    var(--taupe);
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.85);
}

.featured-media .placeholder-note {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

.featured-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  display: grid;
  gap: 0.7rem;
}

.featured-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text-soft);
}

.featured-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

@media (min-width: 880px) {
  .featured { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .featured-media { min-height: 400px; }
}

/* ---------- Why choose ---------- */

.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.why-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.why-item h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--blue-pale);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.why-item p { color: #C9D6C6; font-size: 0.94rem; margin: 0; }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--taupe-light);
  background:
    repeating-linear-gradient(to right, rgba(52,22,16,0.05) 0 2px, transparent 2px 40px),
    linear-gradient(160deg, var(--taupe-light), var(--taupe));
}

.gallery-tile:nth-child(3n+2) {
  background:
    repeating-linear-gradient(to right, rgba(255,255,255,0.09) 0 2px, transparent 2px 40px),
    linear-gradient(160deg, var(--green), var(--green-dark));
}

.gallery-tile:nth-child(3n+2) .gallery-label { color: var(--white); }
.gallery-tile:nth-child(3n+2) .gallery-sub { color: rgba(255,255,255,0.75); }

.gallery-tile-inner { text-align: center; padding: 1rem; }

.gallery-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--brown);
  display: block;
}

.gallery-sub {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(52, 22, 16, 0.6);
  display: block;
  margin-top: 0.35rem;
}

.gallery-note {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-top: 1.5rem;
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  background: var(--white);
  border: 1px solid var(--taupe-light);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-step h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.process-step p { color: var(--text-soft); font-size: 0.94rem; margin: 0; }

/* ---------- Service areas ---------- */

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 1.75rem 0 0;
  list-style: none;
}

.area-chips li {
  padding: 0.5rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--taupe-light);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
}

.area-chips li.chip-home {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  font-weight: 700;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--taupe-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.35rem;
  font-weight: 600;
  color: var(--brown);
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { content: "\2013"; color: var(--red); }

.faq-item summary:hover { color: var(--green); }

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-soft);
}
.faq-answer p { margin: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    repeating-linear-gradient(to right, rgba(255,255,255,0.04) 0 2px, transparent 2px 60px),
    linear-gradient(140deg, var(--green-dark), var(--green));
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: #DCE7DA; max-width: 560px; margin-inline: auto; margin-bottom: 2rem; }
.cta-band .btn-group { justify-content: center; }

/* ---------- Contact ---------- */

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

@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: start; }
}

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

.contact-info-list li { display: grid; gap: 0.1rem; }

.contact-info-list .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}

.contact-info-list a, .contact-info-list span.value {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brown);
}
.contact-info-list a:hover { color: var(--red); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--taupe-light);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

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

@media (min-width: 620px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .form-field-full { grid-column: 1 / -1; }
}

.form-field { display: grid; gap: 0.35rem; }

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brown);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--taupe-light);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}

.form-field textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.85rem; color: var(--text-soft); margin: 0.9rem 0 0; }

.hidden-field { display: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brown);
  color: #D8D2C9;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-block: clamp(2.75rem, 6vw, 4.25rem) 2.5rem;
}

@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }

.footer-logo { height: 54px; width: auto; margin-bottom: 1rem; }

.footer-brand p { font-size: 0.92rem; color: #B9B1A6; max-width: 40ch; }

.footer-col h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: #D8D2C9; font-size: 0.94rem; }
.footer-col a:hover { color: var(--blue-pale); }
.footer-contact li { color: #B9B1A6; font-size: 0.94rem; }

.footer-cta { margin-top: 1.25rem; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.25rem;
  font-size: 0.84rem;
  color: #9A9187;
}

.footer-bottom-inner p { margin: 0; }
.footer-tagline { letter-spacing: 0.04em; }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background:
    repeating-linear-gradient(to right, rgba(255,255,255,0.04) 0 2px, transparent 2px 120px),
    linear-gradient(150deg, var(--green-deep), var(--green-dark));
  color: var(--white);
  padding-block: clamp(3rem, 7vw, 5rem);
}

.page-hero h1 { color: var(--white); margin-bottom: 0.35em; }
.page-hero p { color: #DCE7DA; max-width: 640px; margin: 0; font-size: 1.08rem; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .nav-toggle-bar { transition: none; }
}

/* ---------- Service detail pages ---------- */

.breadcrumbs {
  font-size: 0.84rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a { color: rgba(255, 255, 255, 0.9); }
.breadcrumbs a:hover { color: var(--blue-pale); }
.breadcrumbs span { color: rgba(255, 255, 255, 0.5); margin-inline: 0.35rem; }
.breadcrumbs [aria-current] { color: var(--blue-pale); }

.card-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.answer-block {
  background: var(--white);
  border: 1px solid var(--taupe-light);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
}

.answer-block h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.answer-block p { margin: 0; color: var(--text-soft); font-size: 0.96rem; }

.related-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.related-links a {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--taupe-light);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-dark);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links a:hover { border-color: var(--red); color: var(--red); }

/* ---------- Family photo ---------- */

.family-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-intro-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
  display: none;
}

@media (min-width: 640px) { .trust-intro-photo { display: block; } }

.trust-intro-lockup {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ---------- Articles ---------- */

.article-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

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

.article-card {
  background: var(--white);
  border: 1px solid var(--taupe-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.article-card-top {
  height: 10px;
  background:
    repeating-linear-gradient(to right, rgba(255,255,255,0.25) 0 4px, transparent 4px 18px),
    linear-gradient(120deg, var(--green), var(--green-dark));
}

.article-card-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }

.article-card h3 { margin-bottom: 0.5rem; }
.article-card h3 a { color: var(--brown); }
.article-card h3 a:hover { color: var(--green); }

.article-card p { color: var(--text-soft); font-size: 0.95rem; flex-grow: 1; }

.article-meta {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.article-card .card-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.article-card .card-link::after { content: "\2192"; transition: transform 0.2s ease; }
.article-card .card-link:hover { color: var(--red); }
.article-card .card-link:hover::after { transform: translateX(3px); }

/* Article page prose */

.article-prose {
  max-width: 720px;
  margin-inline: auto;
}

.article-prose h2 {
  font-size: clamp(1.4rem, 2vw + 0.8rem, 1.85rem);
  margin-top: 2.25em;
}

.article-prose h3 { margin-top: 1.75em; }

.article-prose p, .article-prose li { color: var(--text-soft); }

.article-prose ul { padding-left: 1.25rem; margin: 0 0 1.25em; }
.article-prose li { margin-bottom: 0.5em; }

.article-prose a { font-weight: 600; }

.takeaways {
  background: var(--white);
  border: 1px solid var(--taupe-light);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.takeaways h2 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 0.75rem;
}

.takeaways ul { margin: 0; padding-left: 1.15rem; }
.takeaways li { margin-bottom: 0.45em; color: var(--text-soft); }

.article-cta-inline {
  background: var(--green-deep);
  color: #DCE7DA;
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2.5rem 0;
  text-align: center;
}

.article-cta-inline p { color: #DCE7DA; margin-bottom: 1.1rem; font-weight: 500; }
