/* ==========================================
   COMPONENTS - Botones y Elementos Reutilizables
   ========================================== */

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-sm);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn--primary {
    background: var(--blanco);
    color: var(--azul-oscuro);
    border-color: var(--blanco);
}

.btn--primary:hover {
    background: transparent;
    color: var(--blanco);
    border-color: var(--blanco);
}

.btn--secondary {
    background: transparent;
    color: var(--azul-oscuro);
    border-color: var(--azul-oscuro);
}

.btn--secondary:hover {
    background: var(--azul-oscuro);
    color: var(--blanco);
}

.btn--gold {
    background: var(--oro);
    color: var(--azul-oscuro);
    border-color: var(--oro);
    font-weight: 700;
}

.btn--gold:hover {
    background: #c9a030;
    border-color: #c9a030;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn--small {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
}

/* ===== SCROLL UP ===== */
.scrollup {
    position: fixed;
    right: 2rem;
    bottom: -20%;
    background: var(--oro);
    color: var(--azul-oscuro);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.2rem;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scrollup:hover {
    background: var(--azul-oscuro);
    color: var(--oro);
    transform: translateY(-4px);
}

.show-scroll {
    bottom: 2rem;
}

/* ===== WHATSAPP FLOAT ===== */
@keyframes wpp-wave {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 998;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.45);
    animation: wpp-wave 2s ease-out infinite;
    z-index: -1;
}

.whatsapp-float::after {
    animation-delay: 0.7s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===== CONTACT EXPERTS SECTION ===== */
.contact-experts {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.contact-experts__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.contact-experts__phone {
    display: flex;
    justify-content: center;
}

.phone-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-circle__ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 2px solid var(--azul-claro);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.5;
    }
}

.phone-circle__button {
    position: relative;
    width: 220px;
    height: 220px;
    background: var(--azul-oscuro);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(21, 50, 86, 0.3);
    transition: all 0.3s ease;
}

.phone-circle__button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(21, 50, 86, 0.4);
}

.phone-number {
    color: var(--blanco);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.phone-logo {
    width: 140px;
    height: auto;
    margin-bottom: 0;
    object-fit: contain;
}

.phone-icon {
    width: 60px;
    height: 60px;
    background: var(--azul-claro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 1.5rem;
}

.contact-experts__content {
    text-align: left;
}

.contact-experts__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-experts__text {
    font-size: 1.1rem;
    color: var(--gris-oscuro);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ===== PAYMENT METHODS SECTION ===== */
.payment-methods {
    padding: 5rem 0;
    background: var(--blanco);
}

.payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.payment-card {
    background: var(--blanco);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.payment-card__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--azul-claro) 0%, var(--azul-oscuro) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.payment-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

.payment-card__text {
    font-size: 1rem;
    color: var(--gris-oscuro);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.payment-card__list {
    list-style: none;
    padding: 0;
}

.payment-card__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gris-oscuro);
    margin-bottom: 0.75rem;
}

.payment-card__list i {
    color: var(--azul-claro);
    font-size: 1rem;
}

.payment-card__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.payment-card__links a {
    color: var(--azul-claro);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.payment-card__links a:hover {
    color: var(--azul-oscuro);
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .contact-experts__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-experts__content {
        text-align: center;
    }
    
    .contact-experts__title {
        font-size: 2rem;
    }
    
    .payment-methods__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .phone-circle__ring {
        width: 220px;
        height: 220px;
    }
    
    .phone-circle__button {
        width: 180px;
        height: 180px;
    }
    
    .phone-number {
        font-size: 0.9rem;
    }
    
    .phone-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===== ALLIES COMPACT SECTION ===== */
.allies-compact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
}

.allies-compact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--azul-claro);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gris-oscuro);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.allies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.ally-logo {
    background: var(--blanco);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    min-height: 120px;
}

.ally-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.ally-logo img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.ally-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.allies-compact__cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.allies-compact__cta p {
    font-size: 1.1rem;
    color: var(--gris-oscuro);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .allies-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 968px) {
    .allies-compact {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .allies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .section-tag {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .allies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .ally-logo {
        padding: 1.5rem 1rem;
        min-height: 100px;
    }
    
    .ally-logo img {
        max-height: 50px;
    }
}

@media screen and (max-width: 480px) {
    .allies-grid {
        grid-template-columns: 1fr;
    }
}
