/* ==============================
   PERSONALIZAR APPBAR
================================ */
.MYAPPBAR {
    --appbar-background: #111F70;
    --appbar-color: #ffffff;
    --appbar-item-color: #ffffff;
    --appbar-item-background-hover: rgba(255, 255, 255, 0.2);
    --appbar-item-color-hover: #ffffff;
	height:50px;
}





/* ==============================
   ICONOS FLOTANTES
================================ */

.iconos-flotantes {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 3000;
}

.iconos-flotantes .icono {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iconos-flotantes .icono:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* WhatsApp */
.iconos-flotantes .whatsapp {
    background: #111F70;
}

/* TelÃ©fono */
.iconos-flotantes .telefono {
    background: #111F70;
}

/* BotÃ³n flotante ubicaciÃ³n */
.iconos-flotantes .ubicacion {
    background: #111F70; /* azul Google Maps */
}

/* Mobile */
@media (max-width: 480px) {
    .iconos-flotantes {
        right: 15px;
        bottom: 15px;
    }

    .iconos-flotantes .icono {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* =============================
   footerx
   ============================= */

.footerx {
    background-color: #E9ECFC;
    color: #ffffff;
    margin-top: 60px;
}

.footerx-container {
    width: 80%;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footerx-info h3 {
    margin-bottom: 10px;
}

.footerx-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footerx-redes a {
    color: #ffffff;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footerx-redes a:hover {
    color: #00e0ff;
}

.footerx-bottom {
    background-color: #111F70;
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
}


/* =========================
   SECCIÓN seccionx DE
========================= */

.grid-section {
    width: 90%;
    margin: 0 auto;          /* centra la sección */
    padding: 30px 5px;       /* ✅ 5px laterales */
}

.grid-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-item {
    background: #f2f2f2;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto ligero visual */
.grid-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .grid-section {
        width: 95%;
        padding: 20px 5px;   /* mantiene espacio lateral */
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}



/* =========================
   SECCIÓN imagen full
========================= */

.full-section {
    width: 100%;
    padding: 0;
}

.full-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.full-cell img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* =========================
   SECCIÓN testimonios
========================= */

.testimonios-section {
    width: 100%;
    background-color: #e8f1ff; /* azul muy ligero */
    padding: 60px 0;
}

.testimonios-container {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto auto;
    text-align: center;
    gap: 15px;
}

.titulo {
    color: #0047ab; /* azul cobalto */
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.descripcion {
    color: #000;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive testimonios */
@media (max-width: 768px) {
    .testimonios-container {
        width: 95%;
    }
}







.perfil-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    max-width: 600px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
}

/* Encabezado con imagen y datos */
.perfil-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Imagen circular */
.perfil-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.perfil-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Información */
.perfil-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #111;
}

.perfil-info span {
    font-size: 0.95rem;
    color: #555;
}

/* Reseña */
.perfil-resena {
    margin-top: 15px;
}

.perfil-resena p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}
.perfiles-section {
    width: 100%;
    padding: 40px 0;
	background-color: #e8f1ff; /* azul muy ligero */
}

.perfiles-grid {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .perfiles-grid {
        grid-template-columns: 1fr;
        width: 95%;
    }
}






.cards-section {
    width: 100%;
    padding: 40px 0;
}

.cards-grid {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Tarjeta completa como link */
.card-item {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

/* Imagen */
.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Marcador inferior */
.card-marker {
    height: 25px;
    width: 100%;
}

/* Colores del marcador */
.card-marker.azul {
    background-color: #0047ab;
}

.card-marker.verde {
    background-color: #2ecc71;
}

.card-marker.naranja {
    background-color: #f39c12;
}

.card-marker.rojo {
    background-color: #e74c3c;
}

/* Responsive */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr;
        width: 95%;
    }
}







.footer-links {
    width: 100%;
    background-color: #e8f1ff; /* azul muy tenue */
    padding: 20px 0;
}

.footer-links-grid {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Columnas */
.footer-col h4 {
    margin-bottom: 12px;
    color: #0047ab; /* azul cobalto */
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #000;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #0047ab;
}

/* Logo */
.logo-col img {
    max-width: 180px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        width: 95%;
        text-align: center;
    }

    .footer-col ul {
        list-style-position: inside;
        padding-left: 0;
    }
}





.info-section {
    width: 100%;
    background-color: #e8f1ff; /* azul tenue usado previamente */
    padding: 50px 0;
}

.info-grid {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    margin-bottom: 15px;
    color: #0047ab; /* azul cobalto */
    font-size: 1.3rem;
}

.info-card p {
    margin: 0;
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        width: 95%;
    }
}





.footer-final {
    width: 100%;
    background-color: #0047ab; /* azul cobalto */
    padding: 18px 10px;
    text-align: center;
}

.footer-final p {
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
}




.secciones-info {
    width: 90%;
    padding: 20px 0;
    
}

.secciones-grid {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
	
}



/* Texto */
.seccion-content {
    text-align: center;
	text-decoration: none;
	
}

.seccion-content h3 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    font-weight: 700;
}

.seccion-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* Barra de color lateral */


/* Colores */
.azul .color-bar {
    background-color: #3aa0ff;
}

.naranja .color-bar {
    background-color: #ff9f43;
}

.verde .color-bar {
    background-color: #7ed957;
}

.amarillo .color-bar {
    background-color: #ffc107;
}

/* Hover */


/* Responsive */
@media (max-width: 992px) {
    .secciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .secciones-grid {
        grid-template-columns: 1fr;
        width: 95%;
		
    }
}





.seccion-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
	
}
.seccion-card,
.seccion-card:hover,
.seccion-card:focus,
.seccion-card:active {
    text-decoration: none;
}




.seccion-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;              /* 🔥 recorta la imagen al marco */
    min-height: 220px;             /* altura de la card */
    display: block;
	height: 280px;
	width: 320px;
}

/* Imagen ocupa TODO el card */
.seccion-img {
    position: absolute;
    inset: 0;                      /* top:0 right:0 bottom:0 left:0 */
    width: 100%;
    height: 100%;
    object-fit: cover;             /* 🔥 se adapta sin deformar */
    transition: transform 0.4s ease;
}

/* Efecto visual */
.seccion-card:hover .seccion-img {
    transform: scale(1.05);
	box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* Barra de color encima de la imagen */
.color-bar {
    position: absolute;
    right: 0;
    top: 0;
    width: 14px;
    height: 100%;
    z-index: 2;
}