/* ============================================================
   REYES IT - SERVICIOS (Página de servicios)
   ============================================================ */

/* ---------- HERO DE SERVICIOS ---------- */
.page-hero-simple {
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
    background: rgba(248, 250, 255, 0.6);
    overflow: hidden;
}

.page-hero-simple::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(31, 94, 187, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(73, 167, 232, 0.04) 0%, transparent 60%);
    z-index: 0;
    animation: gradientMove 15s ease-in-out infinite alternate;
}

.page-hero-simple .container {
    position: relative;
    z-index: 1;
}

.page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.page-hero-content h1 .highlight {
    background: linear-gradient(135deg, #1f5ebb, #49a7e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-content p {
    color: #4a4a6a;
    font-size: 1.2rem;
}

/* ---------- GRID DE SERVICIOS ---------- */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ---------- CARD DE SERVICIO ---------- */
.service-full-card {
    background: #ffffff;
    border: 1px solid #e8ecf0;
    border-radius: 20px;
    padding: 35px 28px 30px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-full-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1f5ebb, #49a7e8, #7fd8f7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-full-card:hover::before {
    transform: scaleX(1);
}

.service-full-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(31, 94, 187, 0.10);
    border-color: rgba(31, 94, 187, 0.15);
}

/* --- Icono --- */
.service-full-card-icon {
    font-size: 2.8rem;
    color: #1f5ebb;
    margin-bottom: 16px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-full-card:hover .service-full-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* --- Título --- */
.service-full-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

/* --- Descripción --- */
.service-full-card-desc {
    color: #4a4a6a;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

/* --- Características --- */
.service-full-card-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-full-card-features li {
    padding: 5px 0;
    font-size: 0.88rem;
    color: #4a4a6a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-full-card-features li i {
    color: #1f5ebb;
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

/* --- Botón CTA --- */
.service-full-card-cta {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.service-full-card-cta:hover {
    background: #1f5ebb;
    color: white;
    transform: translateX(4px);
}

/* ============================================================
   ¿POR QUÉ ELEGIRNOS? - REDISEÑO
   ============================================================ */
.why-us-redesign {
    padding: 80px 0;
    background: #f8faff;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-us-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #e8ecf0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1f5ebb, #49a7e8, #7fd8f7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.why-us-card:hover::before {
    transform: scaleX(1);
}

.why-us-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(31, 94, 187, 0.08);
    border-color: rgba(31, 94, 187, 0.12);
}

.why-us-card .why-us-icon {
    font-size: 2.8rem;
    color: #1f5ebb;
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1) rotate(-5deg);
}

.why-us-card .why-us-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(31, 94, 187, 0.06);
    position: absolute;
    top: 8px;
    right: 16px;
    line-height: 1;
}

.why-us-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.why-us-card p {
    color: #4a4a6a;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .services-full-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .page-hero-simple {
        padding: 130px 0 50px;
    }
    .page-hero-simple .page-hero-content h1 {
        font-size: 2.2rem;
    }
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-full-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-full-card {
        padding: 28px 20px 24px;
    }
    .service-full-card-icon {
        font-size: 2.2rem;
    }
    .service-full-card-title {
        font-size: 1.1rem;
    }
    .service-full-card-cta {
        align-self: center;
        width: 100%;
        justify-content: center;
    }
    .page-hero-simple {
        padding: 130px 0 50px;
    }
    .page-hero-simple .page-hero-content h1 {
        font-size: 2.2rem;
    }
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .why-us-card {
        padding: 24px 16px;
    }
    .why-us-card .why-us-icon {
        font-size: 2.2rem;
    }
    .why-us-card .why-us-number {
        font-size: 2rem;
    }
    .why-us-card h4 {
        font-size: 1rem;
    }
    .why-us-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .service-full-card {
        padding: 24px 16px 20px;
    }
    .service-full-card-features li {
        font-size: 0.82rem;
    }
    .service-full-card-cta {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}