/* ============================================================
   Locksmith in San Jose — locksmithinsanjose.net
   Palette: Warm Terracotta #c2410c + Cream #fefce8 + Dark Slate #1c1917
   Design: toc-top-jumplinks + magazine-hero + warm-California
   Self-hosted Inter fonts — NO Google Fonts CDN
   ============================================================ */

/* === FONTS ======================================================= */
@font-face{font-family:'Inter';src:url('fonts/Inter-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('fonts/Inter-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('fonts/Inter-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('fonts/Inter-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('fonts/Inter-ExtraBold.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}

/* === DESIGN TOKENS ============================================== */
:root {
  /* Warm Terracotta Palette */
  --terra:        #c2410c;
  --terra-dark:   #9a3412;
  --terra-light:  #ea580c;
  --terra-pale:   #fed7aa;
  --cream:        #fefce8;
  --cream-warm:   #fef3c7;
  --cream-deep:   #fde68a;
  --slate:        #1c1917;
  --slate-mid:    #292524;
  --slate-soft:   #44403c;
  --stone:        #78716c;
  --stone-light:  #a8a29e;
  --white:        #ffffff;
  --off-white:    #fafaf9;

  /* Semantic roles */
  --color-primary:    var(--terra);
  --color-accent:     var(--terra-light);
  --color-cta:        var(--terra);
  --color-cta-hover:  var(--terra-dark);
  --color-bg:         var(--white);
  --color-bg-warm:    var(--cream);
  --color-bg-alt:     var(--off-white);
  --color-dark:       var(--slate);
  --color-text:       var(--slate);
  --color-text-soft:  var(--slate-soft);
  --color-text-muted: var(--stone);
  --color-border:     #e7e5e4;
  --color-border-warm: #fde68a;

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shape */
  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(28,25,23,.08);
  --shadow-md: 0 4px 16px rgba(28,25,23,.12);
  --shadow-lg: 0 12px 40px rgba(28,25,23,.14);
  --shadow-terra: 0 0 24px rgba(194,65,12,.18);

  /* Layout */
  --max-content: 780px;
  --max-wide:    1240px;
  --ease:        cubic-bezier(.22,.68,0,1.2);
}

/* === RESET + BASE =============================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--terra-dark); }
ul { list-style: none; }
button { cursor: pointer; }

/* === FADE-UP ANIMATION ========================================== */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .45s ease, transform .45s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
/* Headless / no-JS / print fallback: if JS hasn't run yet, content is still readable */
@media print { .fade-up { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }

/* === SITE HEADER ================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--slate);
  border-bottom: 2px solid var(--terra);
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.site-header__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header__brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.site-header__logo-icon { color: var(--terra-light); display: flex; }
.site-header__logo-text { white-space: nowrap; }
.site-header__logo-text .logo-in { font-weight: 400; color: var(--stone-light); }
.site-header__logo-text strong { color: var(--white); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 6px; align-items: center; }
.site-nav a {
  display: block; padding: 8px 14px;
  text-decoration: none; color: var(--stone-light);
  font-size: .9rem; font-weight: 500;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.site-nav a:hover, .site-nav a.active { background: rgba(255,255,255,.08); color: var(--white); }
.site-nav .nav-cta {
  background: var(--terra); color: var(--white) !important;
  border-radius: var(--radius-pill);
  padding: 8px 20px;
}
.site-nav .nav-cta:hover { background: var(--terra-dark); }
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
  width: 40px; height: 40px;
  background: none; border: none;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--stone-light); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.mobile-nav { display: none; background: var(--slate-mid); border-top: 1px solid rgba(255,255,255,.08); }
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; padding: 12px 0; }
.mobile-nav a { display: block; padding: 12px 24px; text-decoration: none; color: var(--stone-light); font-weight: 500; }
.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,.06); }

/* === SECTION BASE =============================================== */
.section { padding: 80px 24px; }
.section--light { background: var(--color-bg-warm); }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--slate); color: var(--white); }
.section--terra { background: var(--terra); color: var(--white); }
.section--stone { background: var(--slate-mid); color: var(--white); }
.section-inner { max-width: var(--max-wide); margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 10px;
}
.section--dark .section-label { color: var(--terra-light); }
.section--terra .section-label { color: var(--cream-warm); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; line-height: 1.2;
  color: var(--slate); margin-bottom: 16px;
}
.section--dark .section-title,
.section--stone .section-title { color: var(--white); }
.section--terra .section-title { color: var(--white); }
.section-sub {
  font-size: 1.05rem; color: var(--color-text-soft);
  max-width: 640px; line-height: 1.7;
}
.section--dark .section-sub,
.section--stone .section-sub { color: var(--stone-light); }
.section--terra .section-sub { color: rgba(255,255,255,.85); }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* Dark section overrides — prevent global element color rules winning */
.section--dark p, .section--dark li, .section--dark span, .section--dark a:not(.btn) { color: var(--stone-light); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--stone p, .section--stone li, .section--stone span, .section--stone a:not(.btn) { color: var(--stone-light); }
.section--stone h1, .section--stone h2, .section--stone h3 { color: var(--white); }
.section--terra p, .section--terra li, .section--terra span { color: rgba(255,255,255,.85); }
.section--terra h1, .section--terra h2, .section--terra h3 { color: var(--white); }
.site-footer p, .site-footer li, .site-footer a, .site-footer span { color: var(--stone-light); }
.site-footer h4 { color: var(--white); }

/* === BUTTONS ==================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  min-height: 48px;
}
.btn-primary { background: var(--terra); color: var(--white); }
.btn-primary:hover { background: var(--terra-dark); transform: translateY(-1px); box-shadow: var(--shadow-terra); color: var(--white); }
.btn-outline { background: transparent; color: var(--terra); border: 2px solid var(--terra); }
.btn-outline:hover { background: var(--terra); color: var(--white); }
.btn-white { background: var(--white); color: var(--terra); }
.btn-white:hover { background: var(--cream-warm); color: var(--terra-dark); }
.btn-sm { padding: 9px 20px; font-size: .85rem; min-height: 40px; }

/* === HERO ======================================================= */
.home-hero {
  position: relative;
  min-height: clamp(500px, 60vh, 700px);
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--slate);
}
.home-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.home-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(28,25,23,.90) 0%, rgba(28,25,23,.75) 38%, rgba(28,25,23,.30) 65%, rgba(28,25,23,.08) 100%);
  z-index: 1;
}
.home-hero__inner {
  position: relative; z-index: 2;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.home-hero__content { max-width: 580px; }
.hero-eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra-light); margin-bottom: 14px;
}
.home-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.home-hero h1 .highlight { color: var(--terra-light); }
.hero-direct-answer {
  font-size: 1.1rem; line-height: 1.6;
  color: rgba(255,255,255,.82);
  margin-bottom: 28px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-stats {
  display: flex; gap: 28px; flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat__num { font-size: 1.5rem; font-weight: 800; color: var(--terra-light); }
.hero-stat__label { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: .04em; text-transform: uppercase; }

/* Hero jumplinks card */
.hero-jumplinks {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.hero-jumplinks h3 {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--terra-light); margin-bottom: 16px;
}
.hero-jumplinks ul { display: flex; flex-direction: column; gap: 8px; }
.hero-jumplinks li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  text-decoration: none; color: rgba(255,255,255,.78);
  font-size: .92rem; font-weight: 500;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.hero-jumplinks li a:hover { background: rgba(255,255,255,.1); color: var(--white); }
.hero-jumplinks li a::before {
  content: '';
  display: inline-block; width: 6px; height: 6px;
  background: var(--terra-light); border-radius: 50%; flex-shrink: 0;
}

/* === TRUST STRIP =============================================== */
.trust-strip {
  background: var(--cream); border-bottom: 1px solid var(--color-border-warm);
  padding: 18px 24px;
}
.trust-strip__inner {
  max-width: var(--max-wide); margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap; gap: 24px;
  justify-content: center;
}
.trust-chip {
  display: flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 600; color: var(--slate-soft);
}
.trust-chip svg { color: var(--terra); }
.trust-chip strong { color: var(--slate); }

/* === SERVICE CARDS ============================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.svc-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-card__media {
  position: relative; display: block;
  aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--cream);
}
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__icon {
  position: absolute; bottom: 12px; left: 14px;
  width: 44px; height: 44px;
  background: var(--white); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--terra);
  box-shadow: 0 4px 12px rgba(0,0,0,.15); z-index: 2;
}
.svc-card:hover .svc-card__icon { background: var(--terra); color: var(--white); }
.svc-card__body { padding: 28px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card__title { font-size: 1.05rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.svc-card__desc { font-size: .9rem; color: var(--color-text-soft); line-height: 1.6; flex: 1; }
.svc-card__more {
  margin-top: 14px; font-size: .85rem; font-weight: 700;
  color: var(--terra); text-decoration: none;
}

/* === FEATURE ROW ================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-row__img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-row__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.feature-row__body .section-label { display: block; margin-bottom: 10px; }
.feature-row__body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800; line-height: 1.2; color: var(--slate);
  margin-bottom: 16px;
}
.feature-row__body p { font-size: .98rem; line-height: 1.7; color: var(--color-text-soft); margin-bottom: 16px; }
.feature-checklist { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.feature-checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .93rem; color: var(--slate-soft);
}
.feature-checklist li::before {
  content: '';
  display: inline-block; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  background: var(--terra); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* === WHY CHOOSE — 3 col ========================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.why-card__icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--cream); border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  color: var(--terra);
}
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--slate); margin-bottom: 10px; }
.why-card p { font-size: .9rem; color: var(--color-text-soft); line-height: 1.65; }

/* === COST TABLE ================================================= */
.cost-table-wrap { overflow-x: auto; margin-top: 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.cost-table {
  width: 100%; border-collapse: collapse;
  font-size: .93rem;
  background: var(--white);
}
.cost-table th {
  background: var(--terra); color: var(--white);
  font-weight: 700; text-align: left;
  padding: 14px 18px; white-space: nowrap;
}
.cost-table td { padding: 12px 18px; border-bottom: 1px solid var(--color-border); color: var(--slate-soft); }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:nth-child(even) td { background: var(--cream); }
.cost-table .price { font-weight: 700; color: var(--terra); }
.cost-note { font-size: .83rem; color: var(--stone); margin-top: 12px; }

/* === HOW-TO STEPS =============================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
}
.step-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--terra); color: var(--white);
  border-radius: 50%; font-size: 1.1rem; font-weight: 800;
  margin: 0 auto 14px;
}
.step-card h3 { font-size: .97rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.step-card p { font-size: .88rem; color: var(--color-text-soft); line-height: 1.6; }

/* === COMPARE GRID =============================================== */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-top: 40px;
}
.compare-card {
  background: var(--white); border: 2px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 32px 28px;
}
.compare-card--highlight { border-color: var(--terra); }
.compare-card__badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--terra); color: var(--white);
  border-radius: var(--radius-pill); padding: 4px 12px;
  margin-bottom: 16px;
}
.compare-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--slate); margin-bottom: 16px; }
.compare-card ul { display: flex; flex-direction: column; gap: 10px; }
.compare-card li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--slate-soft); line-height: 1.5;
}
.compare-card li::before {
  content: '';
  display: inline-block; width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px;
  background: var(--terra); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* === GALLERY GRID =============================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }

/* === REVIEWS ==================================================== */
.review-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 40px;
}
.review-card {
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 28px;
}
.review-card__stars { color: var(--terra-light); font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card__text { font-size: .93rem; line-height: 1.7; color: var(--slate-soft); margin-bottom: 16px; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--terra-pale); }
.review-card__name { font-size: .9rem; font-weight: 700; color: var(--slate); }
.review-card__meta { font-size: .8rem; color: var(--stone); }

/* === NEIGHBORHOODS ============================================== */
.neighborhoods-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.neighborhood-pill {
  display: inline-block;
  padding: 7px 16px;
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: .84rem; font-weight: 600; color: var(--slate-soft);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.neighborhood-pill:hover { background: var(--terra); border-color: var(--terra); color: var(--white); }

/* === FAQ ACCORDION ============================================== */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-size: 1rem; font-weight: 700; color: var(--slate);
  cursor: pointer;
  list-style: none;
  transition: background .2s;
}
.faq-item__q::marker, .faq-item__q::-webkit-details-marker { display: none; }
.faq-item[open] > .faq-item__q { color: var(--terra); background: var(--cream); }
.faq-item__q::after {
  content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--terra);
  flex-shrink: 0; line-height: 1;
}
.faq-item[open] > .faq-item__q::after { content: '\2212'; }
.faq-item__body { padding: 0 24px 20px; font-size: .93rem; line-height: 1.7; color: var(--slate-soft); }
.faq-item__body p { margin-bottom: 10px; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* === CTA BAND =================================================== */
.cta-band {
  background: var(--terra);
  padding: 80px 24px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-band p { font-size: 1.05rem; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === METHODOLOGY ================================================ */
.methodology-box {
  background: var(--cream); border: 1px solid var(--color-border-warm);
  border-left: 4px solid var(--terra);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  max-width: 800px; margin: 32px auto 0;
}
.methodology-box h3 { font-size: 1.05rem; font-weight: 800; color: var(--slate); margin-bottom: 12px; }
.methodology-box p { font-size: .92rem; line-height: 1.7; color: var(--slate-soft); margin-bottom: 8px; }
.methodology-box p:last-child { margin-bottom: 0; }

/* === PAGE HERO ================================================== */
.page-hero {
  position: relative;
  min-height: clamp(280px, 35vh, 440px);
  display: flex; align-items: flex-end;
  background: var(--slate);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,25,23,.30) 0%, rgba(28,25,23,.60) 60%, rgba(28,25,23,.85) 100%);
  z-index: 1;
}
.page-hero__inner {
  position: relative; z-index: 2;
  max-width: var(--max-wide); margin: 0 auto; width: 100%;
  padding: 40px 24px 48px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.4); }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--white); line-height: 1.15;
  margin-bottom: 12px;
}
.page-hero__sub { font-size: 1rem; color: rgba(255,255,255,.8); max-width: 600px; line-height: 1.65; }

/* === PROSE CONTENT ============================================== */
.prose { max-width: var(--max-content); margin: 0 auto; }
.prose h2 { font-size: 1.5rem; font-weight: 800; color: var(--slate); margin: 40px 0 14px; line-height: 1.2; }
.prose h3 { font-size: 1.15rem; font-weight: 700; color: var(--slate); margin: 28px 0 10px; }
.prose p { font-size: .98rem; line-height: 1.75; color: var(--slate-soft); margin-bottom: 18px; }
.prose ul { padding-left: 20px; margin-bottom: 18px; }
.prose ul li { font-size: .95rem; line-height: 1.7; color: var(--slate-soft); margin-bottom: 6px; list-style: disc; }

/* === MINI CARDS ================================================= */
.mini-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 32px;
}
.mini-card {
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 24px 20px;
}
.mini-card__icon { color: var(--terra); margin-bottom: 12px; }
.mini-card h4 { font-size: .95rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.mini-card p { font-size: .87rem; color: var(--color-text-soft); line-height: 1.6; }

/* === CONTACT FORM =============================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 40px; }
.contact-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; margin-top: 24px; }
.contact-info p { font-size: .93rem; color: var(--slate-soft); line-height: 1.7; }
.form-panel {
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.form-panel h3 { font-size: 1.15rem; font-weight: 800; color: var(--slate); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--color-border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .95rem; color: var(--slate);
  background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--terra); }
.form-group textarea { resize: vertical; min-height: 120px; }
.hp-field { display: none !important; }
.form-submit { width: 100%; }
.form-success { display: none; padding: 20px; background: #dcfce7; border-radius: var(--radius); color: #166534; font-weight: 600; text-align: center; }

/* === FOOTER ===================================================== */
.site-footer { background: var(--slate); padding: 64px 24px 0; color: var(--stone-light); }
.footer-inner {
  max-width: var(--max-wide); margin: 0 auto;
  display: grid; grid-template-columns: 280px 1fr;
  gap: 56px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.footer-logo-icon { color: var(--terra-light); display: flex; }
.footer-logo-text { font-size: .95rem; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: .86rem; color: var(--stone); line-height: 1.6; margin-top: 10px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav-col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-light); margin-bottom: 14px; }
.footer-nav-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-col a { font-size: .88rem; color: var(--stone); text-decoration: none; transition: color .2s; }
.footer-nav-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-wide); margin: 0 auto;
  padding: 20px 0 32px;
  display: flex; flex-direction: column; gap: 6px;
}
.footer-bottom p { font-size: .82rem; color: var(--stone); }
.footer-bottom a { color: var(--stone); }
.footer-disclaimer { font-style: italic; }

/* === RESPONSIVE ================================================= */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero__inner { grid-template-columns: 1fr; }
  .hero-jumplinks { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 56px 20px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .service-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row--reverse { direction: ltr; }
  .why-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .mini-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .home-hero { min-height: 500px; }
  .home-hero h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .section { padding: 44px 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .footer-nav { grid-template-columns: 1fr; }
}
