/* Non-critical CSS - deferred loading */
    
/* Unified Base (migrated from inline page styles) */
:root {
  --brand-color: #ff3b3b;
  --dark-bg: #0a0a0a;
  --light-bg: #1a1a1a;
  --text-light: #fff;
  --text-muted: #ccc;
  --card-gradient: linear-gradient(145deg, #111 0%, #1f1f1f 100%);
  --card-shadow: 0 12px 25px rgba(255, 59, 59, 0.3);
  --card-shadow-hover: 0 8px 20px rgba(255, 59, 59, 0.4);
  --border-color: #333;
  --focus-ring: 0 0 0 3px rgba(255,59,59,0.45);
}

html { scroll-behavior: smooth; }
body { font-family: Arial, system-ui, sans-serif; background:#000; color:var(--text-light); line-height:1.6; -webkit-font-smoothing: antialiased; }

img { max-width:100%; height:auto; }
a { color: var(--brand-color); text-decoration:none; }
a:hover { color:#fff; }
a:focus-visible, button:focus-visible, textarea:focus-visible, input:focus-visible { outline:none; box-shadow: var(--focus-ring); }

/* Reposition floating call button to left to avoid chat widget overlap */
#floating-call { position:fixed; bottom:18px; left:18px; right:auto; z-index:99990; }

header.site-header { background:var(--dark-bg); padding:1rem 2rem; display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; z-index:10000; box-shadow:0 4px 14px -2px rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.brand { display:flex; align-items:center; gap:.8rem; }
.brand img { width:40px; height:auto; }
.brand span { font-weight:700; font-size:1.35rem; color:var(--brand-color); letter-spacing:.5px; }

nav.primary-nav { display:flex; gap:1.4rem; align-items:center; }
nav.primary-nav a { font-weight:600; font-size:.95rem; position:relative; }
nav.primary-nav a[aria-current="page"] { color:#fff; }
nav.primary-nav a::after { content:""; position:absolute; left:0; bottom:-4px; height:2px; width:0; background:var(--brand-color); transition:width .3s; }
nav.primary-nav a:hover::after { width:100%; }

.btn, .cta-btn { background:var(--brand-color); color:#fff; border:none; padding:.85rem 1.4rem; border-radius:8px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:.4rem; transition:background .3s, transform .3s, box-shadow .3s; text-decoration:none; }
.btn:hover, .cta-btn:hover { background:#e00000; transform:translateY(-2px); box-shadow:0 6px 15px rgba(255,59,59,.4); }
.btn:disabled { opacity:.5; cursor:not-allowed; }

section.section { padding:5rem 2rem; background:var(--light-bg); }
section.section.alt { background:var(--dark-bg); }
section.section h2 { font-size:2.5rem; margin-bottom:2.8rem; color:var(--brand-color); text-align:center; }

.grid-auto { display:grid; gap:2rem; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); }

footer.site-footer { background:var(--dark-bg); color:var(--text-muted); padding:2rem; text-align:center; font-size:.85rem; border-top:1px solid #222; }
footer.site-footer a { color:var(--brand-color); }
footer.site-footer a:hover { color:#fff; }

.phone-highlight { font-weight:700; color:var(--brand-color); }
.badge { display:inline-block; padding:.35rem .6rem; background:#191919; border:1px solid #333; border-radius:6px; font-size:.65rem; letter-spacing:.5px; text-transform:uppercase; }

.layout-narrow { max-width:1100px; margin:0 auto; }
.text-center { text-align:center; }
.muted { color:var(--text-muted); }

/* Utility spacing */
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-5{margin-top:3rem}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}.mb-5{margin-bottom:3rem}

/* Responsive nav collapse placeholder (JS can enhance) */
@media (max-width: 880px) {
  nav.primary-nav { display:none; }
  .mobile-nav-toggle { display:flex; }
}
@media (min-width: 881px) {
  .mobile-nav-toggle { display:none; }
}

/* Font optimization */
* {
  font-display: swap;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--card-gradient);
  color: var(--text-light);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.service-card h3 {
  color: var(--brand-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-card a {
  color: var(--brand-color);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card a:hover {
  color: var(--text-light);
}

/* FAQ Section */
#faq {
  padding: 4rem 2rem;
  background: var(--light-bg);
}

#faq h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--brand-color);
  font-size: 2.5rem;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  perspective: 1000px;
}

.faq-card {
  background: var(--card-gradient);
  border-radius: 12px;
  padding: 2rem;
  min-height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  cursor: pointer;
  box-shadow: var(--card-shadow);
}

.faq-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.faq-card.flipped {
  transform: rotateY(180deg);
}

.faq-front,
.faq-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-back {
  background: var(--card-gradient);
  transform: rotateY(180deg);
}

.faq-front h3 {
  color: var(--brand-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.faq-back p {
  color: var(--text-light);
  line-height: 1.6;
  text-align: left;
}

/* Testimonials Section */
#testimonials {
  padding: 4rem 2rem;
  background: var(--dark-bg);
}

#testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--brand-color);
  font-size: 2.5rem;
  font-weight: 700;
}

.testimonial-swiper {
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.review-card {
  background: var(--card-gradient);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--card-shadow);
  height: auto;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-card p:first-child {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.review-card p:last-child {
  color: var(--brand-color);
  font-weight: bold;
}

/* Instant Pricing Section */
#instant-pricing {
  padding: 4rem 2rem;
  background: var(--light-bg);
  text-align: center;
}

#instant-pricing h2 {
  color: var(--brand-color);
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
}

#instant-pricing p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.package-card {
  background: var(--card-gradient);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.package-card h3 {
  color: var(--brand-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.2rem;
  color: var(--text-light);
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: normal;
}

.package-card ul {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.package-card ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.package-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-color);
  font-weight: bold;
}

.purchase-button {
  background: var(--brand-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: auto;
}

.purchase-button:hover {
  background: #e00000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 59, 59, 0.4);
}

/* Gallery Section */
#gallery {
  padding: 3rem 1rem;
}

#gallery h2 {
  font-weight: 700;
  color: var(--brand-color);
}

#gallery p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

.swiper-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(255, 59, 59, 0.3);
}

.swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.swiper-pagination-bullet {
  background: var(--brand-color);
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--brand-color);
}

/* Contact Section */
#contact {
  padding: 4rem 2rem;
  background: var(--dark-bg);
  text-align: center;
}

#contact h2 {
  color: var(--brand-color);
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
}

#contact p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-large {
  background: var(--brand-color);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 2rem;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-large:hover {
  background: #e00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 59, 59, 0.4);
}

#contact .contact-info {
  font-size: 1rem;
  margin-top: 1rem;
}

#contact .contact-link {
  color: var(--brand-color);
  text-decoration: none;
}

#contact .contact-link:hover {
  text-decoration: underline;
  color: var(--text-light);
}

/* AI Assistant Section */
#ai-assistant h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--brand-color);
}

.ai-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #333;
  background: var(--dark-bg);
  color: var(--text-light);
  resize: vertical;
}

.ai-form button {
  background: var(--brand-color);
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-form button:hover {
  background: #e00000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 59, 59, 0.4);
}

.ai-form div {
  color: var(--text-muted);
  padding: 1rem;
  border-radius: 8px;
  background: var(--dark-bg);
  min-height: 50px;
  text-align: left;
}

/* Map Section */
.map-section p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #222;
  box-shadow: 0 8px 25px rgba(255, 59, 59, 0.2);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* Floating Call Button */
#floating-call {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--brand-color);
  color: var(--text-light);
  padding: 0.8rem 1.2rem;
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 59, 59, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

#floating-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 59, 59, 0.6);
}

/* Mobile Navigation */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: var(--dark-bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu a {
  color: var(--text-light);
  font-size: 1.5rem;
  margin: 1rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
  opacity: 0;
  animation: menuItemFadeIn 0.5s ease forwards;
}

.mobile-menu a:hover {
  color: var(--brand-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 10001;
  transition: transform 0.3s ease;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--brand-color);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Submenu */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-bg);
  border: 1px solid #333;
  border-radius: 6px;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.submenu.open {
  display: block;
}

.submenu a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid #333;
  transition: background 0.3s ease, color 0.3s ease;
}

.submenu a:last-child {
  border-bottom: none;
}

.submenu a:hover {
  background: var(--light-bg);
  color: var(--brand-color);
}

/* Hours Popup */
#hoursPopup {
  display: none;
  position: absolute;
  top: 130%;
  right: 0;
  background-color: #000;
  color: var(--text-light);
  padding: 1rem;
  border: 1px solid #333;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 59, 59, 0.5);
  white-space: nowrap;
  z-index: 1000;
}

#hoursPopup.visible {
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  #floating-call {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 1rem;
    font-size: 1.3rem;
  }

  .map-container iframe {
    height: 300px;
  }

  .hero-section {
    padding: 3rem 1rem;
  }

  #contact,
  #testimonials,
  #faq,
  #instant-pricing {
    padding: 3rem 1rem;
  }

  .swiper-slide img {
    height: 250px;
  }

  .brand span {
    font-size: 1.1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

@keyframes menuItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- Unified Hero Section (migrated from inline page styles) --- */
.hero-section { padding:5rem 2rem; background:#000; text-align:center; }
.hero-section h1 { font-size:2.8rem; margin-bottom:1rem; color:var(--brand-color); }
.hero-subtitle { font-size:1.2rem; margin-bottom:1.5rem; color:var(--text-muted); max-width:800px; margin-left:auto; margin-right:auto; }
.hero-cta { background:var(--brand-color); color:#fff; padding:1rem 2rem; font-weight:700; border-radius:6px; text-decoration:none; font-size:1.1rem; display:inline-block; transition:background .3s, transform .3s, box-shadow .3s; }
.hero-cta:hover { background:#e00000; transform:translateY(-2px); box-shadow:0 5px 15px rgba(255,59,59,.5); }

/* --- Navigation / Mobile Menu (standardized .menu & .hamburger) --- */
header, header.site-header { background:var(--dark-bg); }
.nav-icons { display:flex; align-items:center; gap:1.2rem; }
.nav-icons a { color:var(--brand-color); font-size:1.5rem; transition:color .3s ease; text-decoration:none; }
.nav-icons a:hover { color:var(--text-light); }
.hours-toggle { position:relative; }
#hoursPopup { display:none; position:absolute; top:130%; right:0; background:#000; color:var(--text-light); padding:1rem; border:1px solid #333; border-radius:6px; box-shadow:0 0 10px rgba(255,59,59,.5); white-space:nowrap; z-index:10000; opacity:0; transform:translateY(-10px); transition:opacity .3s ease, transform .3s ease; }
#hoursPopup.visible { display:block; opacity:1; transform:translateY(0); }
#hoursPopup strong { color:var(--brand-color); }
.hamburger { width:30px; height:22px; cursor:pointer; display:flex; flex-direction:column; justify-content:space-between; margin-left:1rem; }
.hamburger span { height:3px; width:100%; background:var(--brand-color); border-radius:2px; transition:.4s; }
.hamburger.active span:nth-child(1){ transform:translateY(9.5px) rotate(45deg);} 
.hamburger.active span:nth-child(2){ opacity:0;} 
.hamburger.active span:nth-child(3){ transform:translateY(-9.5px) rotate(-45deg);} 
nav.menu { position:fixed; top:0; left:-100%; width:100%; height:100vh; background:rgba(0,0,0,.95); backdrop-filter:blur(4px); padding:4rem 2rem; display:flex; flex-direction:column; gap:1.8rem; z-index:9998; overflow-y:auto; transition:left .4s cubic-bezier(.25,.46,.45,.94); }
nav.menu.open { left:0; box-shadow:5px 0 30px rgba(255,59,59,.2); }
nav.menu a { color:var(--brand-color); font-size:1.5rem; font-weight:700; text-decoration:none; display:block; padding:.5rem 0; opacity:0; animation:menuItemFadeIn .5s ease forwards; transition:color .3s ease, transform .3s ease; }
nav.menu a:hover { color:var(--text-light); transform:translateX(5px); }
.close-btn { position:absolute; top:1.5rem; right:1.5rem; font-size:2.2rem; cursor:pointer; color:var(--brand-color); transition:color .3s ease, transform .3s ease; }
.close-btn:hover { color:#fff; transform:rotate(90deg); }
nav.menu .submenu { display:none; flex-direction:column; margin-top:.5rem; margin-left:1rem; gap:.8rem; }
nav.menu .submenu.open { display:flex; }
.active-link { color:var(--text-light) !important; text-decoration:underline; }

/* Compatibility: legacy .faq-container/.faq-card naming (mapped to existing design) */
.faq-container { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.5rem; perspective:1000px; }
.faq-card { background-color:transparent; min-height:220px; perspective:1000px; cursor:pointer; position:relative; }
.faq-card-inner { position:relative; width:100%; height:100%; transition:transform .7s; transform-style:preserve-3d; }
.faq-card.flipped .faq-card-inner { transform:rotateY(180deg); }
.faq-card-front, .faq-card-back { position:absolute; width:100%; height:100%; -webkit-backface-visibility:hidden; backface-visibility:hidden; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:1.5rem; border-radius:15px; background:var(--card-gradient); box-shadow:0 10px 20px rgba(255,59,59,.2); }
.faq-card-back { transform:rotateY(180deg); text-align:left; align-items:flex-start; justify-content:flex-start; }
.faq-card h3 { color:var(--brand-color); font-size:1.4rem; margin-bottom:0; text-align:center; }
.faq-card-back h3 { font-size:1.2rem; margin-bottom:.8rem; padding-bottom:.5rem; border-bottom:1px solid rgba(255,59,59,.5); width:100%; text-align:left; }
.faq-card p { font-size:1rem; color:var(--text-muted); margin-bottom:0; }

/* Testimonial Swiper compatibility (some pages rely on .testimonial-swiper) */
.testimonial-swiper { padding-bottom:3rem; }
.testimonial-swiper .swiper-slide { height:auto; }

/* Review Section Title alignment */
#reviews h2, .section-title { color:var(--brand-color); }

@media (max-width:768px){
  nav.menu { padding:3.5rem 1.5rem; }
  .hero-section { padding:3rem 1rem; }
  .hero-section h1 { font-size:2.2rem; }
  .hero-subtitle { font-size:1rem; }
  .nav-icons { gap:.8rem; }
  .nav-icons a { font-size:1.3rem; }
}