/**
 * Frezzeros Core - Modern, Clean & Warm 2026 Stylesheet
 * 
 * Palette:
 *  - Background: Pure White #FFFFFF & Soft Fresh Slate #F8FAFC / #F1F5F9
 *  - Cyan Accent: #00A8CC / #008fae / #E0F7FA
 *  - Warm Bake Accent: #E67E22 / #F59E0B / #FEF3C7
 *  - Typography: #0F172A & #334155 / #64748B
 *  - Border: #E2E8F0
 */

/* ==========================================================================
   1. CSS VARIABLES & SYSTEM RESET
   ========================================================================== */
:root {
    --fz-primary-dark: #0F172A;
    --fz-secondary-dark: #1E293B;
    --fz-cyan: #00A8CC;
    --fz-cyan-hover: #008fae;
    --fz-cyan-light: #E0F7FA;
    --fz-warm: #E67E22;
    --fz-warm-light: #FEF3C7;
    --fz-gold: #F59E0B;
    --fz-white: #FFFFFF;
    --fz-bg-light: #F8FAFC;
    --fz-border: #E2E8F0;
    --fz-border-hover: #CBD5E1;
    --fz-text-dark: #0F172A;
    --fz-text-body: #475569;
    --fz-text-muted: #64748B;
    --fz-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fz-radius-sm: 8px;
    --fz-radius-md: 14px;
    --fz-radius-lg: 20px;
    --fz-radius-full: 9999px;
    --fz-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --fz-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
    --fz-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.1);
    --fz-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

html.frezzeros-html,
body.frezzeros-body,
.frezzeros-embed-wrapper {
    font-family: var(--fz-font-sans);
    color: var(--fz-text-body);
    background-color: var(--fz-white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

.frezzeros-app-container *,
.frezzeros-embed-wrapper * {
    box-sizing: border-box;
}

/* ==========================================================================
   2. REUSABLE UTILITIES & CONTAINERS
   ========================================================================== */
.fz-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.fz-section {
    padding: 80px 0;
    position: relative;
}

.fz-text-center {
    text-align: center;
}

.fz-section-header {
    max-width: 640px;
    margin-bottom: 40px;
}

.fz-section-header.fz-text-center {
    margin-left: auto;
    margin-right: auto;
}

.fz-section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--fz-text-dark);
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin: 0 0 10px 0;
}

.fz-section-desc {
    font-size: 15px;
    color: var(--fz-text-body);
    line-height: 1.6;
    margin: 0;
}

/* Button Component */
.fz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--fz-font-sans);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--fz-radius-full);
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--fz-transition);
    line-height: 1;
}

.fz-btn-primary {
    background: var(--fz-cyan);
    color: var(--fz-white);
}

.fz-btn-primary:hover {
    background: var(--fz-cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 168, 204, 0.35);
}

.fz-btn-lg {
    padding: 15px 30px;
    font-size: 15px;
}

.fz-btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* ==========================================================================
   3. HEADER - MINIMAL & CLEAN
   ========================================================================== */
.fz-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fz-border);
    transition: var(--fz-transition);
}

.fz-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.fz-logo-link {
    text-decoration: none;
}

.fz-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fz-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fz-logo-text {
    display: flex;
    flex-direction: column;
}

.fz-logo-brand {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--fz-text-dark);
    line-height: 1;
}

.fz-logo-sub {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: var(--fz-cyan);
    margin-top: 3px;
}

.fz-nav-desktop .fz-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.fz-nav-link {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    transition: var(--fz-transition);
}

.fz-nav-link:hover {
    color: var(--fz-cyan);
}

.fz-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fz-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: #F1F5F9;
    border: 1px solid var(--fz-border);
    border-radius: var(--fz-radius-sm);
    padding: 7px;
    cursor: pointer;
}

.fz-bar {
    width: 100%;
    height: 2px;
    background: var(--fz-text-dark);
    border-radius: 2px;
}

.fz-mobile-drawer {
    display: none;
    background: var(--fz-white);
    border-top: 1px solid var(--fz-border);
    padding: 16px 20px;
}

.fz-mobile-drawer.active {
    display: block;
}

.fz-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fz-mobile-nav-link {
    color: var(--fz-text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 0;
}

/* ==========================================================================
   4. MODERN 2-COLUMN HERO WITH SHOWCASE BOX (MODERN 2026 DESIGN)
   ========================================================================== */
.fz-hero-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 50%, #F0F9FF 100%);
    padding: 70px 0 90px 0;
    position: relative;
    overflow: hidden;
}

.fz-hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 204, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.fz-hero-warm-glow {
    position: absolute;
    bottom: -10%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.fz-hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.fz-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E0F7FA;
    border: 1px solid #B2EBF2;
    padding: 6px 14px;
    border-radius: var(--fz-radius-full);
    margin-bottom: 18px;
}

.fz-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--fz-cyan);
    border-radius: 50%;
}

.fz-badge-text {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #00838F;
}

.fz-hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--fz-text-dark);
    margin: 0 0 14px 0;
}

.fz-text-highlight {
    color: var(--fz-cyan);
}

.fz-hero-subtitle {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: #334155;
    margin-top: 10px;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.fz-hero-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.65;
    margin: 16px 0 28px 0;
    max-width: 540px;
}

.fz-hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
    padding: 16px 0;
    border-top: 1px solid var(--fz-border);
    border-bottom: 1px solid var(--fz-border);
}

.fz-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fz-feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #F8FAFC;
    border: 1px solid var(--fz-border);
    border-radius: var(--fz-radius-sm);
    flex-shrink: 0;
}

.fz-feat-text strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--fz-text-dark);
}

.fz-feat-text span {
    font-size: 11px;
    color: #64748B;
}

.fz-hero-actions {
    display: flex;
    gap: 14px;
}

/* Modern Showcase Box (La Caja Anterior) */
.fz-hero-visual {
    position: relative;
}

.fz-hero-card-stack {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.fz-hero-photo-card {
    background: var(--fz-white);
    border: 1px solid var(--fz-border);
    border-radius: var(--fz-radius-lg);
    overflow: hidden;
    box-shadow: var(--fz-shadow-lg);
    position: relative;
    z-index: 2;
}

.fz-photo-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #F1F5F9;
}

.fz-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fz-hero-photo-card:hover .fz-hero-img {
    transform: scale(1.03);
}

.fz-photo-overlay-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #0F172A;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--fz-radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.fz-pulse-dot {
    width: 7px;
    height: 7px;
    background: #10B981;
    border-radius: 50%;
}

.fz-photo-card-body {
    padding: 20px 22px;
}

.fz-photo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.fz-photo-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--fz-text-dark);
    margin: 0 0 3px 0;
}

.fz-photo-subtitle {
    font-size: 12px;
    color: #64748B;
    margin: 0;
}

.fz-time-pill {
    background: #FEF3C7;
    color: #B45309;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: var(--fz-radius-full);
    white-space: nowrap;
}

/* Floating Badges */
.fz-floating-badge {
    position: absolute;
    background: var(--fz-white);
    color: var(--fz-text-dark);
    padding: 10px 16px;
    border-radius: var(--fz-radius-md);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    border: 1px solid var(--fz-border);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.fz-badge-floating-top {
    top: -16px;
    right: -20px;
    animation: fzFloat 4s ease-in-out infinite;
}

.fz-badge-floating-bottom {
    bottom: -18px;
    left: -20px;
    animation: fzFloat 4s ease-in-out infinite 2s;
}

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

.fz-fb-icon { font-size: 20px; }
.fz-fb-text strong { display: block; font-size: 12px; font-weight: 800; color: var(--fz-text-dark); }
.fz-fb-text small { display: block; font-size: 11px; color: #64748B; }

/* ==========================================================================
   5. PRODUCTS SHOWCASE - 2 COLUMNS IN MOBILE & CLEAN NO BADGES
   ========================================================================== */
.fz-products-section {
    background: #FFFFFF;
}

.fz-product-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.fz-tab-btn {
    font-family: var(--fz-font-sans);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--fz-radius-full);
    border: 1px solid var(--fz-border);
    background: #F8FAFC;
    color: #475569;
    cursor: pointer;
    transition: var(--fz-transition);
}

.fz-tab-btn.active {
    background: var(--fz-cyan);
    color: var(--fz-white);
    border-color: var(--fz-cyan);
}

/* Products Grid: 3 cols desktop, 2 cols mobile */
.fz-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.fz-product-card {
    background: var(--fz-white);
    border-radius: var(--fz-radius-md);
    border: 1px solid var(--fz-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--fz-shadow-sm);
    transition: var(--fz-transition);
}

.fz-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fz-shadow-md);
    border-color: #CBD5E1;
}

.fz-card-media-clean {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #F1F5F9;
}

.fz-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.fz-product-card:hover .fz-product-img {
    transform: scale(1.04);
}

.fz-time-pill-corner {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
    color: #0F172A;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: var(--fz-radius-full);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.fz-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.fz-product-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--fz-text-dark);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.fz-product-tagline {
    font-size: 12px;
    color: #64748B;
    margin: 0;
    line-height: 1.45;
}

/* ==========================================================================
   6. FOOTER - MINIMAL & CLEAN (NO LINK COLUMNS)
   ========================================================================== */
.fz-footer-minimal {
    background: #F8FAFC;
    border-top: 1px solid var(--fz-border);
    padding: 45px 0 0 0;
}

.fz-footer-minimal-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 35px;
    gap: 20px;
    flex-wrap: wrap;
}

.fz-footer-minimal-brand .fz-logo {
    margin-bottom: 8px;
}

.fz-footer-minimal-tagline {
    font-size: 13px;
    color: #64748B;
    margin: 0;
    max-width: 440px;
}

.fz-footer-wa-pill {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--fz-radius-full);
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.25);
    transition: var(--fz-transition);
}

.fz-footer-wa-pill:hover {
    background: #20BA5A;
    transform: translateY(-2px);
}

.fz-footer-minimal-bottom {
    background: #FFFFFF;
    border-top: 1px solid var(--fz-border);
    padding: 18px 0;
    text-align: center;
    font-size: 12px;
    color: #94A3B8;
}

.fz-footer-minimal-bottom p {
    margin: 0;
}

/* ==========================================================================
   7. FLOATING WHATSAPP
   ========================================================================== */
.fz-whatsapp-wrapper {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9999;
}

.fz-wa-button {
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    transition: var(--fz-transition);
    text-decoration: none;
}

.fz-wa-button:hover {
    transform: scale(1.06);
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (2 FILAS EN MOBILE PARA PRODUCTOS)
   ========================================================================== */
@media (max-width: 1024px) {
    .fz-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fz-hero-visual {
        order: -1;
    }

    .fz-hero-card-stack {
        max-width: 100%;
    }

    .fz-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .fz-nav-desktop, .fz-header-cta-direct { display: none; }
    .fz-mobile-toggle { display: flex; }

    .fz-hero-title { font-size: 34px; }
    .fz-hero-subtitle { font-size: 18px; }
    .fz-hero-desc { font-size: 14px; }

    .fz-hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fz-photo-wrapper {
        height: 220px;
    }

    /* === 2 COLUMNAS EN MOBILE PARA PRODUCTOS === */
    .fz-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .fz-card-media-clean {
        height: 125px;
    }

    .fz-card-body {
        padding: 10px;
    }

    .fz-product-name {
        font-size: 14px;
        line-height: 1.25;
    }

    .fz-product-tagline {
        font-size: 11px;
    }

    .fz-time-pill-corner {
        font-size: 9px;
        padding: 3px 6px;
    }

    .fz-footer-minimal-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .fz-floating-badge {
        display: none;
    }
}

@media (max-width: 480px) {
    .fz-hero-title { font-size: 29px; }
    .fz-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .fz-card-media-clean {
        height: 110px;
    }
}
