/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800&family=Barlow:wght@400;500;600&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

p {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Default btn-primary (fallback) */
.btn-primary {
    background-color: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background-color: #388E3C;
}

/* Outline button style */
.btn-outline {
    background: white;
    border: 2px solid;
}

/* Page-specific button colors */
.page-home .btn-primary {
    background-color: #4CAF50;
}

.page-home .btn-primary:hover {
    background-color: #388E3C;
}

.page-home .btn-outline {
    color: #4CAF50;
    border-color: #4CAF50;
}

.page-home .btn-outline:hover {
    background-color: #4CAF50;
    color: white;
}

.page-visitantes .btn-primary {
    background-color: #2196F3;
}

.page-visitantes .btn-primary:hover {
    background-color: #1976D2;
}

.page-visitantes .btn-outline {
    color: #2196F3;
    border-color: #2196F3;
}

.page-visitantes .btn-outline:hover {
    background-color: #2196F3;
    color: white;
}

.page-expositores .btn-primary {
    background-color: #FF6F00;
}

.page-expositores .btn-primary:hover {
    background-color: #E65100;
}

.page-expositores .btn-outline {
    color: #FF6F00;
    border-color: #FF6F00;
}

.page-expositores .btn-outline:hover {
    background-color: #FF6F00;
    color: white;
}

.page-patrocinadores .btn-primary {
    background-color: #9C27B0;
}

.page-patrocinadores .btn-primary:hover {
    background-color: #7B1FA2;
}

.page-patrocinadores .btn-outline {
    color: #9C27B0;
    border-color: #9C27B0;
}

.page-patrocinadores .btn-outline:hover {
    background-color: #9C27B0;
    color: white;
}

.page-prensa .btn-primary {
    background-color: #E91E63;
}

.page-prensa .btn-primary:hover {
    background-color: #C2185B;
}

.page-prensa .btn-outline {
    color: #E91E63;
    border-color: #E91E63;
}

.page-prensa .btn-outline:hover {
    background-color: #E91E63;
    color: white;
}

.page-acerca .btn-primary {
    background-color: #3F51B5;
}

.page-acerca .btn-primary:hover {
    background-color: #303F9F;
}

.page-acerca .btn-outline {
    color: #3F51B5;
    border-color: #3F51B5;
}

.page-acerca .btn-outline:hover {
    background-color: #3F51B5;
    color: white;
}

.page-contacto .btn-primary {
    background-color: #009688;
}

.page-contacto .btn-primary:hover {
    background-color: #00796B;
}

.page-contacto .btn-outline {
    color: #009688;
    border-color: #009688;
}

.page-contacto .btn-outline:hover {
    background-color: #009688;
    color: white;
}

.btn-secondary {
    background-color: #9C27B0;
    color: white;
}

.btn-secondary:hover {
    background-color: #7B1FA2;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header colors per page */
.page-home .header {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

.page-visitantes .header {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.page-expositores .header {
    background: linear-gradient(135deg, #FF6F00, #E65100);
}

.page-patrocinadores .header {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.page-prensa .header {
    background: linear-gradient(135deg, #E91E63, #C2185B);
}

.page-acerca .header {
    background: linear-gradient(135deg, #3F51B5, #303F9F);
}

.page-contacto .header {
    background: linear-gradient(135deg, #009688, #00796B);
}

/* Header text color for colored headers */
.page-home .nav-menu a,
.page-visitantes .nav-menu a,
.page-expositores .nav-menu a,
.page-patrocinadores .nav-menu a,
.page-prensa .nav-menu a,
.page-acerca .nav-menu a,
.page-contacto .nav-menu a {
    color: white;
}

.page-home .nav-menu a:hover,
.page-visitantes .nav-menu a:hover,
.page-expositores .nav-menu a:hover,
.page-patrocinadores .nav-menu a:hover,
.page-prensa .nav-menu a:hover,
.page-acerca .nav-menu a:hover,
.page-contacto .nav-menu a:hover {
    color: rgba(255,255,255,0.8);
}

.page-home .nav-menu a.active,
.page-visitantes .nav-menu a.active,
.page-expositores .nav-menu a.active,
.page-patrocinadores .nav-menu a.active,
.page-prensa .nav-menu a.active,
.page-acerca .nav-menu a.active,
.page-contacto .nav-menu a.active {
    color: white;
    font-weight: bold;
    border-bottom: 2px solid white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    height: 50px;
    width: auto;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    color: white;
    overflow: hidden;
}

.hero-header {
    padding: 80px 0 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    text-align: left;
}

.hero-title h1 {
    font-size: 4.5rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    margin-bottom: 15px;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-subtitle span {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.location {
    font-size: 1rem;
    opacity: 0.9;
}

.year {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-top: 10px;
}

.hero-description {
    margin-top: 30px;
    max-width: 500px;
}

.hero-description p,
.hero-description h4 {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
    color: white;
}

.hero-description h4.hero-tagline {
    font-weight: 500;
    font-size: 1.2rem;
}

/* Video de Bienvenida */
.hero-video {
    position: relative;
}

.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.welcome-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    object-fit: cover;
    max-height: 500px;
}

.welcome-video:not([data-loaded]) {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    min-height: 300px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    transition: opacity 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0,0,0,0.1);
}

.play-button {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-fallback {
    text-align: center;
    padding: 40px;
}

.video-fallback img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Cifras Clave del Evento */
.hero-stats {
    background: rgba(255,255,255,0.15);
    padding: 30px 20px;
    margin-top: 50px;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 15px;
}

.stat-number {
    font-size: 2.8rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 0.95rem;
    font-family: 'Barlow', sans-serif;
    color: white;
    opacity: 0.95;
    font-weight: 500;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-badges .badge {
    background: rgba(255,255,255,0.25);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Áreas de Interés */
.hero-interests {
    background: white;
    padding: 80px 0;
}

.hero-interests h2 {
    text-align: center;
    font-size: 2.8rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-intro {
    font-family: 'Barlow', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.interest-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    text-decoration: none;
    color: #333;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.interest-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.interest-card.mice:hover {
    border-color: #4CAF50;
}

.interest-card.aventura:hover {
    border-color: #2196F3;
}

.interest-card.gastronomia:hover {
    border-color: #FF9800;
}

.interest-card.cultural:hover {
    border-color: #F44336;
}

.interest-card.innovacion:hover {
    border-color: #9C27B0;
}

.interest-icon {
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.08), rgba(46, 125, 50, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.interest-icon svg {
    fill: #2E7D32;
    transition: fill 0.3s ease;
}

.interest-card:hover .interest-icon {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
}

.interest-card:hover .interest-icon svg {
    fill: white;
}

.interest-card h3 {
    font-size: 1.2rem;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1a1a;
}

.interest-card p {
    font-size: 0.95rem;
    font-family: 'Barlow', sans-serif;
    color: #666;
    line-height: 1.6;
}

.hero-cta {
    text-align: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

.hero-gallery {
    padding: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

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

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

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.benefits h2 {
    text-align: center;
    font-size: 2.8rem;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}

.benefits .section-intro {
    color: #666;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.benefit-card.networking {
    background: linear-gradient(135deg, #00BCD4, #0097A7);
    color: white;
}

.benefit-card.visibility {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: white;
}

.benefit-card.sales {
    background: linear-gradient(135deg, #FF5722, #D84315);
    color: white;
}

.benefit-card.sustainability {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
}

.benefit-card.petfriendly {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon svg {
    fill: currentColor;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

/* Agenda Section */
.agenda {
    padding: 80px 0;
    background-color: white;
}

.agenda h2 {
    text-align: center;
    font-size: 2.8rem;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.agenda-day {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.agenda-day:hover {
    border-color: #2196F3;
}

.agenda-day h3 {
    color: #2196F3;
    font-size: 1.5rem;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 20px;
    font-weight: 700;
}

.agenda-content p {
    margin-bottom: 10px;
    color: #666;
}

.agenda-cta {
    text-align: center;
}

/* Venue Map Section */
.venue-map {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.venue-map h2 {
    text-align: center;
    font-size: 2.8rem;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}

.map-container {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.map-placeholder {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.venue-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.map-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
}

.map-cta {
    text-align: center;
}

/* Blog Section */
.blog-trends {
    padding: 80px 0;
    background-color: white;
}

.blog-trends h2 {
    text-align: center;
    font-size: 2.8rem;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}

.blog-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-10px);
}

.blog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(45deg, #ddd, #ccc);
}

.blog-item h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: #333;
}

.blog-item p {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.5;
}

.blog-cta {
    text-align: center;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo img {
    height: 60px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        position: relative;
    }

    .header {
        padding: 0;
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .header-cta {
        order: 3;
    }

    .nav {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 500px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 15px 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 10px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-title {
        text-align: center;
    }

    .hero-badges {
        margin-top: 40px;
    }

    .hero-title h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle span {
        font-size: 1rem;
    }

    .year {
        font-size: 2rem;
    }

    .hero-header {
        padding: 60px 0 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-interests h2 {
        margin-bottom: 15px;
    }

    .hero-interests .section-intro {
        margin-bottom: 30px;
        font-size: 1rem;
        text-align: center;
        color: white;
    }

    .hero-interests {
        padding-bottom: 80px;
    }

    .interests-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .interest-card {
        padding: 25px 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .agenda h2 {
        margin-bottom: 15px;
    }

    .agenda .section-intro {
        margin-bottom: 30px;
        font-size: 1rem;
        text-align: center;
    }

    .agenda {
        padding-bottom: 100px;
    }

    .agenda-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .venue-map h2 {
        margin-bottom: 15px;
    }

    .venue-map .section-intro {
        margin-bottom: 30px;
        font-size: 1rem;
        text-align: center;
    }

    .venue-map {
        padding-bottom: 100px;
    }

    .venue-svg {
        max-width: 100%;
    }

    .map-placeholder {
        padding: 20px;
    }

    .blog-trends h2 {
        margin-bottom: 15px;
    }

    .blog-trends .section-intro {
        margin-bottom: 30px;
        font-size: 1rem;
        text-align: center;
    }

    .blog-trends {
        padding-bottom: 100px;
    }

    .blog-carousel {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 40px;
    }

    /* Patrocinadores page mobile fixes */
    .page-patrocinadores section[style*="text-align: center"] {
        text-align: left !important;
        padding: 60px 0 !important;
    }

    .page-patrocinadores h1[style*="text-align"] {
        text-align: left !important;
    }

    .page-patrocinadores p[style*="text-align"] {
        text-align: left !important;
    }

    .page-patrocinadores div[style*="justify-content: center"] {
        justify-content: flex-start !important;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 120px);
    }
    
    .hero-title h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-details h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2196F3;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-item {
        padding: 15px;
    }
}

/* Contact Actions - Redirect Buttons */
.contact-actions {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 2rem 0;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.action-buttons .btn {
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
}

.btn-contact-general {
    background: linear-gradient(135deg, #009688, #00796B);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 150, 136, 0.3);
}

.btn-contact-general:hover {
    background: linear-gradient(135deg, #00796B, #00695C);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 150, 136, 0.4);
}

.btn-contact-expositor {
    background: linear-gradient(135deg, #FF6F00, #E65100);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.btn-contact-expositor:hover {
    background: linear-gradient(135deg, #E65100, #D84315);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

.btn-contact-prensa {
    background: linear-gradient(135deg, #E91E63, #C2185B);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-contact-prensa:hover {
    background: linear-gradient(135deg, #C2185B, #AD1457);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

/* Press Button */
.btn-press {
    background: linear-gradient(135deg, #E91E63, #C2185B);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-press:hover {
    background: linear-gradient(135deg, #C2185B, #AD1457);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

/* Conditional Fields Transitions */
.conditional-field {
    animation: fadeIn 0.3s ease-in;
}

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

/* Form Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Responsive for Contact Actions */
@media (max-width: 768px) {
    .contact-actions {
        padding: 30px 20px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .action-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .press-contact-section {
        padding: 30px 20px !important;
    }

    .btn-press {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1rem;
    }
}
/* ===================================================================
   RESPONSIVE GRID FIXES - Mobile & Tablet
   Added: Para garantizar 100% responsiveness en todas las páginas
   =================================================================== */

/* Tablet & Mobile: 2-column grids become 1 column */
@media (max-width: 768px) {
    /* Hero grids de 2 columnas → 1 columna */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Invertir orden: imagen/video va DESPUÉS del texto */
    [style*="grid-template-columns: 1fr 1fr"] > :first-child {
        order: 1;
    }
    
    [style*="grid-template-columns: 1fr 1fr"] > :last-child {
        order: 2;
    }

    /* Stats grids: 4 columnas → 2 columnas */
    [style*="repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* Cards/Benefits grids: 3 columnas → 1 columna */
    [style*="repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Ajustar padding de secciones */
    section[style*="padding:"] {
        padding: 40px 0 !important;
    }

    /* Títulos principales más pequeños */
    h1[style*="font-size: 4rem"],
    h1[style*="font-size:4rem"] {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    h1[style*="font-size: 3rem"],
    h1[style*="font-size:3rem"] {
        font-size: 2rem !important;
    }

    h2[style*="font-size: 2.5rem"],
    h2[style*="font-size:2.5rem"] {
        font-size: 1.8rem !important;
    }

    /* Ajustar gaps en containers */
    div[style*="gap: 60px"],
    div[style*="gap:60px"] {
        gap: 30px !important;
    }

    /* Botones con flex-wrap */
    div[style*="display: flex"][style*="gap: 15px"] {
        justify-content: center;
    }

    /* Images responsive */
    img[style*="width: 100%"] {
        height: auto !important;
        max-height: 300px;
        object-fit: cover;
    }

    /* Form inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* Mobile only: Additional adjustments for very small screens */
@media (max-width: 480px) {
    /* Stats grids: 4 columnas → 1 columna en mobile */
    [style*="repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Todos los grids multi-columna → 1 columna */
    [style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Títulos aún más pequeños */
    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    /* Reducir padding */
    section {
        padding: 30px 0 !important;
    }

    .container {
        padding: 0 15px !important;
    }

    /* Botones full width en mobile pequeño */
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Stats numbers más pequeños */
    [style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    /* Cards con más padding interno */
    [style*="padding: 40px"] {
        padding: 20px !important;
    }
}

/* Tablet landscape: Ajustes intermedios */
@media (min-width: 769px) and (max-width: 1024px) {
    /* 4 columnas → 2 columnas en tablet */
    [style*="repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    /* 3 columnas → 2 columnas en tablet */
    [style*="repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Fix para navigation mobile */
@media (max-width: 768px) {
    .header-cta .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* Fix para videos/iframes responsive */
@media (max-width: 768px) {
    iframe[style*="position: absolute"] {
        position: relative !important;
        width: 100% !important;
        height: 300px !important;
    }

    /* Video wrapper responsive */
    [style*="padding-bottom: 56.25%"] {
        padding-bottom: 0 !important;
        height: auto !important;
    }
}

/* Asegurar que texto no se corte */
@media (max-width: 768px) {
    p[style*="font-size: 1.2rem"],
    p[style*="font-size:1.2rem"] {
        font-size: 1rem !important;
    }

    p[style*="font-size: 1.1rem"],
    p[style*="font-size:1.1rem"] {
        font-size: 0.95rem !important;
    }
}

/* Fix específico para tarjetas de precios/patrocinadores */
@media (max-width: 768px) {
    /* Cards de patrocinadores */
    [style*="transform: scale(1.05)"] {
        transform: scale(1) !important;
    }

    /* Popular badge positioning */
    [style*="position: absolute; top: -15px"] {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 15px !important;
        transform: none !important;
    }
}

/* Ensure no horizontal overflow */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    /* Fix para containers muy anchos */
    [style*="max-width: 1200px"],
    [style*="max-width: 1100px"],
    [style*="max-width: 1000px"] {
        max-width: 100% !important;
    }
}
