@import url("modals.css");
/*@import url("carrusel.css");*/


.hero-cards {
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1rem 2rem 4rem;
    flex-wrap: wrap;
    background: transparent;
    margin-top: 0;
}

/* CARTA BASE */
.card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    width: 100%;
    max-width: 280px; 
    min-height: 380px;
    color: #ffffff;
    box-shadow: 0 24px 55px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background 0.3s ease;
}

.card-icon i {
    font-size: 2.2rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* Efecto hover sobre el icono */
.card:hover .card-icon {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.28);
}

/* IMAGEN */
.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CUERPO DE LA CARTA */
.card-body {
    padding: 2.7rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card-body p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ffffff;
    flex: 1;
}

/* HOVER */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

/* BOTÓN */
.card-btn {
    display: inline-block;
    align-self: center;
    padding: 1rem 2.6rem;
    border-radius: 999px;
    background: #ffffff;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card-btn:hover {
    background: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-cards {
        flex-direction: column;
        padding: 3.5rem 1.8rem;
    }

    .card {
        max-width: 480px;
        min-height: 520px;
        margin: 0 auto;
    }
}

/* ========================= */
/* NOSOTROS - ELIMINAR ESPACIADO */
/* ========================= */

/* Quitar espaciado del wrapper */
.page-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero NO ocupa toda la pantalla en nosotros */
body.nosotros .hero {
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 0;
}

/* ========================= */
/* TÍTULO SIMPLE Y ELEGANTE */
/* ========================= */
.page-title {
    padding: 4rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #ffffff 50%, 
        #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-weight: 800;
    position: relative;
    text-shadow: 
        0 2px 10px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.4);
}

/* Línea sutil debajo */
.page-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #ffffff, 
        transparent);
    margin: 1.2rem auto 0;
    border-radius: 2px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .page-title {
        padding: 3rem 1.5rem 2rem;
    }
}


/* Cards pegadas al título */
.hero-cards {
    min-height: auto; /* NO fijo */
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    padding: 0 3rem 5rem; /* 0 arriba */
    flex-wrap: wrap;
    background: transparent;
    margin-top: 0;
}

/* ========================= */
/* CARTAS (resto igual) */
/* ========================= */
.card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    width: 100%;
    max-width: 280px; 
    min-height: 380px;
    color: #ffffff;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    
}

.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 2.4rem 2.1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;

}

.card-body p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ffffff;
    flex: 1;

}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

.card-btn {
    display: inline-block;
    align-self: center;
    padding: 1rem 2.6rem;
    border-radius: 999px;
    background: #1d406d;
    color: #fafafa;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    
}

.card-btn:hover {
    background: rgba(17, 153, 184, 0.85);
    border: 1px solid white;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-cards {
        flex-direction: column;
        padding: 0 1.5rem 4rem;
        gap: 2rem;
    }
    
    .card {
        max-width: 100%;
        min-height: 480px;
    }
    
    .page-title h1 {
        font-size: 2.2rem;
    }
}
