:root {
    --color-flame: #f37d20;
    --color-teal: #1a9a8c;
    --color-sand: #f7f1ea;
    --color-cream: #fffaf5;
    --color-text: #2f2a27;
    --color-muted: #70655f;
    --color-border: rgba(48, 39, 35, 0.12);
    --color-card: #ffffff;
    --color-nav: rgba(255, 255, 255, 0.25);
    --color-orange: #ea5f00;
    --color-orange-soft: #f48c3b;
    --color-amber: #b74a00;
    --color-seafoam: #5dc0b0;
    --color-emerald: #1b7b69;
    --color-teal-bright: #23a38a;
    --font-heading: "Poppins", system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", sans-serif;
    --font-body: "Poppins", system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", sans-serif;
    --max-width: 1120px;
    --radius-lg: 22px;
    --color-red: #ff0000;
    --radius-md: 16px;
    --shadow-soft: 0 18px 40px -24px rgba(34, 28, 25, 0.25);
    color-scheme: only light;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-cream);
    /* Degradado suave encima, patrón abajo */
    background-image:
        linear-gradient(135deg,
            rgba(255, 248, 240, 0.86) 0%,
            rgba(255, 250, 245, 0.84) 28%,
            rgba(240, 255, 252, 0.84) 62%,
            rgba(235, 250, 248, 0.86) 100%),
        url('../assets/patron-small.png');
    background-size: 100% 100%, 220px 220px;
    background-repeat: no-repeat, repeat;
    background-attachment: fixed, scroll;
    color: var(--color-text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    position: relative;
}

/* Fix for mobile devices - background-attachment: fixed doesn't work on iOS Safari */
@media (max-width: 768px) {
    body {
        /* En mobile usamos el mismo overlay pero sin fixed */
        background-image: 
            linear-gradient(135deg,
                rgba(255, 248, 240, 0.86) 0%,
                rgba(255, 250, 245, 0.84) 28%,
                rgba(240, 255, 252, 0.84) 62%,
                rgba(235, 250, 248, 0.86) 100%),
            url('../assets/patron-small.png');
        background-size: 100% 100%, 220px 220px;
        background-repeat: no-repeat, repeat;
        background-attachment: scroll, scroll;
    }
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    width: 200px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

body::before {
    left: 0;
    background: linear-gradient(90deg, rgba(34, 28, 25, 0.08) 0%, rgba(34, 28, 25, 0.04) 15%, transparent 50%);
}

body::after {
    right: 0;
    background: linear-gradient(270deg, rgba(34, 28, 25, 0.06) 0%, rgba(34, 28, 25, 0.03) 15%, transparent 50%);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

main {
    overflow: hidden;
}

.section {
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
}

.section-heading {
    max-width: 620px;
    margin: 0 auto 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.heading-content {
    flex: 1;
    text-align: center;
}

.compare-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--color-teal), var(--color-seafoam));
    color: white;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 12px -6px rgba(26, 154, 140, 0.3);
}

.compare-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(26, 154, 140, 0.4);
    background: linear-gradient(135deg, var(--color-teal-bright), var(--color-teal));
}

.compare-icon {
    font-size: 1rem;
}

.section-heading h2 {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.8px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-text);
}

.section-heading p {
    margin: 0.75rem 0 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: var(--color-nav);
    border-bottom: 1px solid var(--color-border);
}

.main-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
}

.nav-left {
    display: grid;
    gap: 0.5rem;
    align-items: start;
    justify-items: start;
}

.nav-label {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-teal);
}

.nav-icons {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0.6rem;
}

.nav-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(26, 154, 140, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.nav-icon:hover,
.nav-icon:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -24px rgba(26, 154, 140, 0.6);
    background: rgba(26, 154, 140, 0.16);
}

.nav-icon-graphic {
    width: 44px;
    height: 44px;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(36%) sepia(69%) saturate(474%) hue-rotate(134deg) brightness(89%) contrast(94%);
}

.nav-icon--instagram .nav-icon-graphic {
    background-image: url('../assets/87390.png');
}

.nav-icon--facebook .nav-icon-graphic {
    background-image: url('../assets/20673.png');
}

.nav-icon--tiktok .nav-icon-graphic {
    background-image: url('../assets/Tiktok_icon.svg.png');
}

.nav-icon--whatsapp .nav-icon-graphic {
    background-image: url('../assets/whatsapp-logo-png_seeklogo-168310.png');
    filter: brightness(0) saturate(100%) invert(36%) sepia(69%) saturate(474%) hue-rotate(134deg) brightness(89%) contrast(94%);
}

.nav-logo {
    display: flex;
    justify-content: center;
}

.nav-logo .logo {
    width: clamp(120px, 10vw, 70px);
    height: auto;
}

.nav-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
    justify-self: stretch;
}

.nav-left {
    justify-self: start;
}

.nav-info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(243, 125, 32, 0.14);
    background-image: url('../assets/6905745.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px;
    box-shadow: 0 12px 24px -20px rgba(243, 125, 32, 0.6);
}

.nav-info-text {
    display: grid;
    gap: 0.25rem;
    text-align: right;
}

.nav-info-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.nav-info-address,
.nav-info-hours {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.nav-info-hours strong,
.nav-info-title strong {
    font-weight: 700;
    color: var(--color-text);
}


.hero {
    min-height: clamp(320px, 55vh, 520px);
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 4rem);
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    justify-items: center;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}


.hero-content {
    display: grid;
    gap: 1rem;
    justify-items: center;
    max-width: clamp(320px, 70vw, 640px);
}

.badge {
    align-self: center;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    background: rgba(26, 154, 140, 0.12);
    border: 1px solid rgba(26, 154, 140, 0.3);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-teal);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--color-text);
}

.hero p {
    margin: 0;
    font-weight: 400;
    color: var(--color-muted);
    line-height: 1.7;
}


.media-section {
    padding-top: 0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100vw;
}

.media-section__inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    pointer-events: auto;
}

.media-section__carousel {
    display: grid;
    justify-items: center;
    align-items: center;
    flex-shrink: 0;
}

.media-section__map {
    display: grid;
    justify-items: center;
    align-items: center;
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}


.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.hero-carousel {
    position: relative;
    width: min(68vw, 420px);
    aspect-ratio: 1 / 1;
    border-radius: calc(var(--radius-lg) + 6px);
    padding: 5px;
    background: linear-gradient(135deg, rgba(26, 154, 140, 0.18), rgba(243, 125, 32, 0.18));
    box-shadow: 0 28px 60px -30px rgba(34, 28, 25, 0.35);
    overflow: hidden;
}

.carousel-viewport {
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.carousel-track {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: var(--color-text);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 12px 24px -12px rgba(34, 28, 25, 0.35);
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Orange separator - thin and centered */
.orange-separator {
    height: 2px;
    background-color: var(--color-orange) !important;
    margin: 30px auto !important;
    width: 80% !important;
    max-width: 600px;
    border: none !important;
    display: block !important;
    clear: both;
    padding: 0 !important;
    opacity: 1 !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: linear-gradient(135deg, var(--color-flame), #ff9d3c);
    color: #fff;
    box-shadow: 0 12px 30px -18px rgba(243, 125, 32, 0.45);
}

.btn.primary:hover,
.btn.primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -18px rgba(244, 140, 59, 0.65);
}

.btn.ghost {
    border: 1px solid rgba(48, 39, 35, 0.18);
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.7);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
    background: rgba(243, 125, 32, 0.12);
}

/* Badge de historia */
.history-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-soft));
    color: white;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px -12px rgba(234, 95, 0, 0.4);
}

/* Timeline journey */
.timeline-journey {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    margin: 3rem 0;
    position: relative;
}

/* Desktop: Horizontal timeline */
@media (min-width: 720px) {
    .timeline-journey {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 2rem;
        position: relative;
        padding: 0 2rem;
    }
    
    .timeline-journey::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 80px;
        right: 80px;
        height: 3px;
        background: linear-gradient(90deg, var(--color-orange-soft), var(--color-seafoam));
        border-radius: 2px;
        z-index: 1;
    }
    
    .journey-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        gap: 1.5rem;
        position: relative;
        z-index: 2;
        max-width: 280px;
    }
    
    .journey-icon {
        order: -1;
        margin-bottom: 0.5rem;
    }
    
    .journey-content {
        width: 100%;
    }
}

/* Mobile: Vertical timeline */
@media (max-width: 719px) {
    .timeline-journey::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 50px;
        bottom: 50px;
        width: 3px;
        background: linear-gradient(180deg, var(--color-orange-soft), var(--color-seafoam));
        border-radius: 2px;
        z-index: 1;
    }
    
    .journey-card {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
        align-items: start;
        position: relative;
        z-index: 2;
    }
}

.journey-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 12px 30px -15px rgba(34, 28, 25, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-card:hover .journey-icon {
    transform: scale(1.05);
    box-shadow: 0 16px 40px -15px rgba(34, 28, 25, 0.4);
}

.journey-start {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-soft));
    color: white;
}

.journey-growth {
    background: linear-gradient(135deg, var(--color-teal), var(--color-seafoam));
    color: white;
}

.journey-digital {
    background: linear-gradient(135deg, var(--color-emerald), var(--color-teal-bright));
    color: white;
}

.journey-future {
    background: linear-gradient(135deg, var(--color-orange), var(--color-amber));
    color: white;
}

.journey-content {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.journey-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-orange-soft));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journey-card:hover .journey-content {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -18px rgba(18, 18, 18, 0.85);
}

.journey-card:hover .journey-content::before {
    opacity: 1;
}

.journey-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
}

.journey-content p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.journey-content p strong {
    color: var(--color-orange);
    font-weight: 600;
}

/* Current operations */
.current-operations {
    margin-top: 3rem;
}

.operations-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(26, 154, 140, 0.05), rgba(243, 125, 32, 0.05));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
}

.operation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.operation-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-teal), var(--color-seafoam));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px -12px rgba(26, 154, 140, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.operation-item:hover .operation-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 25px -12px rgba(26, 154, 140, 0.6);
}

.operation-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.operation-text p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.5;
}

.operation-text p strong {
    color: var(--color-orange);
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 719px) {
    .timeline-journey::before {
        left: 20px;
        top: 50px;
        bottom: 50px;
    }
    
    .journey-card {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
    }
    
    .journey-icon {
        width: 60px;
        height: 60px;
    }
    
    .journey-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .journey-content {
        padding: 1.5rem;
    }
    
    .journey-content h3 {
        font-size: 1.2rem;
    }
    
    .operations-highlight {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .operation-item {
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .operation-icon {
        width: 50px;
        height: 50px;
    }
    
    .operation-icon svg {
        width: 24px;
        height: 24px;
    }
}

.about-grid,
.product-grid {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.card,
.product-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover,
.card:focus-within,
.product-card:hover,
.product-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -18px rgba(18, 18, 18, 0.85);
}

.card h3,
.product-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    color: var(--color-teal);
}

.card p,
.product-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}


.about-layout {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.about-content {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.about-grid {
    grid-template-columns: 1fr;
}

.social-feeds {
    background: linear-gradient(135deg, rgba(26, 154, 140, 0.05), rgba(243, 125, 32, 0.05));
}

.social-profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 1200px;
    margin: 0 auto;
    justify-items: stretch;
    align-items: stretch;
}

.social-profile-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.social-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-seafoam));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -18px rgba(18, 18, 18, 0.85);
}

.social-profile-card:hover::before {
    opacity: 1;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tiktok-icon {
    background: linear-gradient(135deg, #000000, #25F4EE);
    color: white;
}

.instagram-icon {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
    color: white;
}

.facebook-icon {
    background: #1877f2;
    color: white;
}

.profile-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
}

.platform-name {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: 500;
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 0.25rem;
}

.profile-preview {
    margin-top: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.preview-item {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.preview-item:hover img {
    transform: scale(1.1);
}

/* Botones con colores de cada red social */
.tiktok-btn {
    background: linear-gradient(135deg, #000000 0%, #25F4EE 100%) !important;
}

.instagram-btn {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%) !important;
}

.facebook-btn {
    background: #1877f2 !important;
}

/* Tarjetas con altura uniforme */
.social-profile-card {
    height: 744px;
    display: flex;
    flex-direction: column;
}

.social-profile-card .profile-preview {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

/* Instagram embed container */
.instagram-embed-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.instagram-embed-container .instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 280px !important;
}

/* TikTok embed sizing */
.tiktok-embed {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: auto !important;
}

/* Facebook embed container - sin restricciones de altura */
.facebook-embed-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.facebook-embed-container .fb-page {
    width: 100% !important;
}

/* Instagram fallback - imagen estática */
.instagram-preview-fallback {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.instagram-preview-fallback:hover {
    transform: scale(1.02);
    color: white;
    text-decoration: none;
}

.profile-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--color-teal), var(--color-seafoam));
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.profile-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(26, 154, 140, 0.5);
    text-decoration: none;
    color: white;
}

.about-map {
    display: grid;
    justify-items: center;
}

.map-embed {
    width: min(68vw, 420px);
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 28px 60px -30px rgba(34, 28, 25, 0.35);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.site-footer {
    text-align: center;
    padding: 2rem 1rem 3rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.nav-toggle {
    display: none;
}

.mobile-nav {
    display: none;
}

.mobile-nav-overlay {
    display: none;
}

.site-footer p {
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile fallback - ensure reveal elements are always visible on mobile */
@media (max-width: 768px) {
    .reveal {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) scale(1);
    }
    45% {
        transform: translateY(-14px) scale(1.01);
    }
    72% {
        transform: translateY(8px) scale(0.99);
    }
}

/* Food Brands Section */
.food-brands {
    background: linear-gradient(135deg, rgba(26, 154, 140, 0.03), rgba(243, 125, 32, 0.03));
}

.brands-container {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    max-width: 1200px;
    margin: 0 auto;
}

.brand-tier {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--color-border);
}

.brand-tier:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -18px rgba(18, 18, 18, 0.85);
}

.tier-header {
    padding: 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tier-content {
    position: relative;
    z-index: 2;
}

.tier-title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.15);
}

.tier-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0.8;
}

.tier-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.tier-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tier-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tier-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tier-description p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
}

/* Quality Badge Header Styles */
.quality-badge-header {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    animation: qualityBadgeFloat 3s ease-in-out infinite;
}

@keyframes qualityBadgeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.quality-badge-header .score-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-badge-header:hover .score-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.4);
}

.quality-badge-header .score-circle::before {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    z-index: 1;
}

.quality-badge-header .score-text {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.quality-badge-header .score-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

/* Tier-specific colors with enhanced gradients */
.tier-header.ultra-premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 8px 24px -12px rgba(255, 165, 0, 0.4);
}

.tier-header.ultra-premium::before {
    background: linear-gradient(90deg, #FFD700, #FFA500, #FF8C00);
}

.tier-header.premium {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #404040 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), 0 8px 24px -12px rgba(0, 0, 0, 0.4);
}

.tier-header.premium::before {
    background: linear-gradient(90deg, #1a1a1a, #2d2d2d, #404040);
}

.tier-header.balanceada-estandar {
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-soft) 50%, #ffb347 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), 0 8px 24px -12px rgba(234, 95, 0, 0.4);
}

.tier-header.balanceada-estandar::before {
    background: linear-gradient(90deg, var(--color-orange), var(--color-orange-soft), #ffb347);
}

.tier-header.balanceada-premium {
    background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-teal-bright) 50%, var(--color-seafoam) 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), 0 8px 24px -12px rgba(27, 123, 105, 0.4);
}

.tier-header.balanceada-premium::before {
    background: linear-gradient(90deg, var(--color-emerald), var(--color-teal-bright), var(--color-seafoam));
}

.tier-header.economica {
    background: linear-gradient(135deg, #708090 0%, #A9A9A9 50%, #B8B8B8 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), 0 8px 24px -12px rgba(112, 128, 144, 0.4);
}

.tier-header.economica::before {
    background: linear-gradient(90deg, #708090, #A9A9A9, #B8B8B8);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.brand-item {
    background: #F8F8F8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 12px -8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.brand-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.15);
    background: #F5F5F5;
}

.brand-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-item:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Larger logos for specific brands */
.brand-item img[alt*="Biofresh"],
.brand-item img[alt*="Belcando"],
.brand-item img[alt*="Pro Plan"],
.brand-item img[alt*="Therapy"],
.brand-item img[alt*="Maxine"],
.brand-item img[alt*="Hop"],
.brand-item img[alt*="Nomade"],
.brand-item img[alt*="Connie"],
.brand-item img[alt*="Master Dog"],
.brand-item img[alt*="Master Cat"],
.brand-item img[alt*="Dog Buffet"],
.brand-item img[alt*="Guau Forte"],
.brand-item img[alt*="Wits"] {
    height: 90px;
}

/* Extra large logos for brands that need more size */
.brand-item img[alt*="Balanced"],
.brand-item img[alt*="Biofresh"] {
    height: 110px;
}

/* Comparison Modal Styles */
.comparison-modal {
    border: none;
    border-radius: var(--radius-lg);
    padding: 0;
    background: transparent;
    max-width: 95vw;
    max-height: 95vh;
    overflow: visible;
}

.comparison-modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--color-teal), var(--color-seafoam));
    color: white;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.comparison-table {
    margin-bottom: 2rem;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background: linear-gradient(135deg, rgba(26, 154, 140, 0.1), rgba(93, 192, 176, 0.1));
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-teal);
}

.comparison-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text);
}

.comparison-table tr:hover {
    background: rgba(26, 154, 140, 0.02);
}

.quality-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    text-align: center;
    min-width: 50px;
}

.quality-badge.premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.quality-badge.good {
    background: linear-gradient(135deg, var(--color-teal), var(--color-seafoam));
}

.quality-badge.decent {
    background: linear-gradient(135deg, var(--color-emerald), var(--color-teal-bright));
}

.quality-badge.fair {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-soft));
}

.quality-badge.basic {
    background: linear-gradient(135deg, #708090, #A9A9A9);
}

.comparison-notes {
    background: linear-gradient(135deg, rgba(243, 125, 32, 0.05), rgba(26, 154, 140, 0.05));
    border: 1px solid rgba(243, 125, 32, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.comparison-notes p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-muted);
}

/* Mobile responsive for quality badges */
@media (max-width: 768px) {
    .quality-badge-header {
        top: 1rem;
        right: 1rem;
        animation: none; /* Disable floating animation on mobile */
    }
    
    .quality-badge-header .score-circle {
        width: 45px;
        height: 45px;
    }
    
    .quality-badge-header .score-circle::before {
        width: 36px;
        height: 36px;
    }
    
    .quality-badge-header .score-text {
        font-size: 0.85rem;
    }
    
    .quality-badge-header .score-label {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        max-height: 90vh;
        margin: 2.5vh auto;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}
.important-notice {
    margin-top: 2rem;
    padding: 0;
}

.notice-content {
    background: linear-gradient(135deg, rgba(243, 125, 32, 0.08), rgba(26, 154, 140, 0.08));
    border: 1px solid rgba(243, 125, 32, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px -12px rgba(243, 125, 32, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -12px rgba(243, 125, 32, 0.25);
}

.notice-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-orange-soft), var(--color-orange));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.notice-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-soft));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    box-shadow: 0 4px 16px -8px rgba(243, 125, 32, 0.4);
    transition: transform 0.3s ease;
}

.notice-content:hover .notice-icon {
    transform: scale(1.1);
}

.notice-content h4 {
    margin: 0 0 2rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 0.5px;
}

/* Feeding Guide Tables */
.feeding-guide {
    margin: 2rem 0;
}

.tables-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feeding-table {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: left;
}

.feeding-table h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-subtitle {
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
    color: var(--color-muted);
    font-style: italic;
}

.feeding-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.feeding-table th {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-soft));
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
}

.feeding-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

.feeding-table tr:last-child td {
    border-bottom: none;
}

.feeding-table tr:nth-child(even) {
    background: rgba(243, 125, 32, 0.05);
}

/* Quality Notice */
.quality-notice {
    background: linear-gradient(135deg, rgba(26, 154, 140, 0.1), rgba(243, 125, 32, 0.1));
    border: 1px solid rgba(26, 154, 140, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.quality-notice p {
    margin: 0;
    color: var(--color-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* What to Look For Section */
.what-to-look {
    margin-top: 2rem;
}

.what-to-look h5 {
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
}

.look-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.look-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.look-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -12px rgba(34, 28, 25, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.look-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-seafoam));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px -6px rgba(26, 154, 140, 0.4);
}

.look-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Food brands section mobile fix */
    .food-brands {
        padding: 2rem 1rem;
    }
    
    .brands-container {
        display: grid !important;
        gap: 1.5rem;
    }
    
    .brand-tier {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .tier-header {
        display: block !important;
        visibility: visible !important;
    }
    
    .brands-grid {
        display: grid !important;
        visibility: visible !important;
    }
    
    .tier-nutrition {
        display: block !important;
        visibility: visible !important;
    }
    
    .important-notice {
        display: block !important;
        visibility: visible !important;
    }
    
    .notice-content {
        display: block !important;
        visibility: visible !important;
    }
    
    .feeding-guide {
        display: block !important;
        visibility: visible !important;
    }
    
    .tables-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feeding-table {
        display: block !important;
        visibility: visible !important;
    }
    
    .quality-notice {
        display: block !important;
        visibility: visible !important;
    }
    
    .what-to-look {
        display: block !important;
        visibility: visible !important;
    }
    
    .look-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-content {
        padding: 1.5rem;
    }
    
    .feeding-table {
        padding: 1rem;
    }
}

.brand-item:hover::before {
    opacity: 1;
}

/* Inline Nutrition Stats Styles */
.tier-nutrition {
    background: linear-gradient(135deg, rgba(26, 154, 140, 0.02), rgba(243, 125, 32, 0.02));
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 2rem;
}

.nutrition-stats-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.nutrition-stats-inline .stat-item {
    background: #F8F8F8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.nutrition-stats-inline .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.15);
    background: #F5F5F5;
}

.nutrition-stats-inline .stat-item::before {
    content: '';
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.nutrition-stats-inline .stat-item:nth-child(1)::before {
    content: '🥩';
}

.nutrition-stats-inline .stat-item:nth-child(2)::before {
    content: '🧈';
}

.nutrition-stats-inline .stat-item:nth-child(3)::before {
    content: '🌾';
}

.nutrition-stats-inline .stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nutrition-stats-inline .stat-bar {
    position: relative;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.nutrition-stats-inline .stat-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
    position: relative;
}

.nutrition-stats-inline .stat-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.nutrition-stats-inline .stat-fill.protein {
    background: linear-gradient(90deg, #27ae60, #229954, #1e8449);
}

.nutrition-stats-inline .stat-fill.fat {
    background: linear-gradient(90deg, #f39c12, #e67e22, #d68910);
}

.nutrition-stats-inline .stat-fill.fiber {
    background: linear-gradient(90deg, #3498db, #2980b9, #2471a3);
}

.nutrition-stats-inline .stat-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.8);
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    display: inline-block;
}

.quality-score-inline {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.quality-score-inline .score-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.quality-score-inline .score-circle::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    z-index: 1;
}

.quality-score-inline .score-text {
    position: relative;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.quality-score-inline .score-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
}

@media (min-width: 720px) {
    .about-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 719px) {
    .main-nav {
        grid-template-columns: 1fr auto;
        gap: 1rem;
        align-items: center;
        padding: 1rem;
    }
    
    /* Reorder mobile navigation - logo left, menu right */
    .nav-logo {
        order: 1;
        justify-content: flex-start;
    }
    
    .nav-logo .logo {
        width: 40px !important;
        height: auto;
    }
    
    .nav-toggle {
        order: 2;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(26, 154, 140, 0.12);
        border: 1px solid rgba(26, 154, 140, 0.3);
        border-radius: var(--radius-md);
        cursor: pointer;
        transition: background 0.3s ease;
        padding: 8px 0;
    }
    
    .nav-left {
        display: none;
    }

    .nav-info {
        display: none;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
        transition: left 0.3s ease;
        padding: 2rem;
        overflow-y: auto;
    }

    .nav-toggle:hover {
        background: rgba(26, 154, 140, 0.2);
    }

    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--color-teal);
        margin: 2px 0;
        transition: 0.3s;
        position: relative;
        border-radius: 1px;
    }
    
    .nav-toggle span:nth-child(1) {
        transform-origin: left center;
    }
    
    .nav-toggle span:nth-child(2) {
        transform-origin: left center;
    }
    
    .nav-toggle span:nth-child(3) {
        transform-origin: left center;
    }

    .mobile-nav.is-open {
        left: 0;
    }

    .mobile-nav-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        position: relative;
    }

    .mobile-nav-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(26, 154, 140, 0.12);
        border: 1px solid rgba(26, 154, 140, 0.3);
        border-radius: 50%;
        cursor: pointer;
        font-size: 20px;
        color: var(--color-teal);
        transition: background 0.3s ease;
        z-index: 101;
    }

    .mobile-nav-close:hover {
        background: rgba(26, 154, 140, 0.2);
    }

    .mobile-nav-section {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-nav-title {
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--color-teal);
        margin: 0;
    }

    .mobile-nav-icons {
        display: grid;
        grid-template-columns: repeat(4, auto);
        gap: 0.8rem;
    }

    .mobile-nav-info {
        display: grid;
        gap: 0.5rem;
    }

    .mobile-nav-info-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--color-text);
        margin: 0;
    }

    .mobile-nav-info-address,
    .mobile-nav-info-hours {
        font-size: 0.95rem;
        color: var(--color-muted);
        margin: 0;
        line-height: 1.5;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 2rem 1rem;
    }

    .hero-content {
        justify-items: center;
        text-align: center;
        margin-bottom: 2rem;
    }

    .media-section {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        pointer-events: auto;
        flex-direction: column;
        gap: 2rem;
        margin-top: 0;
    }

    .media-section__inner {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-carousel {
        width: min(85vw, 320px);
    }

    .map-embed {
        width: min(85vw, 320px);
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .social-profiles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-profile-card {
        padding: 1.5rem;
    }

    /* Mobile responsive for brands section */
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
        padding: 1.5rem;
    }
    
    .tier-header {
        padding: 1.5rem 1.5rem;
    }
    
    .tier-header h3 {
        font-size: 1.3rem;
    }
    
    .tier-header p {
        font-size: 0.9rem;
    }
    
    .brand-item {
        padding: 1rem;
        min-height: 80px;
    }
    
    .brand-item img {
        height: 50px;
    }
    
    .nutrition-stats-inline {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .nutrition-stats-inline .stat-item {
        min-width: auto;
        padding: 0.75rem;
    }
    
    .quality-score-inline {
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    /* Fix for tier nutrition section on mobile */
    .tier-nutrition {
        padding: 1rem;
    }
    
    /* Fix for tier header content on mobile */
    .tier-header {
        padding: 1.25rem 1rem 1.25rem 1rem;
        padding-right: 70px; /* Space for quality badge */
    }
    
    .tier-content {
        text-align: left;
    }
    
    .tier-title-section {
        align-items: flex-start;
    }
    
    .tier-description {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    
    .tier-description p {
        font-size: 0.85rem;
    }
    
    /* Fix for important notice and feeding guide on mobile */
    .important-notice {
        margin-top: 1.5rem;
    }
    
    .notice-content {
        padding: 1.25rem;
    }
    
    .notice-content h4 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .feeding-guide {
        margin: 1.5rem 0;
    }
    
    .feeding-table h5 {
        font-size: 1rem;
    }
    
    .feeding-table table {
        font-size: 0.85rem;
    }
    
    .feeding-table th,
    .feeding-table td {
        padding: 0.5rem;
    }
    
    .quality-notice {
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .quality-notice p {
        font-size: 0.85rem;
    }
    
    .what-to-look h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .look-item {
        padding: 0.75rem;
    }
    
    .look-icon {
        width: 32px;
        height: 32px;
    }
    
    .look-item span {
        font-size: 0.85rem;
    }
    
    /* Ensure brands container is visible */
    .brands-container {
        gap: 1.5rem;
    }
    
    .brand-tier {
        overflow: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Lazy Load Embed Placeholders */
.embed-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.placeholder-icon {
    opacity: 0.4;
    color: var(--color-muted);
}

.placeholder-text {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: 500;
}

.placeholder-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* TikTok placeholder specific */
#tiktok-placeholder .placeholder-icon {
    color: #000;
}

/* Instagram placeholder specific */
#instagram-placeholder .placeholder-icon {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
