/* =====================================================================
   PAGE MODULE — en-industries-restaurants
   Extracted verbatim from inline <style> of: industrias/restaurantes.html, en/industries/restaurants.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 fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    display: inline-block;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-teal);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding: 0.6rem 1.8rem;
    background: rgba(23, 167, 175, 0.2);
    border: 1.5px solid rgba(23, 167, 175, 0.6);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(23, 167, 175, 0.2);
}

@keyframes particles {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* Mobile Responsive - Hero */
@media (max-width: 768px) {
    .hero-industry {
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 1.5rem;
        align-items: flex-start;
    }
    
    .hero-floating-stats {
        display: none !important;
    }
    
    .hero-content {
        padding: 0 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eyebrow {
        font-size: 0.7rem;
        padding: 0.5rem 1.2rem;
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 11.5vw, 3.5rem);
        margin-bottom: 1.25rem;
        line-height: 1.12;
    }
    
    .hero-subhead {
        display: none;
    }
    
    .hero-divider {
        width: 70px;
        height: 3px;
        background: linear-gradient(90deg, var(--secondary-teal) 0%, var(--primary-magenta) 100%);
        margin: 0 auto 1.25rem auto;
        border-radius: 2px;
        box-shadow: 0 0 20px rgba(23, 167, 175, 0.7);
        display: block;
    }
    
    .hero-mobile-stats {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-mobile-stat {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 14px;
        padding: 1rem 1.25rem;
    }
    
    .hero-mobile-stat-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        background: var(--white);
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
    }
    
    .hero-mobile-stat-content {
        flex: 1;
    }
    
    .hero-mobile-stat-number {
        font-family: 'Mirza', serif;
        font-weight: 500;
        font-size: 1.75rem;
        color: var(--white);
        line-height: 1;
        margin-bottom: 0.25rem;
    }
    
    .hero-mobile-stat-label {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.3;
    }
    
    .cta-btn-hero {
        font-size: 1rem;
        padding: 0.9rem 2rem;
        margin-bottom: 2rem;
    }
}

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

/* ============================================
   SHARED COMPONENTS & UTILITIES
   ============================================ */

.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, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.section-subhead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, 
        var(--primary-navy) 0%, 
        var(--primary-magenta) 60%, 
        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, #FAF9F6 0%, #F5F3F0 100%);
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.stat-block {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

.stat-big-number {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: 3rem;
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy) !important;
    margin-bottom: 1rem;
    display: block;
}

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

/* Challenges Section */
.challenges-section {
    background: white;
    padding: 6rem 0;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.challenge-card {
    padding: 2.5rem;
    border-left: 4px solid var(--secondary-teal);
    background: #F7F9FB;
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
}

.challenge-card:hover {
    border-left-color: var(--primary-magenta);
    transform: translateX(8px);
}

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

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

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

.approach-block {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.approach-block:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(10px);
}

.approach-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: white;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.services-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2.5rem;
    background: #F7F9FB;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

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

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

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

.service-card a {
    color: var(--secondary-teal);
    text-decoration: none;
    border-bottom: 1px solid var(--secondary-teal);
    transition: all 0.2s ease;
}

.two-column-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Opportunity Section - IMAGE CARDS */
.opportunity-section {
    background: white;
    padding: 8rem 0 6rem 0;
}

.opportunity-image-card {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.opportunity-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

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

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--primary-magenta) 100%);
    color: white;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    box-shadow: 0 8px 30px rgba(23, 167, 175, 0.3);
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(23, 167, 175, 0.5);
}

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

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

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-card {
    display: block;
    padding: 2.5rem;
    background: #F7F9FB;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-teal);
}

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

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

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

/* Mobile Responsive - All Sections */
@media (max-width: 768px) {
    .container,
    .container-narrow {
        padding: 0 1.5rem;
    }
    
    .market-intelligence-section,
    .challenges-section,
    .approach-section,
    .services-tailored-section,
    .why-san-miguel-section,
    .opportunity-section,
    .faq-section,
    .cta-final-section,
    .related-industries-section {
        padding: 4rem 0;
    }
    
    .section-header-centered {
        margin-bottom: 3rem;
    }
    
    .section-header-centered h2 {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
    
    .section-subhead {
        font-size: 1.1rem;
    }
    
    .stats-grid,
    .challenges-grid,
    .services-grid-three,
    .related-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .two-column-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .stat-block,
    .challenge-card,
    .service-card {
        padding: 2rem;
    }
    
    .approach-block {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .approach-icon {
        width: 56px;
        height: 56px;
    }
    
    .challenge-card:hover,
    .approach-block:hover {
        transform: none;
    }
    
    .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;
    }
}
