* { margin:0; padding:0; box-sizing:border-box; }
    body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; overflow-x:hidden; }

    .hero-section {
        position: relative;
        width: 100%;
        height: 100vh;
        background: linear-gradient(180deg, rgba(20, 40, 80, 0), rgba(0, 0, 0, 0.17)),
                    url('/public/recursos/FONDO.png') no-repeat center/cover;
        display: flex;
        align-items: center;
        overflow: hidden;
        cursor: none; /* Cursor nativo oculto */
    }

    .container {
        width: 100%;
        margin: 0 auto;
       
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 2;
    }

    .content-left {
        flex: 1;
        max-width: 650px;
        padding-right: 40px;
         padding: 0 0 0 110px;
    }

    .main-title {
        font-size: 82px;
        font-weight: 900;
        color: white;
        line-height: 1.1;
        margin-bottom: 30px;
        letter-spacing: -1px;
    }

    .main-title .highlight { color:#ffffff; display:block; }

    .subtitle {
        font-size: 22px;
        color: rgba(255,255,255,0.95);
        margin-bottom: 45px;
        line-height: 1.5;
    }

    .cta-button {
        display: inline-flex;
        align-items: center;
        gap: 15px;
        background: #d7b43f;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        padding: 10px 25px;
        border-radius: 5px;
        border: none;
        cursor: pointer;
        transition: 0.3s;
        text-transform: uppercase;
        letter-spacing: 8px;
    }

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(244,196,48,0.45);
        background: linear-gradient(135deg, #ffce3a 0%, #f4c430 100%);
    }

    .arrow-icon { font-size:20px; transition:0.3s; }
    .cta-button:hover .arrow-icon { transform:translateX(5px); }

    .image-right {
        position: relative;
        width: 420px;
        height: 420px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .right-img {
        position: absolute;
        width: 420px;
        height: auto;
        object-fit: contain;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        filter: drop-shadow(0 20px 50px rgba(0,0,0,0.4));
    }

    .right-img.active { opacity:1; }

    /* CURSOR CIRCULAR */
    .custom-cursor {
        position: fixed;
        width: 40px;
        height: 40px;
        border: 2px solid #fff;
        border-radius: 50%;
        pointer-events: none;
        transform: translate(-50%,-50%);
        transition: transform 0.1s ease-out, background 0.2s;
        z-index: 9999;
        mix-blend-mode: difference;
    }

    /* CALL TO SCROLL */
    .scroll-down {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        font-size: 14px;
        text-align: center;
        cursor: pointer;
        animation: bounce 2s infinite;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 5;
    }

    .scroll-down i {
        font-size: 24px;
        margin-top: 5px;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
        40% { transform: translateX(-50%) translateY(-10px); }
        60% { transform: translateX(-50%) translateY(-5px); }
    }
    
/* SECCIÓN 2 */
#section2 {
  width: 100%;
  height: 80vh;
  background: linear-gradient(to bottom, #e2c108 0%, #e2c108 50%, #ffffff 50%, #ffffff 100%);
  padding: 60px ;
  display: flex;
  align-items: center;
}

.section2-container {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 40px;
  align-items: center;
  padding-left: 70px;
}

/* ----------- LADO IZQUIERDO ----------- */
.titulo-servicios {
  font-size: 70px;
  font-weight: 900;
  color: white;
  margin-bottom: 30px;
}

.iconos-container {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

/* Iconos circulares azules con iconos blancos */
.icono-circulo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #2165beff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.icono-circulo:hover {
  transform: scale(1.1);
}

.icono-circulo img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}
/* Tooltip */
.icono-circulo::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -45px; /* Cambiado de bottom a top */
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}
.icono-circulo i {
  font-size: 30px;
  color: #ffffff; /* o el color institucional que uses */
  transition: 0.3s ease;
}

.icono-circulo:hover i {
  transform: scale(1.2);
  color: #f1c40f; /* un amarillo que combina con tu fondo */
}

/* Flecha del tooltip */
.icono-circulo::before {
  content: '';
  position: absolute;
  top: -10px; 
  left: 50%;
  transform: translateX(-50%) scale(0);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.85); /* Cambiado de border-bottom a border-top */
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}

/* Mostrar tooltip al hacer hover */
.icono-circulo:hover::after,
.icono-circulo:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Caja blanca */
.descripcion {
  background: white;
  font-size: 18px;
  color: #333;
  line-height: 1.5;
  border-radius: 0 0 10px 10px;
  width: fit-content;
}

/* ----------- GRID IMÁGENES ----------- */
.imagenes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 15px;
  padding: 40px;
  padding-top: 0px;
  margin-right: 40px;
}

.imagenes-grid .imagen-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.5s ease; /* MÁS SUAVE */
}

.imagenes-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.texto-imagen {
  position: absolute;
  bottom: 15px;
  left: 20px;
  font-size: 15px;
  font-weight: bold;
  color: white;
  z-index: 3;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

/* Capa oscura al hover */
.imagen-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.5s ease;
  z-index: 2;
}

/* HOVER */
.imagen-link:hover img {
  transform: scale(1.1);
  filter: brightness(0.6);
}

.imagen-link:hover::before {
  background: rgba(0,0,0,0.4);
}

.imagen-link:hover .texto-imagen {
  font-size: 18px;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 50%);
}
.imagen-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.5s ease;
}

/* Degradado inferior */
.imagen-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  z-index: 2;
  transition: opacity 0.5s ease;
  opacity: 1;
}


/* Imagen grande abajo */
.img3 {
  grid-column: 1 / 3;
}

/* Importar fuentes de Google */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Poppins:wght@400;500;600&display=swap');

/*====== SECCIÓN 4 CAULP =====*/
.contenedor4 {
    display: flex;
    width: 100%;
    height: 700px;
    background-color: #1a1a1a;
}

/* MAPA */
.mapa {
    position: relative;
    width: 50%;
    overflow: hidden;
}

/* iframe */
.mapa iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Capa superior para activar beats sobre iframe */
.mapa-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: transparent;
}

/* Beats */
.mapa-overlay::before,
.mapa-overlay::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(226, 193, 8, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.mapa-overlay::after {
    background: rgba(33, 101, 190, 0.3);
    z-index: -1;
}

.mapa-overlay:hover::before {
    animation: pulse 1.5s ease-out infinite;
}

.mapa-overlay:hover::after {
    animation: pulse 1.5s ease-out infinite;
    animation-delay: 0.75s;
}

/* Animación */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }
    70% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

/* INFO */
.info {
    width: 50%;
    background: url('/public/recursos/fachada.jpg') center/cover no-repeat;
    padding: 60px 70px;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
}

.info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(33, 101, 190, 0.76) 0%, rgba(20, 49, 100, 0.714) 100%);
    z-index: 0;
}



/* TEXTO */
.wa {
    position: relative;
    z-index: 1;
}

.info h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 3px;
    color: #e2c108; /* Color amarillo solicitado */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.edificio {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.info-block {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(226, 193, 8, 0.2);
}

.info-block:last-child {
    border-bottom: none;
}

.subtitulo {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    color: #e2c108; /* Color amarillo solicitado */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subtitulo i {
    font-size: 18px;
}

.detalle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.contacto-item {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.contacto-item:hover {
    color: #e2c108;
    transform: translateX(5px);
}

.contacto-item i {
    color: #e2c108;
    font-size: 18px;
}

.horario-item {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 8px;
}


/* ====== SECCIÓN 3 - PROGRAMAS DESTACADOS ====== */
.seccion3 {
    width: 100%;
    background-image: url(/public/recursos/fondowa2.png);
    background-size: cover;
    background-position: center;
    padding: 100px 60px;
}

.container3 {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.container3 h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 80px;
    color: #2165be;
    letter-spacing: -1px;
    font-family: 'Montserrat', sans-serif;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.card {
    position: relative;
    padding-top: 30px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #d0d0d0;
    transition: background-color 0.3s ease;
}

.card:hover::before {
    background: linear-gradient(90deg, #e2c108, #ffd900);
}


.card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #f4f4f4;
    line-height: 1.3;
}

.card p {
    font-size: 1.05rem;
    color: #c8c7c7;
    line-height: 1.6;
}

        /* SECCIÓN 5 */
        .seccion5 {
            background: #ffffff;
            position: relative;
        }
       

      

        .header-section {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #0659ac;
             padding:  145px 40px 145px 110px  ;
        }

        .title-wrapper h3 {
            color: #eaeaea;
            font-size: 14px;
            font-weight: 400;
            letter-spacing: 2px;
            margin-bottom: 10px;
            text-transform: uppercase;
        }

        .title-wrapper h2 {
            color: #ffffff;
            font-size: 48px;
            font-weight: 900;
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
        }

        .carousel-controls {
            display: flex;
            gap: 15px;
        }

        .carousel-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 2px solid #ffffff;
            background: transparent;
            color: #ffffff;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-btn:hover {
            background: #e2c108;
            color: white;
        }

        .carousel-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .carousel-wrapper {
            position: relative;
            overflow: hidden;
            padding: 60px 20px;
        }

        .carousel-track {
            display: flex;
            gap: 30px;
            transition: transform 0.5s ease;
        }

        .pretzel-card {
            background: white;
            border-radius: 20px;
            min-width: calc(33.333% - 20px);
            flex-shrink: 0;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .pretzel-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }

        .pretzel-card img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }

        .pretzel-card:hover img {
            transform: scale(1.05);
        }

        /* MODAL/POPUP */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            animation: fadeIn 0.3s ease;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90vh;
            animation: zoomIn 0.3s ease;
        }

        .modal-content img {
            width: 100%;
            height: auto;
            max-height: 90vh;
            object-fit: contain;
            border-radius: 10px;
        }

        .close-modal {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-modal:hover {
            color: #2165be;
            transform: rotate(90deg);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes zoomIn {
            from { transform: scale(0.5); }
            to { transform: scale(1); }
        }

/* SECCIÓN 6 */
        .seccion6 {
            background: linear-gradient(to bottom, #fff 0%, #fff 50%, #2165be 50%, #091c36 100%);

            padding: 100px 20px;
            position: relative;
        }

      

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-header h3 {
            color: #2165be;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 3px;
            margin-bottom: 15px;
            text-transform: uppercase;
        }

        .section-header h2 {
            color: #1a1a1a;
            font-size: 42px;
            font-weight: 900;
            margin-bottom: 20px;
            line-height: 1.2;
            font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
        }

        .section-header p {
            color: #666;
            font-size: 16px;
            line-height: 1.6;
            max-width: 700px;
            margin: 0 auto;
        }

        .cobradores-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-top: 50px;
            padding-left: 100px;
            padding-right: 100px;
        }

        .cobrador-card {
            background: white;
            border-radius: 20px;
            padding: 40px 30px 35px;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.355);
            text-align: center;
            transition: all 0.4s ease;
            border: 1px solid #f0f0f0;
            position: relative;
        }

        .cobrador-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
            border-color: #2165be;
        }

        .photo-wrapper {
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
        }

        .photo-circle {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid #2165be;
            margin: 0 auto;
            position: relative;
            background: #f5f5f5;
        }

        .photo-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .status-badge {
            position: absolute;
            bottom: 5px;
            right: 5px;
            width: 20px;
            height: 20px;
            background: #4CAF50;
            border-radius: 50%;
            border: 3px solid white;
        }

        .cobrador-info h4 {
            color: #1a1a1a;
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .cobrador-info .role {
            color: #2165be;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 20px;
            display: block;
        }

        .contact-info {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #f0f0f0;
        }

        .contact-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 12px;
            color: #555;
            font-size: 15px;
        }

        .contact-item svg {
            width: 18px;
            height: 18px;
            color: #2165be;
        }

        .contact-button {
            margin-top: 20px;
            padding: 12px 30px;
            background: #2165be;
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .contact-button:hover {
            background: #2165be;
            transform: scale(1.05);
        }


        /* Animaciones iniciales */
        .section-header,
        .cobrador-card {
            opacity: 0;
            transform: translateY(30px);
        }

/* ========================================
   RESPONSIVE - TABLETS (768px - 1024px)
   ======================================== */

@media (max-width: 1024px) {
    /* HERO SECTION */
    .container {
        padding: 0 40px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .content-left {
        padding-right: 0;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .main-title {
        font-size: 64px;
    }

    .subtitle {
        font-size: 18px;
    }

    .image-right {
        display: none;
    }

    .right-img {
        width: 350px;
    }

    /* SECCIÓN 2 */
    .section2-container {
        grid-template-columns: 1fr;
        padding-left: 40px;
        gap: 60px;
    }

    .titulo-servicios {
        font-size: 25px;
    }

    .iconos-container {
        display: none;
    }

    .descripcion {
        background: none;
        color: white;
        text-align: center;
        width: 100%;
        font-size: 18px;
        padding: 0;
        border-radius: 0;
    }

    .imagenes-grid {
        padding: 20px 40px;
        margin-right: 0;
    }

    /* SECCIÓN 3 */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* SECCIÓN 4 */
    .contenedor4 {
        flex-direction: column;
        height: auto;
    }

    .mapa, .info {
        width: 100%;
        height: 400px;
    }

    .info {
        padding: 50px 40px;
    }

    /* SECCIÓN 5 */
    .pretzel-card {
        min-width: calc(50% - 15px);
    }

    .title-wrapper h2 {
        font-size: 38px;
    }

    /* SECCIÓN 6 */
    .cobradores-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 40px;
        padding-right: 40px;
    }

    .section-header h2 {
        font-size: 36px;
    }
}

/* ========================================
   RESPONSIVE - MÓVILES (max-width: 768px)
   ======================================== */

@media (max-width: 768px) {
    /* HERO SECTION */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 60px;
    }

    .container {
        padding: 0 0px;
        flex-direction: column;
    }

    .content-left {
        margin-bottom: 30px;
         padding: 0 0 0 0;
    }

    .main-title {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-button {
        font-size: 12px;
        padding: 12px 25px;
        letter-spacing: 4px;
    }

    .image-right {
        display: none;
    }

    .right-img {
        width: 280px;
    }

    .scroll-down {
        bottom: 20px;
        font-size: 12px;
    }

    /* CURSOR PERSONALIZADO - OCULTAR EN MÓVIL */
    .custom-cursor {
        display: none;
    }

    .hero-section {
        cursor: default;
    }

    /* SECCIÓN 2 */
    #section2 {
        height: auto;
        padding: 40px 20px;
        background: linear-gradient(to bottom, #e2c108 0%, #e2c108 60%, #ffffff 60%, #ffffff 100%);
    }

    .section2-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-left: 0;
    }

    .titulo-servicios {
        font-size: 42px;
        text-align: center;
    }

    .iconos-container {
        display: none;
    }

    .descripcion {
        background: none;
        color: white;
        text-align: center;
        width: 100%;
        font-size: 16px;
        padding: 20px;
        border-radius: 10px;
    }

    .imagenes-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
        padding: 20px 0;
        margin-right: 0;
    }

    .imagenes-grid .imagen-link {
        height: 200px;
    }

    .img3 {
        grid-column: 1;
    }

    .texto-imagen {
        font-size: 14px;
        bottom: 12px;
        left: 15px;
    }

    /* SECCIÓN 3 */
    .seccion3 {
        padding: 80px 60px;
    }

    .container3 h1 {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card {
        padding-top: 25px;
    }

    .card h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .card p {
        font-size: 0.95rem;
    }

    /* SECCIÓN 4 */
    .contenedor4 {
        flex-direction: column;
        height: auto;
    }

    .mapa {
        width: 100%;
        height: 300px;
    }

    .info {
        width: 100%;
        height: auto;
        padding: 40px 25px;
    }

    .info h2 {
        font-size: 36px;
        margin-bottom: 5px;
    }

    .edificio {
        font-size: 12px;
        margin-bottom: 25px;
    }

    .info-block {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .subtitulo {
        font-size: 14px;
    }

    .detalle {
        font-size: 14px;
    }

    .contacto-item {
        font-size: 14px;
    }

    /* SECCIÓN 5 */
    .seccion5 {
        padding: 60px ;
    }

    .header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0 0px 0 0 ;
        background-color: #fff;
        
    }

   
    .title-wrapper h3 {
        font-size: 12px;
        color: #666;
    }

    .title-wrapper h2 {
        font-size: 32px;
        color: #333;
    }

    .carousel-controls {
        align-self: center;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
          border: 2px solid #2165be;
            color: #2165be;

    }

    .pretzel-card {
        min-width: 100%;
    }

    .pretzel-card img {
        height: 280px;
    }

    .carousel-track {
        gap: 20px;
    }

    /* MODAL */
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .close-modal {
        top: -35px;
        font-size: 35px;
    }

    /* SECCIÓN 6 */
    .seccion6 {
        padding: 60px 50px;
        background: linear-gradient(to bottom, #fff 0%, #fff 50%, #fff 50%, #fff 100%);
    }

    .section-header h3 {
        font-size: 12px;
    }

    .section-header h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-header p {
        font-size: 14px;
    }

    .cobradores-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-left: 0;
        padding-right: 0;
        margin-top: 40px;
    }

    .cobrador-card {
        padding: 35px 25px 30px;
    }

    .photo-circle {
        width: 120px;
        height: 120px;
    }

    .cobrador-info h4 {
        font-size: 20px;
    }

    .cobrador-info .role {
        font-size: 12px;
    }

    .contact-item {
        font-size: 14px;
    }

    .contact-button {
        padding: 10px 25px;
        font-size: 13px;
    }
     #section2 {
        height: auto;
        padding: 60px 20px 50px;
       
    }

    .section2-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-left: 0;
        max-width: 500px;
        margin: 0 auto;
        padding-right: 0;
    }

    .lado-izquierdo {
        background: white;
        padding: 35px 25px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        text-align: center;
    }

    .titulo-servicios {
        font-size: 35px;
        text-align: center;
        color: #2165be;
        margin-bottom: 25px;
        text-shadow: none;
    }

    .iconos-container {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .icono-circulo {
        width: 60px;
        height: 60px;
    }

    .icono-circulo i {
        font-size: 26px;
    }

    .descripcion {
        background: none;
        color: #333;
        text-align: center;
        width: 100%;
        font-size: 16px;
        padding: 0;
        border-radius: 0;
        line-height: 1.7;
    }

    .imagenes-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        padding: 0;
        margin-right: 0;
    }

    .imagenes-grid .imagen-link {
        height: 220px;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .img3 {
        grid-column: 1;
        height: 260px;
    }

    .texto-imagen {
        font-size: 16px;
        bottom: 20px;
        left: 20px;
        letter-spacing: 2px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }

    /* Mejorar interacción en móvil */
    .imagen-link:active {
        transform: scale(0.98);
    }

    .imagen-link::after {
        height: 50%;
    }

}

/* ========================================
   RESPONSIVE - MÓVILES PEQUEÑOS (max-width: 480px)
   ======================================== */

@media (max-width: 480px) {
    /* HERO SECTION */
    .main-title {
        font-size: 38px;
    }

    .subtitle {
        font-size: 15px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 11px;
        letter-spacing: 3px;
    }

    .image-right {
        display: none;
    }

    .right-img {
        width: 240px;
    }

    /* SECCIÓN 2 */
  /* SECCIÓN 2 - DISEÑO MÓVIL MEJORADO */
    #section2 {
        height: auto;
        padding: 60px 20px 80px;
       
    }

    .section2-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-left: 0;
        max-width: 500px;
        margin: 0 auto;
        padding-right: 0;
    }

    .lado-izquierdo {
        background: white;
        padding: 35px 25px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        text-align: center;
    }

    .titulo-servicios {
        font-size: 35px;
        text-align: center;
        color: #2165be;
        margin-bottom: 25px;
        text-shadow: none;
    }

    .iconos-container {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .icono-circulo {
        width: 60px;
        height: 60px;
    }

    .icono-circulo i {
        font-size: 26px;
    }

    .descripcion {
        background: none;
        color: #333;
        text-align: center;
        width: 100%;
        font-size: 16px;
        padding: 0;
        border-radius: 0;
        line-height: 1.7;
    }

    .imagenes-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        padding: 0;
        margin-right: 0;
    }

    .imagenes-grid .imagen-link {
        height: 220px;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .img3 {
        grid-column: 1;
        height: 260px;
    }

    .texto-imagen {
        font-size: 16px;
        bottom: 20px;
        left: 20px;
        letter-spacing: 2px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }

    /* Mejorar interacción en móvil */
    .imagen-link:active {
        transform: scale(0.98);
    }

    .imagen-link::after {
        height: 50%;
    }

    /* SECCIÓN 3 */
    .container3 h1 {
        font-size: 1.75rem;
    }

    .card h2 {
        font-size: 1.3rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    /* SECCIÓN 4 */
    .info h2 {
        font-size: 30px;
    }

    .edificio {
        font-size: 11px;
    }

    .subtitulo {
        font-size: 13px;
    }

    .detalle, .contacto-item {
        font-size: 13px;
    }

    /* SECCIÓN 5 */
    .title-wrapper h2 {
        font-size: 28px;
    }

    .pretzel-card img {
        height: 250px;
    }

    /* SECCIÓN 6 */
    .section-header h2 {
        font-size: 24px;
    }

    .photo-circle {
        width: 110px;
        height: 110px;
    }

    .cobrador-info h4 {
        font-size: 18px;
    }

    .status-badge {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   AJUSTES ADICIONALES
   ======================================== */

/* Optimización de tooltips en móviles */
@media (max-width: 768px) {
    .icono-circulo::after,
    .icono-circulo::before {
        display: none;
    }
}

/* Mejora de rendimiento en animaciones móviles */
@media (max-width: 768px) {
    .pretzel-card:hover,
    .cobrador-card:hover,
    .imagen-link:hover {
        transform: none;
    }

    .imagen-link:hover img {
        transform: scale(1.05);
    }
}

/* Ajuste del scroll-down en pantallas pequeñas */
@media (max-width: 480px) {
    .scroll-down {
        font-size: 16px;
    }

    .scroll-down i {
        font-size: 30px;
    }
}
/* ==============================
   BANNER BUSCAR COLEGIADOS
================================ */
.buscarCole {
    position: relative;
    height: 55vh;
    background: url("/public/recursos/cards/buscar.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.buscar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(215, 185, 14, 0.371),
        rgba(22, 22, 20, 0.705)
    );
}

.buscar-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.buscar-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.buscar-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

/* BOTÓN */
.btn-buscar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #0a4d8c;
    padding: 16px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-buscar i {
    font-size: 1.1rem;
}

.btn-buscar:hover {
    background: #135db7;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 95, 211, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .buscar-content h2 {
        font-size: 2.2rem;
    }

    .buscar-content p {
        font-size: 1rem;
    }

    .btn-buscar {
        padding: 14px 32px;
        font-size: 0.95rem;
    }
}
