/* ================================================================
   MERCADO E y M — Hoja de Estilos Principal
   Identidad visual: mercado tradicional paraguayo
   Fuente: Poppins (Google Fonts)
   ================================================================ */

/* ----------------------------------------------------------------
   Reset y base
   ---------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d9b4e;
    --secondary-color: #f7941d;
    --accent-color: #ffe066;
    --text-dark: #1a2e1a;
    --text-light: #5a6e5a;
    --bg-light: #f4f8f4;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.15);
    --radius: 6px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

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

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

/* ================================================================
   BOTONES — estilo etiqueta de mercado, sin pill
   ================================================================ */
.btn {
    display: inline-block;
    padding: 11px 26px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background: #237a3d;
    border-color: #237a3d;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(45, 155, 78, 0.35);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background: #d97d10;
    border-color: #d97d10;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(247, 148, 29, 0.35);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}
.btn-white:hover {
    background: #eaf6ed;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.18);
}

.btn-full { width: 100%; }
.btn-large { padding: 15px 40px; font-size: 1.1rem; }

/* ================================================================
   TOPBAR — franja de info superior
   ================================================================ */
.topbar {
    background: #1a2e1a;
    color: rgba(255,255,255,0.80);
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.topbar-wa {
    color: #4ade80;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.topbar-wa:hover { color: #86efac; }

/* ================================================================
   NAVBAR — fondo verde, links blancos
   ================================================================ */
.navbar {
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    box-shadow: 0 3px 14px rgba(0,0,0,0.22);
    border-bottom: 3px solid var(--secondary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.30);
    flex-shrink: 0;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255,255,255,0.70);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s, background 0.2s;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.nav-menu a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.nav-menu a.active {
    color: var(--white);
    font-weight: 600;
    background: rgba(255,255,255,0.14);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Botón de contacto destacado en el nav */
.nav-menu a.nav-cta {
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    padding: 0.5rem 1.2rem;
}

.nav-menu a.nav-cta:hover {
    background: #d97d10;
    color: var(--white);
}

.nav-menu a.nav-cta.active {
    background: #d97d10;
}

.nav-menu a.nav-cta.active::after {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ================================================================
   HERO — slideshow de fondo, texto alineado a la izquierda
   ================================================================ */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-slideshow {
    background: #1b4d2d;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}
.hero-slide.active { opacity: 1; }

/* Overlay verde lateral — eliminado para mostrar fotos limpias */
.hero-slideshow::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 80px 20px 80px 60px;
    text-align: left;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.30) 70%,
        transparent 100%
    );
    border-radius: 0 var(--radius) var(--radius) 0;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    animation: fadeInLeft 0.8s both;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
    animation: fadeInLeft 0.8s 0.15s both;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    opacity: 0.88;
    animation: fadeInLeft 0.8s 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInLeft 0.8s 0.45s both;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   PAGE HEADER — franjas diagonales (textura de mercado)
   ================================================================ */
.page-header {
    background-color: var(--primary-color);
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.06) 10px,
        rgba(255,255,255,0.06) 20px
    );
    color: var(--white);
    padding: 56px 20px 52px;
    position: relative;
    border-bottom: 5px solid var(--secondary-color);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
    opacity: 0.6;
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.back-link {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 7px 16px;
    background: rgba(255,255,255,0.18);
    border-radius: var(--radius);
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255,255,255,0.35);
    transition: background 0.2s;
}
.back-link:hover { background: rgba(255,255,255,0.30); }

/* ================================================================
   TÍTULOS DE SECCIÓN
   ================================================================ */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    margin: 0.5rem auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.8rem;
    font-size: 1.05rem;
}

/* ================================================================
   CATEGORÍAS — señalética de sección de mercado
   ================================================================ */
.features {
    padding: 72px 20px;
    background: var(--bg-light);
}

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

.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card {
    background: var(--white);
    padding: 1.6rem 1.2rem 1.4rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

/* Franja de color en la parte superior por categoría */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
}

.feature-grid > .feature-card-link:nth-child(1) .feature-card::before { background: #2d9b4e; }
.feature-grid > .feature-card-link:nth-child(1) .feature-card { border-bottom-color: #2d9b4e; }
.feature-grid > .feature-card-link:nth-child(2) .feature-card::before { background: #f7941d; }
.feature-grid > .feature-card-link:nth-child(2) .feature-card { border-bottom-color: #f7941d; }
.feature-grid > .feature-card-link:nth-child(3) .feature-card::before { background: #e0b800; }
.feature-grid > .feature-card-link:nth-child(3) .feature-card { border-bottom-color: #e0b800; }
.feature-grid > .feature-card-link:nth-child(4) .feature-card::before { background: #c0392b; }
.feature-grid > .feature-card-link:nth-child(4) .feature-card { border-bottom-color: #c0392b; }
.feature-grid > .feature-card-link:nth-child(5) .feature-card::before { background: #0097a7; }
.feature-grid > .feature-card-link:nth-child(5) .feature-card { border-bottom-color: #0097a7; }
.feature-grid > .feature-card-link:nth-child(6) .feature-card::before { background: #7b1fa2; }
.feature-grid > .feature-card-link:nth-child(6) .feature-card { border-bottom-color: #7b1fa2; }

/* Para tarjetas sin feature-card-link (sección "¿Por qué elegirnos?") */
.feature-grid > .feature-card:nth-child(1)::before { background: #2d9b4e; }
.feature-grid > .feature-card:nth-child(2)::before { background: #f7941d; }
.feature-grid > .feature-card:nth-child(3)::before { background: #e0b800; }
.feature-grid > .feature-card:nth-child(4)::before { background: #0097a7; }

.feature-card-link:hover .feature-card,
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon,
.feature-icon-emoji {
    font-size: 3.2rem;
    display: block;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.feature-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 0.8rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.88rem;
}

/* ================================================================
   PRODUCTO CARDS
   ================================================================ */
.featured-smoothies,
.menu-section {
    padding: 72px 20px;
}

/* Destacados (home) — grilla vertical con borde naranja */
.featured-smoothies .smoothie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.featured-smoothies .smoothie-card {
    flex-direction: column;
    border-left: 5px solid var(--secondary-color);
    border-radius: var(--radius);
}

/* Catálogo — lista horizontal */
.menu-section .smoothie-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.menu-section .smoothie-card {
    flex-direction: row;
    align-items: stretch;
    border-left: 4px solid var(--primary-color);
}

.menu-section .smoothie-image-real {
    width: 150px;
    min-width: 150px;
    height: 150px;
    border-radius: var(--radius) 0 0 var(--radius);
    flex-shrink: 0;
}

.menu-section .smoothie-info {
    flex: 1;
    padding: 1rem 1.4rem;
    justify-content: center;
}

.menu-section .smoothie-info h3 {
    font-size: 1.1rem;
}

/* Recomendados (detalle) — también grilla vertical */
.recommendations .smoothie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 0;
}

.recommendations .smoothie-card {
    flex-direction: column;
}

/* Card base */
.smoothie-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.smoothie-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
}

.smoothie-card-link:hover .smoothie-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Imagen */
.smoothie-image-real {
    height: 210px;
    position: relative;
    overflow: hidden;
}

.smoothie-image-real img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
    display: block;
}

.smoothie-card:hover .smoothie-image-real img {
    transform: scale(1.07);
}

/* Badge de origen */
.smoothie-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.smoothie-badge.producto-origen-local {
    background: var(--primary-color);
    color: var(--white);
}
.smoothie-badge.producto-origen-artesanal {
    background: #8d4f00;
    color: var(--white);
}
.smoothie-badge.producto-origen-importado {
    background: #1565c0;
    color: var(--white);
}

/* Etiqueta de categoría */
.smoothie-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(27, 46, 27, 0.80);
    color: var(--white);
    padding: 3px 12px;
    border-radius: var(--radius);
    font-size: 0.76rem;
    font-weight: 500;
    text-transform: capitalize;
    backdrop-filter: blur(3px);
}

/* Info panel */
.smoothie-info {
    padding: 1.3rem 1.4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.smoothie-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.smoothie-description {
    color: var(--text-light);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smoothie-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.7rem;
    border-top: 1px dashed #c8dac8;
    margin-top: auto;
}

.smoothie-footer .btn {
    pointer-events: none;
    font-size: 0.85rem;
    padding: 7px 14px;
}

.smoothie-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.unidad-label {
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--text-light);
}

.productos-count {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.88rem;
    font-style: italic;
}

/* ================================================================
   FILTER BAR — tabs con subrayado, sin pills
   ================================================================ */
.category-filter {
    background: var(--white);
    border-bottom: 2px solid #dde8dd;
    padding: 0;
    position: sticky;
    top: 68px;
    z-index: 900;
}

.filter-bar {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
    display: inline-block;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.92rem;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    border-radius: 0;
    background: none;
    cursor: pointer;
}

.filter-btn:hover {
    color: var(--primary-color);
    background: var(--bg-light);
    border-bottom-color: var(--primary-color);
}

.filter-btn.active {
    color: var(--primary-color);
    font-weight: 700;
    border-bottom-color: var(--secondary-color);
    background: var(--bg-light);
}

/* ================================================================
   EMPTY STATE
   ================================================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* ================================================================
   DETALLE DE PRODUCTO
   ================================================================ */
.smoothie-detail {
    padding: 60px 20px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 3rem;
    align-items: start;
}

.detail-image-real {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-lg);
    height: 500px;
}

.detail-image-real img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.detail-badge-large {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 7px 16px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.detail-category-large {
    background: var(--primary-color);
    color: var(--white);
    padding: 7px 18px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.88rem;
    text-transform: capitalize;
}

/* Panel info: franja verde izquierda */
.detail-content {
    border-left: 5px solid var(--primary-color);
    padding-left: 2rem;
}

.detail-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.detail-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

/* Precio: badge naranja destacado */
.detail-price {
    background: var(--secondary-color);
    color: var(--white);
    padding: 1.1rem 1.6rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 14px rgba(247, 148, 29, 0.35);
}

.price-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.price-value {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

.detail-ingredients { margin-bottom: 2rem; }

.detail-ingredients h3,
.detail-benefits h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.ingredients-list {
    list-style: none;
    padding-left: 0;
}

.ingredients-list li {
    padding: 0.45rem 0;
    color: var(--text-light);
    font-size: 0.97rem;
    border-bottom: 1px solid var(--bg-light);
}
.ingredients-list li:last-child { border-bottom: none; }

.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.detail-benefits { margin-bottom: 1.8rem; }

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.benefit-tag {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 500;
}

/* ================================================================
   RECOMENDADOS
   ================================================================ */
.recommendations {
    padding: 60px 20px;
    background: var(--bg-light);
}

.recommendation-text {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

/* ================================================================
   CTA SECTION con slideshow
   ================================================================ */
.cta-section {
    position: relative;
    color: var(--white);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 80px 20px;
}

.cta-slideshow { background: #1b4d2d; }

.cta-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}
.cta-slide.active { opacity: 1; }

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(27, 78, 45, 0.65));
    z-index: 1;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.cta-content h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

/* ================================================================
   INFO CARDS — con borde lateral coloreado
   ================================================================ */
.menu-info {
    padding: 60px 20px;
    background: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 1.4rem 1.6rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}
.info-card:nth-child(2) { border-left-color: var(--secondary-color); }
.info-card:nth-child(3) { border-left-color: #0097a7; }

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

.info-card a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ================================================================
   FOOTER — fondo verde, tres columnas
   ================================================================ */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 20px 20px;
    border-top: 5px solid var(--secondary-color);
    position: relative;
}

footer::before {
    content: '';
    display: block;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0.7;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-section p {
    opacity: 0.88;
    line-height: 1.85;
    font-size: 0.92rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255,255,255,0.20);
    opacity: 0.75;
    font-size: 0.88rem;
}

/* ================================================================
   FLASH MESSAGES
   ================================================================ */
.flash-messages {
    position: fixed;
    top: 88px;
    right: 20px;
    z-index: 1001;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.4rem;
    border-radius: var(--radius);
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideInRight 0.3s;
    box-shadow: var(--shadow-lg);
    font-size: 0.95rem;
}

@keyframes slideInRight {
    from { transform: translateX(420px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.close-alert {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.65;
    transition: opacity 0.2s;
    margin-left: 0.8rem;
}
.close-alert:hover { opacity: 1; }

/* ================================================================
   WHATSAPP FLOAT
   ================================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 2000;
    background: #25d366;
    color: var(--white);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.60);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.whatsapp-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    transition: color 0.2s, border-color 0.2s;
}
.whatsapp-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* ================================================================
   CONTACTO
   ================================================================ */
.contact-section {
    padding: 72px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.97rem;
}

.contact-details { margin: 1.5rem 0; }

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.6rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 52px;
    height: 52px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #dde8dd;
}

.contact-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-text p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

.social-media { margin-top: 1.8rem; }

.social-media h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #dde8dd;
    transition: background 0.2s, color 0.2s;
}
.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.contact-form-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid #dde8dd;
}

.contact-form-container h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    color: var(--text-dark);
}

.form-group { margin-bottom: 1.3rem; }

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #c8dac8;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.map-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.map-placeholder {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px dashed #c8dac8;
}

.map-placeholder p:first-child {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
}

.map-text {
    color: var(--text-light);
    font-size: 1rem;
}

/* ================================================================
   SOBRE NOSOTROS
   ================================================================ */
.about-section { padding: 72px 20px; }

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    border-left: 4px solid var(--secondary-color);
    padding-left: 0.8rem;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.02rem;
    margin-bottom: 1rem;
    line-height: 1.85;
}

.values-section {
    padding: 72px 20px;
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--white);
    padding: 1.8rem 1.4rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.25s;
}
.value-card:hover { transform: translateY(-5px); }

.value-icon {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    display: block;
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.team-section { padding: 72px 20px; }

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.reason-card {
    background: var(--white);
    padding: 1.4rem 1.6rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.25s;
}
.reason-card:hover { transform: translateY(-4px); }

.reason-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.reason-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-image-real {
        height: 360px;
        position: static;
    }

    .detail-content {
        border-left: none;
        border-top: 5px solid var(--primary-color);
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Ocultar topbar en mobile */
    .topbar { display: none; }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 68px;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        padding: 1.5rem 0;
        gap: 0;
        border-top: 3px solid var(--secondary-color);
    }

    .nav-menu.active { left: 0; }

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

    .nav-menu a {
        display: block;
        padding: 12px 20px;
        color: rgba(255,255,255,0.90);
        border-radius: 0;
    }

    .nav-menu a.active {
        background: rgba(255,255,255,0.12);
        color: var(--white);
    }

    .nav-menu a.active::after { display: none; }

    .nav-menu a.nav-cta {
        margin: 0.5rem 2rem;
        border-radius: var(--radius);
        display: block;
    }

    .hero-content {
        padding: 60px 20px;
        text-align: center;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-buttons { justify-content: center; }

    .section-title { font-size: 1.9rem; }

    /* Catálogo: volver a vertical en mobile */
    .menu-section .smoothie-grid {
        flex-direction: column;
    }
    .menu-section .smoothie-card {
        flex-direction: column;
    }
    .menu-section .smoothie-image-real {
        width: 100%;
        height: 200px;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .detail-actions { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .category-filter { top: 62px; }

    .flash-messages {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .cta-content h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; }
    .page-header h1 { font-size: 1.9rem; }
    .smoothie-price { font-size: 1.3rem; }
    .logo-text { font-size: 1.4rem; }
    .logo-img { height: 60px; width: 110px; }
    .price-value { font-size: 1.9rem; }

    .smoothie-grid {
        grid-template-columns: 1fr;
    }
}
