/* Variables */
:root {
    --color-primary: #ffcc00;
    --color-secondary: #0066cc;
    --color-dark: #333333;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --color-gray: #6c757d;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-dark);
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

header.scrolled .logo-img {
    height: 40px;
}

header.scrolled nav ul li a {
    color: var(--color-white);
    text-shadow: none;
}

header.scrolled nav ul li a:hover {
    color: var(--color-primary);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--color-primary);
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--color-dark);
    font-weight: 600;
    position: relative;
    text-shadow: none;
    transition: var(--transition);
}

body.home nav ul li a {
    color: var(--color-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

nav ul li a:hover {
    color: var(--color-primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-white);
}

body.home .mobile-menu-btn {
    color: var(--color-white);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.85);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    nav ul.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    nav ul li {
        margin: 15px 0;
        text-align: center;
    }
    
    nav ul li a {
        color: var(--color-white) !important;
        font-size: 1.1rem;
        text-shadow: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 80px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* Servicios */
.servicios {
    padding: 100px 0;
    background-color: var(--color-white);
}

.servicios h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.servicio {
    background-color: var(--color-light);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icono {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.servicio h3 {
    margin-bottom: 15px;
}

.servicio p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Zona de Servicio */
.zona {
    padding: 100px 0;
    background-color: var(--color-light);
    position: relative;
}

.zona::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1) 0%, rgba(255, 204, 0, 0.05) 100%);
    z-index: 0;
}

.zona .container {
    position: relative;
    z-index: 1;
}

.zona h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.zona-contenido {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.zona-texto p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.zona-texto strong {
    color: var(--color-primary);
    font-weight: 700;
}

.municipios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.municipio {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--color-light);
    border-radius: 6px;
    transition: var(--transition);
}

.municipio:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.municipio i {
    margin-right: 10px;
    color: var(--color-primary);
}

.municipio:hover i {
    color: var(--color-dark);
}

/* Contacto */
.contacto {
    padding: 100px 0;
    background-color: var(--color-white);
}

.contacto h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.contacto-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.contacto-telefono,
.contacto-email {
    background-color: var(--color-light);
    border-radius: 8px;
    padding: 25px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.separador-contacto {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 50px;
    height: 50px;
}

.separador-contacto span {
    background-color: var(--color-white);
    color: var(--color-gray);
    font-size: 1.2rem;
    font-weight: 600;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;  
    transform: translate(-50%, -50%);
}

.separador-contacto::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.contacto-telefono:hover,
.contacto-email:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contacto-telefono i,
.contacto-email i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.contacto-telefono h3,
.contacto-email h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contacto-telefono p,
.contacto-email p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--color-secondary);
}

.contacto-contenido {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

/* Estilos para el formulario de contacto */
#btn-enviar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-dark);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.mensaje-estado {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.mensaje-estado.exito {
    display: block;
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.mensaje-estado.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.info-contacto h3,
.llamada-accion h3 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.info-contacto p {
    margin-bottom: 10px;
}

.info-contacto i {
    margin-right: 10px;
    color: var(--color-primary);
}

.redes-sociales {
    margin-top: 20px;
}

.redes-sociales a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.redes-sociales a i {
    margin-right: 0;
    font-size: 1.1rem;
}

.redes-sociales a:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.llamada-accion .btn {
    margin-top: 15px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.85);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    nav ul.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    nav ul li {
        margin: 15px 0;
        text-align: center;
    }
    
    nav ul li a {
        color: var(--color-white);
        font-size: 1.1rem;
        text-shadow: none;
    }
    
    .municipios-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    header.scrolled .menu-btn span {
        background: var(--color-primary);
    }
    
    .contacto-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .contacto-telefono,
    .contacto-email {
        width: 100%;
        max-width: 300px;
    }
    
    .separador-contacto {
        width: 100%;
        height: 40px;
        margin: 10px 0;
    }
    
    .separador-contacto::before {
        left: 0;
        right: 0;
    }
}

@media (max-width: 576px) {
    .municipios-grid {
        grid-template-columns: 1fr;
    }
    
    .zona-contenido {
        padding: 25px;
    }
}

/* Mejoras de accesibilidad y SEO */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: #000;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Mejora de contraste para accesibilidad */
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
}

/* Mejora de contraste para enlaces */
a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Mejora de contraste para botones */
.btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Mejora de contraste para formularios */
input:focus, 
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.3);
}

/* Mejora de contraste para iconos */
.icono i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.servicio:hover .icono i {
    transform: scale(1.2);
}

/* Mejora de visibilidad para municipios */
.municipio {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.municipio:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mejora de visibilidad para secciones */
section {
    position: relative;
}

section::before {
    content: "";
    display: block;
    height: 70px;
    margin-top: -70px;
    visibility: hidden;
    pointer-events: none;
}

/* Mejora de visibilidad para el footer */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.info-contacto, 
.llamada-accion {
    flex: 1;
    min-width: 250px;
}

/* Mejora de visibilidad para redes sociales */
.redes-sociales a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.redes-sociales a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.redes-sociales a:hover i {
    color: #333;
}

/* Mejora de visibilidad para el copyright */
.copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mejora de visibilidad para el formulario */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Mejora de visibilidad para el mensaje de estado */
.mensaje-estado {
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.mensaje-estado.exito {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.mensaje-estado.error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid #F44336;
    color: #F44336;
}

/* Mejora de visibilidad para el loader */
.loader {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mejora de visibilidad para el botón de enviar */
#btn-enviar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Mejora de visibilidad para el separador */
.separador-contacto {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
}

.separador-contacto span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-primary);
    color: #333;
    border-radius: 50%;
    font-weight: 600;
}

/* Mejora de visibilidad para los servicios */
.servicio {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mejora de visibilidad para la zona */
.zona-contenido {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mejora de visibilidad para los municipios */
.municipios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

/* Mejora de visibilidad para el contacto */
.contacto-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contacto-telefono,
.contacto-email {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-telefono:hover,
.contacto-email:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mejora de visibilidad para el hero */
.hero {
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--color-bg), transparent);
    pointer-events: none;
}

/* Mejora de visibilidad para el header */
header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(17, 17, 17, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mejora de visibilidad para el logo */
.logo-img {
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Mejora de visibilidad para la navegación */
nav ul li a {
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mejora de visibilidad para el botón */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

/* Mejora de visibilidad para el formulario */
#formulario-contacto {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mejora de visibilidad para los inputs */
input, textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:hover, textarea:hover {
    border-color: rgba(255, 204, 0, 0.5);
}

/* Mejora de visibilidad para el footer */
footer {
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--color-bg), transparent);
    pointer-events: none;
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--color-light);
    padding: 15px 0;
    margin-top: 80px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: var(--color-gray);
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 10px;
    color: var(--color-primary);
}

.breadcrumb a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 0;
        margin-top: 70px;
    }
    
    .breadcrumb li {
        font-size: 0.8rem;
    }
}

/* Estilos para la sección de ventajas */
.ventajas {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ventaja {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ventaja:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ventaja .icono {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.ventaja h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.ventaja p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ventajas {
        padding: 60px 0;
    }
    
    .ventajas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ventaja {
        padding: 20px;
    }
}

/* Estilos para el Blog */
.blog-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.blog-section h2 {
    text-align: center;
    color: var(--color-dark);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.blog-section .intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--color-gray);
    font-size: 1.1rem;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-post {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-post-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .blog-post-img img {
    transform: scale(1.1);
}

.blog-post-content {
    padding: 20px;
}

.blog-post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.blog-post-content p {
    color: var(--color-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--color-gray);
}

.blog-post-meta span {
    display: flex;
    align-items: center;
}

.blog-post-meta i {
    margin-right: 5px;
    color: var(--color-primary);
}

.blog-post .btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-dark);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-post .btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Estilos para la página de artículo individual */
.blog-article {
    padding: 80px 0;
    background-color: var(--color-white);
}

.blog-article .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 15px;
    line-height: 1.2;
    font-family: var(--font-secondary);
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--color-gray);
    font-size: 0.95rem;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
    color: var(--color-primary);
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
    font-family: var(--font-primary);
}

.article-intro {
    font-size: 1.2rem;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--color-dark);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    font-family: var(--font-secondary);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-tip {
    background-color: var(--color-light);
    border-left: 4px solid var(--color-primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.article-tip h3 {
    display: flex;
    align-items: center;
    color: var(--color-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-family: var(--font-secondary);
}

.article-tip h3 i {
    color: var(--color-primary);
    margin-right: 10px;
}

.article-image {
    margin: 30px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 10px;
    color: var(--color-gray);
    font-style: italic;
    font-size: 0.9rem;
}

.article-conclusion {
    background-color: var(--color-light);
    padding: 25px;
    border-radius: 8px;
    margin: 40px 0 30px;
}

.article-conclusion h3 {
    color: var(--color-dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-family: var(--font-secondary);
}

.article-author {
    display: flex;
    align-items: center;
    background-color: var(--color-light);
    padding: 20px;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 5px;
    font-family: var(--font-secondary);
}

.author-info p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.article-share {
    margin: 30px 0;
}

.article-share h3 {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.social-share {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.social-share li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-light);
    color: var(--color-dark);
    border-radius: 50%;
    transition: var(--transition);
}

.social-share li a:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.related-articles {
    margin: 50px 0 30px;
}

.related-articles h3 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-secondary);
}

.related-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-post {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    padding: 15px 15px 10px;
    font-size: 1.1rem;
    color: var(--color-dark);
    font-family: var(--font-secondary);
}

.related-post .btn {
    margin: 0 15px 15px;
    display: inline-block;
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
}

.widget {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget h3 {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    font-family: var(--font-secondary);
}

.widget.categories ul {
    list-style: none;
    padding: 0;
}

.widget.categories li {
    margin-bottom: 10px;
}

.widget.categories a {
    display: block;
    color: var(--color-gray);
    text-decoration: none;
    padding: 8px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.widget.categories a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.widget.contact-info p {
    margin-bottom: 15px;
    color: var(--color-gray);
}

.contact-methods {
    margin-top: 15px;
}

.contact-methods p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-methods i {
    margin-right: 10px;
    color: var(--color-primary);
}

.widget.newsletter p {
    margin-bottom: 15px;
    color: var(--color-gray);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-primary);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.2);
}

.newsletter-form .btn {
    width: 100%;
}

/* CTA Section */
.cta-section {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 102, 204, 0.7) 100%);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--color-white);
    font-family: var(--font-secondary);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-article .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .related-posts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
    }
    
    .article-author img {
        margin: 0 auto 15px;
    }
} 