/* ============================================================
   Bailey Roofing & Exteriors — Master Stylesheet
   Extracted from index.html (Phase 0) + Phase 1 components.
   Every page links this file: <link rel="stylesheet" href="/_partials/styles.css">
   Design tokens per PROJECT_BRIEF.md §3 — never hardcode hex outside :root.
   ============================================================ */

:root {
  /* Brand palette */
  --orange: #E85D1A;
  --orange-dark: #C44A14;
  --orange-soft: #FBE8D8;
  --charcoal: #1A1614;
  --slate: #4A4541;
  --slate-soft: #6B6560;
  --cream: #F8F3EC;
  --cream-warm: #F2EADD;
  --border: #E5DDD2;
  --border-dark: #D4CABA;
  --white: #FFFFFF;
  --green: #1F8A4C;
  --red: #B33A3A;
  /* Typography */
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Geist', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== ANNOUNCEMENT BAR ===== */
.announce {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.announce strong { color: var(--orange); font-weight: 500; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-block; line-height: 0; }
.logo-svg { height: 58px; width: auto; display: block; }
.logo-svg--dark { color: var(--charcoal); }
.logo-svg--light { color: var(--cream); }
@media (max-width: 640px) {
  .logo-svg { height: 44px; }
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.phone-link {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  display: flex; align-items: center; gap: 8px;
  font-variation-settings: "opsz" 144;
}
.phone-link::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--orange-soft);
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all 0.25s;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(232,93,26,0.5);
}
.btn-secondary { background: var(--charcoal); color: var(--white); }
.btn-secondary:hover { background: #000; }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-ghost:hover { background: var(--charcoal); color: var(--white); }
.mobile-toggle { display: none; }

/* ===== MOBILE MENU (slide-down panel) ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--charcoal);
  color: var(--cream);
  padding: 24px 24px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 40px;
}
.mobile-menu-close {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(248,243,236,0.3);
  background: transparent;
  color: var(--cream);
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-links { display: grid; gap: 4px; margin-bottom: 40px; }
.mobile-menu-links a {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(248,243,236,0.1);
  font-variation-settings: "opsz" 144;
}
.mobile-menu-links a em { font-style: italic; color: var(--orange); }
.mobile-menu-sub { display: grid; gap: 14px; margin-bottom: 40px; }
.mobile-menu-sub a { font-size: 16px; opacity: 0.75; }
.mobile-menu .btn { width: 100%; justify-content: center; padding: 17px; font-size: 16px; }

/* ===== HERO (variant A — homepage/services) ===== */
.hero {
  position: relative;
  padding: 80px 32px 120px;
  background: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%; width: 60%; height: 100%;
  background-image: radial-gradient(circle, rgba(26,22,20,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: linear-gradient(to left, black, transparent);
  -webkit-mask-image: linear-gradient(to left, black, transparent);
}
.hero-inner {
  max-width: 1320px; margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 24px; height: 1.5px; background: var(--orange); }
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--charcoal);
  margin-bottom: 32px;
  font-variation-settings: "opsz" 144;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  position: relative;
  font-variation-settings: "opsz" 144;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero .btn { padding: 17px 28px; font-size: 15px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 600px;
}
.trust-item { display: flex; flex-direction: column; gap: 6px; }
.trust-num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: var(--charcoal);
  font-variation-settings: "opsz" 144;
}
.trust-num.stars { color: var(--orange); letter-spacing: -2px; }
.trust-num em { color: var(--orange); font-style: italic; }
.trust-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.hero-visual:hover img { transform: scale(1.03); }
.hero-badge {
  position: absolute;
  bottom: -28px; left: -28px;
  background: var(--white);
  padding: 24px 28px;
  box-shadow: 0 24px 60px -12px rgba(26,22,20,0.18);
  display: flex; align-items: center; gap: 16px;
  border-radius: 4px;
}
.hero-badge-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}
.hero-badge-text { line-height: 1.3; }
.hero-badge-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--charcoal); }
.hero-badge-text span { font-size: 12px; color: var(--slate); }

/* ===== PAGE HERO (variant B — interior pages, city pages, blog) ===== */
.page-hero {
  background: var(--cream);
  padding: 64px 32px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%; width: 50%; height: 100%;
  background-image: radial-gradient(circle, rgba(26,22,20,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: linear-gradient(to left, black, transparent);
  -webkit-mask-image: linear-gradient(to left, black, transparent);
}
.page-hero-inner { max-width: 900px; margin: 0 auto; position: relative; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--orange); }
.page-hero-sub { font-size: 19px; line-height: 1.55; color: var(--slate); max-width: 680px; margin-bottom: 32px; }
.page-hero .hero-ctas { margin-bottom: 0; }

/* Breadcrumbs */
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--slate-soft);
  margin-bottom: 28px;
}
.breadcrumbs a { color: var(--slate); font-weight: 500; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs [aria-current] { color: var(--orange); font-weight: 500; }

/* ===== LOGO / CERTIFICATION STRIP ===== */
.logos { padding: 48px 32px; background: var(--white); border-bottom: 1px solid var(--border); }
.logos-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.logos-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
.logo-items { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.logo-cert {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  opacity: 0.7;
  font-variation-settings: "opsz" 144;
}
.logo-cert small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--slate);
  margin-top: 2px;
}

/* ===== SECTIONS ===== */
section { padding: 120px 32px; }
.section-inner { max-width: 1320px; margin: 0 auto; }
.section-narrow { max-width: 900px; margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.section-head h2, h2.display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  font-variation-settings: "opsz" 144;
}
.section-head h2 em, h2.display em {
  font-style: italic; color: var(--orange);
  font-variation-settings: "opsz" 144;
}
.section-head p { font-size: 17px; line-height: 1.6; color: var(--slate); max-width: 480px; }

/* ===== PROSE (article/long-form content) ===== */
.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
  font-variation-settings: "opsz" 144;
}
.prose h2 em { font-style: italic; color: var(--orange); }
.prose h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
  font-variation-settings: "opsz" 144;
}
.prose p { font-size: 17px; line-height: 1.65; color: var(--slate); margin-bottom: 20px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 20px; }
.prose li { font-size: 17px; line-height: 1.65; color: var(--slate); margin-bottom: 10px; }
.prose li::marker { color: var(--orange); font-weight: 600; }
.prose strong { color: var(--charcoal); font-weight: 600; }
.prose a { color: var(--orange); font-weight: 500; }
.prose a:hover { text-decoration: underline; }

/* Answer box — the AEO lead answer under a question H2 */
.answer-box {
  background: var(--cream);
  border-left: 3px solid var(--orange);
  padding: 24px 28px;
  border-radius: 0 4px 4px 0;
  margin: 0 0 28px;
}
.answer-box p { font-size: 18px; line-height: 1.6; color: var(--charcoal); margin: 0; }
.answer-box strong { color: var(--charcoal); }

/* Honest framing callout */
.honest-callout {
  background: var(--charcoal);
  color: var(--cream);
  padding: 32px 36px;
  border-radius: 4px;
  margin: 36px 0;
}
.honest-callout h4 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--orange);
  font-variation-settings: "opsz" 144;
}
.honest-callout p { font-size: 16px; line-height: 1.6; opacity: 0.9; margin: 0; color: var(--cream); }

/* Data table (cost tables etc.) */
.data-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.data-table th {
  text-align: left;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 2px solid var(--charcoal);
  background: var(--cream);
}
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--slate); line-height: 1.5; }
.data-table td:first-child { color: var(--charcoal); font-weight: 500; }
.data-table tr:hover td { background: var(--cream); }

/* Checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 14px; margin: 24px 0; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px; line-height: 1.55; color: var(--slate);
}
.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* Photo placeholder — used until Brian provides real job photos (no stock, ever) */
.photo-placeholder {
  background: var(--cream-warm);
  border: 1.5px dashed var(--border-dark);
  border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  color: var(--slate-soft);
  text-align: center;
  padding: 24px;
  min-height: 240px;
}
.photo-placeholder .ph-icon { font-size: 28px; opacity: 0.5; }
.photo-placeholder .ph-label { font-size: 13px; font-weight: 600; color: var(--slate); }
.photo-placeholder .ph-note { font-size: 12px; max-width: 260px; }

/* ===== SERVICE CARDS ===== */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
  position: relative;
  background: var(--cream);
  padding: 36px 32px 32px;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
  display: flex; flex-direction: column;
  min-height: 380px;
}
a.service-card { cursor: pointer; }
.service-card:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-4px);
  border-color: var(--charcoal);
}
.service-card.featured { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.service-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 24px;
}
.service-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  font-variation-settings: "opsz" 144;
}
.service-card h3 em { font-style: italic; font-variation-settings: "opsz" 144; }
.service-card p { font-size: 14px; line-height: 1.55; opacity: 0.75; margin-bottom: 32px; flex-grow: 1; }
.service-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: auto;
  transition: gap 0.2s;
}
.service-card:hover .service-arrow,
.service-card.featured .service-arrow { color: var(--orange); }
.service-card:hover .service-arrow { gap: 12px; }
.featured-ribbon {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
}

/* ===== DARK FEATURE SECTION (GoNano band) ===== */
.gonano { background: var(--charcoal); color: var(--cream); position: relative; overflow: hidden; }
.gonano::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
}
.gonano-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; position: relative; }
.gonano .eyebrow { color: var(--orange); }
.gonano h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}
.gonano h2 em { font-style: italic; color: var(--orange); font-variation-settings: "opsz" 144; }
.gonano-lead { font-size: 19px; line-height: 1.55; opacity: 0.8; margin-bottom: 40px; max-width: 480px; }
.gonano-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 48px; margin-bottom: 40px; }
.gonano-stat-num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
  font-variation-settings: "opsz" 144;
}
.gonano-stat-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.gonano-visual { position: relative; aspect-ratio: 1.1/1; border-radius: 4px; overflow: hidden; }
.gonano-visual img { width: 100%; height: 100%; object-fit: cover; }
.gonano-overlay {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(248, 243, 236, 0.96);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
  border-radius: 4px;
  color: var(--charcoal);
}
.gonano-overlay strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  font-variation-settings: "opsz" 144;
}
.gonano-overlay span { font-size: 13px; color: var(--slate); }

/* ===== WHY / TWO-COL ===== */
.why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.why-content h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  font-variation-settings: "opsz" 144;
}
.why-content h2 em { font-style: italic; color: var(--orange); font-variation-settings: "opsz" 144; }
.why-content > p { font-size: 18px; line-height: 1.6; color: var(--slate); margin-bottom: 40px; }
.why-list { list-style: none; display: grid; gap: 20px; }
.why-list li { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.why-list li:last-child { border-bottom: none; }
.why-list-num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  width: 32px;
  padding-top: 2px;
  font-variation-settings: "opsz" 144;
}
.why-list h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}
.why-list p { font-size: 15px; line-height: 1.55; color: var(--slate); }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.stat-cell { background: var(--white); padding: 40px 32px; }
.stat-num {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
}
.stat-num em { font-style: italic; color: var(--orange); font-variation-settings: "opsz" 144; }
.stat-label { font-size: 13px; line-height: 1.4; color: var(--slate); font-weight: 500; }

/* ===== PROCESS STEPS ===== */
.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { position: relative; padding-top: 32px; border-top: 2px solid var(--charcoal); }
.process-step.active { border-top-color: var(--orange); }
.process-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-variation-settings: "opsz" 144;
}
.process-step.active .process-num { color: var(--orange); }
.process-step h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-variation-settings: "opsz" 144;
}
.process-step p { font-size: 14px; line-height: 1.55; color: var(--slate); }

/* ===== REVIEWS ===== */
.reviews { background: var(--charcoal); color: var(--cream); }
.reviews-head h2 { color: var(--cream); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: rgba(248,243,236,0.04);
  border: 1px solid rgba(248,243,236,0.1);
  padding: 36px 32px;
  border-radius: 4px;
  display: flex; flex-direction: column;
  min-height: 320px;
}
/* Light variant for cream/white backgrounds */
.reviews-light .review-card { background: var(--white); border: 1px solid var(--border); color: var(--charcoal); }
.reviews-light .review-meta { border-top-color: var(--border); }
.review-stars { color: var(--orange); font-size: 16px; letter-spacing: 2px; margin-bottom: 24px; }
.review-card blockquote {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  flex-grow: 1;
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}
.review-meta {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(248,243,236,0.1);
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.review-name strong { display: block; font-size: 14px; font-weight: 600; }
.review-name span { font-size: 12px; opacity: 0.6; }

/* ===== SERVICE AREA ===== */
.area { background: var(--cream-warm); }
.area-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.area-content h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}
.area-content h2 em { font-style: italic; color: var(--orange); font-variation-settings: "opsz" 144; }
.area-content > p { font-size: 17px; line-height: 1.6; color: var(--slate); margin-bottom: 32px; }
.cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--border); }
.cities a, .cities span {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.2s, color 0.2s;
}
.cities a:hover { color: var(--orange); padding-left: 8px; }
.cities a::after { content: '→'; color: var(--slate); font-size: 14px; }
.cities a:hover::after { color: var(--orange); }
.cities span { color: var(--slate-soft); }

.map-visual {
  background: var(--white);
  border: 1px solid var(--border);
  aspect-ratio: 1/1;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  padding: 32px;
}
.map-svg { width: 100%; height: 100%; }

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 28px 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.faq-q h4, .faq-q h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  font-variation-settings: "opsz" 144;
}
.faq-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-item.open .faq-toggle { background: var(--orange); color: var(--white); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 28px; }
.faq-a p { font-size: 16px; line-height: 1.6; color: var(--slate); max-width: 640px; }

/* ===== CONTACT FORM ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
}
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* Contact info card */
.contact-card {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 4px;
  padding: 40px 36px;
}
.contact-card h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}
.contact-card h3 em { font-style: italic; color: var(--orange); }
.contact-rows { display: grid; gap: 22px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(232,93,26,0.15);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.contact-row strong { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.contact-row a, .contact-row p { font-size: 16px; line-height: 1.5; color: var(--cream); opacity: 0.9; }
.contact-row a:hover { color: var(--orange); opacity: 1; }

/* ===== GALLERY ===== */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.gallery-filter {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border-dark);
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-filter:hover { border-color: var(--charcoal); color: var(--charcoal); }
.gallery-filter.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { border-radius: 4px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-item .photo-placeholder { aspect-ratio: 4/3; min-height: 0; }
.gallery-caption { padding: 14px 4px 0; }
.gallery-caption strong { display: block; font-size: 14px; font-weight: 600; color: var(--charcoal); }
.gallery-caption span { font-size: 12px; color: var(--slate-soft); }

/* ===== BLOG CARDS ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(26,22,20,0.15); }
.blog-card-img { aspect-ratio: 16/9; background: var(--cream-warm); }
.blog-card-img .photo-placeholder { min-height: 0; height: 100%; }
.blog-card-body { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 14px;
}
.blog-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 144;
}
.blog-card p { font-size: 14px; line-height: 1.55; color: var(--slate); margin-bottom: 24px; flex-grow: 1; }
.blog-card .service-arrow { color: var(--charcoal); }
.blog-card:hover .service-arrow { color: var(--orange); gap: 12px; }

/* Author byline (E-E-A-T) */
.byline {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 28px 0 40px;
}
.byline-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  flex-shrink: 0;
}
.byline strong { display: block; font-size: 14px; font-weight: 600; color: var(--charcoal); }
.byline span { font-size: 13px; color: var(--slate-soft); }

/* ===== FINAL CTA ===== */
.cta-final {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before, .cta-final::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-final::before { top: -250px; left: -100px; }
.cta-final::after { bottom: -250px; right: -100px; }
.cta-final-inner { position: relative; }
.cta-final h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 5.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-variation-settings: "opsz" 144;
}
.cta-final h2 em { font-style: italic; font-variation-settings: "opsz" 144; }
.cta-final p {
  font-size: 19px;
  opacity: 0.92;
  margin-bottom: 48px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-final .btn-primary { background: var(--white); color: var(--charcoal); }
.cta-final .btn-primary:hover { background: var(--charcoal); color: var(--white); }
.cta-final .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.cta-final .btn-secondary:hover { background: var(--white); color: var(--orange); border-color: var(--white); }

/* ===== FOOTER ===== */
footer { background: var(--charcoal); color: var(--cream); padding: 100px 32px 32px; }
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(248,243,236,0.1);
}
.footer-brand p { font-size: 14px; line-height: 1.6; opacity: 0.6; margin-top: 24px; max-width: 320px; }
.footer-col h5 {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--orange);
  font-variation-settings: "opsz" 144;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 14px; opacity: 0.7; }
.footer-col a { font-size: 14px; opacity: 1; transition: opacity 0.2s, color 0.2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  opacity: 0.5;
}

/* ===== STICKY MOBILE CALL BUTTON ===== */
.sticky-call {
  display: none;
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  z-index: 90;
  background: var(--orange);
  color: var(--white);
  padding: 16px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 10px 30px -8px rgba(232,93,26,0.5);
}

/* ===== INSTANT QUOTE SLIDE-OUT TAB ===== */
.slide-tab {
  position: fixed;
  right: 0; top: 50%;
  transform: translateY(-50%);
  background: var(--charcoal);
  color: var(--white);
  padding: 18px 14px;
  border-radius: 8px 0 0 8px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  z-index: 80;
  cursor: pointer;
  transition: background 0.2s, padding 0.2s;
}
.slide-tab:hover { background: var(--orange); padding-right: 18px; }
.slide-tab span { color: var(--orange); }
.slide-tab:hover span { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
  }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { aspect-ratio: 16/10; max-height: 500px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .service-grid, .service-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .gonano-inner, .why-grid, .area-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  section { padding: 80px 32px; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 14px 20px; }
  .phone-link, .nav-actions .btn-ghost { display: none; }
  .hero { padding: 60px 20px 100px; }
  .page-hero { padding: 48px 20px 64px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .service-grid, .service-grid.cols-3 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .cities { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .sticky-call { display: block; }
  .slide-tab { display: none; }
  section { padding: 64px 20px; }
  .hero-badge { left: -12px; bottom: -20px; padding: 16px 20px; }
  .hero-badge-icon { width: 40px; height: 40px; font-size: 18px; }
  .gonano-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
}
