/* Reseteo básico y configuración global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #F8FAFC;
    background-color: #0F172A;
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F8FAFC;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #F8FAFC;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    color: #F8FAFC;
    margin-bottom: 1rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #2563EB;
    color: #F8FAFC;
}

.btn-primary:hover {
    background-color: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #2563EB;
    border: 1px solid #2563EB;
}

.btn-secondary:hover {
    background-color: #2563EB;
    color: #F8FAFC;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #0F172A;
    border-bottom: 1px solid rgba(37, 99, 235, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: none;
    font-weight: 700;
    color: #F59E0B;
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.nav-desktop {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #F8FAFC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #F59E0B;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Menú móvil */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #F8FAFC;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-mobile {
    display: none;
    background-color: #0F172A;
    border-top: 1px solid #2563EB;
    padding: 1rem 0;
    margin-top: 1rem;
}

.nav-mobile.active {
    display: block;
}

.nav-menu-mobile {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-menu-mobile a {
    color: #F8FAFC;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-menu-mobile a:hover {
    color: #F59E0B;
}

/* Sección Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(59, 130, 246, 0.75) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F59E0B;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.hero h1 {
    color: #F8FAFC;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    color: #F8FAFC;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Secciones generales */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: #1E293B;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #F59E0B;
    margin-bottom: 3rem;
    font-weight: 500;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #1E293B;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
    border-color: #2563EB;
}

.service-icon {
    color: #2563EB;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Galería */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.4);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
    color: #F8FAFC;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: #F59E0B;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.gallery-overlay p {
    color: #F8FAFC;
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* Modal de galería */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    max-height: 80%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.modal-close:hover {
    color: #3b82f6;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #F8FAFC;
    padding: 15px 20px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.9);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.modal-caption h3 {
    color: #F59E0B;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.modal-caption p {
    color: #F8FAFC;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* Sobre nosotros */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #F8FAFC;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background-color: #1E293B;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.feature h4 {
    color: #F59E0B;
    margin-bottom: 0.5rem;
}

/* Contacto */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background-color: #1E293B;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #2563EB;
    border-radius: 8px;
    background-color: #0F172A;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #F8FAFC;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
    background-color: #1E293B;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    color: #F59E0B;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #F8FAFC;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-item a:hover {
    color: #F59E0B;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background-color: #0F172A;
    color: #F8FAFC;
    padding: 3rem 0 1rem;
    border-top: 1px solid #2563EB;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand img {
    margin-bottom: 1rem;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F59E0B;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-brand p,
.footer-contact p {
    color: #F8FAFC;
    font-weight: 400;
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-links ul li a:hover {
    color: #f59e0b;
}

.footer-contact a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-contact a:hover {
    color: #f59e0b;
}

.footer-bottom {
    border-top: 1px solid #2563EB;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #F8FAFC;
    margin: 0;
    font-weight: 400;
}

.footer-bottom strong {
    color: #F59E0B;
    font-weight: 700;
}

/* Botones flotantes */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.phone-btn {
    background-color: #2563EB;
    color: #F8FAFC;
}

.phone-btn:hover {
    background-color: #1D4ED8;
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25D366;
    color: #F8FAFC;
}

.whatsapp-btn:hover {
    background-color: #20B358;
    transform: scale(1.1);
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo img {
        height: 55px;
    }

    .logo-text {
        display: block;
    }

    .hero-brand {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
    }

    .floating-buttons {
        bottom: 30px;
        right: 30px;
    }

    .nav-desktop {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    /* Blog responsive - Tablet */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Páginas de barrios responsive - Tablet */
    .neighborhood-content {
        grid-template-columns: 2fr 1fr;
    }

    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .logo img {
        height: 60px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-brand {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .gallery-item img {
        height: 300px;
    }

    .about-features {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-actions {
        flex-direction: row;
    }
}

@media (min-width: 1200px) {
    .hero-brand {
        font-size: 3rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Blog responsive - Desktop */
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Páginas de barrios responsive - Desktop */
    .services-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.gallery-item,
.feature {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Estados de carga */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Estilo para destacar marca en el texto */
strong {
    color: #F59E0B;
    font-weight: 700;
}

.about-lead strong {
    color: #F59E0B;
    font-size: 1.1em;
    letter-spacing: 0.05em;
}

/* Accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible para navegación por teclado */
.btn:focus-visible,
.nav-menu a:focus-visible,
.nav-menu-mobile a:focus-visible,
.floating-btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Smooth scroll para dispositivos que lo soporten */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* === ESTILOS PARA BLOG === */

/* Hero del Blog */
.blog-hero {
    min-height: 60vh;
}

.blog-hero .hero-brand {
    font-size: 1.5rem;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background-color: #1E293B;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    color: #F8FAFC;
    font-size: 0.9rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: #F59E0B;
}

.breadcrumb-list a {
    color: #2563EB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #F59E0B;
}

/* Categorías del Blog */
.blog-categories {
    padding: 4rem 0;
    background-color: #1E293B;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background-color: #0F172A;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
    border-color: #2563EB;
}

.category-icon {
    color: #2563EB;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Artículos del Blog */
.blog-articles {
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background-color: #1E293B;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
    border-color: #2563EB;
}

.article-image {
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #F59E0B;
    color: #0F172A;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-content {
    padding: 2rem;
}

.article-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.article-content h3 a {
    color: #F8FAFC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: #F59E0B;
}

.article-excerpt {
    color: #F8FAFC;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #F59E0B;
    font-weight: 500;
}

/* Sidebar del Blog */
.blog-sidebar {
    padding: 4rem 0;
    background-color: #1E293B;
}

.sidebar-content {
    max-width: 800px;
    margin: 0 auto;
}

.sidebar-widget {
    background-color: #0F172A;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.sidebar-widget h3 {
    color: #F59E0B;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    border-bottom: 2px solid #F59E0B;
    padding-bottom: 0.5rem;
}

.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-article {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background-color: #1E293B;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.popular-article:hover {
    background-color: #334155;
    transform: translateX(5px);
}

.popular-article img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.popular-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.popular-content h4 a {
    color: #F8FAFC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-content h4 a:hover {
    color: #F59E0B;
}

.popular-content time {
    font-size: 0.8rem;
    color: #F59E0B;
    font-weight: 500;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: #F8FAFC;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background-color: #1E293B;
    color: #F59E0B;
    transform: translateX(5px);
}

.category-list span {
    background-color: #2563EB;
    color: #F8FAFC;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* CTA del Blog */
.blog-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    text-align: center;
}

.cta-content h2 {
    color: #F8FAFC;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-content p {
    color: #F8FAFC;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Navegación con dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1E293B;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(37, 99, 235, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 200px;
    z-index: 1000;
    padding: 0.5rem 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #F8FAFC;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #334155;
    color: #F59E0B;
    padding-left: 1.5rem;
}

/* Estilo activo para navegación */
.nav-menu a.active {
    color: #F59E0B;
    font-weight: 600;
}

/* === ESTILOS PARA ARTÍCULOS INDIVIDUALES === */
.article-header {
    padding: 2rem 0;
    background-color: #1E293B;
    text-align: center;
}

.article-title {
    font-size: 2.5rem;
    color: #F8FAFC;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta-header {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: #F59E0B;
    font-weight: 500;
}

.article-body {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    color: #F59E0B;
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.article-body h3 {
    color: #F8FAFC;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #F8FAFC;
}

.article-body strong {
    color: #F59E0B;
    font-weight: 600;
}

.article-body em {
    color: #F59E0B;
    font-style: italic;
}

.article-image-full {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.4);
}

.highlight-box {
    background-color: #1E293B;
    border-left: 4px solid #F59E0B;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box h4 {
    color: #F59E0B;
    margin-bottom: 1rem;
}

.related-articles {
    padding: 3rem 0;
    background-color: #1E293B;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* === ESTILOS PARA PÁGINAS DE BARRIOS === */
.neighborhood-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    text-align: center;
}

.neighborhood-hero h1 {
    font-size: 2.5rem;
    color: #F8FAFC;
    margin-bottom: 1rem;
}

.neighborhood-hero .hero-subtitle {
    font-size: 1.125rem;
    color: #F8FAFC;
    opacity: 0.9;
}

.neighborhood-info {
    padding: 4rem 0;
}

.neighborhood-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.neighborhood-services {
    padding: 4rem 0;
    background-color: #1E293B;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    background-color: #0F172A;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563EB;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(5px);
    border-left-color: #F59E0B;
}

.service-item h4 {
    color: #F59E0B;
    margin-bottom: 0.5rem;
}

.neighborhood-testimonials {
    padding: 4rem 0;
}

.testimonial-card {
    background-color: #1E293B;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #F8FAFC;
}

.testimonial-author {
    color: #F59E0B;
    font-weight: 600;
}

/* === ESTILOS PARA PÁGINAS ESPECIALIZADAS === */

/* Servicios detallados */
.services-detail {
    padding: 5rem 0;
}

.service-content {
    margin-top: 3rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text ul.service-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.content-text ul.service-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(248, 250, 252, 0.1);
    color: #F8FAFC;
}

.content-text ul.service-list li:last-child {
    border-bottom: none;
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Tipos de servicios */
.bathroom-types, .office-types, .integral-types {
    padding: 4rem 0;
    background-color: #1E293B;
}

.types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.type-card {
    background-color: #0F172A;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.type-card h4 {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.type-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.type-card ul li {
    padding: 0.5rem 0;
    color: #F8FAFC;
    position: relative;
    padding-left: 1.5rem;
}

.type-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563EB;
    font-weight: bold;
}

/* Galerías especializadas */
.gallery-service {
    padding: 4rem 0;
}

.gallery-grid-small {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Sección de contacto especializada */
.contact-section {
    padding: 5rem 0;
    background-color: #1E293B;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info .contact-item {
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
}

/* Proceso detallado */
.process-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Elementos de oficina */
.office-elements {
    padding: 4rem 0;
}

.elements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.element-item {
    background-color: #1E293B;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.element-item h4 {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Ventajas y beneficios */
.advantages-section, .benefits-section {
    padding: 4rem 0;
    background-color: #1E293B;
}

.advantages-grid, .benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item, .benefit-item {
    background-color: #0F172A;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.advantage-item h4, .benefit-item h4 {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Responsive para tablets */
@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .elements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid, .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive para desktop */
@media (min-width: 1024px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid-detailed {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .elements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .advantages-grid, .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
