/* JR Stone Design - shared base styles
 * Brand palette:
 *   --navy: #001D7E (primary blue, CTAs, headings)
 *   --red: #D63638 (accent, highlights)
 *   --white: #FFFFFF
 *   --charcoal: #1A1A1A (body text)
 *   --stone: #6B6B6B (secondary text)
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #001D7E;
  --navy-dark: #00154E;
  --navy-light: #1A3A9E;
  --red: #D63638;
  --red-dark: #AD2A2C;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --cream: #F7F5F0;
  --charcoal: #1A1A1A;
  --stone: #6B6B6B;
  --stone-light: #C8C8C8;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-serif: 'Libre Bodoni', 'Playfair Display', Georgia, serif;
  --font-sans: 'Nunito Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red); }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo > div { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  white-space: nowrap;
}
.nav-logo-sub { white-space: nowrap; }
.nav-logo-sub { font-size: 0.7rem; color: var(--stone); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.85rem;
  color: var(--charcoal);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  display: inline-block;
}
.nav-cta:hover { background: var(--navy-dark); color: var(--white) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--charcoal); }
.nav-toggle svg { width: 24px; height: 24px; }

/* Nav dropdown submenu */
.nav-links .has-submenu { position: relative; }
.nav-links .has-submenu > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: var(--charcoal);
  vertical-align: middle;
  transform: translateY(2px);
}
.nav-links .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  list-style: none;
  padding: 8px 0;
  min-width: 200px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  z-index: 90;
}
.nav-links .has-submenu:hover .submenu,
.nav-links .has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .submenu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--charcoal);
  white-space: nowrap;
}
.nav-links .submenu a:hover { background: var(--cream); color: var(--navy); }
.nav-links .submenu a[aria-current="page"] { color: var(--navy); font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 24px 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: -1;
}
.hero-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--white);
  background: var(--red);
  padding: 7px 16px;
  border-radius: 100px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  -webkit-font-smoothing: antialiased;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 820px;
}
.hero h1 em { color: #FF6B70; font-style: italic; font-weight: 500; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: geometricPrecision; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 32px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--navy); }
.btn-secondary:hover { background: var(--off-white); color: var(--navy-dark); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Section */
.section { padding: 72px 24px; }
.section-sm { padding: 48px 24px; }
.section-lg { padding: 100px 24px; }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-header p { color: var(--stone); font-size: 1.05rem; margin-top: 12px; }

/* Grid utility */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; font-size: 1.25rem; }
.card-body p { color: var(--stone); font-size: 0.95rem; margin-bottom: 16px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
}
.card-link:hover { color: var(--red); gap: 10px; }

/* Feature items (icon + text) */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 29, 126, 0.08);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--navy);
}
.feature h4 { margin-bottom: 6px; }
.feature p { color: var(--stone); font-size: 0.93rem; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 56px 24px;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 16px; }
.cta-strip p { max-width: 640px; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.92); }

/* FAQ details */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq details[open] summary { color: var(--navy); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  gap: 16px;
  padding-right: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--red); font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq summary .plus { transition: transform 0.2s; display: inline-block; }
.faq details p { margin-top: 12px; color: var(--stone); font-size: 0.98rem; line-height: 1.75; }

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { font-size: 0.85rem; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; display: block; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--navy);
}
.form textarea { resize: vertical; min-height: 140px; }
.form button { width: 100%; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 24px 32px;
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 44px; }
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
}
.footer-col h5 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.footer-bottom {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: var(--white); }

/* Breadcrumb */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 0.85rem;
  color: var(--stone);
}
.breadcrumb a { color: var(--stone); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-sep { margin: 0 8px; color: var(--stone-light); }

/* Location page specific */
.location-hero { background: var(--navy); padding: 80px 24px 60px; color: var(--white); }
.location-hero h1 { color: var(--white); }
.location-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  padding: 60px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.location-body h2 { margin: 36px 0 12px; }
.location-body h3 { margin: 24px 0 10px; font-size: 1.25rem; }
.location-body p { color: var(--charcoal); font-size: 1rem; margin-bottom: 16px; line-height: 1.8; }
.location-body ul { margin: 8px 0 20px 24px; }
.location-body ul li { color: var(--charcoal); font-size: 0.98rem; line-height: 1.75; margin-bottom: 6px; }
.location-sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-card {
  background: var(--navy);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
}
.sidebar-card h3 { color: var(--white); margin-bottom: 12px; }
.sidebar-card p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; margin-bottom: 20px; }

/* Sidebar quote form card on location pages */
.sidebar-form-card {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 24px 24px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.sidebar-form-card h3 {
  color: var(--navy);
  margin: 0 0 4px;
  font-size: 1.25rem;
}
.sidebar-form-card .sub {
  color: var(--stone);
  font-size: 0.88rem;
  margin: 0 0 14px;
  line-height: 1.5;
}
.sidebar-form-card .sidebar-phone {
  display: block;
  text-align: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 14px;
  background: var(--navy);
  border-radius: var(--radius);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}
.sidebar-form-card .sidebar-phone:hover {
  background: var(--navy-dark);
}
.sidebar-form-card form { display: grid; gap: 10px; }
.sidebar-form-card input,
.sidebar-form-card select,
.sidebar-form-card textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s;
}
.sidebar-form-card input:focus,
.sidebar-form-card select:focus,
.sidebar-form-card textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.sidebar-form-card textarea { resize: vertical; min-height: 70px; }
.sidebar-form-card .disclaimer {
  font-size: 0.72rem;
  color: var(--stone);
  margin: 4px 0 0;
  line-height: 1.5;
  text-align: center;
}
.sidebar-phone {
  display: block;
  background: var(--red);
  color: var(--white) !important;
  padding: 14px 20px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.sidebar-phone:hover { background: var(--red-dark); }
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 24px; font-size: 0.9rem; }
.sidebar-list strong { color: var(--white); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.sidebar-list span { color: rgba(255, 255, 255, 0.85); }

/* Cities strip */
.cities { padding: 56px 24px; background: var(--cream); }
.cities-grid { max-width: var(--container); margin: 24px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.city-link {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--charcoal);
  text-decoration: none;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.city-link::before { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.city-link:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }

/* =================================================================
   Interior page layout — prose, alternating text/image, quote form
   ================================================================= */

/* Prose column — long-form content like cabinetry/countertops pages */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 + p { margin-top: 0; }
.prose h3 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
}
.prose p {
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
  text-wrap: pretty;
}
.prose ul, .prose ol {
  margin: 12px 0 24px 22px;
}
.prose li {
  color: var(--charcoal);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 10px;
  padding-left: 6px;
}
.prose li::marker { color: var(--red); }
.prose strong { color: var(--charcoal); font-weight: 600; }
.prose a { color: var(--navy); border-bottom: 1px solid rgba(0,29,126,0.25); }
.prose a:hover { color: var(--red); border-bottom-color: var(--red); }

/* Lead paragraph — first paragraph after an intro heading */
.prose .lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--charcoal);
  font-weight: 400;
  margin-bottom: 24px;
}

/* Inline prose image — breaks out slightly wider than text */
.prose-image {
  margin: 40px -40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.prose-image img {
  width: 100%;
  height: auto;
  display: block;
}
.prose-image figcaption {
  font-size: 0.85rem;
  color: var(--stone);
  text-align: center;
  padding: 12px 20px;
  background: var(--cream);
  font-style: italic;
}
@media (max-width: 820px) {
  .prose-image { margin-left: 0; margin-right: 0; }
}

/* Alternating text + image feature rows */
.feature-row {
  padding: 80px 24px;
}
.feature-row + .feature-row {
  border-top: 1px solid var(--border);
}
.feature-row-alt {
  background: var(--cream);
}
.feature-row-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row-reverse .feature-row-inner {
  direction: rtl;
}
.feature-row-reverse .feature-row-inner > * {
  direction: ltr;
}
.feature-row-text .section-eyebrow { margin-bottom: 12px; }
.feature-row-text h2 {
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.feature-row-text p {
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.feature-row-text ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.feature-row-text ul li {
  position: relative;
  padding-left: 28px;
  color: var(--charcoal);
  font-size: 0.98rem;
  line-height: 1.6;
}
.feature-row-text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--red);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.feature-row-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--cream);
}
.feature-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 820px) {
  .feature-row { padding: 56px 20px; }
  .feature-row-inner { grid-template-columns: 1fr; gap: 32px; }
  .feature-row-reverse .feature-row-inner { direction: ltr; }
  .feature-row-img { order: -1; }
}

/* Compact variant: smaller image, tighter row, used for stacking multiple cards */
.feature-row-compact { padding: 48px 24px; }
.feature-row-compact + .feature-row-compact { border-top: none; }
.feature-row-compact .feature-row-inner {
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  max-width: 1100px;
}
.feature-row-compact.feature-row-reverse .feature-row-inner {
  grid-template-columns: 1fr 1.1fr;
}
.feature-row-compact .feature-row-img {
  aspect-ratio: 4 / 3;
  max-width: 480px;
  justify-self: end;
}
.feature-row-compact.feature-row-reverse .feature-row-img {
  justify-self: start;
}
.feature-row-compact .feature-row-text h2 { font-size: 1.75rem; margin-bottom: 14px; }
.feature-row-compact .feature-row-text p { font-size: 1rem; margin-bottom: 12px; }
@media (max-width: 820px) {
  .feature-row-compact { padding: 36px 20px; }
  .feature-row-compact .feature-row-inner { grid-template-columns: 1fr; gap: 24px; }
  .feature-row-compact.feature-row-reverse .feature-row-inner { grid-template-columns: 1fr; }
  .feature-row-compact .feature-row-img { max-width: 100%; justify-self: stretch; }
}

/* Quote-CTA section — form beside pitch */
.quote-cta {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.quote-cta-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.quote-cta-text h2 {
  margin-bottom: 16px;
}
.quote-cta-text > p {
  color: var(--stone);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.quote-cta-text ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.quote-cta-text ul li {
  position: relative;
  padding-left: 28px;
  color: var(--charcoal);
  font-size: 0.98rem;
}
.quote-cta-text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  background: var(--red);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.quote-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.quote-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.quote-form-card .sub {
  color: var(--stone);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.quote-form-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-form-card .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quote-form-card input,
.quote-form-card select,
.quote-form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quote-form-card input:focus,
.quote-form-card select:focus,
.quote-form-card textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,29,126,0.1);
}
.quote-form-card textarea {
  resize: vertical;
  min-height: 110px;
}
.quote-form-card button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 4px;
}
.quote-form-card button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.quote-form-card .disclaimer {
  font-size: 0.8rem;
  color: var(--stone);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}
@media (max-width: 820px) {
  .quote-cta { padding: 56px 20px; }
  .quote-cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .quote-form-card { padding: 24px; }
  .quote-form-card .row { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .location-content { grid-template-columns: 1fr; }
  .location-sidebar { position: static; }
}

@media (max-width: 560px) {
  .section, .section-sm, .section-lg { padding: 52px 20px; }
  .hero { padding: 64px 20px 52px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* -------- New structural utilities -------- */

/* Stat row — four big numbers with labels */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.stat-row .stat {
  text-align: center;
  padding: 0 8px;
}
.stat-row .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 8px;
}
.stat-row .stat-num em { color: var(--red); font-style: normal; }
.stat-row .stat-label {
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 720px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* Process steps — numbered horizontal track */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  counter-reset: pstep;
}
.process-step {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.process-step::before {
  counter-increment: pstep;
  content: counter(pstep, decimal-leading-zero);
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  margin-top: 4px;
}
.process-step p {
  color: var(--stone);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 820px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* Info-card grid — two-column cards with border-left accent */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: 6px;
  padding: 26px 28px;
  transition: transform 0.15s, box-shadow 0.15s, border-left-color 0.15s;
}
.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--red);
}
.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.info-card p {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
.info-card p + p { margin-top: 10px; }
.info-card a { font-weight: 600; }
@media (max-width: 720px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* Partner brand cards — logo-style block */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 26px 24px;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.brand-card .brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.brand-card .brand-tag {
  font-size: 0.72rem;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.brand-card p {
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 14px;
  flex: 1;
}
.brand-card .brand-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.brand-card .brand-link:hover { color: var(--red); gap: 8px; }
@media (max-width: 820px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .brand-grid { grid-template-columns: 1fr; } }

/* Pill chips — for tag-style lists */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--charcoal);
  font-weight: 500;
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* FAQ category tabs — pill links that jump to sections */
.faq-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto 32px;
}
.faq-nav a {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--charcoal);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.15s;
}
.faq-nav a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

/* Privacy / policy TOC sidebar layout */
.policy-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 90px;
  font-size: 0.9rem;
}
.policy-toc .toc-title {
  font-size: 0.72rem;
  color: var(--stone);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.policy-toc ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.policy-toc a {
  color: var(--stone);
  padding: 4px 0 4px 12px;
  border-left: 2px solid var(--border);
  display: block;
  transition: all 0.15s;
}
.policy-toc a:hover { color: var(--navy); border-left-color: var(--navy); }
.policy-body h2 {
  font-size: 1.45rem;
  margin: 40px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--charcoal);
}
.policy-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.policy-body p { color: var(--charcoal); margin-bottom: 14px; line-height: 1.75; }
.policy-body .updated {
  display: inline-block;
  background: var(--cream);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--stone);
  margin-bottom: 32px;
}
.policy-body .updated strong { color: var(--charcoal); }
@media (max-width: 820px) {
  .policy-layout { grid-template-columns: 1fr; gap: 32px; }
  .policy-toc { position: static; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
}

/* Callout banner */
.callout {
  background: var(--navy);
  color: var(--white);
  padding: 32px 36px;
  border-radius: 10px;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.callout-body { flex: 1; min-width: 260px; }
.callout h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.callout p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0;
}
.callout .btn { flex-shrink: 0; }

/* Nav open state */
.nav-links.is-open {
  display: flex !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  gap: 14px;
}
/* Mobile submenu inline */
.nav-links.is-open .submenu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: 0;
  padding: 4px 0 0 14px;
  background: transparent;
  min-width: 0;
}
.nav-links.is-open .has-submenu > a::after { display: none; }
.nav-links.is-open .submenu a { padding: 6px 0; font-size: 0.85rem; }


/* Cities-served grid block on location pages */
.city-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.city-link-card {
  display: block;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.city-link-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
}
