/* JG Auto Detailing Custom Enhancements & Interactive Components */

/* Ensure GHL entrance-animated elements are always visible without Nuxt hydration */
[data-animation-class] {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Remove white gap above quote section & prevent mobile height clipping / overlap */
.hl_page-preview--content .section-ZZCkjVc-u- {
  margin-top: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding-bottom: 40px !important;
}

/* Fix mobile GHL fixed-height 1000px rule that was pushing submit button behind FAQ */
.hl_page-preview--content .form-OH_UZgAAVo,
#col-XVda43C1fy .form-OH_UZgAAVo,
#form-OH_UZgAAVo {
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
}
#col-XVda43C1fy,
#col-XVda43C1fy > .inner {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.hl-app#quote-form-wrap,
#quote-form-wrap #form-builder,
#quote-form-wrap .ghl-form-wrap,
#quote-form-wrap #_builder-form {
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* Fix Quote Form input styling override from GHL */
#__nuxt #_builder-form .jg-quote-input {
  padding: 10px 14px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  text-indent: 0 !important;
}
#__nuxt #_builder-form .jg-quote-input:focus {
  border-color: #188bf6 !important;
  box-shadow: 0 0 0 3px rgba(24, 139, 246, 0.25) !important;
}

/* Fix Home page Schedule Online or Call visibility */
#col-70uSMSMgM .c-paragraph p,
#col-70uSMSMgM .c-paragraph strong,
#col-70uSMSMgM .c-paragraph a {
  color: #363636 !important;
}

/* Fix social icons if needed */
.jg-social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* Tap-to-call button */
.jg-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #188bf6;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(24, 139, 246, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  margin-top: 6px;
  cursor: pointer;
}
.jg-call-btn:hover,
.jg-call-btn:focus-visible {
  background: #0f76d8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(24, 139, 246, 0.45);
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.jg-call-btn--outline {
  background: #0e182c;
  border: 1.5px solid #188bf6;
}
.jg-call-btn--outline:hover {
  background: #188bf6;
}
.jg-call-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Trust Badges */
.jg-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 14px auto 4px;
}
.jg-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14, 24, 44, 0.88);
  border: 1px solid rgba(24, 139, 246, 0.55);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.jg-trust-badge--light {
  background: #f0f6ff;
  border-color: #188bf6;
  color: #0e182c;
  box-shadow: none;
}
.jg-trust-badge svg {
  width: 15px;
  height: 15px;
  color: #38bdf8;
  flex-shrink: 0;
}
.jg-trust-badge--light svg {
  color: #188bf6;
}

/* Service Area Section */
.jg-service-area {
  background: linear-gradient(135deg, #000321 0%, #0e182c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 20px;
  text-align: center;
}
.jg-service-area__inner {
  max-width: 960px;
  margin: 0 auto;
}
.jg-service-area__eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 8px;
}
.jg-service-area__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}
.jg-service-area__sub {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #cbd5e1;
  margin: 0;
}

/* Shared Dark Luxury Section Wrapper for Reviews & Before/After */
.jg-extra-section {
  background: #000000;
  padding: 64px 20px;
  color: #ffffff;
}
.jg-extra-section--navy {
  background: #000321;
}
.jg-extra-section__inner {
  max-width: 1140px;
  margin: 0 auto;
}
.jg-section-header {
  text-align: center;
  margin-bottom: 36px;
}
.jg-section-header__tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #188bf6;
  margin-bottom: 8px;
}
.jg-section-header__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 10px;
}
.jg-section-header__desc {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto;
}

/* Reviews Section */
.jg-reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.jg-reviews-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 24, 44, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.jg-reviews-rating-pill:hover {
  border-color: rgba(24, 139, 246, 0.7);
  transform: translateY(-1px);
}
.jg-reviews-rating-pill .jg-stars-inline {
  color: #f5b301;
  letter-spacing: 1px;
}
.jg-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 900px) {
  .jg-reviews-grid {
    grid-template-columns: 1fr;
  }
}
.jg-review-card {
  background: #0e182c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.jg-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.jg-review-stars {
  color: #f5b301;
  font-size: 17px;
  letter-spacing: 2px;
}
.jg-review-source {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #93c5fd;
  background: rgba(24, 139, 246, 0.14);
  border: 1px solid rgba(24, 139, 246, 0.35);
  border-radius: 999px;
  padding: 3px 9px;
}
.jg-review-quote {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.68;
  color: #e2e8f0;
}
.jg-review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.jg-review-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}
.jg-review-meta {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #94a3b8;
}
.jg-reviews-cta {
  text-align: center;
  margin-top: 26px;
}
.jg-reviews-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #7dd3fc;
  text-decoration: none;
  border: 1px solid rgba(24, 139, 246, 0.45);
  background: rgba(24, 139, 246, 0.12);
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.jg-reviews-cta a:hover {
  background: rgba(24, 139, 246, 0.22);
  border-color: rgba(24, 139, 246, 0.8);
}

/* Before & After Photos Section */
.jg-ba-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .jg-ba-grid {
    grid-template-columns: 1fr;
  }
}
.jg-ba-card {
  background: #0a0f1f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.jg-ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111827;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  --pos: 50%;
}
.jg-ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.jg-ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  pointer-events: none;
}
.jg-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 44px;
  transform: translateX(-50%);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: ew-resize;
  z-index: 4;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jg-ba-handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2.5px;
  transform: translateX(-50%);
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.85);
}
.jg-ba-handle:focus-visible {
  outline: none;
}
.jg-ba-handle:focus-visible .jg-ba-knob {
  box-shadow: 0 0 0 3px #188bf6, 0 4px 14px rgba(0, 0, 0, 0.6);
}
.jg-ba-knob {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #188bf6;
  border: 2.5px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65);
  transition: transform 0.15s ease;
}
.jg-ba-slider:hover .jg-ba-knob,
.jg-ba-slider.is-dragging .jg-ba-knob {
  transform: scale(1.08);
}
.jg-ba-label {
  position: absolute;
  top: 14px;
  z-index: 3;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 11px;
  border-radius: 999px;
  pointer-events: none;
  backdrop-filter: blur(6px);
}
.jg-ba-label--before {
  left: 14px;
  background: rgba(15, 23, 42, 0.78);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.65);
}
.jg-ba-label--after {
  right: 14px;
  background: rgba(15, 23, 42, 0.78);
  color: #7dd3fc;
  border: 1px solid rgba(24, 139, 246, 0.75);
}
.jg-ba-caption {
  padding: 15px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  background: #0e182c;
}

/* Custom Quote Form Enhancements */
.jg-quote-form {
  width: 100%;
}
.jg-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .jg-quote-grid {
    grid-template-columns: 1fr;
  }
}
.jg-quote-field {
  display: flex;
  flex-direction: column;
}
.jg-quote-field--full {
  grid-column: 1 / -1;
}
.jg-quote-field label {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
}
.jg-quote-field label span {
  color: #ef4444;
}
.jg-quote-input {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 10px 14px;
  border-radius: 5px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #111827;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.jg-quote-input:focus {
  border-color: #188bf6;
  box-shadow: 0 0 0 3px rgba(24, 139, 246, 0.25);
}
.jg-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border-radius: 6px;
  border: 1.5px dashed #38bdf8;
  background: rgba(24, 139, 246, 0.12);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.jg-upload-btn:hover {
  background: rgba(24, 139, 246, 0.22);
  border-color: #7dd3fc;
}
.jg-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.jg-photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.jg-photo-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #111827;
}
.jg-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jg-photo-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.jg-quote-submit {
  width: 100%;
  background: #188bf6;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 13px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 6px;
  transition: background-color 0.15s ease;
}
.jg-quote-submit:hover {
  background: #0f76d8;
}
.jg-quote-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.jg-quote-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  display: none;
}
.jg-quote-status.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #a7f3d0;
}
.jg-quote-status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fecaca;
}

/* Services Page Price Tag & Add-ons */
.jg-price-pill {
  display: inline-block;
  margin: 10px auto 14px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(24, 139, 246, 0.18);
  border: 1.5px solid #188bf6;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.jg-price-pill--inline {
  margin: 0 0 14px;
}
.jg-addons-wrap {
  position: relative;
  z-index: 5;
  max-width: 1140px;
  margin: 34px auto 0;
  padding: 0 16px;
  text-align: center;
}
.jg-addons-card {
  background: rgba(0, 3, 33, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 26px 24px;
  color: #ffffff;
}
.jg-addons-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #ffffff;
}
.jg-addons-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #e2e8f0;
  margin: 6px 0;
}
.jg-price-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(24, 139, 246, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  text-align: center;
}
.jg-price-note a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 24px;
  border-radius: 5px;
  background: #188bf6;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.jg-price-note a:hover {
  background: #0f76d8;
}

/* FAQ Accordion Interactions */
#__nuxt .hl-faq .hl-faq-child {
  height: auto !important;
  overflow: visible !important;
}
.hl-faq-child-heading {
  cursor: pointer;
  user-select: none;
}
#__nuxt .hl-faq .hl-faq-child:not(.is-open) .hl-faq-child-panel {
  display: none !important;
}
#__nuxt .hl-faq .hl-faq-child.is-open .hl-faq-child-panel {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 16px 20px !important;
  opacity: 1 !important;
}
#__nuxt .hl-faq .hl-faq-child.is-open .hl-faq-child-panel .item-text,
#__nuxt .hl-faq .hl-faq-child.is-open .hl-faq-child-panel p {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  line-height: 1.6 !important;
}
.hl-faq-child.is-open .hl-faq-child-heading-icon {
  transform: rotate(180deg);
}
.hl-faq-child-heading-icon {
  transition: transform 0.2s ease;
}

/* Mobile Menu Toggle for Services Page */
@media (max-width: 767px) {
  .nav-menu-mobile.is-open {
    display: flex !important;
    flex-direction: column !important;
  }
}
