/* =====================================================================
   PAGE MODULE — en-industries-bars-wineries
   Extracted verbatim from inline <style> of: industrias/bares-vinos.html, en/industries/bars-wineries.html
   Design unchanged; loaded via `pageCss` front-matter.
   ===================================================================== */

/* ============================================
   CONTAINER UTILITIES
   ============================================ */

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

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

@keyframes kenBurns {
    0% { 
        transform: scale(1.15);
        filter: blur(2px);
    }
    100% { 
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

/* Mobile Responsive - Hero */
@media (max-width: 768px) {
    .hero-industry {
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 2rem;
    }
    
    .hero-floating-stats {
        display: none !important;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eyebrow {
        font-size: 0.7rem;
        padding: 0.5rem 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 11.5vw, 3.5rem);
        margin-bottom: 1.25rem;
    }
    
    .hero-subhead {
        display: none;
    }
    
    .hero-divider,
    .hero-mobile-stats {
        display: flex;
    }
    
    .cta-btn-hero {
        font-size: 1rem;
        padding: 0.9rem 2rem;
        margin-bottom: 2rem;
    }
}

/* Desktop - hide mobile elements */
@media (min-width: 769px) {
    .hero-content {
        padding-bottom: 3rem;
    }
    
    .hero-divider,
    .hero-mobile-stats {
        display: none !important;
    }
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */

section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
}

.section-header-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.section-header-centered h2 {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subhead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.9;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-magenta) 50%, var(--secondary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   MARKET INTELLIGENCE SECTION
   ============================================ */

.market-intelligence-section {
    background: linear-gradient(135deg, #F7F9FB 0%, #FFFFFF 50%, #F7F9FB 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-block {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.stat-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-magenta), var(--secondary-teal));
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.stat-big-number {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: 3.5rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.stat-detail {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.stat-detail a {
    color: var(--primary-magenta);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-magenta);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .stat-big-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   CHALLENGES SECTION
   ============================================ */

.challenges-section {
    background: var(--white);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.challenge-card {
    background: var(--white);
    border: 1px solid rgba(38, 49, 89, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.challenge-card:hover {
    border-color: var(--primary-magenta);
    box-shadow: 0 8px 30px rgba(166, 25, 99, 0.1);
    transform: translateY(-4px);
}

.challenge-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--primary-magenta), var(--secondary-teal));
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.challenge-card h3 {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.challenge-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.challenge-card a {
    color: var(--primary-magenta);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-magenta);
}

@media (max-width: 768px) {
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

.approach-section .section-header-centered h2,
.approach-section .section-subhead {
    color: var(--white);
}

.approach-block {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.approach-block:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(8px);
}

.approach-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    background: var(--white);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.approach-block h3 {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.approach-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.approach-block a {
    color: var(--secondary-teal);
    text-decoration: none;
    border-bottom: 1px solid var(--secondary-teal);
}

.approach-block a:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    background: linear-gradient(135deg, #F7F9FB 0%, #FFFFFF 50%, #F7F9FB 100%);
}

.services-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(38, 49, 89, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-magenta);
    box-shadow: 0 8px 30px rgba(166, 25, 99, 0.1);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--primary-magenta), var(--secondary-teal));
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.service-card h3 {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: 1.35rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.service-card a {
    color: var(--primary-magenta);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-magenta);
}

@media (max-width: 768px) {
    .services-grid-three {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

/* ============================================
   WHY SAN MIGUEL SECTION
   ============================================ */

.why-sma-section {
    background: var(--white);
}

.two-column-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.two-column-content h3 {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.two-column-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.two-column-content a {
    color: var(--primary-magenta);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-magenta);
}

.two-column-content img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .two-column-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
}

/* ============================================
   MARKET OPPORTUNITIES SECTION
   ============================================ */

.opportunity-section {
    background: linear-gradient(135deg, #F7F9FB 0%, #FFFFFF 50%, #F7F9FB 100%);
}

.opportunity-section > div > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.opportunity-image-card {
    position: relative;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.opportunity-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.opportunity-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.opportunity-image-card > div {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(to top, 
        rgba(38, 49, 89, 0.95) 0%, 
        rgba(38, 49, 89, 0.85) 50%,
        rgba(38, 49, 89, 0.5) 80%,
        transparent 100%);
    color: var(--white);
}

.opportunity-image-card h3 {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.opportunity-image-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .opportunity-section > div > div {
        grid-template-columns: 1fr !important;
    }
    
    .opportunity-image-card {
        height: 400px;
    }
    
    .opportunity-image-card > div {
        padding: 2rem 1.5rem;
        background: linear-gradient(to top, rgba(38, 49, 89, 0.98) 0%, rgba(38, 49, 89, 0.95) 60%, rgba(38, 49, 89, 0.7) 80%, transparent 100%);
    }
    
    .opportunity-image-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .opportunity-image-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-magenta) 0%, var(--secondary-teal) 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(166, 25, 99, 0.3);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(166, 25, 99, 0.4);
    color: var(--white);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.1rem 2.5rem;
    border: 2px solid var(--primary-navy);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        font-size: 1rem;
        padding: 1rem 2rem;
        justify-content: center;
    }
}

/* ============================================
   RELATED INDUSTRIES SECTION
   ============================================ */

.related-section {
    background: var(--white);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.related-card {
    background: var(--white);
    border: 1px solid rgba(38, 49, 89, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.related-card:hover {
    border-color: var(--primary-magenta);
    box-shadow: 0 8px 30px rgba(166, 25, 99, 0.1);
    transform: translateY(-4px);
}

.related-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-magenta), var(--secondary-teal));
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.related-card h3 {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.related-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}
