/* ============================================= */
/* services.css → Reutilizable para todos los servicios */
/* Solo cambias la variable --service-bg en cada página   */
/* ============================================= */

:root {
    --service-bg: rgba(0, 168, 232, 0.05);
    /* valor por defecto (azul suave) */
}

.service-hero {
    background: linear-gradient(135deg, #0056b3 0%, #00a8e8 100%);
    color: white;
    text-align: center;
    padding: 9rem 1.5rem 7rem;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="rgba(255,255,255,0.07)" d="M0,1000 Q500,750 1000,1000 L1000,0 L0,0 Z"/></svg>') bottom/cover no-repeat;
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-hero h1 {
    font-size: clamp(2.4rem, 7vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-hero p {
    font-size: 1.25rem;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 0.9rem 2.3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn-primary {
    background: white;
    color: #0056b3;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #0056b3;
}

/* Sección tipos */
.service-types {
    padding: 5rem 1.5rem;
    background: var(--service-bg);
}

.service-types h2 {
    text-align: center;
    font-size: 2.4rem;
    color: #003087;
    margin-bottom: 3.5rem;
    font-weight: 800;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.8rem;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--card-gradient);
    border-radius: 20px 20px 0 0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.14);
}

/* FIX CÍRCULOS: Forzamos proporciones iguales */
.card-icon, .icon-circle {
    width: 85px !important;
    height: 85px !important;
    border-radius: 50% !important;
    margin: 0 auto 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--card-gradient);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    flex-shrink: 0 !important;
}

.card-icon i {
    font-size: 2.4rem;
    color: white;
}

.card h3 {
    font-size: 1.65rem;
    color: #0056b3;
    margin: 0 0 1rem;
    font-weight: 700;
}

.card p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.card ul {
    text-align: left;
    color: #555;
    line-height: 1.9;
    font-size: 0.95rem;
}

/* FIX ALINEACIÓN: Evitamos el justificado extraño */
.card li {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding-left: 0 !important;
    gap: 10px;
}

.card li i, .check-list li svg {
    color: #00a8e8;
    margin-top: 5px;
    font-size: 0.9rem;
    flex-shrink: 0 !important;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, #0056b3, #00a8e8);
    color: white;
    text-align: center;
    padding: 6rem 1.5rem;
}

.cta-final h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-final p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
}

.cta-final .btn-primary {
    padding: 1.1rem 3.5rem;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .service-hero { padding-top: 11rem; padding-bottom: 9rem; }
    .service-hero h1 { font-size: 2.6rem; }
    .service-hero p { font-size: 1.15rem; }
    .btn-primary, .btn-outline { display: block; width: 90%; max-width: 320px; margin: 0.8rem auto; }
    .service-types { padding: 4rem 1rem; }
    .service-types h2 { font-size: 2.2rem; }
    .cards-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ICONOS SVG - Consolidado */
.card-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* CHECK-LIST REVISADA */
.check-list li {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 10px;
    margin-bottom: 12px;
}