/* Surreal Painting Inc. â€” shared site styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #C41E3A;
  --primary-dark: #a01830;
  --secondary: #2C3E50;
  --dark: #141820;
  /* Section wash â€” a step cooler/darker so white cards read clearly on it */
  --light: #eef1f4;
  --white: #fff;
  /* Body/secondary text â€” darker for light backgrounds */
  --gray: #3a4250;
  --gray-light: #d0d7de;
  --card-border: #c8d0d8;
  --shadow-sm: 0 2px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,.12);
  --shadow-lg: 0 10px 28px rgba(28, 40, 55, 0.16);
  --radius: 8px;
  --t: all .3s ease;
  --header-h: 88px;
  --sticky-h: 56px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  font-size: 17px;
  color: var(--dark);
  background: var(--white);
  padding-bottom: 0;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body.has-sticky-cta { padding-bottom: var(--sticky-h); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Header â€” full-bleed bar: logo left edge, Free Quote right edge, nav dead-center */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}
header .container {
  max-width: none;
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  min-height: var(--header-h);
  padding: 8px 28px;
  box-sizing: border-box;
}
header .logo {
  flex: 0 0 auto;
}
/* Desktop links are a real <nav>, never inside closed <details>. */
header .header-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  min-width: 0;
}
header .header-nav a {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 12px;
  letter-spacing: 0.01em;
}
header .nav-drawer {
  display: none;
}
header .header-cta,
header > .container > .btn-nav,
header .btn-nav.header-cta {
  flex: 0 0 auto;
  margin-left: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* Crest + wordmark â€” PNG transparent; hide extra text label in HTML via .logo-text */
.logo-img {
  height: 78px;
  width: auto;
  max-width: min(280px, 28vw);
  object-fit: contain;
  display: block;
}
.logo-text {
  /* Wordmark is in the logo file â€” keep for a11y only when present */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Phone logo sizing lives under the 900px slim-header block (logo hidden on mobile) */
/* Nav â€” bigger, black, spaced for easy click + visual pop */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 32px; /* more space between labels */
  min-width: 0;
}
nav a {
  font-size: 18px; /* bigger */
  font-weight: 700;
  color: #000; /* black for max pop on white header */
  transition: var(--t);
  white-space: nowrap;
  padding: 10px 8px; /* larger hit target */
  letter-spacing: 0.015em;
}
nav a:hover,
nav a.active {
  color: var(--primary);
}
.btn-nav,
.header-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: var(--t);
  flex-shrink: 0;
}
.btn-nav:hover,
.header-cta:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
}

.serving-bar {
  background: var(--light);
  border-bottom: 1px solid var(--gray-light);
  padding: 6px 0;
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  line-height: 1.4;
}
.serving-bar strong { color: var(--secondary); font-weight: 600; }
.serving-bar .serving-full { display: inline; }
.serving-bar .serving-short { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: var(--t);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--gray-light);
}
.btn-secondary:hover {
  border-color: var(--secondary);
  background: var(--secondary);
  color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-light:hover { background: var(--white); color: var(--secondary); }
.btn-large { padding: 18px 40px; font-size: 18px; }
.btn-google {
  background: #1a73e8;
  color: var(--white);
}
.btn-google:hover { background: #1557b0; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Hero â€” photo background (TriColor exterior) */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background-color: #1a252f;
  background-image: url("/assets/img/tricolor.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 18, 28, 0.72) 0%,
    rgba(12, 18, 28, 0.78) 55%,
    rgba(12, 18, 28, 0.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}
.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.hero p strong { color: #fff; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.hero .btn-secondary:hover {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--white);
}

/* Service page feature photo */
.service-feature {
  max-width: 920px;
  margin: 0 auto 36px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #f0f2f5;
}
.service-feature img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  vertical-align: middle;
}

.page-hero {
  padding: 118px 24px 56px;
  background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
  color: var(--white);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}
.page-hero p {
  font-size: 18px;
  opacity: .92;
  max-width: 700px;
  margin: 0 auto 28px;
}
.page-hero .hero-buttons { margin-top: 8px; }

/* Sections */
section { padding: 80px 0; }
.section-light { background: var(--light); }
.section-white { background: var(--white); }
.section-dark {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
  color: var(--white);
}
.section-dark h2 { color: var(--white); }
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-dark .section-subtitle { color: rgba(255,255,255,.85); }

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 30, 58, 0.45);
}
.card-link { display: block; color: inherit; }
.card-link:hover .card-cta { text-decoration: underline; }
.card-icon { font-size: 40px; margin-bottom: 14px; }
.card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}
.card p { color: var(--gray); line-height: 1.7; margin-bottom: 14px; font-size: 1em; }
.card .card-cta {
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  min-height: 200px;
  background: var(--gray-light);
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--t);
}
.gallery-item:hover img { transform: scale(1.06); }
/* Before/after collages: show full frame, not crop */
.gallery-item img[src*="before-after"],
.gallery-item img[src*="before-and-after"] {
  object-fit: contain;
  background: #1a1a1a;
}
.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

/* Testimonials */
.testimonial-feature {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--t);
}
.testimonial-card-featured {
  text-align: left;
  padding: 28px 32px 32px;
}
.testimonial-card-featured .testimonial-stars {
  text-align: left;
  margin-bottom: 14px;
}
.testimonial-card-featured .testimonial-text {
  margin-bottom: 12px;
  font-size: 16.5px;
  line-height: 1.7;
}
.testimonial-card-featured .testimonial-text:last-of-type {
  margin-bottom: 18px;
}
.testimonial-source {
  display: inline-block;
  margin-left: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
}
.testimonial-card:hover {
  border-color: rgba(196, 30, 58, 0.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testimonial-stars {
  color: #f5c518;
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: 3px;
}
.testimonial-text {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-author { font-weight: 600; color: var(--secondary); }

/* Content pages */
.prose {
  max-width: 800px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 28px;
  color: var(--secondary);
  margin: 40px 0 16px;
}
.prose h3 {
  font-size: 20px;
  color: var(--secondary);
  margin: 28px 0 12px;
}
.prose p { color: var(--gray); margin-bottom: 16px; line-height: 1.75; }
.prose ul, .prose ol {
  margin: 0 0 20px 1.25rem;
  color: var(--gray);
  line-height: 1.75;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--primary); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--dark); }
.prose figure { margin: 24px 0 28px; }
.prose figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.prose figcaption {
  font-size: 0.92rem;
  color: var(--gray);
  margin-top: 8px;
  line-height: 1.45;
}
.prose .photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 28px;
}
@media (max-width: 700px) {
  .prose .photo-row { grid-template-columns: 1fr; }
}

.process-steps {
  display: grid;
  gap: 20px;
  margin: 32px 0;
}
.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  border-radius: var(--radius);
  transition: var(--t);
}
.process-step:hover {
  border-color: rgba(196, 30, 58, 0.4);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.process-step h3 { margin: 0 0 6px; font-size: 18px; color: var(--secondary); }
.process-step p { margin: 0; color: var(--gray); font-size: 15px; }

.faq-list { margin-top: 24px; }
.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.faq-item:hover {
  border-color: rgba(196, 30, 58, 0.4);
  box-shadow: var(--shadow-md);
}
.faq-item h3 {
  font-size: 17px;
  color: var(--secondary);
  margin-bottom: 8px;
}
.faq-item p { color: var(--gray); margin: 0; font-size: 15px; line-height: 1.65; }
.faq-item a { color: var(--primary); font-weight: 600; }

/* Prices page emphasis */
.text-quality {
  color: var(--dark);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.price-tiers-label {
  color: var(--dark);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.price-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: left; /* long copy looks ragged when centered */
  color: var(--gray);
  font-size: 18.5px;
  line-height: 1.75;
}
.price-intro p { margin-bottom: 16px; }
.price-intro p:last-child { margin-bottom: 0; }
/* Only quality-first + Good/Better/Best should really pop */
.price-intro strong {
  font-weight: 600;
  color: inherit;
}
.price-intro .text-quality,
.price-intro .price-tiers-label {
  color: var(--dark);
  font-weight: 800;
}
/* Tier labels (Good:/Better:/Best:) stay clear as list headers */
.price-intro p strong:first-child {
  color: var(--secondary);
  font-weight: 700;
}
.price-card .price-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin: 8px 0 12px;
  line-height: 1.3;
}
.price-card .price-note {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

/* AEO-friendly price table */
.price-table-wrap {
  max-width: 880px;
  margin: 0 auto 36px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.price-table th,
.price-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-light);
}
.price-table thead th {
  background: var(--secondary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:nth-child(even) { background: #f7f9fb; }
.price-table tbody tr:hover { background: rgba(196, 30, 58, 0.06); }
.price-table .price-job {
  font-weight: 700;
  color: var(--secondary);
  display: block;
  margin-bottom: 4px;
}
.price-table .price-job-note {
  font-weight: 400;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}
.price-table .price-range {
  font-weight: 800;
  color: var(--primary);
  font-size: 17px;
  white-space: nowrap;
}
.price-fineprint {
  max-width: 880px;
  margin: 0 auto 8px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  text-align: center;
}
@media (max-width: 640px) {
  .price-table thead { display: none; }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }
  .price-table tr {
    padding: 14px 16px 16px;
    border-bottom: 1px solid var(--gray-light);
  }
  .price-table tbody tr:last-child { border-bottom: none; }
  .price-table td {
    padding: 4px 0;
    border: none;
  }
  .price-table .price-range {
    font-size: 20px;
    margin-top: 6px;
    white-space: normal;
  }
}

/* Price anchors on service cards */
.price-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.card-link .price-badge { pointer-events: none; }

/* Netlify quote form (homepage contact) */
.quote-form {
  max-width: 720px;
  margin: 0 auto 8px;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.quote-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.quote-form label.quote-full { grid-column: 1 / -1; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.quote-form select option { color: var(--dark); }
.quote-form button[type="submit"] {
  width: 100%;
  border: none;
  cursor: pointer;
  font: inherit;
}
.quote-fine {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .quote-grid { grid-template-columns: 1fr; }
}

.cta-band {
  text-align: center;
  padding: 56px 24px;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin-bottom: 28px; opacity: .9; }
.cta-band .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact strip */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
}
.contact-item a:hover { color: var(--primary); }
.section-dark .contact-item a:hover { color: #ffb3c0; }

/* Blog */
.blog-list { display: grid; gap: 24px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 30, 58, 0.45);
  transform: translateY(-4px);
}
.blog-card .meta {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}
.blog-card h2 {
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 10px;
}
.blog-card p { color: var(--gray); margin-bottom: 14px; }
.blog-card .read-more { color: var(--primary); font-weight: 600; }

.article-meta {
  text-align: center;
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 32px;
}

/* Review engine */
.review-box {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
}
.review-box h3 { color: var(--secondary); margin-bottom: 10px; }
.review-box p { color: var(--gray); margin-bottom: 16px; }
.review-scripts {
  background: var(--white);
  border-left: 4px solid var(--primary);
  padding: 16px 18px;
  margin: 16px 0;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.65;
}
.review-scripts strong { display: block; margin-bottom: 6px; color: var(--secondary); }

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
  color: rgba(255,255,255,.9);
}
.footer-grid a {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  margin-bottom: 8px;
  transition: var(--t);
}
.footer-grid a:hover { color: var(--white); }
.footer-cities {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}
.footer-cities strong {
  display: block;
  color: rgba(255,255,255,.9);
  margin-bottom: 8px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer-bottom p { margin: 4px 0; }

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
  min-height: var(--sticky-h);
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sticky-cta:hover { background: var(--primary-dark); color: var(--white); }

/* Related links */
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.related a {
  background: var(--white);
  color: var(--secondary);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.related a:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ========== Responsive / mobile ========== */
@media (max-width: 1100px) {
  header .container { padding: 8px 16px; gap: 8px 12px; }
  .logo-img { height: 68px; }
  header .header-nav a { font-size: 15px; padding: 10px 8px; }
}

@media (max-width: 900px) {
  /*
   * Compact phone bar (~56–64px closed):
   * [small logo] ........ [Free Quote pill] [☰]
   * Full link list only inside hamburger dropdown — no multi-row wrap.
   */
  header {
    position: sticky;
    top: 0;
  }

  header .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 6px 10px;
    min-height: 56px;
    max-height: 64px;
    box-sizing: border-box;
  }

  header .logo {
    display: flex;
    order: 1;
    flex-shrink: 0;
    margin-right: auto; /* push CTA + hamburger to the right */
    max-width: 46vw;
  }

  header .logo .logo-img,
  header .logo-img {
    height: 40px;
    max-height: 40px;
    width: auto;
    max-width: min(140px, 42vw);
    object-fit: contain;
  }

  /* DOM: logo, drawer, cta → visual: logo | cta | hamburger */
  header .header-cta,
  header .btn-nav {
    order: 2;
    flex-shrink: 0;
    justify-self: unset;
    grid-area: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    min-height: 40px;
    line-height: 1;
    border-radius: 8px;
  }

  header .header-nav {
    display: none !important;
  }

  header .nav-drawer {
    order: 3;
    display: block;
    position: relative;
    flex-shrink: 0;
    justify-self: unset;
    grid-area: unset;
  }

  header .nav-drawer-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 0; /* icon-only hamburger */
    font-weight: 700;
  }
  header .nav-drawer-btn::-webkit-details-marker { display: none; }
  header .nav-drawer-btn::marker { content: ""; }
  header .nav-drawer-icon {
    width: 18px;
    height: 14px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
  }
  header .nav-drawer-icon::before,
  header .nav-drawer-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
    border-radius: 1px;
  }
  header .nav-drawer-icon::before {
    top: 0;
    box-shadow: 0 6px 0 #fff;
  }
  header .nav-drawer-icon::after {
    bottom: 0;
  }
  header .nav-drawer-label {
    /* Screen-reader / summary text kept in HTML; hide visually for slim bar */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* Dropdown under hamburger — never inline multi-row chips */
  header .nav-drawer nav {
    display: none !important;
    position: absolute;
    right: 0;
    left: auto;
    transform: none;
    top: calc(100% + 8px);
    width: min(300px, calc(100vw - 20px));
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 8px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2px;
    z-index: 1200;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  header .nav-drawer[open] nav {
    display: flex !important;
  }
  header .nav-drawer nav a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    padding: 12px 14px;
    border-radius: 8px;
    background: transparent;
    border: none;
    text-align: left;
    white-space: normal;
  }
  header .nav-drawer nav a.active {
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary);
  }
  header .nav-drawer nav a:active {
    background: var(--light);
  }

  .container,
  .container-narrow {
    padding-left: 16px;
    padding-right: 16px;
  }

  .serving-bar .serving-full { display: none; }
  .serving-bar .serving-short { display: inline; }

  /* Sticky call bar on phones */
  .sticky-cta {
    display: flex;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    font-size: 15px;
  }
  body.has-sticky-cta {
    padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  }

  /* Hero / page heroes — less wasted top space now that header is sticky */
  .hero {
    min-height: auto;
    padding: 48px 16px 56px;
    background-position: center 30%;
  }
  .hero h1 {
    font-size: clamp(26px, 7vw, 36px);
    margin-bottom: 14px;
  }
  .hero p {
    font-size: 16px;
    margin-bottom: 22px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .page-hero {
    padding: 40px 16px 36px;
  }
  .page-hero h1 {
    font-size: clamp(24px, 6.5vw, 34px);
  }
  .page-hero p {
    font-size: 16px;
  }

  section { padding: 48px 0; }
  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }
  .section-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
    padding: 0 4px;
  }

  /* Force single-column cards / grids */
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gallery-item {
    min-height: 220px;
  }

  .btn-large {
    width: 100%;
    max-width: none;
    padding: 16px 20px;
    font-size: 16px;
  }
  .btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-row .btn {
    width: 100%;
  }
  .contact-info {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .card {
    padding: 22px 18px;
  }
  .process-step {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 16px;
  }
  .step-num {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }
  .footer-cities {
    font-size: 12px;
  }

  .related {
    gap: 8px;
  }
  .related a {
    font-size: 13px;
    padding: 8px 12px;
  }

  .price-intro {
    font-size: 16.5px;
    max-width: 100%;
  }
  .price-table-wrap {
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--radius);
  }
  .price-table .price-range {
    white-space: normal;
  }

  .quote-form {
    padding: 20px 16px;
    max-width: 100%;
  }
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cta-band {
    padding: 40px 12px;
  }
  .cta-band .btn-row {
    flex-direction: column;
  }

  .prose {
    font-size: 16px;
  }
  .service-feature {
    margin-bottom: 24px;
  }

  /* Avoid hover lift jank on touch */
  .card:hover,
  .blog-card:hover,
  .testimonial-card:hover,
  .related a:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container,
  .container-narrow {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* Keep single-row bar; slightly tighter logo/CTA on narrow phones */
  header .container {
    min-height: 56px;
    max-height: 60px;
    padding: 5px 8px;
    gap: 6px;
  }
  header .logo .logo-img,
  header .logo-img {
    height: 36px;
    max-height: 36px;
    max-width: min(120px, 38vw);
  }
  header .header-cta,
  header .btn-nav {
    padding: 7px 10px;
    font-size: 12px;
    min-height: 36px;
  }
  header .nav-drawer-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
  header nav a {
    font-size: 13px;
    padding: 7px 12px;
  }
  .hero {
    padding: 36px 14px 48px;
  }
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-outline-light {
    font-size: 15px;
    padding: 13px 18px;
  }
}

/* Form honeypot — off-screen for spam bots */
.quote-honeypot-field { position:absolute; left:-9999px; height:0; width:0; opacity:0; overflow:hidden; }
.quote-honeypot { display:none !important; }


/* Breadcrumbs — subpages */
.breadcrumbs {
  background: var(--light);
  border-bottom: 1px solid var(--gray-light);
  padding: 8px 0;
  font-size: 13px;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  color: var(--gray);
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--gray-light);
}
.breadcrumbs a {
  color: var(--secondary);
  font-weight: 600;
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current="page"] {
  color: var(--dark);
  font-weight: 600;
}
.footer-bottom a {
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover { color: #fff; }
.footer-nap { margin-bottom: 6px !important; }
