/* style.css */

/* Variables CSS */
:root {
    --bg-light: #FFFFFF;
    --bg-alt: #F8F9FA;
    --bg-dark: #1A1B1F;
    /* Un gris más oscuro que el anterior */
    --text-dark: #212529;
    --text-light: #F8F9FA;
    /* Ligeramente menos blanco puro */
    --text-muted: #6C757D;
    --accent-blue: #0D6EFD;
    --accent-blue-hover: #0B5ED7;
    --accent-blue-light: #589BFF;
    /* Para texto/iconos en fondo oscuro */
    --border-light: #DEE2E6;
    --font-primary: 'Montserrat', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.07);
}

/* Reset Básico y Estilos Globales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* Opcional: Añadir esto para que AOS funcione mejor con scroll suave */
    /* overflow-x: hidden; */
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
    /* Opcional: Para que AOS no genere barra horizontal */
    /* overflow-x: hidden; */
}

.container {
    width: 90%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--accent-blue-hover);
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: calc(1.8rem + 1.8vw);
    font-weight: 700;
}

/* Tamaño responsive */
h2 {
    font-size: calc(1.5rem + 1vw);
}

h3 {
    font-size: 1.75rem;
}

@media (min-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    /* Máximo tamaño en desktop */
    h2 {
        font-size: 2.5rem;
    }
}


p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.alt-bg {
    background-color: var(--bg-alt);
    /* Opcional: Añadir borde sutil */
    /* border-top: 1px solid var(--border-light); */
    /* border-bottom: 1px solid var(--border-light); */
}

.dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
    /* Opcional: Patrón sutil */
    /* background-image: url('images/dark-pattern.svg'); */
    /* background-blend-mode: overlay; */
    /* opacity: 0.05; */
}

.dark-bg h1,
.dark-bg h2,
.dark-bg h3 {
    color: var(--text-light);
}

.dark-bg p {
    color: #CED4DA;
    /* Gris claro para texto en fondo oscuro */
}

.dark-bg .accent-color {
    color: var(--accent-blue-light);
    /* Azul más claro */
}

.dark-bg .btn-primary {
    background-color: var(--accent-blue-light);
    /* Azul más claro */
    border-color: var(--accent-blue-light);
    color: var(--text-dark);
    /* Texto oscuro en botón claro */
}

.dark-bg .btn-primary:hover {
    background-color: #7aaaff;
    border-color: #7aaaff;
}

.dark-bg .btn-outline {
    color: var(--accent-blue-light);
    border-color: var(--accent-blue-light);
}

.dark-bg .btn-outline:hover {
    background-color: var(--accent-blue-light);
    color: var(--text-dark);
}


.text-center {
    text-align: center;
}

.accent-color {
    color: var(--accent-blue);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.2s ease;
    font-size: 1rem;
    border: 1px solid transparent;
    /* Borde base para evitar saltos */
}

.btn:hover {
    transform: translateY(-2px);
    /* Efecto hover sutil */
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--text-light);
    border-color: var(--accent-blue);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
    color: var(--text-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-outline:hover {
    background-color: var(--accent-blue);
    color: var(--text-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    background-color: var(--bg-light);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
    /* Transición suave al hacer scroll */
}

/* Opcional: Navbar se vuelve ligeramente opaca al hacer scroll */
/* .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
} */


.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    height: 100px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-menu .nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: 1.5rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    /* Opciones de Fondo (descomentar una): */
    background: linear-gradient(180deg, #EBF4FF 0%, var(--bg-light) 100%);
    /* background-color: var(--bg-light); background-image: url('images/subtle-pattern.svg'); opacity: 0.1; */
    position: relative;
    /* Para posibles elementos decorativos */
    overflow: hidden;
    /* Si se usan patrones que no deben salirse */
}

.hero-container {
    display: grid;
    /* Descomentar si hay imagen */
    grid-template-columns: 1fr auto;
    /* Ajustar si hay imagen */
    align-items: center;
    gap: 2rem;
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.hero-subtitle .fa-star {
    font-size: 0.9em;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Services Intro */
.section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-title i {
    font-size: 1.5rem;
}

.section-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Services Grid */
.services-grid {
    /* Aplicar fondo alterno si la sección anterior es blanca */
    background-color: var(--bg-alt);
}

.service-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
    /* Borde sutil */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.service-indicator {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.service-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.service-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    /* Empuja los botones hacia abajo */
}

.btn-service {
    display: block;
    background-color: #fff;
    /* Fondo blanco o muy claro */
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    text-align: left;
    padding: 0.6rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 4px;
}

.btn-service:hover {
    background-color: var(--accent-blue);
    color: var(--text-light);
    border-color: var(--accent-blue);
    text-decoration: none;
}

/* Automate Section */
.automate-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.automate-list ul {
    padding-left: 0;
}

.automate-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.automate-list i {
    margin-top: 0.2em;
    font-size: 1.1em;
    color: var(--accent-blue);
    /* Asegurar color del icono */
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-light);
    /* Si la sección es alt-bg */
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-item i {
    margin-bottom: 1rem;
    font-size: 2rem;
    /* Aumentar tamaño */
}

.benefit-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Process Section (Timeline) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding-left: 50px;
    /* Más espacio para icono + círculo */
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    /* Centro del icono */
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--border-light);
    /* Línea gris clara */
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0px;
    /* Ajustar para centrar */
    top: 0;
    background-color: var(--accent-blue);
    /* Icono azul */
    border: 3px solid var(--bg-light);
    /* Borde blanco para separar */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    /* Icono blanco */
    font-size: 1rem;
    z-index: 1;
}

.timeline-content {
    background-color: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    position: relative;
    /* Para la flecha si se desea */
    transition: box-shadow 0.3s ease;
}

.timeline-content:hover {
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section h2 {
    margin-bottom: 1.5rem;
}

.cta-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    color: #CED4DA;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: #adb5bd;
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 3px solid var(--accent-blue-light);
    /* Línea de acento arriba */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand img {
    opacity: 1;
    max-height: 100px;
    /* Ajustar tamaño */
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    width: 100%;
    margin-top: 1rem;
    color: #6C757D;
    /* Un gris más oscuro para el copyright */
}


/* Responsiveness (Ajustes Adicionales) */
@media (max-width: 991px) {
    .container {
        width: 95%;
    }

    h1 {
        font-size: calc(1.6rem + 1.6vw);
    }

    h2 {
        font-size: calc(1.4rem + 0.8vw);
    }

    .hero {
        padding: 80px 0;
    }

    .automate-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-nav {
        justify-content: center;
    }

    .nav-menu {
        /* Estilos del menú móvil (ejemplo) */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        display: block;
        /* Para que la transición funcione */
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    /* Quitar subrayado en móvil */
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .service-grid-container,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 40px;
    }

    /* Ajustar si icono es más pequeño */
    .timeline::before {
        left: 15px;
    }

    /* Ajustar a nuevo centro icono */
    .timeline-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        left: 0px;
    }
}

/* === Estilos Página Servicios === */
.page-title-section {
    padding-top: 120px;
    /* Más espacio arriba para títulos de página */
    padding-bottom: 60px;
}

.page-title-section h1 {
    margin-bottom: 1rem;
}

/* === Estilos Página Blog === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-post-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    /* Para que la imagen no se salga */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-post-thumbnail {
    /* Si añades imagen */
    width: 100%;
    height: 200px;
    /* Altura fija para la miniatura */
    object-fit: cover;
    /* Para que la imagen cubra bien */
}

.blog-post-content {
    padding: 1.5rem;
    flex-grow: 1;
    /* Para que el contenido ocupe espacio */
    display: flex;
    flex-direction: column;
}

.blog-post-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.blog-post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.blog-post-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.blog-post-content h3 a:hover {
    color: var(--accent-blue);
}


.blog-post-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Empuja el botón hacia abajo */
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    align-self: flex-start;
    /* Alinea el botón a la izquierda */
}

.btn-small i {
    margin-left: 0.5rem;
}

/* === Estilos Página Contacto === */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Dos columnas */
    gap: 3rem;
    align-items: flex-start;
    /* Alinear arriba */
}

.contact-text h1 {
    margin-bottom: 1.5rem;
}

.contact-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.contact-info i {
    width: 20px;
    /* Ancho fijo para iconos */
}


.contact-form form {
    background-color: var(--bg-alt);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label,
label[for="name"],
label[for="email"],
label[for="phone"],
label[for="website"],
label[for="solution"],
label[for="budget"],
label[for="privacy"] {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-light);
    background-clip: padding-box;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: var(--text-dark);
    background-color: var(--bg-light);
    border-color: var(--accent-blue-light);
    /* Azul más claro para foco */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    /* Sombra de foco azul */
}

textarea.form-control {
    min-height: 120px;
    /* Altura mínima para textarea */
    resize: vertical;
    /* Permitir redimensionar verticalmente */
}

select.form-control {
    /* Apariencia nativa mejorada */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
    /* Espacio para la flecha */
}


.required {
    color: red;
    margin-left: 0.25rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    /* Resetear ancho */
    flex-shrink: 0;
    /* Evitar que se encoja */
}

.checkbox-group label {
    margin-bottom: 0;
    /* Quitar margen inferior */
    font-weight: normal;
}

.checkbox-group a {
    text-decoration: underline;
}


/* Responsive para Contacto */
@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        /* Apilar en tablet */
        gap: 2rem;
    }

    .contact-text {
        text-align: center;
    }

    .contact-info {
        justify-content: center;
    }

    .contact-info p {
        justify-content: center;
    }
}

/* Responsive General */
@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
        /* Una columna en móvil */
    }

    .automate-container {
        grid-template-columns: 1fr;
    }

    .automate-text {
        text-align: center;
    }

    .automate-list ul {
        padding-left: 1rem;
        /* Añadir un poco de padding */
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        left: 0px;
    }
}

/* === Estilos Página Legal === */
.legal-content article h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    color: var(--text-dark);
    /* Asegurar color */
}

.legal-content article p,
.legal-content article li {
    color: var(--text-muted);
    /* Texto principal ligeramente más claro */
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.legal-content article ul {
    list-style: disc;
    /* O none si se prefiere */
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content article strong {
    color: var(--text-dark);
    /* Resaltar los títulos */
}


/* === Estilos Post de Blog Individual === */
.blog-post-container {
    max-width: 800px;
    /* Contenedor más estrecho para mejor lectura */
}

.blog-post-header {
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
}

.blog-post-header h1 {
    font-size: calc(1.6rem + 1.5vw);
    /* Título grande */
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .blog-post-header h1 {
        font-size: 2.8rem;
    }
}

.blog-post-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-post-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    /* Para bordes redondeados en imagen */
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
}

.blog-post-body {
    line-height: 1.8;
    /* Mayor interlineado para lectura */
    font-size: 1.05rem;
    /* Texto ligeramente más grande */
}

.blog-post-body h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
    /* Separador para subtítulos */
}

.blog-post-body h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.blog-post-body p {
    margin-bottom: 1.2rem;
}

.blog-post-body ul,
.blog-post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
}

.blog-post-body a {
    text-decoration: underline;
}

.blog-post-body a:hover {
    color: var(--accent-blue-hover);
}

.blog-post-body strong {
    font-weight: 600;
    /* Ligeramente más grueso */
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* === Estilos Sub-Navegación Servicios === */
.sub-nav-section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.sub-nav-list {
    display: flex;
    justify-content: center;
    /* O flex-start si prefieres alineado a la izquierda */
    flex-wrap: wrap;
    gap: 1rem;
    /* Espacio entre enlaces */
}

.sub-nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sub-nav-link:hover {
    color: var(--accent-blue);
    background-color: #E9ECEF;
    /* Fondo sutil al pasar el ratón */
    text-decoration: none;
}

.sub-nav-link.active {
    background-color: var(--accent-blue);
    color: var(--text-light);
}

/* === Estilos Service Hero === */
.service-hero {
    /* Similar a .hero pero tal vez con menos padding o fondo diferente */
    min-height: 40vh;
    /* Más corto que el hero principal */
    padding: 60px 0;
    /* Podrías darle un fondo ligeramente diferente si quieres */
    /* background-color: #EEF2FF; */
}

.service-hero-container {
    /* Similar a hero-container */
}

.service-hero-content h1 {
    font-size: calc(1.7rem + 1.6vw);
    /* Un poco más pequeño que H1 principal */
}

@media (min-width: 992px) {
    .service-hero-content h1 {
        font-size: 3rem;
    }
}

/* === Estilos Use Cases / Specific Benefits === */
.use-cases-section,
.specific-benefits {
    /* Estilos comunes si los hay */
}

.benefits-grid-alt {
    /* Para el layout de 2 columnas en Service pages */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Sigue siendo responsive */
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item-alt {
    /* Estilo ligeramente distinto si quieres */
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    /* Alinear icono arriba */
    transition: box-shadow 0.3s ease;
}

.benefit-item-alt:hover {
    box-shadow: var(--shadow-sm);
}

.benefit-item-alt i {
    margin-top: 0.1em;
    font-size: 1.8rem;
    /* Icono un poco más grande */
    width: 30px;
    /* Ancho fijo para alinear texto */
}

.benefit-item-alt h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-item-alt p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* === Estilos More Services === */
.more-services {
    /* Estilos específicos si es necesario */
}

/* Responsive Adicional para Sub-Nav */
@media (max-width: 767px) {
    .sub-nav-list {
        gap: 0.5rem;
        justify-content: flex-start;
        /* Mejor en móvil */
    }

    .sub-nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .service-hero-content h1 {
        font-size: 2rem;
    }

    .benefits-grid-alt {
        grid-template-columns: 1fr;
    }

    /* Apilar beneficios */
}