/* ═══════════════════════════════════════
   SAFEWAY CARPET & FLOORING — SHARED CSS
   safewayflooring.com
═══════════════════════════════════════ */

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

:root {
  --navy: #1B2A4A;
  --navy-deep: #0f1a2e;
  --navy-mid: #243560;
  --navy-light: #2d4270;
  --white: #ffffff;
  --off-white: #F7F8FC;
  --grey: #8C9BB0;
  --grey-light: #E4E9F2;
  --grey-mid: #C8D0DF;
  --text: #1e2d47;
  --text-muted: #5a6a80;
  --text-light: #8C9BB0;
  --gold: #C9A84C;
  --gold-light: #e0bc60;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── TOPBAR ── */
.topbar { background: var(--navy-deep); padding: 9px 0; font-size: 12.5px; color: rgba(255,255,255,0.55); }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-left { display: flex; align-items: center; gap: 24px; }
.topbar-left span { display: flex; align-items: center; gap: 7px; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-phone { color: var(--gold); font-weight: 600; font-size: 13.5px; letter-spacing: 0.5px; display: flex; align-items: center; gap: 7px; transition: color 0.2s; }
.topbar-phone:hover { color: var(--gold-light); }
.topbar-email { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.topbar-email:hover { color: rgba(255,255,255,0.8); }

/* ── NAV ── */
.nav-wrap { background: var(--navy); position: sticky; top: 0; z-index: 900; box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 32px rgba(0,0,0,0.25); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-wrap { display: flex; align-items: center; gap: 14px; }

.logo-sub { font-family: 'Cormorant Garamond', serif; font-size: 11px; font-weight: 300; letter-spacing: 3.5px; text-transform: uppercase; color: var(--grey); }
.nav-menu { display: flex; align-items: center; list-style: none; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 5px; padding: 10px 16px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: rgba(255,255,255,0.72); border-radius: 4px; transition: all 0.2s; white-space: nowrap; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-arrow { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.5; transition: transform 0.2s; }
.nav-item:hover .nav-arrow { transform: rotate(225deg) translateY(-2px); opacity: 0.8; }

/* ── DROPDOWN GAP FIX ── */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 16px 48px rgba(15,26,46,0.2), 0 0 0 1px rgba(0,0,0,0.06);
  min-width: 220px;
  padding: 8px 8px 8px 8px;
  padding-top: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: all 0.22s var(--ease);
  border-top: 3px solid var(--navy);
}
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}
.nav-item:hover .nav-dropdown { opacity: 1; pointer-events: all; }

.nav-dropdown a { display: block; padding: 10px 14px; font-size: 13px; font-weight: 400; color: var(--text); border-radius: 5px; transition: all 0.15s; }
.nav-dropdown a:hover { background: var(--off-white); color: var(--navy); padding-left: 18px; }
.nav-cta { background: var(--gold) !important; color: var(--navy-deep) !important; font-weight: 700 !important; padding: 11px 22px !important; border-radius: 4px !important; letter-spacing: 0.5px !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; }

/* ── MOBILE NAV ── */
.mobile-nav { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.3s; }
.mobile-nav-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 90vw); background: var(--navy); padding: 32px 28px; transform: translateX(100%); transition: transform 0.35s var(--ease); overflow-y: auto; }
.mobile-nav.open { pointer-events: all; }
.mobile-nav.open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-close { display: flex; justify-content: flex-end; margin-bottom: 32px; }
.close-btn { background: none; border: none; cursor: pointer; padding: 4px; }
.close-btn svg { width: 22px; height: 22px; fill: rgba(255,255,255,0.6); }
.mobile-nav-links { list-style: none; }
.mobile-nav-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav-links a { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.8); }
.mobile-nav-cta { margin-top: 28px; }
.mobile-nav-cta a { display: block; background: var(--gold); color: var(--navy-deep); text-align: center; padding: 15px; border-radius: 6px; font-weight: 700; font-size: 14px; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--grey-light); padding: 12px 0; }
.breadcrumb-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb-inner a { color: var(--navy); transition: color 0.2s; }
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--grey-mid); }

/* ── SHARED SECTIONS ── */
.section { padding: 96px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.eyebrow::before { content:''; display:block; width:28px; height:2px; background:var(--navy); border-radius:2px; }
.eyebrow-light { color: var(--gold); }
.eyebrow-light::before { background: var(--gold); }
.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }

.section-title { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 50px); font-weight: 900; color: var(--navy); line-height: 1.12; letter-spacing: -0.5px; margin-bottom: 18px; }
.section-title-light { color: #fff; }
.section-title em { font-style: italic; color: var(--gold); }
.section-desc { font-size: 16px; font-weight: 300; color: var(--text-muted); line-height: 1.8; max-width: 580px; }
.section-desc-light { color: rgba(255,255,255,0.58); }
.section-head { margin-bottom: 56px; }
.section-head-flex { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head-center { text-align: center; }
.section-head-center .section-desc { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-gold { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--navy-deep); padding: 15px 32px; border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; transition: all 0.25s; border: none; cursor: pointer; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201,168,76,0.35); }
.btn-navy { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 14px 30px; border-radius: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: all 0.25s; border: none; cursor: pointer; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,42,74,0.25); }
.btn-outline-navy { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--navy); padding: 14px 30px; border-radius: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border: 1.5px solid var(--navy); transition: all 0.25s; cursor: pointer; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: rgba(255,255,255,0.85); padding: 15px 32px; border-radius: 4px; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; border: 1.5px solid rgba(255,255,255,0.25); transition: all 0.25s; cursor: pointer; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); color: #fff; background: rgba(255,255,255,0.06); }
.arr { display:inline-block; transition:transform 0.2s; }
.btn-gold:hover .arr, .btn-navy:hover .arr, .btn-outline-navy:hover .arr { transform:translateX(4px); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { position: relative; padding: 96px 0 80px; overflow: hidden; background: var(--navy); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.18; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,18,33,0.6) 0%, rgba(27,42,74,0.3) 100%); }
.page-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 62px); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 600px; line-height: 1.75; margin-bottom: 28px; }
.page-hero-meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.page-hero-meta span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); }
.page-hero-meta span svg { width: 16px; height: 16px; fill: var(--gold); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--grey-light); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; gap: 16px; }
.faq-question h3 { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.faq-icon { width: 28px; height: 28px; min-width: 28px; background: var(--off-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.faq-icon svg { width: 14px; height: 14px; fill: var(--navy); transition: transform 0.3s; }
.faq-item.open .faq-icon { background: var(--navy); }
.faq-item.open .faq-icon svg { fill: #fff; transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer-inner { padding: 0 0 20px; font-size: 14.5px; color: var(--text-muted); line-height: 1.75; }

/* ── SERVICE AREAS BAR ── */
.service-areas-bar { background: var(--navy-deep); padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.service-areas-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.service-areas-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.service-areas-list { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.service-areas-list a { font-size: 12.5px; color: rgba(255,255,255,0.45); padding: 4px 12px; border-right: 1px solid rgba(255,255,255,0.1); transition: color 0.2s; white-space: nowrap; }
.service-areas-list a:last-child { border-right: none; }
.service-areas-list a:hover { color: rgba(255,255,255,0.85); }

/* ── CTA FORM SECTION ── */
.cta-section { background: var(--off-white); padding: 100px 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cta-left h2 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: var(--navy); line-height: 1.12; letter-spacing: -0.5px; margin-bottom: 18px; }
.cta-left h2 em { font-style: italic; color: var(--gold); }
.cta-left p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 36px; max-width: 460px; }
.cta-checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.cta-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); }
.cta-check { width: 22px; height: 22px; min-width: 22px; background: var(--navy); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.cta-check svg { width: 12px; height: 12px; fill: #fff; }
.cta-phone-label { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-light); margin-bottom: 12px; }
.cta-phone-block { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--navy); border-radius: 8px; width: fit-content; }
.cta-phone-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.cta-phone-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.cta-phone-num-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px; }
.cta-phone-num { font-size: 20px; font-weight: 700; color: #fff; }
.cta-phone-num a { color: inherit; }
.cta-form-card { background: var(--navy); border-radius: 14px; padding: 44px; box-shadow: 0 24px 64px rgba(15,26,46,0.2); }
.cta-form-card h3 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.cta-form-card > p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 7px; }
.form-control { width: 100%; padding: 13px 16px; background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.1); border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: #fff; outline: none; transition: border-color 0.2s; -webkit-appearance: none; }
.form-control::placeholder { color: rgba(255,255,255,0.3); }
.form-control:focus { border-color: var(--gold); background: rgba(255,255,255,0.1); }
.form-control option { background: var(--navy); color: #fff; }
textarea.form-control { height: 100px; resize: none; }
.form-submit { width: 100%; background: var(--gold); color: var(--navy-deep); border: none; padding: 16px; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all 0.25s; margin-top: 6px; }
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-privacy { text-align: center; font-size: 11.5px; color: rgba(255,255,255,0.3); margin-top: 12px; }
.form-privacy a { color: rgba(255,255,255,0.4); text-decoration: underline; }

/* ── FOOTER ── */
footer { background: var(--navy-deep); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 280px; margin-bottom: 24px; margin-top: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; }
.footer-contact-item a { color: rgba(255,255,255,0.75); font-weight: 500; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.42); transition: all 0.2s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); padding-left: 4px; display: inline-block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12.5px; color: rgba(255,255,255,0.28); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid var(--grey-light); border-radius: 10px; padding: 32px; transition: all 0.3s; }
.testimonial-card:hover { box-shadow: 0 12px 40px rgba(27,42,74,0.09); transform: translateY(-4px); }
.quote-mark { font-family: 'Playfair Display', serif; font-size: 80px; color: var(--grey-light); line-height: 0.7; margin-bottom: 16px; display: block; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.star { width: 14px; height: 14px; fill: var(--gold); }
.testimonial-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--grey-light); padding-top: 18px; }
.reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: #fff; flex-shrink: 0; }
.reviewer-name { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.reviewer-loc { font-size: 12px; color: var(--text-light); margin-top: 1px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 24px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .topbar-left { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-form-card { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .breadcrumb-inner { padding: 0 24px; }
  .page-hero-content { padding: 0 24px; }
  .service-areas-inner { padding: 0 24px; }
}
/* service-pricing-heading fix */
.section-title em { font-style:italic; color:var(--gold); }

/* ── VISUAL COHESION — GOLD ACCENTS ── */

/* Benefit cards — gold bottom border */
.benefit-card { border-bottom: 3px solid var(--gold) !important; }

/* Price promise check boxes — gold */
.why-check { background: rgba(27,42,74,0.08); }
.why-check svg { fill: var(--navy); }

/* Learn More links in related service cards */
a[href] span[style*="text-transform:uppercase"] { color: var(--gold) !important; }

/* Logo image sizing on nav */

/* ── LOGO (CSS-designed, no image) ── */
.logo-wrap { display: flex; align-items: center; gap: 0; text-decoration: none; }
.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  padding-bottom: 4px;
}
.logo-main::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}
.logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 5px;
  display: block;
}
.logo-block { display: flex; flex-direction: column; }

/* ── PROCESS STEPS ── */
.steps { display:flex; flex-direction:column; gap:0; margin:24px 0 8px; }
.step { display:flex; gap:24px; padding:22px 0; border-bottom:1px solid var(--grey-light); align-items:flex-start; }
.step:last-child { border-bottom:none; }
.step-num {
  position:relative;
  width:52px; height:52px; min-width:52px;
  border:2px solid rgba(201,168,76,0.35);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; margin-top:2px;
  overflow:visible;
  background:transparent;
}
.step-num::before {
  content: attr(data-num);
  font-family: 'Playfair Display', serif;
  font-size: 110px;
  font-weight: 900;
  color: rgba(201,168,76,0.18);
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.step h4 { font-size:15px; font-weight:600; color:var(--navy); margin-bottom:5px; }
.step p { font-size:14px; color:var(--text-muted); line-height:1.65; }
/* ── MOBILE NAV GROUPS ── */
.mobile-nav-group { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav-group-label {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.mobile-nav-sub {
  list-style: none;
  padding-bottom: 8px;
}
.mobile-nav-sub li { border: none; }
.mobile-nav-sub li a {
  display: block;
  padding: 9px 0 9px 16px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  border-left: 2px solid rgba(201,168,76,0.3);
  margin-left: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav-sub li a:hover { color: #fff; border-left-color: var(--gold); }

/* ── MOBILE RESPONSIVE FIXES ── */
@media (max-width: 768px) {

  /* Prevent horizontal scroll */
  .page-wrapper { overflow-x: hidden; max-width: 100vw; }

  /* Content grid — sidebar stacks below */
  .content-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .sidebar { order: -1; }

  /* Benefits grid — 1 column */
  .benefits-grid { grid-template-columns: 1fr !important; }

  /* Testimonials grid — 1 column */
  .testimonials-grid { grid-template-columns: 1fr !important; }

  /* Why/audience grid */
  .why-grid { grid-template-columns: 1fr !important; }
  .audience-grid { grid-template-columns: 1fr 1fr !important; }

  /* Services grid on homepage */
  .services-grid { grid-template-columns: 1fr !important; }

  /* Step layout */
  .step { flex-direction: row; }

  /* Hero stats */
  .hero-stats { flex-wrap: wrap; gap: 12px; }
}

/* ── PRICING CARDS — stack on mobile ── */
@media (max-width: 768px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr !important;
  }
  .pricing-detail-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── RELATED SERVICES — stack on mobile ── */
@media (max-width: 768px) {
  .related-services-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ── TABLE OVERFLOW ON MOBILE ── */
@media (max-width: 768px) {
  .content-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* CTA grid stack */
  .cta-grid { grid-template-columns: 1fr !important; }
  /* Hero adjustments */
  .hero-content { padding: 0 8px; }
  /* Pricing card scale reset on mobile */
  .pricing-cards-grid > div[style*="scale"] { transform: none !important; }
}

/* ── ABOUT VALUES — stack on mobile ── */
@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr !important; }
}

/* ── CONTACT INFO — stack on mobile ── */
@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .contact-info-grid { grid-template-columns: 1fr !important; }
}


@media (max-width: 768px) {
  
  .hero-inline-stats > div > div:first-child {
    font-size: 18px !important;
  }
  .hero-inline-stats > div > div:last-child {
    font-size: 10px !important;
  }
  .hero-inline-stats > div[style*="width:1px"] {
    height: 24px !important;
  }
}

/* ── HERO INLINE STATS ── */
@media (max-width: 768px) {
  .hero-inline-stats {
    gap: 16px !important;
  }
  .hero-inline-stats > div:not(.hero-stat-divider) > div:first-child {
    font-size: 20px !important;
  }
  .hero-inline-stats > div:not(.hero-stat-divider) > div:last-child {
    font-size: 10px !important;
  }
  .hero-stat-divider {
    height: 28px !important;
  }
}

/* ── HERO STATSBAR (Free / Certified / 5-Star / Licensed) ── */
@media (max-width: 768px) {
  .hero-statsbar-inner {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 0 16px !important;
  }
  .hstat {
    padding: 14px 10px !important;
    gap: 10px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .hstat:nth-child(1), .hstat:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .hstat:nth-child(3), .hstat:nth-child(4) {
    border-bottom: none !important;
  }
  .hstat-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  .hstat-num {
    font-size: 14px !important;
  }
  .hstat-label {
    font-size: 10px !important;
  }
}

/* ── CLICKABLE DROPDOWN PARENT ── */
.nav-item.has-dropdown > .nav-link {
  pointer-events: auto;
}
.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Mobile nav group as link */
.mobile-nav-group-link {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  padding: 10px 0 4px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

