/* RESET Y VARIABLES */
:root {
    --primary-color: #1B3A4B; /* Azul Profundo (Tech/Moderno) */
    --secondary-color: #5D4037; /* Marrón Tierra Oscuro (Campestre) */
    --accent-color: #D4A373; /* Dorado / Bronce */
    --text-color: #2C3E50;
    --light-bg: #F0F4F8; /* Azul Grisáceo muy claro */
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base size */
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden; /* Prevenir scroll horizontal en móvil */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    user-drag: none;
    -webkit-user-drag: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding {
    padding: 60px 0; /* Reducido un poco para móvil */
}

@media (min-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* HEADER & NAV - MEJORADO PARA MÓVIL */
#main-header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

.logo .subtitle {
    font-size: 0.7rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

/* LOGO IZQUIERDA */
.header-logo-left img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-right: 20px;
}

@media (min-width: 768px) {
    .logo h1 { font-size: 1.5rem; }
    .logo .subtitle { font-size: 0.8rem; letter-spacing: 2px; }
    .header-logo-left img { height: 60px; }
}

/* Navegación Desktop */
.main-nav ul {
    display: none; /* Oculto por defecto en móvil */
}

@media (min-width: 992px) {
    .main-nav ul {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .main-nav a:not(.btn-login) {
        font-weight: 700;
        color: var(--primary-color);
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
        position: relative;
    }

    .main-nav a:not(.btn-login)::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-color);
        transition: width 0.3s;
    }

    .main-nav a:not(.btn-login):hover::after {
        width: 100%;
    }
}

/* MENÚ DESPLEGABLE (DROPDOWN) */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 100%;
}

.dropdown-menu {
    display: none; /* Aseguramos que empiece oculto */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    min-width: 220px;
    z-index: 1000;
    flex-direction: column;
    align-items: flex-start !important;
    margin-top: 0;
    
    /* Prevenir que se muestre si no hay hover */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Mostrar al pasar el mouse (Desktop) */
@media (min-width: 992px) {
    /* Usamos visibility + opacity para un control más robusto */
    .dropdown:hover .dropdown-menu {
        display: flex;
        opacity: 1;
        visibility: visible;
        /* Quitamos la animación keyframe si causa problemas de estado final */
        /* animation: fadeIn 0.2s ease-out forwards; */
    }
}

/* Estilos para móvil (Desplegable dentro del menú) */
@media (max-width: 991px) {
    .dropdown {
        display: block; /* Ocupar todo el ancho */
        width: 100%;
    }

    .dropdown-toggle {
        justify-content: space-between; /* Texto izquierda, flecha derecha */
        width: 100%;
        padding: 10px 0; /* Aumentar área táctil */
    }

    .dropdown-menu {
        position: static; /* NO flotante, sino empujando contenido */
        box-shadow: none;
        background: rgba(0,0,0,0.03); /* Fondo sutil para diferenciar */
        display: none; 
        padding-left: 20px;
        width: 100%;
        align-items: flex-start !important;
        opacity: 1;
        visibility: visible;
        margin-top: 5px;
        border-radius: 4px;
    }
    
    /* Clase activa controlada por JS */
    .dropdown.active .dropdown-menu {
        display: flex;
    }

    .dropdown-menu a {
        color: var(--primary-color) !important;
        font-size: 0.95rem !important;
        padding: 12px 10px; /* Más espacio para dedos */
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
}

.dropdown-menu li {
    width: 100%;
    margin: 0; /* Reset margins */
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color) !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color) !important;
}

.dropdown-menu a::after {
    display: none !important; /* Quitar subrayado del hover general */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilos específicos para menú móvil */
@media (max-width: 991px) {
    .main-nav {
        display: none;
        position: fixed; /* FIXED para que no dependa del scroll del body */
        top: 70px; /* Altura aproximada del header */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px); /* Ocupar el resto de la pantalla */
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 0;
        margin: 0;
        z-index: 9999;
        overflow-y: auto; /* Scroll interno SIEMPRE activo */
        padding-bottom: 50px; /* Espacio extra final */
    }

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

    .main-nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    /* Prevenir que el body haga scroll cuando el menú está abierto */
    body.menu-open {
        overflow: hidden;
    }

    .main-nav li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
        color: var(--primary-color);
        font-size: 1rem;
    }

    /* DROPDOWN EN MÓVIL */
    .dropdown {
        display: block;
        width: 100%;
        height: auto;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px 20px; /* Mismo padding que enlaces normales */
    }
    
    .dropdown-menu {
        position: static;
        display: none; /* Oculto por defecto */
        width: 100%;
        background-color: #f8f8f8; /* Fondo ligeramente gris */
        box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
        padding: 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        border-radius: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block; /* Mostrar bloque */
    }

    .dropdown-menu a {
        padding: 12px 20px 12px 40px; /* Más indentación a la izquierda */
        font-size: 0.95rem !important;
        border-bottom: 1px solid #eec;
        color: #555 !important;
    }

    /* Botón Login en móvil */
    .btn-login {
        margin: 15px 20px 40px 20px; /* Margen inferior extra grande (40px) */
        width: auto;
        display: inline-block;
        text-align: center;
    }

    /* Scroll si la pantalla es muy pequeña */
    .main-nav {
        overflow-y: auto;
        max-height: 85vh; /* Limitar altura para permitir scroll si es necesario */
    }
}

/* Botón Login */
.btn-login {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 2px solid var(--primary-color);
    display: inline-block;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Menú Hamburguesa */
.menu-toggle {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

/* MENÚ MÓVIL DESPLEGABLE */
@media (max-width: 991px) {
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        transform: translateX(100%); /* Oculto a la derecha */
        transition: transform 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centrar items verticalmente */
        align-items: center;
    }

    .main-nav.active {
        transform: translateX(0); /* Visible */
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
    }

    .main-nav a {
        font-size: 1.2rem;
        color: var(--primary-color);
        font-weight: 700;
    }

    .nav-login-item {
        margin-top: 30px;
        width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .btn-login {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 15px 0;
        font-size: 1.1rem;
        background-color: var(--accent-color); /* Color dorado para destacar en móvil */
        border-color: var(--accent-color);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    }
    
    .btn-login:hover {
        background-color: var(--white);
        color: var(--accent-color);
    }
}


/* HERO SECTION / CAROUSEL */
.hero-section {
    height: 100vh; /* Ocupa toda la pantalla */
    /* Ajuste para móviles con barras de navegador */
    height: 100dvh; 
    position: relative;
    overflow: hidden;
    margin-top: 0; /* El header es fixed */
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-color: #000; /* Fondo negro mientras carga */
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Oscurecer ligeramente las imágenes para que el texto resalte */
    filter: brightness(0.7); 
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.carousel-caption h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.1rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .carousel-caption h2 { font-size: 4rem; margin-bottom: 20px; }
    .carousel-caption p { font-size: 1.5rem; }
}

/* Controles Carrusel - Más sutiles en móvil */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        background: rgba(0,0,0,0.3);
        border: none;
        border-radius: 0;
    }
    .carousel-btn:hover { background: rgba(0,0,0,0.6); }
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }
@media (min-width: 768px) {
    .prev-btn { left: 20px; }
    .next-btn { right: 20px; }
}


/* NOSOTROS SECTION */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 12px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    background: var(--light-bg);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.values-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* SERVICIOS SECTION */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
    flex-grow: 1; /* Para que todos tengan la misma altura */
    text-align: center;
}

.service-content h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 1rem;
    color: #666;
}

/* CATEGORÍAS (ICONOS REDONDOS) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-icon {
    width: 120px;
    height: 120px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-color); /* Icono naranja/dorado */
    margin-bottom: 20px;
    transition: all 0.3s;
}

.category-item:hover .category-icon {
    background-color: var(--accent-color);
    color: var(--white);
    transform: scale(1.05);
}

.category-item h3 {
    font-family: var(--font-body); /* Sans-serif bold como en la imagen */
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.category-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.category-link {
    font-weight: 700;
    color: #333;
    text-decoration: underline;
    font-size: 0.9rem;
}

.category-link:hover {
    color: var(--accent-color);
}

/* GALERIA SECTION - COLLAGE / MASONRY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    grid-auto-rows: 200px; /* Altura base para las filas */
    grid-auto-flow: dense; /* Para rellenar huecos */
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Clases para tamaños variados (Masonry effect) */
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; } /* Grande principal */
.gallery-item:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 1; grid-row: span 2; } /* Vertical alto */
.gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 1; } /* Horizontal ancho */
.gallery-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(7) { grid-column: span 2; grid-row: span 1; }

/* Reset para móvil: todo en una columna o dos simples */
@media (max-width: 767px) {
    .gallery-item:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móvil */
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

/* Efecto Hover */
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.15); /* Zoom in suave */
}

/* Overlay opcional al pasar el mouse */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* CONTACTO SECTION */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background: var(--white);
    padding: 30px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-radius: 12px;
}

@media (min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        padding: 50px;
        gap: 50px;
    }
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

@media (min-width: 992px) {
    .contact-info h3 { text-align: left; }
}

.info-item {
    display: flex;
    align-items: center; /* Alineación vertical */
    margin-bottom: 20px;
    background: #fafafa;
    padding: 15px;
    border-radius: 8px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    flex-shrink: 0; /* Evitar que el icono se aplaste */
}

.info-item p {
    font-size: 0.95rem;
    word-break: break-word; /* Evitar desbordamiento de emails largos */
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (min-width: 992px) {
    .social-links { justify-content: flex-start; }
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.map-container {
    height: 300px;
    width: 100%;
    background: #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .map-container { height: 400px; }
}

/* ESTILOS PÁGINA DETALLE */
.detalle-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}

.detalle-text {
    flex: 1;
}

.detalle-text h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.detalle-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.detalle-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

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

@media (min-width: 992px) {
    .detalle-section {
        flex-direction: row;
        gap: 50px;
    }

    .detalle-section.flex-row-reverse {
        flex-direction: row-reverse;
    }
    
    .detalle-image img {
        height: 400px;
    }
}

/* ESTILOS RECURSOS Y DESCARGAS */
.recursos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .recursos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* Enlaces de Interés */
.enlaces-list {
    list-style: none;
    padding: 0;
}

.enlaces-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.enlaces-list li:last-child {
    border-bottom: none;
}

.enlaces-list a {
    color: var(--text-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.enlaces-list a i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.enlaces-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.enlaces-list a:hover i {
    transform: translateX(5px);
}

/* Descargas */
.descargas-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.descarga-item {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.descarga-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.descarga-icon {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.descarga-info {
    flex: 1;
}

.descarga-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: var(--font-body);
    font-weight: 700;
}

.descarga-info span {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
}

.descarga-action {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-left: 20px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.descarga-item:hover .descarga-action {
    opacity: 1;
}

/* FOOTER */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    font-size: 0.9rem;
}

footer p {
    opacity: 0.8;
}
