body {
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
}

.marquee {
  display: flex;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  height: 40px;
  align-items: center;
  background: linear-gradient(90deg, #F4633A 0%, #16a34a 100%);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-content {
    animation: none;
  }
}

/* 🔹 Inputs del buscador más definidos */
.marquee input:focus {
  outline: none;
  box-shadow: 0 0 4px rgba(255,255,255,0.7);
}
.marquee-content span {
  padding-right: 1rem;
}

.newsearch1 {
  padding: 18px; color: white;
}
.newsearch2 {
  margin-right: 70px;
}

.custom-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 22px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.custom-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  overflow: hidden;
  color: #fff;
  background: #1e293b;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s ease, visibility .35s;
}

.custom-mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.custom-mobile-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 15px;
}

.custom-mobile-scroll::-webkit-scrollbar { width: 6px; }
.custom-mobile-scroll::-webkit-scrollbar-thumb { background: #F4633A; border-radius: 4px; }
.custom-mobile-scroll::-webkit-scrollbar-track { background: #1e293b; }

.service-nav-group {
  position: static;
}

.service-mega-menu {
  left: 50%;
  top: calc(100% - .75rem);
  margin-top: 0;
  transform: translateX(-50%);
  width: min(72rem, calc(100vw - 2rem));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-height: 65vh;
  overflow-y: auto;
}

.service-nav-group:hover > .service-mega-menu,
.service-nav-group:focus-within > .service-mega-menu {
  visibility: visible;
  opacity: 1;
}

.custom-menu-list {
  list-style: none;
  padding: 60px 20px 20px;
  margin: 0;
}

.custom-menu-list li {
  margin-bottom: 25px;
}

.custom-menu-list a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 17px;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}

.custom-menu-list a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #F4633A;
  transition: width 0.3s ease;
}

.custom-menu-list a:hover {
  color: #F4633A;
  transform: translateX(5px);
}

.custom-menu-list a:hover::after {
  width: 100%;
}

.custom-menu-footer {
  text-align: center;
  font-size: 16px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 25px;
  line-height: 1.5;
}

.custom-menu-footer .custom-phone {
  margin: 12px 0;
  font-size: 17px;
  font-weight: 600;
}

.custom-social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 20px;
}

.custom-social-icons a {
  color: white;
  transition: color 0.3s, transform 0.3s;
}

.custom-social-icons a:hover {
  color: #F4633A;
  transform: scale(1.2);
}

/* Evita que desaparezca de golpe */
.custom-services-dropdown .custom-dropdown {
  transition-delay: 190ms;
}
.custom-services-dropdown:hover .custom-dropdown {
  transition-delay: 0ms;
}

/* Slider */
.hero-wrapper,
.hero-wrapper .swiper,
.hero-wrapper .swiper-slide {
  height: clamp(420px, 70vh, 760px);
  position: relative;
}

.btn-primary {
  display: inline-block;
  background: #F4633A;
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 10px rgba(0,0,0,.15);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 14px rgba(0,0,0,.2);
  opacity: .95;
}

.btn-secondary {
  display: inline-block;
  background: linear-gradient(90deg, #0B2A57 50%, #1E3A5F 100%);
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 10px rgba(0,0,0,.15);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 14px rgba(0,0,0,.2);
  opacity: .95;
}

/* Flechas Swiper en blanco */
.hero-wrapper .swiper-button-prev,
.hero-wrapper .swiper-button-next {
  color: #fff;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.4));
}

/* Puntos de la paginación en blanco */
.hero-wrapper .swiper-pagination-bullet {
  background: #fff;
  opacity: .8;
}
.hero-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Texto con sombra para legibilidad sobre foto */
.hero-wrapper h2,
.hero-wrapper p {
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

/* Ajustes responsivos */
@media (max-width: 640px) {
  .btn-primary, .btn-secondary { padding: 0.6rem 1rem; border-radius: 0.5rem; }
}

#schedule-form { background-color: #333333 !important; border: 1px solid rgba(255,255,255,0.1); }
#schedule-form span { color: #fff !important; }
#schedule-form select, #schedule-form input { background-color: rgba(255,255,255,0.1) !important; border: 1px solid rgba(255,255,255,0.2) !important; color: #fff !important; }
#schedule-form select option { background-color: #fff !important; color: #000 !important; }
#schedule-btn { background-color: #F4633A !important; color: #fff !important; }

.logo1 { width: 6.3rem; }

/* Animación de slide para acordeón */
.custom-accordion-content, .custom-subaccordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding-left: 15px;
  list-style: none;
  margin-top: 10px;
}
.custom-accordion-content.open {
  padding-top: 12px;
  padding-bottom: 8px;
}
.custom-accordion-toggle, .custom-subaccordion-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 4px 0;
  font-weight: 600;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
}
.custom-accordion-toggle:hover, .custom-subaccordion-toggle:hover { color: #F4633A; }
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25D366;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .22);
}

.whatsapp-float:hover {
  background: #16a34a;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 900px) {
  .service-mega-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .marquee { height: 36px; }
  .service-mega-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}