/* ==========================================================================
   PÁGINA DE CONTACTO & RED DE SUCURSALES (CHEMICAL SUPPORT)
   Estética Corporativa, Limpia, Moderna y Adaptada a la Paleta Oficial
   ========================================================================== */

/* Base Página Contacto */
body.page-contacto {
  background-color: #ffffff !important;
}

/* Hero Contacto */
.page-contacto .hero-immersive-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 4.5rem 2rem 5.5rem 2rem !important;
}

.page-contacto .hero-immersive-content {
  margin: 0 auto !important;
  max-width: 980px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  transform: translateY(-1.2rem) !important;
}

.page-contacto .hero-immersive-title {
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 1rem !important;
  line-height: 0.95 !important;
}

.page-contacto .hero-immersive-title .title-top {
  font-size: clamp(3.9rem, 6.5vw, 6.5rem) !important;
  letter-spacing: -0.035em !important;
}

.page-contacto .hero-immersive-title .title-accent {
  font-size: clamp(5.85rem, 7.85vw, 8.25rem) !important;
  letter-spacing: -0.04em !important;
}

.page-contacto .hero-immersive-desc {
  font-size: 1.3rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 2.4rem !important;
  text-align: center !important;
  max-width: 680px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.96) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7) !important;
}

.page-contacto .hero-action-pills {
  justify-content: center !important;
  gap: 1.4rem !important;
}

.page-contacto .hero-immersive-overlay {
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, rgba(6, 20, 40, 0.38) 0%, rgba(4, 16, 32, 0.32) 40%, rgba(3, 12, 24, 0.58) 75%, rgba(2, 8, 18, 0.85) 100%),
    linear-gradient(180deg, rgba(3, 12, 26, 0.48) 0%, rgba(4, 15, 30, 0.18) 25%, rgba(3, 12, 25, 0.42) 55%, rgba(2, 9, 20, 0.85) 85%, #01060e 100%) !important;
}

.page-contacto .hero-slide-bg {
  background-position: center 26% !important;
  background-size: cover !important;
  transform: scale(1.02) !important;
}

.page-contacto .about-section-block#atencion {
  padding-top: 13rem !important;
  padding-bottom: 6rem !important;
}

/* Ajuste de posición para la imagen del mapa en la sección editorial de contacto */
.page-contacto .row-mision .about-feature-img {
  bottom: -11rem !important;
  right: -16% !important;
  height: 850px !important;
  max-width: 125% !important;
  object-fit: contain !important;
}

/* ==========================================================================
   SECCIÓN BANNER: EFICIENCIA Y RESULTADOS (ESTILO EXACTO IMAGEN 2)
   ========================================================================== */
.page-contacto .about-section-block#eficiencia-contacto {
  padding-top: 8.5rem !important;
  padding-bottom: 10rem !important;
  background: #ffffff !important;
}

.page-contacto .about-feature-card-wrapper {
  max-width: 1340px !important;
  margin: 0 auto !important;
  position: relative !important;
  box-shadow: none !important;
  filter: none !important;
}

.page-contacto .about-feature-row.row-eficiencia-contacto {
  position: relative !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  min-height: 550px !important;
  padding: 3.8rem 0rem 3.8rem 2.5rem !important;
  border-radius: 40px !important;
  overflow: visible !important;
  box-shadow: none !important;
  filter: none !important;
}

.page-contacto .row-eficiencia-contacto .about-cut-shape {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  filter: none !important;
  box-shadow: none !important;
}

.page-contacto .row-eficiencia-contacto .about-feature-content {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  max-width: 580px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  transform: none !important;
}

.page-contacto .row-eficiencia-contacto .about-feature-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(2.6rem, 4.4vw, 4.2rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  text-transform: uppercase !important;
  margin-bottom: 1.2rem !important;
  text-shadow: none !important;
}

.page-contacto .row-eficiencia-contacto .highlight-cyan-text {
  display: block !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  font-size: clamp(2.8rem, 4.8vw, 4.6rem) !important;
  text-transform: uppercase !important;
  background: linear-gradient(90deg, #67e8f9 0%, #93c5fd 50%, #ffffff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  line-height: 1.05 !important;
  text-shadow: none !important;
}

.page-contacto .row-eficiencia-contacto .about-feature-desc {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.35rem !important;
  color: #ffffff !important;
  line-height: 1.5 !important;
  margin-bottom: 2.2rem !important;
  font-weight: 500 !important;
  max-width: 460px !important;
  text-shadow: none !important;
}

.page-contacto .row-eficiencia-contacto .about-feature-actions {
  display: flex !important;
  align-items: center !important;
  gap: 1.2rem !important;
}

.page-contacto .row-eficiencia-contacto .btn-pill-action.blue-pill {
  background: #009fe3 !important;
  color: #ffffff !important;
  padding: 0.85rem 1.25rem 0.85rem 2.4rem !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 1.2rem !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.page-contacto .row-eficiencia-contacto .btn-pill-action.blue-pill:hover {
  background: #0284c7 !important;
  transform: translateY(-2px) !important;
  box-shadow: none !important;
}

.page-contacto .row-eficiencia-contacto .btn-pill-action.blue-pill .pill-circle-arrow {
  background: #071e3d !important;
  color: #ffffff !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-contacto .row-eficiencia-contacto .btn-pill-action.blue-pill .pill-circle-arrow svg {
  stroke: #ffffff !important;
}

.page-contacto .row-eficiencia-contacto .about-feature-media {
  position: absolute !important;
  left: 2.5rem !important;
  bottom: 0 !important;
  width: 52% !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  z-index: 2 !important;
  pointer-events: none !important;
  filter: none !important;
}

.page-contacto .row-eficiencia-contacto .media-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  filter: none !important;
}

.page-contacto .row-eficiencia-contacto .about-feature-img {
  position: absolute !important;
  bottom: -6rem !important;
  left: 2rem !important;
  height: 725px !important;
  width: auto !important;
  max-width: 130% !important;
  object-fit: contain !important;
  object-position: bottom left !important;
  pointer-events: auto !important;
  filter: none !important;
  transition: transform 0.4s ease !important;
}

@media (max-width: 991px) {
  .page-contacto .about-feature-row.row-eficiencia-contacto {
    flex-direction: column-reverse !important;
    padding: 3rem 2rem 2rem 2rem !important;
    min-height: auto !important;
    border-radius: 28px !important;
  }

  .page-contacto .row-eficiencia-contacto .about-feature-content {
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }

  .page-contacto .row-eficiencia-contacto .about-feature-actions {
    justify-content: center !important;
  }

  .page-contacto .row-eficiencia-contacto .about-feature-media {
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
    height: 340px !important;
    margin-top: 2rem !important;
    justify-content: center !important;
  }

  .page-contacto .row-eficiencia-contacto .about-feature-img {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 340px !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   SECCIÓN MAPA INTERACTIVO DE MÉXICO
   ========================================================================== */
.branches-map-section {
  padding: 5rem 0 3rem 0;
  background: #ffffff;
  position: relative;
}

.branches-map-card {
  background: linear-gradient(145deg, #071e3d 0%, #062b54 50%, #03152a 100%);
  border-radius: 36px;
  padding: 3.5rem 3rem;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(7, 30, 61, 0.18);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.branches-map-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 168, 232, 0.22) 0%, rgba(0, 168, 232, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ==========================================================================
   SECCIÓN MAPA VECTORIAL INTERACTIVO DE MÉXICO (LIBRE Y MINIMALISTA)
   ========================================================================== */
.branches-map-section {
  padding: 1.5rem 0 3.5rem 0;
  position: relative;
  overflow: visible;
  background: transparent;
}

/* Visor Libre del Mapa */
.mexico-vector-map-wrapper {
  position: relative;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  padding: 0;
  z-index: 2;
}

/* Escenario del Mapa 3D Minimalista Libre */
.mexico-map-stage {
  position: relative;
  width: 100%;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

/* Fondo con el Render 3D Isométrico Exacto de México (Sin recortes ni marcos) */
.mexico-3d-model-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.45)) contrast(1.05) brightness(1.03);
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mexico-3d-model-overlay {
  display: none;
}

.mexico-3d-routes-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 560px;
  z-index: 3;
  pointer-events: none;
}

/* Red Logística Neón sobre el Mapa 3D */
.neon-flow-main {
  fill: none;
  stroke: #22c55e;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 8 6;
  filter: drop-shadow(0 0 6px #22c55e);
  animation: neonFlowDash 2.5s linear infinite;
}

.neon-flow-sub {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 5;
  filter: drop-shadow(0 0 4px #38bdf8);
  animation: neonFlowDash 3s linear infinite;
}

.neon-route-dashed {
  fill: none;
  stroke: rgba(0, 168, 232, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

@keyframes neonFlowDash {
  to {
    stroke-dashoffset: -28;
  }
}

/* Pines Interactivos sobre el Mapa */
.interactive-pins-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.map-branch-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  pointer-events: auto;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.1s ease;
  outline: none;
}

.map-branch-pin:hover,
.map-branch-pin:focus,
.map-branch-pin.active {
  transform: translate(-50%, -115%) scale(1.15);
  z-index: 40;
}

.pin-marker-head {
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.65), 0 0 16px rgba(34, 197, 94, 0.75);
  transition: all 0.25s ease;
}

.pin-marker-head svg {
  transform: rotate(45deg);
  color: #ffffff;
}

.map-branch-pin.pin-plant .pin-marker-head {
  background: linear-gradient(135deg, #0284c7 0%, #0056b3 100%);
  width: 38px;
  height: 38px;
  border-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75), 0 0 22px rgba(56, 189, 248, 0.95);
}

.pin-pulse-ring {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 6px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.75);
  box-shadow: 0 0 10px #22c55e;
  animation: pinPulse 2s infinite;
}

.pin-pulse-ring.plant-ring {
  background: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 14px #38bdf8;
  width: 18px;
  height: 8px;
}

.pin-badge-label {
  margin-top: 4px;
  background: rgba(6, 20, 38, 0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  opacity: 0.95;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.map-branch-pin:hover .pin-badge-label,
.map-branch-pin.active .pin-badge-label {
  background: #22c55e;
  color: #052e16;
  border-color: #ffffff;
  opacity: 1;
  transform: scale(1.04);
}

.map-branch-pin.pin-plant .pin-badge-label {
  background: #0284c7;
  border-color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
}

.map-branch-pin.pin-plant:hover .pin-badge-label,
.map-branch-pin.pin-plant.active .pin-badge-label {
  background: #38bdf8;
  color: #071e3d;
  border-color: #ffffff;
}

/* ==========================================================================
   TARJETA FLOTANTE DE INFORMACIÓN RÁPIDA (POPUP AL DAR CLIC AL PIN)
   ========================================================================== */
.map-floating-card-popup {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 360px;
  max-width: calc(100% - 40px);
  background: rgba(13, 23, 30, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 168, 232, 0.15);
  z-index: 50;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-floating-card-popup.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.map-card-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-card-popup-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.map-popup-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-right: 1.5rem;
}

.map-popup-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-popup-badge-icon.is-plant {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.map-popup-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.15rem 0;
  line-height: 1.2;
}

.map-popup-zone {
  font-size: 0.78rem;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
}

.map-popup-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  background: #14222b;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.map-popup-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.map-popup-info-row svg {
  color: #4ade80;
  flex-shrink: 0;
  margin-top: 2px;
}

.map-popup-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-popup-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-popup-action.action-details {
  flex: 1.3;
  background: #22c55e;
  color: #052e16;
}

.btn-popup-action.action-details:hover {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-popup-action.action-wa {
  flex: 1;
  background: #1e293b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-popup-action.action-wa:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  transform: translateY(-2px);
}

/* Accesos Rápidos Inferiores */
.branches-map-quick-links {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.map-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.map-quick-chip:hover,
.map-quick-chip.active {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: #071e3d;
  transform: translateY(-2px);
}

.map-quick-chip svg {
  color: currentColor;
}

/* ==========================================================================
   SECCIÓN SUCURSALES (ESTILO IMAGEN 2 CON IDENTIDAD CHEMICAL SUPPORT)
   Filtros por zona, Cards con Iconos Verdes/Azules, Botón Ver Mapa, Llamar, WhatsApp
   ========================================================================== */
.branches-directory-section {
  padding: 5rem 0 7.5rem 0;
  background: radial-gradient(circle at 50% 0%, #f8fafc 0%, #ffffff 70%);
  position: relative;
}

.branches-header-centered {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.branches-main-title {
  font-size: clamp(3.2rem, 6.2vw, 5rem);
  font-weight: 950;
  color: #071e3d;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.6rem;
  text-transform: uppercase;
}

.branches-main-title .accent-gradient {
  display: inline-block;
  font-size: 1.15em;
  background: linear-gradient(135deg, #00a8e8 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-top: 0.15rem;
}

.branches-subtitle {
  color: #475569;
  font-size: 1.25rem;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 680px;
  font-weight: 450;
}

/* Panel de Control: Buscador Centrado con mayor espacio hacia abajo */
.branches-control-panel {
  max-width: 600px;
  margin: 0 auto 5rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

/* Buscador en Vivo - Diseño Premium Píldora con Paleta Azul de la Página */
.branches-search-box-wrapper {
  width: 100%;
  max-width: 600px;
}

.branches-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border-radius: 9999px;
  padding: 0.4rem 0.5rem 0.4rem 1.6rem;
  border: 2px solid #e0e7ff;
  box-shadow: 0 12px 32px -6px rgba(0, 86, 179, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.branches-search-input-wrap:focus-within {
  border-color: #00a8e8;
  box-shadow: 0 14px 36px -6px rgba(0, 86, 179, 0.22), 0 0 0 4px rgba(0, 168, 232, 0.16);
  transform: translateY(-2px);
}

.branch-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1.05rem;
  color: #071e3d;
  font-weight: 550;
  padding: 0.75rem 0.5rem 0.75rem 0;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.branch-search-input::placeholder {
  color: #64748b;
  font-weight: 450;
  font-size: 0.98rem;
}

/* Botón Circular con Lupa - Color Azul de la Página (#0056b3 a #00a8e8) */
.branch-search-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.branch-search-icon-badge:hover {
  background: linear-gradient(135deg, #0069d9 0%, #0056b3 100%);
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.45);
}

.branch-search-lens,
.branch-search-clear {
  width: 20px;
  height: 20px;
  color: #ffffff;
  transition: all 0.2s ease;
}

/* Estado activo cuando hay texto escrito */
.branch-search-icon-badge.has-query {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.branch-search-icon-badge.has-query:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

@media (max-width: 640px) {
  .branches-search-input-wrap {
    padding-left: 1.1rem;
  }

  .branch-search-input {
    font-size: 0.9rem;
  }

  .branch-search-icon-badge {
    width: 38px;
    height: 38px;
  }

  .branch-search-lens,
  .branch-search-clear {
    width: 17px;
    height: 17px;
  }
}

/* Barra de Filtros de Sucursal (En 1 Fila, Botones más Grandes y Azul Liso) */
.branches-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: nowrap;
  width: 100%;
  margin-top: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.branches-filter-bar::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.branch-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 750;
  background: #0056b3;
  color: #ffffff;
  border: 1.5px solid #0056b3;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}

.branch-tab-btn:hover {
  background: #004494;
  border-color: #004494;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: none;
}

.branch-tab-btn.active {
  background: #071e3d;
  color: #ffffff;
  border-color: #071e3d;
  box-shadow: none;
}

.branch-tab-btn svg {
  color: currentColor;
  flex-shrink: 0;
}

/* Estado Vacío de Búsqueda */
.branches-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border-radius: 24px;
  border: 2px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 168, 232, 0.1);
  color: #00a8e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #071e3d;
  letter-spacing: 0.5px;
  margin: 0;
}

.empty-state-desc {
  font-size: 1rem;
  color: #64748b;
  max-width: 500px;
  margin: 0;
}

.btn-clear-search-pill {
  margin-top: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #0056b3 0%, #00a8e8 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.25);
}

.btn-clear-search-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 168, 232, 0.35);
}

/* Grid de Tarjetas de Sucursal */
.branches-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

/* Tarjeta de Sucursal (Color Sólido Azul Marino Corporativo Chemical Support) */
.branch-card-item {
  background: #071e3d;
  border-radius: 22px;
  padding: 2.2rem 2rem 2rem 2rem;
  border: 2px solid #0e2d57;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.branch-card-item:hover {
  transform: translateY(-4px);
  border-color: #00a8e8;
}

.branch-card-top-group {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Encabezado de la Card (Altura Uniforme para Títulos) */
.branch-card-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-height: 64px;
}

.branch-store-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #0056b3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-store-icon svg {
  display: block;
}

.branch-store-icon.is-plant {
  background: #00a8e8;
  color: #ffffff;
}

.branch-store-title-wrap {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.branch-card-zone-tag {
  font-size: 0.78rem;
  font-weight: 850;
  color: #00a8e8;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  display: block;
}

.branch-card-zone-tag.tag-plant {
  color: #38bdf8;
}

.branch-card-name {
  font-size: 1.22rem;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}

/* Lista de Detalles (Dirección, Horario) en Bloques Sólidos */
.branch-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.branch-detail-row {
  background: #0b254a;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1.5px solid #13386b;
}

/* Fila de Dirección con Altura Mínima Estandarizada */
.branch-detail-row:first-child {
  min-height: 84px;
}

/* Fila de Horario con Altura Mínima Estandarizada */
.branch-detail-row:last-child {
  min-height: 60px;
}

.branch-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #0056b3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.branch-detail-text {
  font-size: 0.92rem;
  color: #f8fafc;
  line-height: 1.4;
  font-weight: 550;
}

/* Botones de Acción de la Tarjeta */
.branch-card-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

/* Botón Ver en Mapa (Azul Real Primario - 1 Sola Línea) */
.btn-branch-map {
  flex: 1.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #0056b3;
  color: #ffffff;
  padding: 0.95rem 0.75rem;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-branch-map svg {
  flex-shrink: 0;
}

.btn-branch-map:hover {
  background: #004494;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Botón Llamar (Fondo Cyan con Texto e Icono Blanco) */
.btn-branch-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #00a8e8;
  color: #ffffff;
  border: none;
  padding: 0.95rem 0.75rem;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-branch-call svg {
  flex-shrink: 0;
}

.btn-branch-call:hover {
  background: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Botón WhatsApp / Mensaje (Fondo Blanco con Icono Azul) */
.btn-branch-wa {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #ffffff;
  color: #0056b3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-branch-wa:hover {
  background: #f1f5f9;
  color: #004494;
  transform: translateY(-2px) scale(1.05);
}

.btn-branch-wa svg {
  display: block;
}

/* ==========================================================================
   MODAL POPUP DE DETALLE DE SUCURSAL & MAPA (COMO IMAGEN 4)
   ========================================================================== */
.branch-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.branch-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.branch-modal-container {
  background: #07172b;
  border: 1.5px solid #0056b3;
  border-radius: 28px;
  width: 100%;
  max-width: 860px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.branch-modal-backdrop.active .branch-modal-container {
  transform: scale(1) translateY(0);
}

.branch-modal-header {
  padding: 1.8rem 2rem 1.4rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  background: #061527;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.branch-modal-header-info {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.branch-modal-store-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #0056b3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-modal-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.02em;
}

.branch-modal-zone {
  font-size: 0.88rem;
  font-weight: 800;
  color: #00a8e8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.branch-modal-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dc2626;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.branch-modal-close-btn:hover {
  background: #b91c1c;
  color: #ffffff;
  transform: scale(1.08);
}

.branch-modal-close-btn svg {
  display: block;
  stroke: #ffffff;
}

.branch-modal-store-icon.is-plant {
  background: #00a8e8;
  color: #ffffff;
}

.branch-modal-map-wrap {
  width: 100%;
  height: 440px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.branch-modal-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.branch-modal-footer {
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  background: #061527;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.branch-modal-footer .btn-branch-map {
  flex: none;
  padding: 0.85rem 1.6rem;
  background: #0056b3;
  color: #ffffff;
  font-weight: 800;
  border-radius: 14px;
}

.branch-modal-footer .btn-branch-map:hover {
  background: #004494;
}

.branch-modal-footer .btn-branch-call {
  flex: none;
  padding: 0.85rem 1.5rem;
  background: #00a8e8;
  color: #ffffff;
  font-weight: 800;
  border-radius: 14px;
}

.branch-modal-footer .btn-branch-call:hover {
  background: #38bdf8;
}

/* Botón de mensaje exactamente igual a la imagen 3: cuadrado blanco redondeado con icono azul centrado */
.branch-modal-footer .btn-branch-wa {
  flex: none;
  width: 50px;
  height: 50px;
  padding: 0;
  background: #ffffff;
  color: #0056b3;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.branch-modal-footer .btn-branch-wa:hover {
  background: #f1f5f9;
  color: #004494;
  transform: translateY(-2px) scale(1.04);
}

.branch-modal-footer .btn-branch-wa svg {
  display: block;
}

/* ==========================================================================
   RESPONSIVE PARA CONTACTO & SUCURSALES
   ========================================================================== */
@media (max-width: 1024px) {
  .branches-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }

  .branches-map-card {
    padding: 2.5rem 2rem;
  }

  .branches-map-frame-wrapper {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .branches-cards-grid {
    grid-template-columns: 1fr;
  }

  .branches-map-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .branches-map-frame-wrapper {
    height: 320px;
  }

  .branches-filter-bar {
    gap: 0.6rem;
  }

  .branch-tab-btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.88rem;
  }

  .branch-modal-container {
    max-height: 90vh;
    overflow-y: auto;
  }

  .branch-modal-footer {
    flex-direction: column;
  }

  .branch-modal-footer .btn-branch-map,
  .branch-modal-footer .btn-branch-call,
  .branch-modal-footer .btn-branch-wa {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SECCIÓN DE PREGUNTAS FRECUENTES (FAQ) - CONTACTO
   ========================================================================== */

.faq-contacto-section {
  padding: 10rem 0 11rem 0;
  margin-top: 0;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  background: linear-gradient(180deg,
      #072247 0%,
      #0c3d78 14%,
      #125db3 30%,
      #4ba0ec 50%,
      #bae6fd 68%,
      #e8f4fd 84%,
      #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.faq-section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 5rem auto;
  position: relative;
  z-index: 1;
}

.faq-section-title {
  font-family: var(--font-sans, 'Outfit', sans-serif);
  font-size: clamp(3.6rem, 6.8vw, 5.5rem);
  font-weight: 850;
  color: #ffffff;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  text-shadow: none;
}

.faq-section-title .highlight-cyan-text {
  color: #38bdf8;
  background: linear-gradient(135deg, #38bdf8 0%, #7dd3fc 45%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
  text-shadow: none;
}

.faq-section-subtitle {
  font-size: clamp(1.2rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  max-width: 720px;
  margin: 0 auto;
  text-shadow: none;
}

/* Acordeón */
.faq-accordion-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.faq-accordion-item {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: none;
  transition: border-color 0.25s ease;
  will-change: transform, opacity;
  overflow: hidden;
}

.faq-accordion-item:hover {
  border-color: #00a8e8;
  box-shadow: none;
}

.faq-accordion-item.active {
  box-shadow: none;
  background: #ffffff;
}

.faq-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.45rem 1.85rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans, 'Outfit', sans-serif);
  transition: background-color 0.2s ease;
}

.faq-question-title {
  font-size: 1.16rem;
  font-weight: 700;
  color: #071e3d;
  line-height: 1.4;
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
  text-shadow: none;
}

.faq-accordion-item.active .faq-question-title {
  color: #071e3d;
}

.faq-accordion-item:hover .faq-question-title {
  color: #071e3d;
}

.faq-icon-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #071e3d;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
  box-shadow: none;
}

.faq-accordion-item:hover .faq-icon-indicator {
  background: #003d80;
  color: #ffffff;
}

.faq-accordion-item.active .faq-icon-indicator {
  transform: rotate(180deg);
  background: #003d80;
  color: #ffffff;
  box-shadow: none;
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-body {
  padding: 1.5rem 1.95rem 1.7rem 1.95rem;
  background: linear-gradient(135deg, #071e3d 0%, #003d80 55%, #113f77 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.13rem;
  line-height: 1.68;
}

.faq-accordion-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.faq-accordion-body strong {
  color: #74c8ff;
  font-weight: 750;
}

/* Banner inferior de consulta directa */
.faq-bottom-banner {
  max-width: 950px;
  margin: 6rem auto 0 auto;
  background: linear-gradient(135deg, #071e3d 0%, #003d80 65%, #0284c7 100%);
  border-radius: 28px;
  padding: 4.3rem 4.5rem 4.3rem 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: visible;
}

.faq-bottom-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: radial-gradient(circle at 80% 30%, rgba(0, 168, 232, 0.3) 0%, transparent 65%);
  pointer-events: none;
}

.faq-bottom-content {
  flex: 1;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.95rem;
  position: relative;
  z-index: 2;
}

.faq-bottom-text h4 {
  font-family: var(--font-sans, 'Outfit', sans-serif);
  font-size: clamp(1.85rem, 2.7vw, 2.65rem);
  font-weight: 850;
  color: #ffffff;
  margin: 0 0 0.75rem 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}

.faq-bottom-text p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
  margin: 0;
  line-height: 1.5;
  max-width: 500px;
}

.faq-bottom-cta {
  position: relative;
  z-index: 2;
  margin-top: 1.45rem;
}

.btn-faq-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  background: linear-gradient(135deg, #00a8e8 0%, #0077b6 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.95rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn-faq-contact:hover {
  transform: translateY(-2px);
  box-shadow: none;
  background: linear-gradient(135deg, #38bdf8 0%, #0088cc 100%);
  color: #ffffff;
}

.btn-faq-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #071e3d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn-faq-arrow svg {
  stroke: #ffffff;
}

.btn-faq-contact:hover .btn-faq-arrow {
  transform: translateX(4px);
  background: #002244;
}

/* Imagen a la derecha saliendo del contenedor (100% independiente del contenedor) */
.faq-bottom-media {
  position: absolute;
  right: 4.5rem;
  bottom: -2.5rem;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.faq-bottom-img {
  width: auto;
  height: clamp(390px, 36vw, 440px);
  max-width: 315px;
  object-fit: contain;
  display: block;
  filter: none;
  pointer-events: auto;
  will-change: transform;
}

/* Responsividad */
@media (max-width: 860px) {
  .faq-bottom-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.2rem 1.8rem 0 1.8rem;
    gap: 1.8rem;
    overflow: visible;
    margin-top: 3.5rem;
  }

  .faq-bottom-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin-left: 0;
  }

  .faq-bottom-text h4 {
    white-space: normal;
  }

  .btn-faq-contact {
    width: 100%;
    justify-content: center;
  }

  .faq-bottom-media {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1.5rem;
    margin-right: 0;
    align-self: center;
    justify-content: center;
    pointer-events: auto;
  }

  .faq-bottom-img {
    height: 320px;
    max-width: 100%;
    margin: 0 auto;
  }

  .faq-bottom-banner:hover .faq-bottom-img {
    transform: none;
  }
}

@media (max-width: 640px) {
  .faq-contacto-section {
    padding: 4rem 0 4.5rem 0;
  }

  .faq-accordion-trigger {
    padding: 1.2rem 1.35rem;
  }

  .faq-question-title {
    font-size: 1.02rem;
  }

  .faq-accordion-body {
    padding: 0 1.35rem 1.35rem 1.35rem;
    font-size: 0.95rem;
  }
}