
/* ===== RESET ===== */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #f4f6f9;
    font-family: 'Segoe UI', sans-serif;
}

/* ===== SERVICE SECTION ===== */
.service-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 40px 30px;
    display: flex;
    flex-direction: row; /* 🔥 CAMBIO CLAVE */
    align-items: center;
    gap: 40px;
}

.glass {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-image img {
    width: 100%;
    border-radius: 20px;
}

.service-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* ===== CARDS ===== */
.service-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: 0.35s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13,110,253,0.25);
}

/* ===== HERO ===== */
.hero-onlycompu {
    position: relative;
    height: 65vh;
    margin-top: 90px;
    background: url('../img/Man/hero-ti.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 900px;
}

/* ===== BOTÓN WHATSAPP ===== */
.whatsapp_float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== INTRO MODAL ===== */
.intro-outsourcing {
    background: linear-gradient(135deg, #0f4c81, #0b2c4d);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

/* lista bonita */
.lista-beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.lista-beneficios div {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.lista-beneficios div:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.03);
}

/* ===== PLANES ===== */
.outsourcing-planes {
    text-align: center;
    padding: 60px 20px 80px;
    background: linear-gradient(135deg, #0b2c4d, #0f4c81);
    color: white;
    border-radius: 20px;
}

/* contenedor */
.contenedor-planes {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* tarjeta */
.plan {
    background: #fff;
    color: #333;
    border-radius: 15px;
    padding: 25px;
    width: 300px;
    position: relative;
    transition: all 0.3s ease;
}

/* hover */
.plan:hover {
    transform: translateY(-12px) scale(1.03);
}

/* PRO */
.outsourcing-planes .plan.pro {
    background: linear-gradient(135deg, #0f4c81, #0b2c4d);
    color: white;
    border: 2px solid #00e676;
    transform: scale(1.05);
}

/* animación PRO */
.outsourcing-planes .plan.pro {
    animation: pulsePro 2.5s infinite;
}

@keyframes pulsePro {
    0% { box-shadow: 0 0 0 0 rgba(0,230,118,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(0,230,118,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,230,118,0); }
}

/* precio */
.precio span {
    font-size: 32px;
    font-weight: bold;
}

/* lista */
.plan ul {
    list-style: none;
    padding: 0;
}

.plan ul li:hover {
    transform: translateX(5px);
}

/* botones */
.plan button {
    margin-top: 15px;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    border: none;
    background: #0f4c81;
    color: white;
}

.plan.pro button {
    background: #00c853;
}

/* badge arreglado */
.outsourcing-planes .badge {
    position: absolute;
    top: -12px;
    right: 15px;
    background: gold;
    padding: 6px 12px;
    border-radius: 8px;
}

/* CTA */
.btn-whatsapp {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: white !important; /* 🔥 evita azul link */
    border-radius: 30px; /* más moderno */
    text-decoration: none; /* 🔥 quita subrayado */
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37,211,102,0.6);
    color: white !important;
}

/* ===== MODAL (AISLADO PARA NO ROMPER JSP) ===== */
.modal-outsourcing .modal-dialog {
    transform: translateY(40px);
    transition: 0.3s;
}

.modal-outsourcing.show .modal-dialog {
    transform: translateY(0);
}

.modal-outsourcing .modal-header {
    background: linear-gradient(135deg, #0f4c81, #0b2c4d);
    color: white;
}

.modal-outsourcing .modal-content {
    border-radius: 20px;
}