/* /assets/css/servicio-detalle.css */

.service-page-wrapper {
    background-color: var(--section-bg-light-blue);
    padding: 80px 0;
}
.service-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Columna de contenido 2 veces más ancha que el sidebar */
    gap: 50px;
}

/* --- Columna Principal de Contenido --- */
.service-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.service-image-header img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
}
.service-content h1 {
    font-size: 2.5rem;
}
.service-content .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
    margin-bottom: 30px;
}
.service-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-gray-color);
    padding-bottom: 10px;
}
.service-includes-list {
    list-style: none;
    padding: 0;
}
.service-includes-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.service-includes-list li::before {
    content: '\f054'; /* Icono de flecha de Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.benefit-card {
    background-color: var(--light-gray-color);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
}
.benefit-card span {
    float: right;
    font-weight: bold;
    color: #ccc;
}
.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
}
.whatsapp-link i { font-size: 1.5rem; }

/* --- Barra Lateral (Aside) --- */
.service-sidebar .sidebar-widget {
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.sidebar-widget h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.service-menu-widget li {
    list-style: none;
    margin-bottom: 5px;
}
.service-menu-widget li a {
    display: block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s ease;
}
.service-menu-widget li.active a, .service-menu-widget li a:hover {
    background-color: var(--accent-purple);
    color: #fff;
}
.download-widget li {
    list-style: none;
    margin-bottom: 10px;
}
.download-widget li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    background-color: var(--light-gray-color);
    color: var(--primary-color);
    font-weight: 500;
}
.download-widget li a:hover {
    background-color: #e0e0e0;
}
.download-widget span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cta-widget {
    background-color: var(--accent-purple);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-widget h3 {
    color: #fff;
    position: relative;
    z-index: 2;
}
.cta-widget-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 20px auto;
    background-image: url('https://images.unsplash.com/photo-1579621970795-87f54f243b8a?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border: 5px solid #fff;
    position: relative;
    z-index: 2;
}
.cta-widget .cta-button {
    background-color: #ED64A6;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}
.cta-widget::before {
    content: 'Consulting';
    position: absolute;
    bottom: -20px;
    left: -10px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    transform: rotate(-15deg);
    z-index: 1;
}

/* --- Responsividad --- */
@media (max-width: 992px) {
    .service-layout-grid {
        grid-template-columns: 1fr; /* Apilar en una sola columna */
    }
    .service-sidebar {
        margin-top: 40px;
    }
}
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr; /* Apilar beneficios */
    }
    .service-content h1 { font-size: 2rem; }
    .service-content h2 { font-size: 1.5rem; }
}