/* === Art Wood Design Shared Styles (v2 with extra hero slides & Leaflet) === */
:root {
  --primary-color: #8B4513;
  --secondary-color: #D2691E;
  --accent-color: #A0522D;
  --light-color: #F5F5DC;
  --dark-color: #3E2723;
  --white: #FFFFFF;
  --black: #333333;
  --gray: #666666;
  --light-gray: #EEEEEE;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Georgia', serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

/* Importar Allura de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--black);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}
p { margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; transition: var(--transition); }

.btn {
  display: inline-block; padding: 12px 24px;
  background-color: var(--primary-color); color: var(--white);
  border-radius: var(--border-radius); font-weight: 600; text-align: center;
}
.btn:hover { background-color: var(--secondary-color); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-secondary { background-color: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--white); }

section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; position: relative; }
.section-title::after {
  content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px; background-color: var(--primary-color);
}

/* Header & Nav */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background-color: var(--white); box-shadow: var(--shadow); transition: var(--transition);
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo { display: flex; align-items: center; }
.logo-text { 
  font-size: 3rem;
  font-weight: 400; 
  color: var(--primary-color);
  font-family: 'Allura', cursive;
  line-height: 0.8;
  letter-spacing: 1px;
  padding: 5px 0;
  display: inline-block;
  white-space: nowrap;
  margin-top: -8px;
}
.nav-menu { display: flex; align-items: center; }
.nav-item { margin-left: 30px; position: relative; }
.nav-link { font-weight: 600; color: var(--dark-color); padding: 5px 0; position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background-color: var(--primary-color); transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.language-switcher { display: flex; margin-left: 20px; }
.lang-btn { padding: 5px 10px; background: transparent; color: var(--gray); font-weight: 600; }
.lang-btn.active { color: var(--primary-color); }
.hamburger { display: none; cursor: pointer; font-size: 1.5rem; color: var(--dark-color); }

/* Hero + Slideshow (Home) */
.hero { height: 100vh; position: relative; overflow: hidden; padding-top: 80px; }
.slideshow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0;
  transition: opacity 1s ease-in-out; background-size: cover; background-position: center;
}
.slide.active { opacity: 1; }
.slide-1 { background-image: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('../images/hero/hero1.jpg'); }
.slide-2 { background-image: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('../images/hero/hero2.jpg'); }
.slide-3 { background-image: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('../images/hero/hero3.jpg'); }
.slide-4 { background-image: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('../images/hero/hero4.jpg'); }
.slide-5 { background-image: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('../images/hero/hero5.jpg'); }

.hero-content { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.hero-text { max-width: 800px; padding: 0 20px; }
.hero-title { font-size: 3.5rem; margin-bottom: 20px; color: var(--white); text-shadow: 2px 2px 4px rgba(0,0,0,.5); }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.slide-indicators { position: absolute; bottom: 30px; left: 0; width: 100%; display: flex; justify-content: center; gap: 10px; }
.indicator { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255,255,255,.5); cursor: pointer; transition: var(--transition); }
.indicator.active { background-color: var(--white); transform: scale(1.2); }

/* About */
.about { background-color: var(--light-color); }
.about-content { display: flex; align-items: center; gap: 50px; }
.about-image { flex: 1; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); }
.about-text { flex: 1; }

/* Projects */

/* === FIX: Projects grid uniform layout & image dimensions === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: start;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.project-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* keep same visual height */
  object-fit: cover;
}

/* Ensure overlay sits above image and only reveals on hover (as before) */
.project-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  padding: 20px;
  color: var(--white);
  transform: translateY(100%);
  transition: var(--transition);
}
.project-card:hover .project-overlay { transform: translateY(0); }

/* Desktop: 3 columns consistently when width allows */
@media (min-width: 1100px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Catalog */
.catalog { background-color: var(--light-color); }
.catalog-tabs { display: flex; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { padding: 12px 24px; background: transparent; color: var(--dark-color); font-weight: 600; border-bottom: 2px solid transparent; margin: 0 10px; }
.tab-btn.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.catalog-item { background-color: var(--white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.catalog-item:hover { transform: translateY(-5px); }
.catalog-image { height: 200px; width: 100%; object-fit: cover; }
.catalog-info { padding: 20px; }
.catalog-title { font-size: 1.1rem; margin-bottom: 10px; }

/* Contact */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form { background-color: var(--light-color); padding: 30px; border-radius: var(--border-radius); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: var(--border-radius); font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-control:focus { border-color: var(--primary-color); outline: none; }
textarea.form-control { min-height: 150px; resize: vertical; }
.maps-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.map-item { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); }
.map-title { text-align: center; padding: 10px; background-color: var(--primary-color); color: var(--white); font-weight: 600; }
.map { height: 240px; }

/* Footer */
footer { background-color: var(--dark-color); color: var(--white); padding: 60px 0 30px; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; color: var(--white); }
.footer-title { font-size: 1.2rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background-color: var(--primary-color); }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: rgba(255,255,255,.1); border-radius: 50%; transition: var(--transition); }
.social-link:hover { background-color: var(--primary-color); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); }

/* Modal */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,.8); z-index: 1100; overflow: auto; padding: 20px; }
.modal-content { background-color: var(--white); max-width: 900px; margin: 50px auto; border-radius: var(--border-radius); overflow: hidden; position: relative; animation: modalOpen .5s; }
@keyframes modalOpen { from {opacity:0; transform: translateY(-50px);} to {opacity:1; transform: translateY(0);} }
.close-modal { position: absolute; top: 15px; right: 15px; font-size: 1.5rem; color: var(--white); background: rgba(0,0,0,.5); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; cursor: pointer; }
.modal-body { padding: 30px; }
.modal-image { width: 100%; height: 400px; object-fit: cover; }
.modal-title { margin-top: 20px; margin-bottom: 15px; }
.project-details { margin-top: 30px; padding: 20px; background-color: var(--light-color); border-radius: var(--border-radius); }

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .about-content { flex-direction: column; }
  .contact-container { grid-template-columns: 1fr; }
  .maps-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-menu {
    position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
    background-color: var(--white); flex-direction: column; align-items: center; padding-top: 50px;
    transition: var(--transition); z-index: 999;
  }
  .nav-menu.active { left: 0; }
  .nav-item { margin: 15px 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  section { padding: 60px 0; }
  .logo-text { 
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.8rem; }
  .projects-grid, .catalog-grid { grid-template-columns: 1fr; }
  .catalog-tabs { flex-direction: column; align-items: center; }
  .tab-btn { margin: 5px 0; width: 100%; max-width: 250px; }
  .logo-text { 
    font-size: 2.2rem;
  }
}

/* ===== ESTILOS PARA PÁGINA DE SERVICIOS ===== */
.services-section {
    padding: 80px 0;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.service-item:nth-child(even) .service-item__content {
    order: 2;
}

.service-item:nth-child(even) .service-item__image {
    order: 1;
}

.service-item__title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-item__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
}

.service-features li:before {
    content: "•";
    color: #e74c3c;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.service-item__image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-item__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .service-item:nth-child(even) .service-item__content,
    .service-item:nth-child(even) .service-item__image {
        order: unset;
    }
    
    .service-item__title {
        font-size: 2rem;
    }
    
    .service-item__image img {
        height: 300px;
    }
}

/* ===== CORRECCIONES PARA EL MENÚ ===== */
.navigation__item--separator {
    width: 1px;
    height: 20px;
    background-color: #ddd;
    margin: 0 15px;
    align-self: center;
}

/* Estilo activo para Servicios igual que las demás páginas */
.navigation__link.active {
    font-weight: 700;
    color: #2c3e50;
    position: relative;
}

.navigation__link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e74c3c;
}
/* ===== CORRECCIONES Y MEJORAS ===== */

/* Separador en el menú */
.navigation__item--separator {
    width: 1px;
    height: 20px;
    background-color: #ddd;
    margin: 0 15px;
    align-self: center;
}

/* Estilo activo para el menú */
.navigation__link.active {
    font-weight: 700;
    color: #2c3e50;
    position: relative;
}

.navigation__link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e74c3c;
}

/* Hero específico para servicios */
.hero--services {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Placeholder para imágenes */
.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #f8f9fa 25%, #e9ecef 25%, #e9ecef 50%, #f8f9fa 50%, #f8f9fa 75%, #e9ecef 75%);
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    color: #6c757d;
    font-style: italic;
}

/* Efectos de animación */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CTA específico para servicios */
.cta--services {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Mejoras responsive para el separador */
@media (max-width: 768px) {
    .navigation__item--separator {
        display: none;
    }
}
/* ===== ESTILOS PARA SERVICIOS ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-card__image {
    height: 250px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.1);
}

.service-card__content {
    padding: 25px;
}

.service-card__title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card__text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-card__features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-card__features li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #666;
}

.service-card__features li:before {
    content: "•";
    color: #e74c3c;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive para servicios */
@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card__image {
        height: 200px;
    }
}
/* ===== ESTILOS MEJORADOS PARA MODAL DE PROYECTOS ===== */
.modal-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.modal-image-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.modal-image:hover {
  transform: scale(1.02);
}

.modal-info {
  padding: 10px;
}

.modal-title {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: 700;
}

.modal-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.project-features {
  margin: 25px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.project-features h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.project-features ul {
  list-style: none;
  padding: 0;
}

.project-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #666;
  border-bottom: 1px solid #e9ecef;
}

.project-features li:last-child {
  border-bottom: none;
}

.project-features li:before {
  content: "✓";
  color: #27ae60;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.modal-actions {
  margin-top: 25px;
  text-align: center;
}

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

/* Responsive */
@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .modal-image {
    height: 300px;
  }
  
  .modal-content {
    margin: 10px;
    max-width: 95%;
  }
  
  .project-features {
    padding: 15px;
  }
}
/* === MEJORAS RESPONSIVE ESPECÍFICAS PARA MÓVILES === */

/* Tablets (768px y menos) */
@media (max-width: 768px) {
    /* Asegurar que el grid de proyectos sea de 2 columnas */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Modal en columnas para móviles */
    .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-image-container {
        width: 100%;
        margin-bottom: 0;
    }
    
    .modal-info {
        width: 100%;
        padding: 0;
    }
    
    .modal-image {
        height: 300px;
    }
    
    /* Footer en una columna */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Ajustes de header */
    .header-container {
        padding: 10px 15px;
    }
}

/* Móviles pequeños (480px y menos) */
@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Botones más grandes para touch */
    .btn, .lang-btn, .social-link {
        min-height: 44px;
        min-width: 44px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    /* Texto responsive escalable */
    .project-title {
        font-size: 1.1rem;
    }
    
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-body {
        padding: 15px;
    }
}

/* Tablets en landscape */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .modal-image {
        height: 250px;
    }
}

/* Alto específico para iPhones pequeños */
@media (max-width: 480px) and (max-height: 700px) {
    .hero {
        padding-top: 70px;
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 40px 0;
    }
}

/* Prevenir zoom en inputs en iOS */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px; /* Previene zoom en iOS */
    }
}

/* Mejoras de rendimiento para móviles */
@media (max-width: 768px) {
    .project-card:hover {
        transform: none; /* Remueve transform en hover para móviles */
    }
    
    .service-card:hover {
        transform: none;
    }

}
/* === CORRECCIÓN PARA DESCRIPCIONES EN MÓVILES - CATÁLOGO === */
@media (max-width: 768px) {
  .catalog-item {
    display: flex;
    flex-direction: column;
    height: auto; /* Permite que la altura se ajuste al contenido */
  }
  
  .catalog-image {
    height: 180px; /* Reduce ligeramente la altura en móviles */
    flex-shrink: 0; /* Evita que la imagen se encoja */
  }
  
  .catalog-info {
    flex: 1; /* Permite que la info ocupe el espacio restante */
    padding: 15px;
    display: block !important; /* Fuerza visualización */
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .catalog-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .catalog-info p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
  }
}

/* Para móviles muy pequeños */
@media (max-width: 480px) {
  .catalog-image {
    height: 160px;
  }
  
  .catalog-info {
    padding: 12px;
  }
  
  .catalog-grid {
    gap: 20px;
  }
}
/* ===== ESTILOS PARA QR DE WHATSAPP ===== */
.footer-qr {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.qr-image {
    width: 120px;
    height: 120px;
    margin: 10px auto;
    border: 2px solid #25D366;
    border-radius: 8px;
    padding: 5px;
    background: var(--white);
    transition: var(--transition);
    display: block;
}

.qr-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Responsive para QR */
@media (max-width: 768px) {
    .qr-image {
        width: 100px;
        height: 100px;
    }
    
    .footer-qr {
        margin-top: 15px;
        padding-top: 15px;
    }
}
/* === BANDERAS - ESTILOS FORZADOS === */
.language-switcher {
  display: flex !important;
  gap: 0.25rem !important;
  margin-left: 1.5rem !important;
  align-items: center !important;
}

.lang-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 24px !important;
  background: transparent !important;
  border: 1px solid var(--primary-color) !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  min-width: 32px !important;
  max-width: 32px !important;
}

.lang-btn.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.flag-icon {
  width: 14px !important;
  height: 10px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  object-fit: cover !important;
  border-radius: 1px !important;
  display: block !important;
}

.lang-btn.active .flag-icon {
  filter: brightness(0) invert(1) !important;
}

/* MÓVILES */
@media (max-width: 768px) {
  .language-switcher {
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
    gap: 0.2rem !important;
  }
  
  .lang-btn {
    width: 30px !important;
    height: 22px !important;
  }
  
  .flag-icon {
    width: 13px !important;
    height: 9px !important;
  }
}