/* Perea Plumbing - Global CSS Variables & Styles */

:root {
  --primary: #e8092e;
  --secondary: #e8092e;
  --accent: #c5071f;
  --foreground: #111827;
  --muted: #6b7280;
  --muted-light: #6b7280;
  --light-gray: #f9fafb;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --white: #ffffff;
}

body {
  font-family: 'Lato', system-ui, sans-serif;
  color: #111827;
  line-height: 1.625;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  font-size: 1rem;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* Hero entrance animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-animate {
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out forwards;
}
.hero-animate-1 { animation-delay: 0.2s; }
.hero-animate-2 { animation-delay: 0.4s; }
.hero-animate-3 { animation-delay: 0.6s; }

/* Nav items entrance animation */
@keyframes navFadeDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-logo, .nav-item-wrapper, .nav-cta-wrap {
  opacity: 0;
  animation: navFadeDown 0.5s ease-out forwards;
}
.nav-logo { animation-delay: 0.1s; }
.nav-item-wrapper:nth-child(1) { animation-delay: 0.15s; }
.nav-item-wrapper:nth-child(2) { animation-delay: 0.2s; }
.nav-item-wrapper:nth-child(3) { animation-delay: 0.25s; }
.nav-item-wrapper:nth-child(4) { animation-delay: 0.3s; }
.nav-item-wrapper:nth-child(5) { animation-delay: 0.35s; }
.nav-cta-wrap { animation-delay: 0.4s; }

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #000;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 640px) {
  .top-bar-inner { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .top-bar-inner { padding: 0 2rem; }
}
@media (max-width: 767px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    padding: 0.25rem 1rem;
  }
  .top-bar-left, .top-bar-center, .top-bar-right {
    justify-content: center;
  }
}
.top-bar-left, .top-bar-center, .top-bar-location, .top-bar-phones {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .top-bar-location, .top-bar-phones { display: contents; }
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.top-icon {
  flex-shrink: 0;
}
.top-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.top-bar a:hover { color: var(--secondary); }
.phone-group a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.phone-group a:hover { color: var(--secondary); }
.phone-divider {
  color: rgba(255,255,255,0.3);
  margin: 0 0.25rem;
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
  .top-bar-left, .top-bar-center, .top-bar-right {
    justify-content: center;
  }
}

/* ===== NAVBAR ===== */
.navbar {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s;
}
.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}
@media (min-width: 640px) {
  .nav-inner { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .nav-inner { padding: 0 2rem; }
}

.nav-logo img {
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 767px) {
  .nav-logo img { max-width: 100px; }
}
@media (min-width: 768px) {
  .nav-logo img { max-width: 125px; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-link {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
}
.nav-link:hover {
  color: var(--primary);
}
.chevron-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  min-width: 280px;
  z-index: 200;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  color: var(--foreground);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s;
}
.dropdown-menu a:hover {
  background: var(--light-gray);
  color: var(--secondary);
}

/* CTA button */
.nav-cta-wrap {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .nav-cta-wrap { display: flex; }
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-cta:hover {
  opacity: 0.9;
  transform: scale(1.03);
}
.cta-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s;
}
.nav-cta:hover .cta-arrow {
  transform: translateX(0.25rem);
}

/* Mobile */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
}
@media (max-width: 767px) {
  .mobile-toggle { display: block; }
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-logo img {
  height: 3rem;
  width: auto;
}
.mobile-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-close:hover { opacity: 0.7; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  text-align: left;
}
.mobile-services-chevron {
  transition: transform 0.3s;
}
.mobile-services-toggle.open .mobile-services-chevron {
  transform: rotate(180deg);
}
.mobile-services-list {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
}
.mobile-services-list.open {
  display: flex;
}
.mobile-services-list a {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.875rem !important;
  padding: 0.5rem 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
.mobile-services-list a:hover { color: var(--primary) !important; }

.mobile-special {
  background: var(--primary) !important;
  color: #fff !important;
  text-align: center;
  padding: 0.875rem 1.5rem !important;
  border-radius: 8px;
  font-weight: 600 !important;
  border: none !important;
  margin-bottom: 0.5rem;
}
.mobile-cta {
  background: var(--primary);
  color: #fff !important;
  text-align: center;
  padding: 0.875rem 1.5rem !important;
  border-radius: 8px;
  font-weight: 600 !important;
  margin-top: 1rem;
  border: none !important;
}

/* ===== HERO VIDEO ===== */
.hero-video-bg {
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.8);
}

/* ===== FAQ ===== */
.faq-emergency-box {
  background: linear-gradient(135deg, #e8092e 0%, #c5071f 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
}
.faq-emergency-icon {
  width: 3.25rem;
  height: 3.25rem;
  background: #fff;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8092e;
  flex-shrink: 0;
}
.faq-emergency-icon svg { width: 22px; height: 22px; }
.faq-panel {
  transition: height 0.3s ease, opacity 0.3s ease;
}
.faq-chevron-wrap {
  transition: transform 0.3s ease;
}

/* ===== SERVICES CAROUSEL ===== */
.service-slide { width: 100%; }
@media (min-width: 768px) { .service-slide { width: 33.333%; } }

/* group-hover:filter-none workaround */
.group:hover .group-hover\:filter-none {
  filter: none;
}

/* ===== LOGO TICKER ===== */
.logo-ticker {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: ticker 18s linear infinite;
}
.logo-ticker-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  flex-shrink: 0;
}
.logo-ticker:hover .logo-ticker-track {
  animation-play-state: paused;
}
.logo-ticker:hover .logo-ticker-img {
  opacity: 1;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== MAIN CTA / $49 DRAIN SPECIAL ===== */
.drain-special-wrapper {
  background: #fff;
  padding: 3rem 0 4rem;
}
.drain-special {
  background: var(--secondary);
  border-radius: 1.5rem;
  padding: 3rem;
  overflow: hidden;
}
.special-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.special-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.special-heading-icon {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.drain-special h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0;
}
.special-content p {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.special-checks {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}
.special-checks li {
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 0.625rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check-icon {
  width: 32px;
  height: 32px;
  background: #fff;
  color: var(--secondary);
  border: none;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-icon svg { width: 16px; height: 16px; }
.special-checks li .check-title {
  display: block;
  font-weight: 500;
}
.special-checks li div span {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}
.special-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn-special-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #111;
  border: 2px solid #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-special-white:hover {
  background: transparent;
  color: #fff;
}
.btn-special-filled {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-special-filled:hover {
  background: #fff;
  color: var(--secondary);
  border-color: #fff;
}

/* Map cards */
.special-maps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.map-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.map-phone {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 2;
}
.map-phone:hover { color: var(--accent); }
.map-open-link {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 2;
}

@media (max-width: 768px) {
  .special-grid { grid-template-columns: 1fr; }
  .special-maps { flex-direction: column; }
  .map-card { width: 100%; }
  .drain-special { padding: 1.5rem; }
}

/* ===== REVIEWS ===== */
.reviews-section { padding: 3rem 0; background: var(--light-gray); }
.reviews-subtitle { color: var(--muted); font-size: 1rem; margin-top: 0.5rem; }
.google-badge { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; padding: 1.25rem; text-align: center; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07); }
.badge-label { font-weight: 700; color: var(--foreground); margin: 0.5rem 0 0.25rem; font-size: 0.9375rem; }
.badge-rating { font-size: 1.75rem; font-weight: 800; color: var(--foreground); }
.badge-review-count { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.375rem; }
.badge-stars { color: #FBBC05; font-size: 1.125rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.badge-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-size: 1rem; color: var(--foreground); }
.stat span { font-size: 0.625rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.write-review-btn { display: block; background: var(--secondary); color: #fff; padding: 0.5rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: 0.8125rem; text-decoration: none; transition: background 0.3s; }
.write-review-btn:hover { background: var(--accent); color: #fff; }
.review-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.review-avatar { width: 48px; height: 48px; background: var(--secondary); color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; overflow: hidden; }
.review-header strong { display: block; font-size: 1rem; color: var(--foreground); }
.review-location { font-size: 0.8125rem; color: var(--muted); display: flex; align-items: center; gap: 0.125rem; }
.review-stars-row { color: #FBBC05; font-size: 0.9375rem; letter-spacing: 1px; margin-bottom: 0.5rem; }
.review-text { color: var(--foreground); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 0.75rem; flex: 1; }
.review-date { font-size: 0.8125rem; color: var(--muted); display: flex; align-items: center; justify-content: flex-end; }

/* ===== SERVICE AREAS ===== */
.areas-section { padding: 5rem 0; background: #fff; }
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .locations-grid { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
}
.location-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  transition: all 0.5s;
  display: flex;
  flex-direction: column;
}
.location-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
  .location-card { border-radius: 1.5rem; }
}
.location-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.location-card:hover .location-img {
  transform: scale(1.1);
}
.location-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  border: 2px solid var(--primary);
}
@media (min-width: 768px) {
  .location-badge {
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
  }
}
.location-info {
  padding: 1rem;
}
@media (min-width: 768px) {
  .location-info { padding: 2rem; }
}
.location-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 1rem;
  width: 100%;
}
.location-cta:hover { background: #111; }

.areas-compact {
  background: var(--light-gray);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.5rem;
}
.areas-compact h3 { margin-bottom: 0.5rem; }
.areas-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.125rem 0.5rem;
  padding: 0;
}
.areas-list li { font-size: 0.8125rem; color: var(--foreground); padding: 0.125rem 0; }

/* ===== THANK YOU PAGE ===== */
.thank-you {
  padding: 6rem 0;
}
.thank-you .check-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}
.thank-you h1 { margin-bottom: 1rem; }
.thank-you p { color: var(--muted); font-size: 1.125rem; margin-bottom: 1rem; }
.thank-you .urgent { font-weight: 600; color: var(--primary); }
.thank-you .phone-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}
.thank-you .back-link {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1rem;
}

/* ===== SERVICE PAGE LAYOUT ===== */
.service-content h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}
.service-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: #000;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.service-content h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #000;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.service-content p {
  color: var(--muted-light);
  line-height: 1.7;
  font-size: clamp(0.875rem, 1.25vw, 1.0625rem);
  margin-bottom: 0.75rem;
}
.service-content .check-list {
  list-style: none;
  padding: 0;
}
.service-content .check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--muted-light);
  font-size: 0.9375rem;
}
.service-content .service-image {
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}
.service-content .service-image img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  transition: transform 0.7s;
}
@media (min-width: 768px) {
  .service-content .service-image img { height: 24rem; }
}
@media (min-width: 1024px) {
  .service-content .service-image img { height: 31.25rem; }
}
.service-content .service-image:hover img {
  transform: scale(1.05);
}
.service-content .faq-item {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-100);
  margin-bottom: 1rem;
  overflow: hidden;
}
.service-content .faq-item summary {
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}
.service-content .faq-item summary::-webkit-details-marker { display: none; }
.service-content .faq-item p {
  padding: 0 1.5rem 1rem 4.5rem;
  margin: 0;
}

/* FAQ text sizing -- global override */
[class*="faq-trigger"] h3 {
  font-size: 0.875rem !important;    /* ~13px */
}
@media (min-width: 768px) {
  [class*="faq-trigger"] h3 {
    font-size: 1rem !important;    /* 14px */
  }
}
[class*="faq-panel"] p {
  font-size: 0.8125rem !important;   /* ~13px */
}
@media (min-width: 768px) {
  [class*="faq-panel"] p {
    font-size: 0.875rem !important;   /* 14px */
  }
}


/* Mobile: sidebar before FAQ */
@media (max-width: 1023px) {
  .order-2 { order: 2; }
  .order-3 { order: 3; }
}

/* Remove grey flash before images load */
.bg-gray-100 { background-color: transparent !important; }

/* HCP iframe: full height on mobile */
@media (max-width: 767px) {
  #hcp-lead-iframe {
    height: 1400px !important;
    min-height: 1400px !important;
  }
}
