:root {
    --zoe-green: #163d2b;
    --zoe-green-2: #245c41;
    --zoe-gold: #c9a45d;
    --zoe-cream: #f7f2e9;
    --zoe-soft: #eef5ef;
    --zoe-terracotta: #b9704a;
    --zoe-text: #24332b;
    --zoe-muted: #6a756e;
    --zoe-white: #ffffff;
    --shadow-soft: 0 24px 70px rgba(22, 61, 43, 0.12);
}

* { box-sizing: border-box; }

body {
    color: var(--zoe-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
    padding-top: 76px;
}

a { color: var(--zoe-green-2); text-decoration: none; }
a:hover { color: var(--zoe-green); }

.navbar-zoe {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(22, 61, 43, .08);
}

.navbar-brand { color: var(--zoe-green) !important; letter-spacing: -0.02em; }
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--zoe-green);
    color: white;
    margin-right: .35rem;
}

.nav-link { color: rgba(36, 51, 43, .78); font-weight: 600; }
.nav-link.active, .nav-link:hover { color: var(--zoe-green) !important; }

.btn-zoe {
    background: var(--zoe-green);
    color: white;
    border: 1px solid var(--zoe-green);
    border-radius: 999px;
    padding-inline: 1.25rem;
    font-weight: 700;
}
.btn-zoe:hover { background: var(--zoe-green-2); border-color: var(--zoe-green-2); color: white; }

.btn-outline-zoe {
    border: 1px solid rgba(22, 61, 43, .35);
    color: var(--zoe-green);
    border-radius: 999px;
    padding-inline: 1.25rem;
    font-weight: 700;
}
.btn-outline-zoe:hover { background: var(--zoe-green); border-color: var(--zoe-green); color: white; }

.btn-light-zoe {
    background: var(--zoe-soft);
    color: var(--zoe-green);
    border-radius: 999px;
    font-weight: 700;
}

.hero-section, .page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(201, 164, 93, .20), transparent 28%),
        linear-gradient(135deg, var(--zoe-cream), #fff 55%, var(--zoe-soft));
}

.min-vh-80 { min-height: 78vh; }
.section-padding { padding: 92px 0; }
.compact-hero { padding: 92px 0 74px; }
.product-detail-hero { padding: 92px 0; }

.eyebrow {
    color: var(--zoe-terracotta);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .75rem;
}
.eyebrow-light { color: var(--zoe-gold); }

.hero-visual-card {
    position: relative;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(22,61,43,.1);
    border-radius: 34px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.floating-card {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    background: rgba(255,255,255,.9);
    border-radius: 20px;
    padding: 1rem 1.2rem;
    box-shadow: 0 18px 45px rgba(0,0,0,.08);
    display: grid;
    gap: .2rem;
}
.floating-card span { color: var(--zoe-muted); font-size: .9rem; }

.section-heading { max-width: 720px; }
.bg-soft { background: var(--zoe-soft); }
.bg-dark-zoe { background: linear-gradient(135deg, var(--zoe-green), #0f291d); }

.goal-card, .context-card, .wellbeing-card, .contact-panel, .info-panel, .sticky-cta-card, .responsible-box, .empty-state {
    background: white;
    border: 1px solid rgba(22,61,43,.08);
    border-radius: 26px;
    padding: 1.5rem;
    box-shadow: 0 16px 50px rgba(22,61,43,.07);
}
.goal-card {
    display: block;
    height: 100%;
    color: var(--zoe-text);
    transition: transform .2s ease, box-shadow .2s ease;
}
.goal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); color: var(--zoe-text); }
.goal-card p, .context-card p, .wellbeing-card p { color: var(--zoe-muted); margin-bottom: 0; }
.goal-icon {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--zoe-green), var(--zoe-gold));
    margin-bottom: 1rem;
}
.context-card h3 { font-size: 1.05rem; font-weight: 800; }

.product-card {
    border: 1px solid rgba(22,61,43,.09);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(22,61,43,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.product-image-wrap {
    display: block;
    background: linear-gradient(135deg, var(--zoe-cream), var(--zoe-soft));
    padding: 1.5rem;
}
.product-card img { height: 230px; object-fit: contain; }
.product-category {
    color: var(--zoe-terracotta);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.category-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
    border: 1px solid rgba(22,61,43,.16);
    color: var(--zoe-green);
    border-radius: 999px;
    padding: .6rem 1rem;
    font-weight: 700;
    background: white;
}
.pill.active, .pill:hover { background: var(--zoe-green); color: white; }

.detail-product-image {
    max-width: min(420px, 100%);
    background: white;
    border-radius: 34px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}
.sticky-cta-card { position: sticky; top: 100px; }

.site-footer { background: #f8f8f5; border-top: 1px solid rgba(22,61,43,.08); }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: var(--zoe-muted); }
.footer-links a:hover { color: var(--zoe-green); }

.lead-modal-content { border-radius: 28px; border: 0; box-shadow: var(--shadow-soft); }
.form-control, .form-select { border-radius: 14px; padding: .8rem 1rem; border-color: rgba(22,61,43,.16); }
.form-control:focus, .form-select:focus { border-color: var(--zoe-green-2); box-shadow: 0 0 0 .2rem rgba(36,92,65,.12); }

.map-wrap, .map-placeholder { border-radius: 24px; overflow: hidden; min-height: 360px; }
.map-placeholder {
    background: linear-gradient(135deg, var(--zoe-cream), var(--zoe-soft));
    display: grid;
    place-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--zoe-muted);
}
.map-placeholder strong { color: var(--zoe-green); font-size: 1.2rem; }
.map-placeholder span { display: block; margin-top: .4rem; }

.not-found-section { min-height: 55vh; display: grid; place-items: center; }

@media (max-width: 991.98px) {
    body { padding-top: 68px; }
    .section-padding { padding: 68px 0; }
    .min-vh-80 { min-height: auto; padding: 70px 0; }
    .floating-card { position: static; margin-top: 1rem; }
}

.brand-logo {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}
.footer-logo {
    width: 46px;
    height: auto;
    object-fit: contain;
}
.product-presentation {
    color: var(--zoe-green);
    font-size: .9rem;
}
.contact-list p { margin-bottom: .5rem; }
.admin-section { background: #fbfbf8; }
.admin-card, .admin-stat {
    background: white;
    border: 1px solid rgba(22,61,43,.09);
    border-radius: 26px;
    padding: 1.5rem;
    box-shadow: 0 16px 50px rgba(22,61,43,.07);
}
.admin-logo {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}
.admin-stat span {
    display: block;
    color: var(--zoe-muted);
    font-weight: 700;
    margin-bottom: .4rem;
}
.admin-stat strong {
    color: var(--zoe-green);
    font-size: 1.8rem;
}
.admin-product-thumb {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: var(--zoe-soft);
    border-radius: 14px;
    padding: .35rem;
}
.admin-edit-image {
    max-width: 220px;
    max-height: 260px;
    object-fit: contain;
    background: var(--zoe-soft);
    border-radius: 22px;
    padding: 1rem;
}
.admin-lead-mini {
    border-bottom: 1px solid rgba(22,61,43,.08);
    padding: .75rem 0;
}
.admin-lead-mini:last-child { border-bottom: 0; }
.admin-lead-mini span {
    display: block;
    color: var(--zoe-muted);
    font-size: .9rem;
}
.admin-table td, .admin-table th { vertical-align: middle; }
@media (max-width: 575.98px) {
    .navbar-brand span { font-size: .95rem; }
    .brand-logo { max-width: 34px; }
}

/* =========================================================
   AJUSTE FINAL PMV - HOME PREMIUM + PRODUCT CARDS FLOTANTES
   Bloque final recomendado para ZoeLife Cusco.
   ========================================================= */

.hero-home-premium {
    background:
        radial-gradient(circle at 78% 18%, rgba(201, 164, 93, .14), transparent 26%),
        radial-gradient(circle at 8% 80%, rgba(36, 92, 65, .07), transparent 30%),
        linear-gradient(135deg, #fbf7ef 0%, #ffffff 48%, #eef5ef 100%);
}

.hero-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.hero-contact-strip span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(22, 61, 43, .10);
    background: rgba(255, 255, 255, .82);
    color: var(--zoe-green);
    border-radius: 999px;
    padding: .45rem .75rem;
    font-size: .86rem;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(22, 61, 43, .05);
}

.hero-product-showcase {
    position: relative;
    min-height: 520px;
    border-radius: 36px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(247, 242, 233, .82)),
        radial-gradient(circle at 80% 20%, rgba(201, 164, 93, .16), transparent 28%);
    border: 1px solid rgba(22, 61, 43, .10);
    box-shadow: var(--shadow-soft);
    padding: 1.7rem;
}

.showcase-glow {
    position: absolute;
    inset: auto -90px -130px auto;
    width: 330px;
    height: 330px;
    border-radius: 999px;
    background: rgba(201, 164, 93, .16);
    filter: blur(12px);
    pointer-events: none;
}

.showcase-logo-card {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 22px;
    padding: .72rem 1rem;
    box-shadow: 0 18px 42px rgba(22, 61, 43, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    margin-bottom: 1rem;
}

.showcase-logo {
    width: 54px;
    height: auto;
    object-fit: contain;
}

.showcase-logo-card span {
    color: var(--zoe-green);
    font-weight: 800;
    font-size: .94rem;
}

.showcase-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(190px, .88fr);
    gap: 1rem;
    min-height: 350px;
}

.showcase-stack {
    display: grid;
    gap: 1rem;
    min-height: 0;
}

.showcase-item {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(250, 247, 239, .88));
    border: 1px solid rgba(22, 61, 43, .08);
    border-radius: 30px;
    box-shadow: 0 22px 52px rgba(22, 61, 43, .10);
}

.showcase-item::before {
    content: "";
    position: absolute;
    width: 82%;
    height: 42%;
    border-radius: 32px;
    background: rgba(36, 92, 65, .055);
    transform: rotate(-8deg);
    left: -16%;
    bottom: 8%;
    pointer-events: none;
}

.showcase-item::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 38%;
    border-radius: 32px;
    background: rgba(201, 164, 93, .10);
    transform: rotate(10deg);
    right: -14%;
    top: 10%;
    pointer-events: none;
}

.showcase-item img {
    position: relative;
    z-index: 2;
    max-width: 88%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 24px 22px rgba(22, 61, 43, .14));
}

.showcase-item-main {
    min-height: 350px;
    padding: 2rem 1.5rem 4.6rem;
}

.showcase-item-main img {
    max-height: 310px;
}

.showcase-item-small {
    min-height: 167px;
    padding: 1.2rem 1rem 3.7rem;
}

.showcase-item-small img {
    max-height: 128px;
}

.showcase-product-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 4;
    display: grid;
    gap: .1rem;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 18px;
    padding: .7rem .85rem;
    box-shadow: 0 14px 30px rgba(22, 61, 43, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.showcase-product-caption strong {
    color: var(--zoe-green);
    font-size: .94rem;
    line-height: 1.15;
}

.showcase-product-caption span {
    color: var(--zoe-muted);
    font-size: .8rem;
    font-weight: 700;
}

.showcase-info-card {
    position: relative;
    z-index: 4;
    width: fit-content;
    max-width: 100%;
    margin-top: 1rem;
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 22px;
    padding: 1rem 1.2rem;
    box-shadow: 0 18px 45px rgba(22, 61, 43, .10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: grid;
    gap: .15rem;
}

.showcase-info-card strong {
    color: var(--zoe-green);
}

.showcase-info-card span {
    color: var(--zoe-muted);
    font-size: .92rem;
}

/* Tarjetas de productos: imagen arriba + caja flotante legible */
.product-card {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(22, 61, 43, .10);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(22, 61, 43, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(22, 61, 43, .16);
}

.product-card__media,
.product-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    padding: 34px 28px 58px;
    background:
        linear-gradient(145deg, #fbfaf6 0%, #ffffff 48%, #eef5ef 100%);
    overflow: hidden;
}

/* Formas sutiles no circulares: acompañan al producto sin competir con él */
.product-card__media::before,
.product-image-wrap::before {
    content: "";
    position: absolute;
    width: 78%;
    height: 46%;
    border-radius: 34px;
    background: rgba(201, 164, 93, .085);
    top: 12%;
    right: -18%;
    transform: rotate(-8deg);
    pointer-events: none;
}

.product-card__media::after,
.product-image-wrap::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 42%;
    border-radius: 34px;
    background: rgba(36, 92, 65, .065);
    bottom: 10%;
    left: -18%;
    transform: rotate(10deg);
    pointer-events: none;
}

.product-card__media img,
.product-image-wrap img,
.product-card img.card-img-top {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 285px;
    object-fit: contain;
    filter: drop-shadow(0 18px 20px rgba(22, 61, 43, .12));
    transition: transform .22s ease;
}

.product-card:hover .product-card__media img,
.product-card:hover .product-image-wrap img {
    transform: translateY(-4px) scale(1.02);
}

.product-card__body,
.product-card > .card-body {
    position: relative;
    z-index: 3;
    width: calc(100% - 32px);
    margin: -52px auto 18px;
    padding: 22px 20px 20px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(22, 61, 43, .12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.product-card__title,
.product-card .card-body h3 {
    color: var(--zoe-text);
    font-size: 1.28rem;
    font-weight: 850;
    line-height: 1.18;
    margin: 0 0 .65rem;
    letter-spacing: -0.03em;
}

.product-card__excerpt,
.product-card .card-body p.text-muted {
    color: var(--zoe-muted) !important;
    font-size: .98rem;
    line-height: 1.55;
    margin-bottom: .95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.55rem;
}

.product-category {
    display: block;
    color: var(--zoe-terracotta);
    font-size: .76rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .09em;
    line-height: 1.2;
    margin-bottom: .55rem;
}

.product-presentation {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    color: #6f5213;
    background: rgba(247, 241, 220, .95);
    border: 1px solid rgba(201, 164, 93, .22);
    border-radius: 999px;
    padding: .42rem .75rem;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1rem;
}

.product-presentation strong {
    margin-right: .22rem;
}

.product-card__actions,
.product-card .card-body > .d-flex {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.product-card__actions .btn,
.product-card .card-body > .d-flex .btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .hero-product-showcase {
        min-height: auto;
    }

    .showcase-grid {
        min-height: 340px;
    }

    .product-card__media,
    .product-image-wrap {
        min-height: 335px;
        padding: 30px 24px 56px;
    }

    .product-card__media img,
    .product-image-wrap img,
    .product-card img.card-img-top {
        max-height: 270px;
    }
}

@media (max-width: 575.98px) {
    .hero-product-showcase {
        padding: 1.2rem;
        border-radius: 28px;
    }

    .showcase-logo-card {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .showcase-stack {
        grid-template-columns: 1fr 1fr;
    }

    .showcase-item-main {
        min-height: 300px;
        padding: 1.5rem 1rem 4.4rem;
    }

    .showcase-item-main img {
        max-height: 235px;
    }

    .showcase-item-small {
        min-height: 190px;
        padding: 1rem .7rem 3.8rem;
    }

    .showcase-item-small img {
        max-height: 120px;
    }

    .showcase-product-caption {
        left: .75rem;
        right: .75rem;
        bottom: .75rem;
        padding: .6rem .7rem;
    }

    .showcase-product-caption strong {
        font-size: .82rem;
    }

    .showcase-product-caption span {
        font-size: .72rem;
    }

    .showcase-info-card {
        width: 100%;
    }

    .product-card {
        border-radius: 24px;
    }

    .product-card__media,
    .product-image-wrap {
        min-height: 305px;
        padding: 26px 18px 50px;
    }

    .product-card__media::before,
    .product-image-wrap::before {
        width: 76%;
        height: 42%;
        top: 12%;
        right: -22%;
    }

    .product-card__media::after,
    .product-image-wrap::after {
        width: 72%;
        height: 38%;
        bottom: 11%;
        left: -24%;
    }

    .product-card__media img,
    .product-image-wrap img,
    .product-card img.card-img-top {
        max-width: 92%;
        max-height: 245px;
    }

    .product-card__body,
    .product-card > .card-body {
        width: calc(100% - 22px);
        margin: -44px auto 14px;
        padding: 18px 16px 17px;
        border-radius: 20px;
    }

    .product-card__title,
    .product-card .card-body h3 {
        font-size: 1.12rem;
    }

    .product-card__excerpt,
    .product-card .card-body p.text-muted {
        font-size: .94rem;
        min-height: auto;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .product-presentation {
        font-size: .8rem;
        border-radius: 18px;
    }

    .product-card__actions .btn,
    .product-card .card-body > .d-flex .btn {
        flex: 1 1 auto;
    }
}
