/* ==========================================================================
   Legacy Garage Repair — Theme Stylesheet
   ========================================================================== */

:root {
  --navy: #0A1F44;
  --orange: #E8730A;
  --warm: #F9F7F4;
  --text: #1A1A1A;
  --muted: #6B7280;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --border-line: #E2E8F0;

}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--warm);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .75rem 1.25rem; border-radius: .5rem;
  font-weight: 600; font-size: .875rem;
  transition: opacity .2s, transform .2s, background .2s, color .2s;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { opacity: .9; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { opacity: .9; }
.btn-outline { border: 1px solid rgba(255,255,255,.8); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: rgba(255,255,255,.9); }

/* Pills */
.pill {
  display: inline-block; padding: .25rem 1rem; border-radius: 9999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.pill-orange { background: rgba(232,115,10,.15); color: var(--orange); }
.pill-orange-solid { background: var(--orange); color: #fff; max-width: max-content; }

/* Headings */
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.2; }
section { padding: 5rem 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
/* ==========================================================================
   Header / Navigation
   ========================================================================== */
#site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  transition: box-shadow .2s, background .2s;
  width: 100%;
}
#site-header.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

@media (max-width: 786px) {
  
 #site-header.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 1rem;
}
@media (min-width: 1024px) {
  .nav { padding: .75rem 0rem; } 
}

.logo { display: flex; align-items: center; gap: .5rem; }
.logo-mark { width: 130px; height: 130px; display: grid; place-items: center; }
.logo-mark img { width: 130px; height: 130px; object-fit: contain; }
@media (max-width: 786px) {
  .logo-mark { width: 80px; height: 80px; }
  .logo-mark img { width: 80px; height: 80px; }
}
/* Base Hamburger Styles (Mobile First) */
.hamburger { display: block; color: var(--navy); font-size: 1.5rem; background: none; border: none; cursor: pointer;}
.hamburger svg { width: 28px; height: 28px; }

/* Desktop Navigation Layout adjustments */
.nav-links { display: none; align-items: center; }

@media (min-width: 1024px) { 
  .nav-links { display: flex; } 
  .hamburger { display: none; } /* This now successfully hides it on desktop screens */
  
  /* Reset and style the main dynamic list */
  .nav-links ul.main-menu { 
    display: flex; 
    gap: 1.75rem; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
  }
  
  /* Set parent items as relative anchors for the absolute submenus */
  .nav-links ul.main-menu > li { 
    position: relative; 
    list-style: none;
    padding: .5rem 0; /* Creates a small padding bridge so the cursor doesn't lose hover */
  }
}

.nav-links a {
  font-size: 1rem; font-weight: 600;
  color: rgba(10,31,68,1); transition: color .2s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--orange); }

/* ── Desktop Hover Dropdowns ────────────────────────────────────── */
@media (min-width: 1024px) {
  .nav-links ul.sub-menu {
    position: absolute;
    top: 100%;               /* Positions the dropdown right below the parent li */
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    border-radius: .375rem;
    padding: .5rem 0;
    margin: 0;
    list-style: none;
    
    /* Hiding states */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 100;
  }

  /* Show sub items cleanly when lingering on the parent list element */
  .nav-links ul.main-menu > li:hover ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Dropdown Link Treatments */
  .nav-links ul.sub-menu li {
    width: 100%;
  }
  .nav-links ul.sub-menu a {
    display: block;
    padding: .5rem 1rem;
    color: var(--navy);
    font-weight: 500;
  }
  .nav-links ul.sub-menu a:hover {
    background-color: var(--warm);
    color: var(--orange);
  }
}

/* Utilities & CTAs */
.nav-cta { display: none; align-items: center; gap: .75rem; }
.nav-phone {
  background: var(--orange); color: #fff;
  padding: .5rem 1rem; border-radius: 9999px;
  font-size: .875rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
}
.nav-book {
  background: var(--navy); color: #fff;
  padding: .5rem 1rem; border-radius: .375rem;
  font-size: .875rem; font-weight: 600;
}

@media (min-width: 768px) { .nav-cta { display: flex; } }

/* ==========================================================================
   Mobile Menu (Cleaned for Unordered Lists)
   ========================================================================== */
.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.mobile-menu-inner {
  display: flex; flex-direction: column; gap: .25rem; padding: .75rem 1rem;
}

/* Target elements correctly within the dynamic mobile nav container */
.mobile-nav-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-links li {
  list-style: none;
}
.mobile-menu a {
  display: block;
  padding: .3rem; border-radius: .25rem;
  font-size: .875rem; font-weight: 600; color: var(--navy);
  text-decoration: none;
}
.mobile-menu a:hover { background: var(--warm); }

/* Mobile Submenu Styling (Nested list indent) */
.mobile-nav-links ul.sub-menu {
  padding-left: 1rem;
  margin: .25rem 0 .5rem 0;
}
.mobile-nav-links ul.sub-menu a {
  font-weight: 500;
  opacity: 0.85;
}

/* ==========================================================================
   Dropdown Indicator Arrow
   ========================================================================== */
@media (min-width: 1024px) {
  /* Match parent alignment and add space for the arrow */
  .nav-links ul.main-menu > li.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  /* Inject a neat, pure-CSS chevron arrow next to the parent link text */
  .nav-links ul.main-menu > li.menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 2px solid rgba(10, 31, 68, 0.7);
    border-bottom: 2px solid rgba(10, 31, 68, 0.7);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s;
  }

  /* Animate the color when parent item is hovered */
  .nav-links ul.main-menu > li.menu-item-has-children:hover > a::after {
    border-color: var(--orange);
    transform: translateY(0px) rotate(225deg); /* Flips the chevron upward on hover */
  }
}

/* Mobile Dropdown Styling Indicators */
.mobile-nav-links li.menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-links li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) ;
  margin-right: 0.5rem;
  opacity: 0.7;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero { position: relative; height: 100vh; min-height: 520px; overflow: hidden; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(10,31,68,.6);
}
.slide-content {
  text-align: center; position: relative; z-index: 2;
  height: 100%; display: flex; flex-direction: column;
  justify-content: center; padding: 2rem;
  max-width: 1200px; margin: 0 auto; align-items: center;
}
@media (min-width: 1024px) { .slide-content { padding: 2rem 2rem 2rem 4rem; } }
.slide h1 { color: #fff; font-size: 2rem; max-width: 50rem; margin-top: 1rem; }
@media (min-width: 640px) { .slide h1 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .slide h1 { font-size: 3.25rem; } }
.slide p { color: rgba(255,255,255,.88); font-size: 1rem; max-width: 36rem; margin-top: 1rem; }
@media (min-width: 640px) { .slide p { font-size: 1.125rem; } }
.slide-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 9999px;
  background: rgba(255,255,255,.2); color: #fff;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background .2s;
}
@media (min-width: 640px) { .slider-arrow { display: flex; } }
.slider-arrow:hover { background: rgba(255,255,255,.4); }
.slider-arrow.prev { left: 1rem; }
.slider-arrow.next { right: 1rem; }
.slider-dots {
  position: absolute; bottom: 5.25rem; left: 50%;
  transform: translateX(-50%); z-index: 3; display: flex; gap: .5rem;
}
.slider-dots button {
  height: 8px; width: 8px; border-radius: 9999px;
  background: rgba(255,255,255,.6); transition: all .3s;
}
.slider-dots button.active { width: 32px; background: var(--orange); }

/* ==========================================================================
   Features Strip
   ========================================================================== */
.features { background: var(--navy); padding: 3.5rem 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem;
}
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(5, 1fr); } }
.feature { text-align: center; padding: 0 1rem; position: relative; }
@media (min-width: 1024px) {
  .feature { border-right: 1px solid rgba(255,255,255,.1); }
  .feature:last-child { border-right: 0; }
}
.feature-icon {
  width: 56px; height: 56px; border-radius: .75rem;
  background: rgba(255,255,255,.05);
  display: grid; place-items: center;
  margin: 0 auto 1rem; color: var(--orange);
  transition: all .25s;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature:hover .feature-icon {
  background: var(--orange); color: #fff;
  box-shadow: 0 0 24px rgba(232,115,10,.5);
}
.feature:hover .feature-icon svg { color: #fff; }
.feature h3 { color: #fff; font-size: 1rem; }
.feature p { color: rgba(255,255,255,.65); font-size: .875rem; margin-top: .5rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about h2 { font-size: 1.875rem; margin-top: 1rem; }
@media (min-width: 640px) { .about h2 { font-size: 44px; } }
.about p { color: #4B5563; margin-top: 1.25rem; line-height: 1.7; }
.about ul { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.about li { display: flex; align-items: center; gap: .75rem; font-size: .875rem; font-weight: 500; color: var(--navy); }
.check {
  width: 24px; height: 24px; border-radius: 9999px;
  background: rgba(232,115,10,.15); color: var(--orange);
  display: grid; place-items: center; font-size: .875rem; flex-shrink: 0;
}
.check svg { width: 14px; height: 14px; }
.about-img-wrap { position: relative; }
.about-img-wrap img {
  aspect-ratio: 4/5; width: 100%; object-fit: cover;
  border-radius: 1rem; box-shadow: 0 20px 40px rgba(0,0,0,.15);
}
.about-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--orange); color: #fff;
  padding: 1.25rem 1.5rem; border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.2); display: none;
}
@media (min-width: 640px) { .about-badge { display: block; } }
.about-badge-num { font-size: 1.875rem; font-weight: 700; line-height: 1; }
.about-badge-label {
  margin-top: .25rem; font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-bg { background: #fff; }
.section-head { text-align: center; }
.section-head h2 { font-size: 1.875rem; }
@media (min-width: 640px) { .section-head h2 { font-size: 2.25rem; } }
.section-head p { color: #4B5563; margin-top: .75rem; }
.services-grid {
  margin-top: 3rem; display: grid;
  grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service {
  position: relative; overflow: hidden; border-radius: 1rem;
  border: 1px solid #F3F4F6; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 01px 03px rgba(232, 115,0.1); }
.service-img { aspect-ratio: 16/10; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 1.5rem; }
.service-icon {
  width: 40px; height: 40px; border-radius: .5rem;
  background: rgba(232,115,10,.15); color: var(--orange);
  display: grid; place-items: center; margin-bottom: .75rem;
}
.service-icon svg { width: 20px; height: 20px; }
.service h3 { font-size: 1.125rem; }
.service p { margin-top: .5rem; font-size: .875rem; color: #4B5563; }
.service-link {
  display: inline-flex; align-items: center; gap: .25rem;
  margin-top: 1rem; font-size: .875rem; font-weight: 600; color: var(--orange);
}

/* ==========================================================================
   Areas
   ========================================================================== */
.areas-grid {
  margin: 2.5rem auto 0; max-width: 64rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: repeat(5, 1fr); } }
.area {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1.25rem 1rem; background: #fff;
  border: 1px solid var(--border); border-radius: .75rem;
  font-size: .875rem; font-weight: 600; color: var(--navy);
  transition: border-color .2s;
}
.area:hover { border-color: var(--orange); }
.area svg { color: var(--orange); width: 16px; height: 16px; }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps {
  position: relative; margin-top: 3.5rem;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 28px;
  border-top: 2px dashed rgba(232,115,10,.4); display: none;
}
@media (min-width: 768px) { .steps::before { display: block; } }
.step { text-align: center; position: relative; }
.step-num {
  position: relative; z-index: 2; width: 56px; height: 56px;
  border-radius: 9999px; background: var(--orange); color: #fff;
  display: grid; place-items: center;
  font-size: 1.125rem; font-weight: 700;
  margin: 0 auto; box-shadow: 0 10px 20px rgba(232,115,10,.3);
}
.step h3 { margin-top: 1.25rem; font-size: 1.125rem; }
.step p { margin-top: .5rem; font-size: .875rem; color: #4B5563; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--navy); }
.testimonials h2 { color: #fff; text-align: center; font-size: 1.875rem; }
@media (min-width: 640px) { .testimonials h2 { font-size: 2.25rem; } }
.reviews {
  margin-top: 3rem; display: flex; gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem;
}
@media (min-width: 1024px) {
  .reviews { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}
.review {
  min-width: 300px; flex-shrink: 0; scroll-snap-align: start;
  background: #fff; padding: 1.5rem; border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
}
@media (min-width: 1024px) { .review { min-width: 0; } }
.stars { color: var(--orange); font-size: .875rem; letter-spacing: 2px; }
.review p { margin-top: 1rem; font-size: .875rem; font-style: italic; color: #4B5563; line-height: 1.6; }
.reviewer { margin-top: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.avatar {
  width: 40px; height: 40px; border-radius: 9999px;
  background: var(--orange); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .875rem;
  flex-shrink: 0;
}
.reviewer-name { font-size: .875rem; font-weight: 600; color: var(--navy); }
.reviewer-city { font-size: .75rem; color: #6B7280; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section { background: var(--warm); }
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.contact-info h2 { font-size: 1.875rem; margin-top: 1rem; }
@media (min-width: 640px) { .contact-info h2 { font-size: 2.25rem; } }
.contact-info > p { color: #4B5563; margin-top: 1rem; line-height: 1.7; max-width: 32rem; }
.info-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: .75rem;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
}
.info-icon svg { width: 22px; height: 22px; }
.info-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--navy);
}
.info-value { margin-top: .25rem; color: #4B5563; font-size: .95rem; line-height: 1.5; }
.info-value a { color: var(--navy); font-weight: 600; }
.info-value a:hover { color: var(--orange); }

.quote-form {
  background: #fff; border: 1px solid var(--border); border-radius: 1.25rem;
  padding: 1.5rem; box-shadow: 0 20px 50px rgba(10,31,68,.08);
}
@media (min-width: 640px) { .quote-form { padding: 2rem; } }
.quote-form h3 { font-size: 1.5rem; }
.quote-form > p { font-size: .875rem; color: #6B7280; margin-top: .25rem; }
.quote-form form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.field { position: relative; }
.field svg.field-icon {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  color: #9CA3AF; pointer-events: none; width: 18px; height: 18px;
}
.field.textarea svg.field-icon { top: 1rem; transform: none; }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem .85rem 2.6rem;
  border: 1px solid var(--border); border-radius: .625rem;
  background: #fff; font-size: .875rem; color: var(--navy);
  font-family: inherit; transition: border-color .2s, box-shadow .2s; outline: 0;
}
.field input:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,115,10,.2);
}
.field textarea { resize: vertical; min-height: 120px; }
.submit-btn {
  width: 100%; padding: .85rem 1rem; border-radius: .625rem;
  background: var(--orange); color: #fff; font-weight: 600; font-size: .875rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  transition: opacity .2s; cursor: pointer; border: none; font-family: inherit;
}
.submit-btn:hover { opacity: .9; }
.form-foot { margin-top: 1rem; text-align: center; font-size: .75rem; color: #6B7280; }
.form-foot a { color: var(--orange); font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
#site-footer { background: var(--navy); color: #fff; padding: 4rem 0 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .875rem; margin-top: 1rem; line-height: 1.6; }
.socials { margin-top: 1.25rem; display: flex; gap: .75rem; }
.socials a {
  width: 36px; height: 36px; border-radius: 9999px;
  background: rgba(255,255,255,.1); display: grid; place-items: center;
  transition: background .2s;
}
.socials a svg { width: 18px; height: 18px; color: #fff; }
.socials a:hover { background: var(--orange); }
.footer-col h4 {
  color: #fff; font-size: .875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.footer-col ul {
  list-style: none; margin-top: 1rem;
  display: flex; flex-direction: column; gap: .5rem;
  font-size: .875rem; color: rgba(255,255,255,.7);
}
.footer-col a:hover { color: var(--orange); }
.footer-col .ic { display: flex; align-items: flex-start; gap: .75rem; }
.footer-col .ic svg { color: var(--orange); margin-top: .15rem; width: 16px; height: 16px; flex-shrink: 0; }
.copyright {
  max-width: 1200px; margin: 3rem auto 0;
  padding: 1.5rem 1rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; font-size: .75rem; color: rgba(255,255,255,.5);
}

/* WordPress alignment helpers */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .875rem; color: var(--muted); margin-top: .5rem; }



/* about page styles */


/* --- Inner Page Hero Banner --- */


/* --- Layout Grids --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* --- About Intro Section --- */
.about-intro-section {
    padding: 80px 0;
}

.section-tag {
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.about-intro-section h2 {
    color: var( --navy);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}

.sub-heading {
    color: #555;
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
}

.desc {
    color: #666;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 12px;
    font-weight: 600;
    color: var( --navy);
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--orange);
    margin-right: 10px;
    font-size: 18px;
}

/* Hero Badge Overlap Styling */
.image-wrapper {
    position: relative;
    padding-bottom: 30px;
}

.image-wrapper img {
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    left: -20px;
    background-color: var(--orange);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(232, 115, 10, 0.3);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* --- Feature Grid Cards --- */
.features-grid-section {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.feature-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-bottom: 3px solid transparent;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(232, 115, 10, 0.1);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 30px;
}

.feature-card p {
    font-size: 14px;
    font-weight: 600;
    color: var( --navy);
}

/* --- Core Pillars Section --- */
.pillars-section {
    padding: 90px 0;
}

.pillar-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 70px;
}

.pillar-row.reverse {
    flex-direction: row-reverse;
}

.pillar-text {
    flex: 1;
}

.pillar-graphic {
    flex: 1;
}

.pillar-graphic img {
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.icon-title-wrap {
    display: flex;
    align-items: start;
    margin-bottom: 15px;
}

.pillar-icon {
    font-size: 32px;
    color: var(--orange);
    margin-right: 15px;
}

.pillar-text h2 {
    color: var( --navy);
    font-size: 26px;
    font-weight: 700;
}

.pillar-sub {
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 15px;
}

.pillar-text p {
    color: #666;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2, .pillar-row, .pillar-row.reverse {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 40px;
    }
    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* Can be handled with a mobile burger menu toggle */
    }
}

  /* ==========================================================================
     Services Page
     ========================================================================== */

  .text-link-action { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--orange); text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; transition: var(--transition-smooth); }
  .text-link-action i { transition: transform 0.3s ease; }
  .text-link-action:hover { color: var(--navy); }
  .text-link-action:hover i { transform: translateX(5px); }

  /* ==========================================================================
     AI-OPTIMIZED SEMANTIC INTRO BLOCK
     ========================================================================== */
  .semantic-intro-section { padding: 7rem 0 4rem; position: relative; }
  .split-intro-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
  @media(min-width: 1024px) { .split-intro-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: flex-start; } }
  
  .split-intro-grid h2 { font-size: 2rem; color: var(--navy); line-height: 1.2; margin-top: 0.25rem; margin-bottom: 1rem; }
  @media(min-width: 768px) { .split-intro-grid h2 { font-size: 2.75rem;  margin-bottom: 1rem;  } }
  
  .semantic-bullet-matrix { list-style: none; display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
  @media(min-width: 640px) { .semantic-bullet-matrix { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
  .semantic-bullet-matrix li { display: flex; align-items: flex-start;  font-weight: 500; color: var(--navy); gap:0.8rem; font-size: 0.95rem; background: #fff; padding: 1rem; border-radius: 6px; border-left: 3px solid var(--orange); box-shadow: 0 4px 15px rgba(10, 31, 68, 0.02); }
  .semantic-bullet-matrix li i { color: var(--orange); font-size: 1.1rem; margin-top: 0.1rem; }

  
  /* ==========================================================================
     CORE GRID DISTRIBUTION MODULES (3-COLUMN CARDS WITH PREMIUM IMAGES)
     ========================================================================== */
  .services-distribution-deck { padding: 5rem 0 7rem; }
  .services-tri-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
  @media(min-width: 768px) { .services-tri-grid { grid-template-columns: repeat(2, 1fr); } }
  @media(min-width: 1024px) { .services-tri-grid { grid-template-columns: repeat(3, 1fr); } }

  .service-focus-card { background: #fff; border-radius: 8px; border: 1px solid var(--border-line); box-shadow: 0 15px 40px rgba(10,31,68,0.03); display: flex; flex-direction: column; overflow: hidden; transition: var(--transition-smooth); position: relative; }
  .service-focus-card:hover { transform: translateY(-10px); border-color: var(--orange); box-shadow: 0 30px 60px rgba(10,31,68,0.1); }
  
  .card-image-wrapper { width: 100%; height: 240px; overflow: hidden; position: relative; background: var(--navy); }
  .card-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0.9; }
  .service-focus-card:hover .card-image-wrapper img { transform: scale(1.08); opacity: 1; }
  
  .card-content-wrapper { padding: 2.25rem 2rem; display: flex; flex-direction: column; gap: 1rem; flex-grow: 1; position: relative; }
  .service-focus-card .icon-shield-wrap { background: var(--orange); color: #fff; padding: 1rem; border-radius: 4px; font-size: 1.5rem; line-height: 1; position: absolute; top: -2.5rem; right: 2rem; box-shadow: 0 10px 20px rgba(232, 115, 10, 0.2); }
  .service-focus-card h4 { font-size: 1.35rem; color: var(--navy); margin-top: 0.5rem; }
  .service-focus-card p { font-size: 0.95rem; color: #4B5563; line-height: 1.65; }


  
  /* ==========================================================================
     EDITORIAL SPLIT CONFIGURATIONS (EDITORIAL IMAGE WITH OVERLAYS)
     ========================================================================== */
  .editorial-context-wrap { padding: 5rem 0; background: #fff; border-top: 1px solid var(--border-line);  }
  .editorial-row-block { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
  @media(min-width: 1024px) { 
    .editorial-row-block { grid-template-columns: repeat(2, 1fr); gap: 6.5rem; }
    .editorial-row-block.row-reverse { direction: rtl; }
    .editorial-row-block.row-reverse .editorial-text-node { direction: ltr; }
  }
  
  .editorial-image-box { height: 480px; border-radius: 12px; overflow: hidden; box-shadow: 0 25px 55px rgba(10,31,68,0.12); position: relative; }
  .editorial-image-box img { width: 100%; height: 100%; object-fit: cover; }
  .editorial-image-box::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent 40%, rgba(10,31,68,0.4)); }
  
  .editorial-text-node h3 { font-size: 2rem; color: var(--navy); margin-bottom: 1.25rem; }
  @media(min-width: 768px) { .editorial-text-node h3 { font-size: 2.5rem; } }
  .editorial-text-node p { font-size: 1.05rem; line-height: 1.8; color: #4B5563; margin-bottom: 2rem; text-align: justify; }


  
  /* Universal Actions Engine */
  .action-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1.1rem 2.2rem; border-radius: 4px; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; border: none; text-transform: uppercase; letter-spacing: 0.02em; transition: var(--transition-smooth); cursor: pointer; text-decoration: none; position: relative; overflow: hidden; z-index: 1; }
  .action-solid { background: var(--orange); color: #fff; }
  .action-solid::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--navy); z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
  .action-solid:hover::after { transform: scaleX(1); transform-origin: left; }
  .action-solid:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(232, 115, 10, 0.2); }
  
  .action-ghost { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
  .action-ghost:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
  

  /* Animation Hub Nodes */
  /* .reveal-node { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal-node.active { opacity: 1; transform: none; } */



  
  /* ==========================================================================
     Areas We Serve Page
     ========================================================================== */
 
  .badge-token { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.95rem; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 4px; }
  .badge-orange { background: var(--orange); }

     
  /* Intro Core Details Copy Row */
  .intro-details-row { padding: 5rem 0 2rem; }
  .intro-split-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
  @media(min-width: 1024px) { .intro-split-layout { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: center; } }
  .intro-split-layout h2 { font-size: 2.25rem; text-transform: uppercase; }
  .intro-split-layout p { font-size: 1.1rem; line-height: 1.7; }


  
  /* ==========================================================================
     REVAMPED CITIES SECTION WITH GRAPHIC BACKGROUNDS AND HOVER UTILITY BUTTONS
     ========================================================================== */
  .matrix-showcase-section { padding: 5rem 0 7rem; background: #fff; border-top: 1px solid var(--border-line); border-bottom: 1px solid var(--border-line); }
  .matrix-intro-block { text-align: center; max-width: 750px; margin: 0 auto 5rem; }
  .matrix-intro-block h2 { font-size: 2rem; text-transform: uppercase; margin: 1rem 0; }
  @media(min-width: 768px) { .matrix-intro-block h2 { font-size: 2.75rem; } }
  
  /* 5-Column Distribution Framework */
  .regional-nodes-mesh { display: grid; grid-template-columns: 1fr; gap: 2rem; }
  @media(min-width: 640px) { .regional-nodes-mesh { grid-template-columns: repeat(2, 1fr); } }
  @media(min-width: 1024px) { .regional-nodes-mesh { grid-template-columns: repeat(3, 1fr); } }
  @media(min-width: 1200px) { .regional-nodes-mesh { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
  
  /* Rich-Media Background City Cards */
  .city-node-card { 
    position: relative;
    border-radius: 6px; 
    padding: 2.5rem 1.5rem; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-end; 
    min-height: 340px; 
    overflow: hidden; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 25px rgba(10,31,68,0.08);
    transition: var(--transition-smooth);
    z-index: 1;
  }
  
  /* Individual Specific Image Layout Grids */
  .city-san-antonio { background-image: url('https://legacygaragerepair.com/wp-content/uploads/2024/08/san-Antonio-TX.jpg?auto=format&fit=crop&w=500&q=80'); }
  .city-new-braunfels { background-image: url('https://legacygaragerepair.com/wp-content/uploads/2024/08/new-Braunfels-TX.webp?auto=format&fit=crop&w=500&q=80'); }
  .city-helotes { background-image: url('https://legacygaragerepair.com/wp-content/uploads/2024/08/Helotes-TX.jpg?auto=format&fit=crop&w=500&q=80'); }
  .city-universal-city { background-image: url('https://legacygaragerepair.com/wp-content/uploads/2024/08/universal-city-TX.jpg?auto=format&fit=crop&w=500&q=80'); }
  .city-spring-branch { background-image: url('https://legacygaragerepair.com/wp-content/uploads/2024/08/spring-branch-TX-1-2048x1536.jpg?auto=format&fit=crop&w=500&q=80'); }

  /* Default Card Ambient Darkness Shading tint */
  .city-node-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10, 31, 68, 0.95) 0%, rgba(10, 31, 68, 0.3) 70%, rgba(10, 31, 68, 0.1) 100%);
    z-index: 2;
    transition: var(--transition-smooth);
  }
  
  .city-card-inner-info { position: relative; z-index: 3; width: 100%; transition: var(--transition-smooth); transform: translateY(25px); }
  .city-node-card h3 { font-size: 1.35rem; text-transform: uppercase; color: #fff; margin-bottom: 0.25rem; font-family: var(--font-display); text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
  
  /* Hidden Overlay Button Revealed Seamlessly on Hover */
  .city-hover-utility-btn {
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -30%);
    opacity: 0;
    pointer-events: none;
    z-index: 4;
    padding: 0.75rem 1.5rem;
    background: var(--orange);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    border: none;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(232,115,10,0.3);
    transition: var(--transition-smooth);
  }

  /* Structural Hover Interaction Rules */
  .city-node-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(10,31,68,0.3); }
  .city-node-card:hover::before { background: linear-gradient(to top, rgba(10, 31, 68, 0.95) 0%, rgba(10, 31, 68, 0.6) 100%); }
  .city-node-card:hover .city-card-inner-info { transform: translateY(0); }
  .city-node-card:hover .city-hover-utility-btn { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }


  /* Gallery Page Styles */


  
  /* ==========================================================================
     EXACT 3-COLUMN IMAGE CLEAN INTERACTIVE MATRIX (15 IMAGE NODES)
     ========================================================================= */
  .gallery-showcase-wrap { padding: 2rem 0 6rem; }
  .gallery-interactive-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
  @media(min-width: 640px) { .gallery-interactive-grid { grid-template-columns: repeat(2, 1fr); } }
  @media(min-width: 1024px) { .gallery-interactive-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
  
  .gallery-image-node { 
    position: relative; 
    height: 300px; 
    border-radius: 6px; 
    overflow: hidden; 
    box-shadow: 0 10px 25px rgba(10,31,68,0.06); 
    background: var(--navy);
    cursor: pointer;
  }
  .gallery-image-node img{
    height:300px; 
    width:100%;
  
  }
  /* Hover Physics without Text Blocks */
  .gallery-image-node:hover img { transform: scale(1.05); filter: brightness(1.1); }

  /* ==========================================================================
     LIGHTBOX STRUCTURAL CORE STYLE
     ========================================================================== */
  .lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 31, 68, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .lightbox-overlay.active { display: flex; opacity: 1; }
  .lightbox-content-box { max-width: 90%; max-height: 85%; position: relative; transform: scale(0.9); transition: transform 0.3s ease; }
  .lightbox-overlay.active .lightbox-content-box { transform: scale(1); }
  .lightbox-content-box img { width: 500px; height: auto; max-width: 100%; max-height: 85vh; border-radius: 4px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); object-fit: contain; }
  
  .lightbox-close-trigger {
    position: absolute;
    top: -40px; right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    font-family: Arial, sans-serif;
    line-height: 1;
    transition: color 0.2s;
  }
  .lightbox-close-trigger:hover { color: var(--orange); }


  /* Contact us page */
  /* ==========================================================================
     CONTACT FORM & INFO INTERACTIVE CORNER
     ========================================================================== */
  .contact-engagement-wrap { padding: 4rem 0 6rem; }
  .engagement-dual-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
  @media(min-width: 1024px) { .engagement-dual-grid { grid-template-columns: 1fr 1.1fr; gap: 6rem; align-items: start; } }

  .info-desk-cell h3 { font-size: 1.85rem; margin-bottom: 1rem; color: var(--navy); }
  .info-desk-cell p.subtitle-trace { font-size: 1.05rem; color: #4B5563; margin-bottom: 2.5rem; }

  .meta-anchors-stack { display: flex; flex-direction: column; gap: 2rem; }
  .anchor-card-row { display: flex; align-items: flex-start; gap: 1.25rem; background: #fff; padding: 1.5rem; border-radius: 6px; box-shadow: 0 10px 25px rgba(10,31,68,0.04); border: 1px solid var(--border-line); }
  .anchor-card-row i { color: var(--orange); font-size: 1.5rem; background: rgba(232, 115, 10, 0.1); padding: 0.75rem; border-radius: 4px; line-height: 1; }
  .anchor-card-text h4 { font-size: 0.85rem; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
  .anchor-card-text a, .anchor-card-text span { font-size: 1.15rem; font-weight: 500; color: var(--dark-slate); text-decoration: none; transition: color 0.2s; }
  .anchor-card-text a:hover { color: var(--orange); }

  /* Operational Web Form Mechanics */
  .form-housing-block { background: #fff; padding: 2.5rem; border-radius: 8px; box-shadow: 0 20px 40px rgba(10,31,68,0.06); border: 1px solid var(--border-line); }
  .form-row-field { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
  .form-row-field label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--navy); letter-spacing: 0.02em; }
  .form-row-field input, .form-row-field textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.85rem 1rem; border: 1px solid var(--border-line); border-radius: 4px; color: var(--dark-slate); outline: none; transition: var(--transition-smooth); width: 100%; }
  .form-row-field input:focus, .form-row-field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232, 115, 10, 0.15); }
  .form-row-field textarea { resize: vertical; min-height: 130px; }

  /* Success Banner Notification Layout */
  .completion-banner { padding: 1rem; background: #dcfce7; border: 1px solid #bbf7d0; color: #166534; border-radius: 4px; margin-bottom: 1.5rem; display: none; font-size: 0.95rem; font-weight: 500; text-align: center; }



  
  /* ==========================================================================
     LOCAL MAP WRAPPER PIN FOR SAN ANTONIO, TX 78232
     ========================================================================== */
  .geo-mapping-frame { width: 100%; height: 450px; background: #E5E7EB; display: block; border: none; }


  /* Update the selector to only target spans, i, or elements that aren't wraps */
[class^="icon-"]:not([class*="-wrap"]), 
[class*=" icon-"]:not([class*="-wrap"]) {
    font-family: 'lucide' !important;
    font-size: inherit;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.feature-heading-box{
  display: flex;
  margin-bottom:20px
}


/* services detail page */


  /* Structural Asymmetrical Blueprint Hero */
  .hero-blueprint { padding: 3rem 0 6rem; display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
  @media(min-width: 1024px) { .hero-blueprint { grid-template-columns: 1.14fr 0.86fr; gap: 4.5rem; } }
  .hero-details h1 { font-size: 2.5rem; margin: 1.25rem 0; text-transform: uppercase; }
  @media(min-width: 768px) { .hero-details h1 { font-size: 3.5rem; } }
  .hero-details p { font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 580px; }
  .hero-actions-row { display: flex; flex-wrap: wrap; gap: 1rem; }
  
  .hero-canvas-frame { position: relative; height: 480px; background: var(--navy); border-radius: 8px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(10, 31, 68, 0.15); }
  .hero-canvas-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }


  
  /* Value Anchors Row */
  .value-anchors-section { background: #fff; padding: 4.5rem 0; border-top: 1px solid var(--border-line); border-bottom: 1px solid var(--border-line); }
  .anchors-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
  @media(min-width: 768px) { .anchors-grid { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; } }
  .anchor-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
  .anchor-card h3 i { color: var(--orange); font-size: 1.15rem; }
  .anchor-card p { font-size: 0.925rem; }

  /* Core Competency Section & Grid Hub */
  .hub-section { padding: 7rem 0; }
  .hub-header { max-width: 680px; margin-bottom: 5rem; }
  .hub-header h2 { font-size: 2.25rem; margin-top: 1rem; text-transform: uppercase; }
  @media(min-width: 768px) { .hub-header h2 { font-size: 2.75rem; } }
  
  .hub-matrix { display: grid; grid-template-columns: 1fr; gap: 2rem; }
  @media(min-width: 768px) { .hub-matrix { grid-template-columns: repeat(3, 1fr); } }
  .matrix-node { background: #fff; border: 1px solid var(--border-line); padding: 2.5rem 2rem; border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between; transition: var(--transition-smooth); min-height: 340px; }
  .hub-matrix .matrix-node i { font-size: 1.75rem; color: var(--orange); margin-bottom: 2rem; transition: var(--transition-smooth); }
  .matrix-node h3 { font-size: 1.4rem; margin-bottom: 0.75rem; text-transform: uppercase; transition: var(--transition-smooth); }
  .matrix-node p { font-size: 0.925rem; transition: var(--transition-smooth); }
  
  /* Matrix Interactive Hover Loop */
  .matrix-node:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10,31,68,0.12); }
  .matrix-node:hover h3 { color: #fff; }
  .matrix-node:hover p { color: rgba(255,255,255,0.75); }
  .matrix-node:hover i { color: #fff; transform: scale(1.1); }


  
  /* Dual Layer Splitted Info Modules */
  .split-module-block { padding: 6rem 0; background: #fff; border-bottom: 1px solid var(--border-line); }
  .split-module-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
  @media(min-width: 1024px) { .split-module-grid { grid-template-columns: 1fr 1.1fr; } }
  .module-text-area h2 { font-size: 2.25rem; margin-bottom: 1.25rem; text-transform: uppercase; }
  .module-text-area p { font-size: 1.025rem; margin-bottom: 1.5rem; }
  
  .module-image-area { height: 380px; border-radius: 8px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
  .module-image-area img { width: 100%; height: 100%; object-fit: cover; }


  
  /* Industrial Commercial Logistics Grid */
  .commercial-section { padding: 3rem 0 5rem; background: var(--warm); }
  .commercial-banner { background: var(--navy); border-radius: 12px; padding: 3rem; color: #fff; display: grid; grid-template-columns: 1fr; gap: 3rem; box-shadow: 0 30px 60px rgba(10,31,68,0.15); }
  @media(min-width: 1024px) { .commercial-banner { grid-template-columns: 1fr 1fr; padding: 5rem; gap: 4.5rem; align-items: center; } }
  .commercial-intro h2 { color: #fff; font-size: 2.25rem; text-transform: uppercase; margin-top: 1rem; margin-bottom: 1rem; }
  @media(min-width: 768px) { .commercial-intro h2 { font-size: 2.5rem; } }
  .commercial-intro p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 2rem; }
  
  .commercial-listing-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); padding: 2.5rem; border-radius: 8px; }
  .commercial-listing-card h4 { color: #fff; font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; margin-bottom: 1.5rem; letter-spacing: 0.02em; }
  .commercial-loc-nodes { display: flex; flex-direction: column; gap: 1rem; }
  .loc-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.02); padding: 1rem; border-radius: 4px; }
  .loc-item i { color: var(--orange); }


  
  /* High-Conversion System Consultation Request Block */
  .consultation-row { padding: 7rem 0; background: #fff; border-top: 1px solid var(--border-line); }
  .consultation-row h2{font-size:44px;}
  .consultation-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
  @media(min-width: 1024px) { .consultation-grid { grid-template-columns: 0.9fr 1.1fr; gap: 6rem; align-items: start; } }
  
  .consultation-form-panel { background: var(--warm); border: 1px solid var(--border-line); padding: 3rem; border-radius: 8px; }
  .consultation-form-panel h3 { font-size: 1.75rem; text-transform: uppercase; margin-bottom: 1.5rem; }
  
  .engineering-form { display: flex; flex-direction: column; gap: 1.5rem; }
  .field-row { display: flex; flex-direction: column; }
  .field-row label { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--navy); letter-spacing: 0.02em; }
  .field-row input, .field-row textarea { width: 100%; padding: 0.95rem 1rem; border: none; border-bottom: 2px solid var(--border-line); background: transparent; font-family: inherit; font-size: 0.95rem; color: var(--navy); outline: none; transition: var(--transition-smooth); }
  .field-row input:focus, .field-row textarea:focus { border-bottom-color: var(--orange); background: rgba(232,115,10,0.01); }
  .field-row textarea { min-height: 100px; resize: vertical; }


  /* Areas we serve detail page */

  
  /* ==========================================================================
     ASYMMETRIC TWO-DIMENSIONAL RECURRING SECTIONS MESH
     ========================================================================== */
  .geometric-matrix-row { padding: 6rem 0; display: flex; align-items: center; }
  .geometric-matrix-row:nth-of-type(even) { background: #fff; }
  
  .two-dim-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
  @media(min-width: 1024px) { 
    .two-dim-grid { grid-template-columns: 1fr 1fr; gap: 5.5rem; } 
    .inverse-layout-node .text-column-cell { order: 2; }
    .inverse-layout-node .graphic-column-cell { order: 1; }
  }
  
  .text-column-cell h2 { font-size: 2rem; margin-bottom: 1.25rem; color: var(--navy); }
  @media(min-width: 768px) { .text-column-cell h2 { font-size: 2.35rem; } }
  .text-column-cell p { font-size: 1.025rem; line-height: 1.7; margin-bottom: 1.5rem; text-align: justify; }
  
  .graphic-column-cell { height: 400px; border-radius: 8px; overflow: hidden; box-shadow: 0 15px 35px rgba(10,31,68,0.08); background: var(--navy); }

  /* ==========================================================================
     PARALLAX FIXED ESTiMATE CONVERSION PANEL
     ========================================================================== */
  .parallax-billboard-block { 
    position: relative; 
    padding: 10rem 0; 
    background-image: url('https://images.unsplash.com/photo-1558036117-15d82a90b9b1?auto=format&fit=crop&w=1600&q=80'); 
    background-attachment: fixed; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    text-align: center;
    color: #fff;
  }
  .parallax-billboard-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 31, 68, 0.85);
    z-index: 1;
  }
  .parallax-inner-panel { position: relative; z-index: 2; max-width: 750px; margin: 0 auto; }
  .parallax-inner-panel h2 { color: #fff; font-size: 2.5rem; margin-bottom: 1.5rem; margin-top:1rem }
  @media(min-width: 768px) { .parallax-inner-panel h2 { font-size: 3.25rem; } }
  .parallax-inner-panel p { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 2.5rem; }


  
  /* ==========================================================================
     FAQ ARCHITECTURAL SECTION
     ========================================================================== */
  .faq-structural-wrap { padding: 3rem 0 5rem; background: var(--warm); }
  .faq-header-center { text-align: center; max-width: 650px; margin: 0 auto 4rem; }
  .faq-header-center h3 { font-size: 2.25rem; color: var(--navy); margin-top:10px }
  
  .faq-accordion-container { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
  .faq-accordion-item { background: #fff; border: 1px solid var(--border-line); border-radius: 6px; overflow: hidden; transition: var(--transition-smooth); }
  .faq-accordion-item:hover { border-color: rgba(232, 115, 10, 0.4); box-shadow: 0 10px 25px rgba(10,31,68,0.02); }
  
  .faq-accordion-trigger { width: 100%; padding: 1.5rem 2rem; background: none; border: none; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy); cursor: pointer; transition: color 0.3s ease; }
  .faq-accordion-trigger i { color: var(--orange); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); font-size: 1.2rem; }
  
  .faq-accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); background: #fff; }
  .faq-accordion-content { padding: 0 2rem 1.75rem; color: #4B5563; font-size: 0.95rem; line-height: 1.7; }

  /* Active States handled dynamically via JS */
  .faq-accordion-item.is-expanded { border-color: var(--orange); box-shadow: 0 15px 30px rgba(10,31,68,0.05); }
  .faq-accordion-item.is-expanded .faq-accordion-trigger i { transform: rotate(180deg); }


  .card-content-wrapper h4 a:hover {
    color: var(--orange); /* Or whatever your theme's primary/accent color is */
}

.phone-buttons{
    display: flex;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    gap: 20px;
    padding: 0px 14px;
}