/* === HERO === */
.hero-section-part {
    /* min-height: 80vh;  */
    padding: 170px 0 140px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Tamaño fluido: min 2rem, ideal 5vw, max 3.5rem */
    line-height: 1.1;
}

.hero-img {
    max-height: 400px;
    object-fit: contain;
    /*Efectosutildeflotación*/animation: floating 3s ease-in-out infinite;
    border-radius: 15px;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* === RESPONSIVE AJUSTES === */

@media(max-width: 1400px){
    .hero-title { font-size: 3.1rem !important; }
    #heroParraf {font-size: 1.4rem !important;}
}

@media (max-width: 992px) {
    .hero-section-part {
        padding: 160px 0 70px; /* Más espacio arriba para el navbar */
        text-align: center;
    }
    
    .hero-img {
        max-width: 80%; /* Que no se vea gigante en tablets */
        margin-top: 2rem;
    }

    .hero-title {
        font-size: 2.8rem !important; 
    }

    #heroParraf { font-size: 1.3rem !important;}
}

@media (max-width: 768px) {
    .hero-section-part {
        padding: 140px 0 70px; 
    }

    .hero-title {
        font-size: 2.2rem !important; 
    }

    #heroParraf { font-size: 1.2rem !important;}
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
.animate-left { animation: fadeLeft 0.9s ease-out; }
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-35px); }
    to { opacity: 1; transform: translateX(0); }
}
.animate-right { animation: fadeRight 0.9s ease-out; }
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(35px); }
    to { opacity: 1; transform: translateX(0); }
}

/* === TARJETAS AZULES (filosofía) === */
.blue-card {
    background: var(--gradient-card);
    color: white;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}
.blue-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.blue-card .icon {
    font-size: 3rem;
    color: var(--cyan-accent);
    margin-bottom: 1.2rem;
}
.blue-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.blue-card p {
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* === TARJETAS BLANCAS (beneficios) === */
.white-card {
    background: white;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.02);
}
.white-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.white-card .icon {
    font-size: 3rem;
    color: var(--cyan-accent);
    margin-bottom: 1.2rem;
}
.white-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--blue-deep);
}
.white-card p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* === PÍLDORA (oportunidad) === */
.pill-block {
    border-radius: 100px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: row;
    align-items: center;
}
.pill-image {
    flex: 0 0 40%;
    max-width: 40%;
}
.pill-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}
.pill-content {
    flex: 1;
    padding: 3rem;
}
.pill-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 1rem;
}
.pill-content p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    line-height: 1.6;
}
@media (max-width: 768px) {
    .pill-block { flex-direction: column; border-radius: 48px; }
    .pill-image { max-width: 100%; width: 100%; }
    .pill-image img { border-radius: 48px 48px 0 0; }
    .pill-content { padding: 2rem; }
}

/* === ACORDEÓN HORIZONTAL (soluciones) === */
.accordion-horizontal {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.accordion-trigger {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 60px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    color: var(--blue-deep);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}
.accordion-trigger i {
    color: var(--cyan-accent);
    font-size: 1.2rem;
}
.accordion-trigger:hover, .accordion-trigger.active {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}
.accordion-trigger.active i {
    color: white;
}
.accordion-content {
    background: var(--gray-light-bg);
    border-radius: 48px;
    padding: 2.5rem;
    margin-top: 1.5rem;
    display: none;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}
.accordion-content.active {
    display: block;
}
.accordion-content p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* === TAGS PARA QUIÉN PUEDE ASOCIARSE === */
.partner-tag {
    background: rgba(30,198,243,0.1);
    color: var(--blue-deep);
    padding: 0.8rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    display: inline-block;
    margin: 0.3rem;
    border: 1px solid rgba(30,198,243,0.3);
    transition: var(--transition);
    font-size: 1.1rem;
}
.partner-tag:hover {
    /* background: var(--cyan-accent);
    color: var(--blue-deep); */
    background: var(--blue-primary);
    color: white; 
    border-color: var(--blue-primary);
    /* border-color: var(--cyan-accent); */
    transform: scale(1.02);
}

/* === BANNER / POWERING BLOCK (final) === */
.powering-block {
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    background: linear-gradient(145deg, #F5F7FA 0%, #FFFFFF 100%);
}
.powering-left {
    background: linear-gradient(145deg, #F5F7FA 0%, #FFFFFF 100%);
    padding: 3.5rem 3rem;
    border-radius: 32px 0 0 32px;
}
.powering-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 32px 32px 0;
}
@media (max-width: 992px) {
    .powering-block { flex-direction: column; }
    .powering-left { border-radius: 32px 32px 0 0; }
    .powering-right img { border-radius: 0 0 32px 32px; }
}

.btn-outline-cyan:focus {
  color: var(--cyan-accent);
  border-color: var(--cyan-accent);
}