/*
Theme Name: 2424 Arquitectura
Theme URI: https://www.2424arquitectura.com
Author: 2424 Arquitectura Team
Author URI: https://www.2424arquitectura.com
Description: Tema personalizado para estudio de arquitectura en madera - Diseño minimalista y moderno
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 2424arquitectura
Tags: architecture, modern, minimal, dark-mode, responsive
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F8F8;
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent-green: #4A8B7F;
    --accent-wood: #A68B6C;
    --overlay-dark: rgba(0, 0, 0, 0.4);
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

[data-theme="dark"] {
    /* Dark Mode Colors */
    --bg-primary: #1A1A1A;
    --bg-secondary: #2D2D2D;
    --text-primary: #E5E5E5;
    --text-secondary: #B0B0B0;
    --accent-green: #5FA393;
    --accent-wood: #C4A77D;
    --overlay-dark: rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition-smooth);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Theme Toggle (Bottom Left - Fixed) */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    top: auto;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: rgba(74, 139, 127, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
    background: rgba(74, 139, 127, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.toggle-icon {
    font-size: 18px;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .toggle-slider {
    transform: translateX(20px);
}

[data-theme="dark"] .toggle-switch {
    background: var(--accent-green);
}

/* Logo & Menu (Right) */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.site-logo:hover {
    transform: scale(1.05);
}

/* Logo size for different screen sizes */
@media (min-width: 1200px) {
    .site-logo {
        width: 55px;
        height: 55px;
    }
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    transform: rotate(90deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 2000;
    padding: 80px 40px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu nav ul {
    list-style: none;
}

.mobile-menu nav ul li {
    margin-bottom: 30px;
}

.mobile-menu nav ul li a {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.mobile-menu nav ul li a:hover {
    color: var(--accent-green);
    padding-left: 10px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-tagline {
    font-size: clamp(42px, 7vw, 72px) !important;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 10px !important;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(28px, 5vw, 42px) !important;
    font-weight: 400 !important;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 45px;
    opacity: 0.9 !important;
    animation: fadeInUp 1.2s ease;
}

.hero-cta {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: white;
    border: 2px solid white;
    font-size: 18px;
    font-weight: 400;
    border-radius: 50px;
    transition: var(--transition-smooth);
    animation: fadeInUp 1.2s ease;
}

.hero-cta:hover {
    background: white;
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 32px;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 700px;
}

/* About Section */
.about-section {
    text-align: center;
    background: var(--bg-secondary);
}

.about-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-green);
}

.service-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-description {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Director Section */
.director-section {
    background: var(--bg-secondary);
}

.director-container {
    max-width: 900px;
    margin: 0 auto;
}

.director-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-green);
}

.director-name {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.director-title {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
}

.director-experience {
    text-align: center;
    margin-bottom: 40px;
}

.director-tagline {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.director-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-style: italic;
}

.director-bio {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.director-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.director-achievements li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid var(--bg-secondary);
}

.director-achievements li:last-child {
    border-bottom: none;
}

.director-achievements li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-size: 24px;
    font-weight: bold;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}

.project-location {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--bg-secondary);
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 50%;
    background: var(--bg-secondary);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    color: var(--accent-green);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-secondary);
    padding-top: 20px;
    border-top: 1px solid var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .site-header {
        padding: 12px 20px;
    }
    
    .header-right {
        gap: 15px;
    }
    
    .site-logo {
        width: 40px;
    }
    
    .menu-toggle {
        font-size: 28px;
    }
    
    .hero-tagline {
        font-size: 36px !important;
        padding: 0 30px;
        margin-bottom: 10px !important;
    }
    
    .hero-subtitle {
        font-size: 24px !important;
        font-weight: 400 !important;
        padding: 0 30px;
        margin-top: 0;
    }
    
    .hero-cta {
        padding: 14px 35px;
        font-size: 16px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 768px) {
    .theme-toggle {
        bottom: 20px;
        left: 20px;
        top: auto;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 10px 15px;
    }
    
    .theme-toggle {
        bottom: 15px;
        left: 15px;
        padding: 6px 10px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .toggle-icon {
        font-size: 16px;
    }
    
    .toggle-switch {
        width: 38px;
        height: 20px;
    }
    
    .toggle-slider {
        width: 14px;
        height: 14px;
        top: 3px;
        left: 3px;
    }
    
    [data-theme="dark"] .toggle-slider {
        transform: translateX(18px);
    }
    
    .site-logo {
        width: 35px;
    }
    
    .header-right {
        gap: 12px;
    }
    
    .menu-toggle {
        font-size: 24px;
    }
    
    .hero-tagline {
        font-size: 30px !important;
        padding: 0 20px;
        margin-bottom: 10px !important;
    }
    
    .hero-subtitle {
        font-size: 22px !important;
        font-weight: 400 !important;
        padding: 0 20px;
        margin-top: 0;
    }
}

/* ============================================
   CORRECCIÓN DE CLICS (BOTONES BLOQUEADOS)
   ============================================ */

/* 1. Elevar el Footer para que nada lo tape */
.site-footer {
    position: relative !important;
    z-index: 50 !important;
}

/* 2. Asegurar que los íconos de redes sean clicables */
.social-link {
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

/* 3. Botón de WhatsApp: Capa SUPERIOR a todo */
.whatsapp-float {
    z-index: 2100 !important;
    pointer-events: auto !important;
}

/* 4. Solución de seguridad por si el Header invisible tapa algo */
.site-header {
    pointer-events: none;
}

/* Reactivamos los clics solo en el contenido del header (logo y menú) */
.header-left, .header-right {
    pointer-events: auto !important;
}

/* ============================================
   PÁGINA ARQ + MADERA (REDISEÑO UX)
   ============================================ */

/* 1. HERO SECTION - SOLUCIÓN DE SUPERPOSICIÓN */
.arq-hero {
    position: relative;
    background: linear-gradient(135deg, #2C3E50 0%, #000000 100%);
    padding: 180px 20px 100px;
    text-align: center;
    color: white;
    overflow: hidden;
}

.arq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.arq-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.arq-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.arq-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
}

.arq-divider {
    width: 60px;
    height: 4px;
    background: var(--accent-green, #4A8B7F);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.arq-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    margin-bottom: 10px;
    color: #E0E0E0;
}

.arq-intro {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 50px;
}

/* 2. TARJETAS DE ESTADÍSTICAS */
.arq-stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 12px;
    min-width: 160px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-card.highlight {
    border-color: var(--accent-green, #4A8B7F);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-wood, #C4A77D);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* 3. ACORDEÓN DE PREGUNTAS */
.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.faq-section {
    background: var(--bg-primary);
    padding: 100px 20px;
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-details {
    background: var(--bg-secondary, #F8F8F8);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-details[open] {
    background: var(--bg-primary, #FFF);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: var(--accent-green, #4A8B7F);
}

.faq-summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-primary, #333);
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    margin-right: 15px;
    font-size: 22px;
}

.faq-toggle-icon {
    font-weight: 300;
    font-size: 24px;
    color: var(--accent-green, #4A8B7F);
    transition: transform 0.3s ease;
}

.faq-details[open] .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 20px 25px 60px;
    color: var(--text-secondary, #666);
    line-height: 1.6;
    animation: fadeIn 0.4s ease;
}

/* 4. GRID TÉCNICO */
.detalles-section {
    background: var(--bg-secondary);
    padding: 100px 20px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid var(--accent-wood, #A68B6C);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary, #333);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .arq-hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }
    .stat-card {
        width: 100%;
    }
    .faq-content {
        padding-left: 20px;
    }
}

/* ============================================
   CORRECCIÓN MODO OSCURO (ARQ + MADERA)
   ============================================ */

/* Cambiar el fondo de las tarjetas técnicas en modo oscuro */
[data-theme="dark"] .tech-card {
    background: var(--bg-secondary) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Asegurar que el título y texto se lean bien */
[data-theme="dark"] .tech-card h3 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .tech-card p {
    color: var(--text-secondary) !important;
}

/* Ajuste extra para las tarjetas de estadísticas (Stats) en modo oscuro */
[data-theme="dark"] .stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}
/* ============================================
   SOLUCIÓN PARA BOTONES BLOQUEADOS
   ============================================ */

/* 1. Forzar que WhatsApp esté MUY arriba (capa superior) */
.whatsapp-float {
    z-index: 2147483647 !important; /* El valor máximo permitido en CSS */
    pointer-events: auto !important; /* Reactiva los clics sí o sí */
}

.whatsapp-button {
    cursor: pointer !important; /* Fuerza a que aparezca la manito */
}

/* 2. Desbloquear los íconos de redes en el Footer */
.site-footer {
    position: relative !important;
    z-index: 100 !important; /* Subimos el footer sobre el fondo base */
}

.footer-social, 
.social-link {
    position: relative !important;
    z-index: 101 !important; /* Los íconos un pelín más arriba que el footer */
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* 3. Prevenir que el Header invisible tape cosas */
/* Esto hace que el contenedor vacío del header deje pasar los clics */
.site-header {
    pointer-events: none; 
}
/* Pero reactivamos los clics en lo que sí importa (logo y menú) */
.header-left, 
.header-right {
    pointer-events: auto !important;
}
/* ============================================
   CORRECCIÓN MODO OSCURO (ARQ + MADERA)
   ============================================ */

/* Cambiar el fondo de las tarjetas técnicas en modo oscuro */
[data-theme="dark"] .tech-card {
    background: var(--bg-secondary) !important; /* Usa el gris oscuro del tema */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde sutil para separar */
    box-shadow: 0 4px 20px rgba(0,0,0,0.5); /* Sombra más intensa */
}

/* Asegurar que el título y texto se lean bien */
[data-theme="dark"] .tech-card h3 {
    color: var(--text-primary) !important; /* Blanco/Gris claro */
}

[data-theme="dark"] .tech-card p {
    color: var(--text-secondary) !important; /* Gris suave */
}

/* Ajuste extra para las tarjetas de estadísticas (Stats) en modo oscuro */
[data-theme="dark"] .stat-card {
    background: rgba(255, 255, 255, 0.05); /* Más transparente */
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   CORRECCIÓN FINAL DE TARJETAS (MODO OSCURO)
   ============================================ */

/* 1. Forzar el fondo gris oscuro en las tarjetas */
html[data-theme="dark"] .tech-card {
    background-color: #2D2D2D !important; /* Gris oscuro directo */
    border: 1px solid #444444 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}

/* 2. Forzar el título a blanco puro */
html[data-theme="dark"] .tech-card h3 {
    color: #FFFFFF !important;
}

/* 3. Forzar el texto descriptivo a gris claro legible */
html[data-theme="dark"] .tech-card p {
    color: #E0E0E0 !important;
}

/* 4. Asegurar que los íconos (triángulo, ladrillo, etc.) se vean */
html[data-theme="dark"] .tech-card .service-icon,
html[data-theme="dark"] .tech-card span {
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.3));
}

/* ============================================
   PÁGINA DE PROYECTOS - GRID DE CARPETAS
   ============================================ */

/* Hero de Proyectos */
.proyectos-hero {
    position: relative;
    background: linear-gradient(135deg, #2C3E50 0%, #1A1A1A 100%);
    padding: 180px 20px 100px;
    text-align: center;
    color: white;
    overflow: hidden;
}

.proyectos-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
}

.proyectos-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.proyectos-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.proyectos-title {
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.proyectos-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-green);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.proyectos-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    opacity: 0.85;
}

/* Grid de Proyectos */
.proyectos-grid-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

.proyectos-container {
    max-width: 1400px;
    margin: 0 auto;
}

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

/* Carpeta de Proyecto */
.proyecto-folder {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.proyecto-folder:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.proyecto-folder-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.proyecto-folder-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-secondary);
}

.proyecto-folder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.proyecto-folder:hover .proyecto-folder-image img {
    transform: scale(1.08);
}

.proyecto-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-wood) 100%);
}

.folder-icon {
    font-size: 64px;
    opacity: 0.6;
}

.proyecto-folder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proyecto-folder:hover .proyecto-folder-overlay {
    opacity: 1;
}

.ver-proyecto {
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.proyecto-folder:hover .ver-proyecto {
    background: white;
    color: var(--text-primary);
}

.proyecto-folder-info {
    padding: 25px;
}

.proyecto-folder-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.3;
}

.proyecto-folder-ubicacion {
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.location-icon {
    font-size: 16px;
}

.proyecto-count {
    font-size: 13px;
    color: var(--accent-green);
    font-weight: 500;
    margin: 0;
}

.no-proyectos {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-proyectos code {
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--accent-wood);
}

/* Contador de proyectos en hero */
.proyectos-contador {
    margin-top: 15px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ============================================
   PAGINACIÓN DE PROYECTOS
   ============================================ */

.pagination-container {
    margin-top: 60px;
    padding: 40px 20px;
    border-top: 2px solid var(--bg-secondary);
}

.pagination-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 25px;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-green);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--accent-wood);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pagination-btn.pagination-disabled {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: var(--accent-green);
    color: white;
    transform: scale(1.1);
}

.pagination-number.active {
    background: var(--accent-green);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(139, 195, 74, 0.3);
}

/* Responsive paginación */
@media (max-width: 768px) {
    .pagination-buttons {
        flex-direction: column;
        gap: 20px;
    }
    
    .pagination-numbers {
        order: 2;
    }
    
    .pagination-prev {
        order: 1;
    }
    
    .pagination-next {
        order: 3;
    }
}

/* ============================================
   VISTA INDIVIDUAL DE PROYECTO
   ============================================ */

.single-proyecto {
    background: var(--bg-primary);
}

.proyecto-header {
    background: var(--bg-secondary);
    padding: 140px 20px 60px;
    text-align: center;
}

.proyecto-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.proyecto-back-link {
    display: inline-block;
    color: var(--accent-green);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 25px;
    transition: transform 0.2s ease;
}

.proyecto-back-link:hover {
    transform: translateX(-5px);
}

.proyecto-single-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.proyecto-single-ubicacion {
    font-size: 18px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.proyecto-divider-small {
    width: 50px;
    height: 3px;
    background: var(--accent-wood);
    margin: 0 auto;
    border-radius: 2px;
}

/* Galería del Proyecto */
.proyecto-gallery-section {
    padding: 60px 20px 100px;
}

.proyecto-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.proyecto-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.proyecto-gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
}

.proyecto-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.proyecto-gallery-item:hover .proyecto-gallery-image {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proyecto-gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 32px;
}

.no-gallery {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

/* Lightbox */
.proyecto-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 48px;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 48px;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10000;
    border-radius: 5px;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Dark Mode para Proyectos */
[data-theme="dark"] .proyecto-folder {
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

[data-theme="dark"] .proyecto-folder:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .proyectos-hero {
        padding: 140px 20px 60px;
    }
    
    .proyectos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .proyecto-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-nav {
        font-size: 36px;
        padding: 15px 20px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .proyectos-grid {
        grid-template-columns: 1fr;
    }
    
    .proyecto-folder-info {
        padding: 20px;
    }
    
    .proyecto-folder-title {
        font-size: 20px;
    }
}

/* ============================================
   DISEÑO PROYECTO INDIVIDUAL (MODERNO)
   ============================================ */

/* HERO OSCURO PARA PROYECTO INDIVIDUAL */
.proyectos-hero-modern {
    position: relative;
    background: linear-gradient(135deg, #2C3E50 0%, #1A1A1A 100%);
    padding: 180px 20px 100px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.proyectos-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
}

.proyectos-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease;
}

.back-btn-hero {
    display: inline-flex;
    align-items: center;
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.back-btn-hero:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateX(-5px);
}

.hero-title-large {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.1;
    color: white;
}

.meta-location-hero {
    font-size: 20px;
    color: var(--accent-green);
    font-weight: 500;
}

/* HEADER DEL PROYECTO (Backup por si acaso) */
.proyecto-header-modern {
    padding: 160px 20px 60px;
    background: var(--bg-primary);
    text-align: center;
}

.header-content-inner {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    padding: 8px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateX(-5px);
}

.back-btn .arrow { 
    margin-right: 8px; 
}

.modern-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.1;
    color: var(--text-primary);
}

.meta-location {
    font-size: 18px;
    color: var(--accent-green);
    font-weight: 500;
}

.meta-location .icon {
    margin-right: 5px;
}

/* MASONRY GRID (ESTILO PINTEREST) */
.masonry-section {
    padding: 60px 4% 100px;
    background: var(--bg-primary);
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover {
    transform: translateY(-5px);
    z-index: 2;
}

/* Efecto Hover */
.overlay-hover {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .overlay-hover {
    opacity: 1;
}

.zoom-btn {
    color: white;
    font-size: 30px;
    font-weight: 300;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

/* LIGHTBOX MODERNO */
.modern-lightbox {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modern-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-wrapper {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-wrapper img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transition: opacity 0.2s ease;
}

.nav-btn, 
.close-lightbox {
    position: absolute;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover, 
.close-lightbox:hover {
    color: white;
    transform: scale(1.1);
}

.close-lightbox { 
    top: 30px; 
    right: 30px; 
    font-size: 40px; 
    line-height: 1; 
}

.prev { 
    left: 30px; 
    top: 50%; 
    font-size: 50px; 
    transform: translateY(-50%); 
}

.next { 
    right: 30px; 
    top: 50%; 
    font-size: 50px; 
    transform: translateY(-50%); 
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .masonry-grid { 
        column-count: 2; 
    }
}

@media (max-width: 600px) {
    .masonry-grid { 
        column-count: 1; 
    }
    
    .proyectos-hero-modern {
        padding: 140px 20px 80px;
        min-height: 50vh;
    }
    
    .hero-title-large {
        font-size: 32px;
    }
    
    .meta-location-hero {
        font-size: 16px;
    }
    
    .proyecto-header-modern { 
        padding-top: 120px; 
    }
    
    .modern-title { 
        font-size: 32px; 
    }
    
    .prev,
    .next {
        font-size: 36px;
    }
    
    .close-lightbox {
        font-size: 32px;
        top: 20px;
        right: 20px;
    }
}

/* Modo Oscuro para la página de proyecto */
[data-theme="dark"] .proyecto-header-modern {
    background: var(--bg-primary);
}

[data-theme="dark"] .back-btn {
    border-color: rgba(255,255,255,0.2);
    color: var(--text-secondary);
}

[data-theme="dark"] .back-btn:hover {
    background: var(--accent-green);
    color: white;
}

[data-theme="dark"] .masonry-item {
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ============================================
   PÁGINA DE PUBLICACIONES
   ============================================ */

.publicaciones-hero {
    position: relative;
    background: linear-gradient(135deg, #2C3E50 0%, #1A1A1A 100%);
    padding: 180px 20px 100px;
    text-align: center;
    color: white;
    overflow: hidden;
}

.publicaciones-grid-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

.publicaciones-container {
    max-width: 1400px;
    margin: 0 auto;
}

.publicaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

/* Card de Publicación */
.publicacion-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.publicacion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.publicacion-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.publicacion-no-link {
    cursor: default;
}

.publicacion-no-link .publicacion-cover img {
    transition: none;
}

.publicacion-card:has(.publicacion-no-link):hover .publicacion-cover img {
    transform: none;
}

.publicacion-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-secondary);
}

.publicacion-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.publicacion-card:hover .publicacion-cover img {
    transform: scale(1.08);
}

.publicacion-no-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-wood) 0%, var(--accent-green) 100%);
}

.doc-icon {
    font-size: 64px;
    opacity: 0.6;
}

.publicacion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.publicacion-card:hover .publicacion-overlay {
    opacity: 1;
}

.read-more {
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.publicacion-card:hover .read-more {
    background: white;
    color: var(--text-primary);
}

/* Badge PDF */
.pdf-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(214, 48, 49, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.publicacion-info {
    padding: 25px;
}

.publicacion-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.publicacion-descripcion {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.no-publicaciones {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-publicaciones code {
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--accent-wood);
}

/* Dark Mode */
[data-theme="dark"] .publicacion-card {
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

[data-theme="dark"] .publicacion-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .publicaciones-hero {
        padding: 140px 20px 60px;
    }
    
    .publicaciones-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .publicacion-info {
        padding: 20px;
    }
    
    .publicacion-title {
        font-size: 18px;
    }
}