/* ========== VARIABLES CTA PROFESIONALES ========== */
:root {
    --cta-yellow-soft: #E8C547;         /* Amarillo suave elegante */
    --cta-gold: #B8860B;                /* Dorado oscuro */
    --cta-white: #FFFFFF;
    --cta-black: #0a0a0a;
    --cta-gray: #6B7280;
    --transition-cta: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== SECCIÓN CTA ========== */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* ========== IMAGEN DE FONDO ========== */
.cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: brightness(0.7) contrast(1.05);
}

/* ========== OVERLAY CON GLASSMORPHISM ========== */
.cta__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(121, 120, 120, 0.75) 0%,
        rgba(148, 147, 147, 0.65) 50%,
        rgba(146, 146, 146, 0.75) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2;
}

/* ========== CONTENEDOR ========== */
.cta__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 3;
    text-align: center;
}

/* ========== PRETÍTULO ========== */
.cta__pretitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--cta-yellow-soft);
    letter-spacing: 1px;
    margin-bottom: 15px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== TÍTULO PRINCIPAL ========== */
.cta__title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--cta-white);
    letter-spacing: 1px;
    margin-bottom: 60px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    animation: fadeInScale 0.8s ease-out 0.2s backwards;
    position: relative;
}

.cta__title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--cta-yellow-soft);
    box-shadow: 0 2px 15px rgba(232, 197, 71, 0.4);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== GRID DE SERVICIOS ========== */
.cta__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 50px;
}

/* ========== ITEMS DE SERVICIO ========== */
.cta__item {
    text-align: left;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 197, 71, 0.2);
    border-radius: 16px;
    transition: var(--transition-cta);
    animation: fadeInUp 0.8s ease-out backwards;
}

.cta__item:nth-child(1) { animation-delay: 0.3s; }
.cta__item:nth-child(2) { animation-delay: 0.4s; }
.cta__item:nth-child(3) { animation-delay: 0.5s; }
.cta__item:nth-child(4) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta__item:hover {
    transform: translateY(-5px);
    border-color: var(--cta-yellow-soft);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 10px 30px rgba(232, 197, 71, 0.15);
}

/* ========== ICONO DEL SERVICIO ========== */
.cta__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: inline-block;
}

.cta__icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--cta-yellow-soft);
    filter: drop-shadow(0 2px 10px rgba(232, 197, 71, 0.3));
    transition: var(--transition-cta);
}

.cta__item:hover .cta__icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 15px rgba(232, 197, 71, 0.5));
}

/* ========== TÍTULO DEL SERVICIO ========== */
.cta__service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cta-white);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    transition: var(--transition-cta);
}

.cta__item:hover .cta__service-title {
    color: var(--cta-yellow-soft);
}

/* ========== DESCRIPCIÓN DEL SERVICIO ========== */
.cta__service-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== SECCIÓN DE ACCIÓN ========== */
.cta__action {
    margin: 50px 0 40px;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

/* ========== BOTÓN PRINCIPAL AMARILLO SUAVE ========== */
.cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cta-black);
    background: var(--cta-yellow-soft);
    border: 2px solid var(--cta-yellow-soft);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-cta);
    box-shadow: 0 6px 25px rgba(232, 197, 71, 0.35);
}

.cta__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta__btn:hover::before {
    left: 100%;
}

.cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(232, 197, 71, 0.45);
    background: #d4b43a;
}

.cta__btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--cta-black);
    transition: var(--transition-cta);
}

.cta__btn:hover svg {
    transform: translateX(5px);
}

/* ========== REDES SOCIALES ========== */
.cta__social {
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeIn 1s ease-out 1s backwards;
}

.cta__social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: var(--transition-cta);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cta__social-link svg {
    width: 22px;
    height: 22px;
    fill: var(--cta-white);
    transition: var(--transition-cta);
}

.cta__social-link:hover {
    background: var(--cta-yellow-soft);
    border-color: var(--cta-yellow-soft);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(232, 197, 71, 0.3);
}

.cta__social-link:hover svg {
    fill: var(--cta-black);
    transform: scale(1.1);
}

/* ========== RESPONSIVE - TABLET ========== */
@media screen and (max-width: 1024px) {
    .cta__title {
        font-size: 2.4rem;
    }

    .cta__grid {
        gap: 30px;
    }
}

/* ========== RESPONSIVE - MÓVIL ========== */
@media screen and (max-width: 768px) {
    .cta {
        padding: 80px 0;
    }

    .cta__container {
        padding: 0 20px;
    }

    .cta__pretitle {
        font-size: 1rem;
    }

    .cta__title {
        font-size: 1.8rem;
        margin-bottom: 50px;
    }

    .cta__title::after {
        width: 80px;
    }

    .cta__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .cta__item {
        text-align: center;
        padding: 25px 20px;
    }

    .cta__icon {
        width: 50px;
        height: 50px;
    }

    .cta__service-title {
        font-size: 1.1rem;
    }

    .cta__service-desc {
        font-size: 0.9rem;
    }

    .cta__btn {
        padding: 16px 35px;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .cta__social {
        gap: 12px;
    }

    .cta__social-link {
        width: 44px;
        height: 44px;
    }

    .cta__social-link svg {
        width: 20px;
        height: 20px;
    }
}