/* Sarò Grato · Catálogo público v2
 * Capa visual y de conversión. No modifica datos ni lógica del catálogo.
 */

:root {
    --sgv-green: #07362f;
    --sgv-green-deep: #042721;
    --sgv-ink: #161310;
    --sgv-gold: #c9a227;
    --sgv-gold-soft: #eadca9;
    --sgv-cream: #f7f1e6;
    --sgv-paper: #fffdf9;
    --sgv-muted: #6e6a62;
    --sgv-line: #e3d8c8;
    --sgv-wa: #25d366;
}

body {
    background: var(--sgv-cream);
}

.top {
    position: relative;
    z-index: 20;
    background: var(--sgv-ink);
    border-bottom: 1px solid rgba(201, 162, 39, .25);
}

.nav {
    height: 88px;
    gap: 22px;
}

.brand img {
    height: 74px;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.public-nav a {
    color: #f8f3e8;
    text-decoration: none;
    font-size: 13px;
}

.public-nav a:hover {
    color: var(--sgv-gold-soft);
}

.public-nav .nav-whatsapp {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--sgv-wa);
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 78px;
    color: var(--sgv-cream);
    background:
        radial-gradient(circle at 84% 14%, rgba(201, 162, 39, .22), transparent 24%),
        radial-gradient(circle at 8% 100%, rgba(201, 162, 39, .12), transparent 25%),
        linear-gradient(135deg, var(--sgv-green-deep) 0%, var(--sgv-green) 54%, #0c4139 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .26;
    pointer-events: none;
    background-image:
        linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, .06) 49%, transparent 50%),
        linear-gradient(25deg, transparent 0 48%, rgba(201, 162, 39, .08) 49%, transparent 50%);
    background-size: 34px 34px, 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
    align-items: center;
    gap: 42px;
}

.hero-copy {
    max-width: 660px;
}

.hero small {
    color: var(--sgv-gold-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .19em;
}

.hero h1 {
    max-width: 730px;
    margin: 17px 0 19px;
    color: #fffaf0;
    font: clamp(42px, 5vw, 68px)/.99 Georgia, 'Times New Roman', serif;
    letter-spacing: -.045em;
}

.hero h1 span {
    display: block;
    color: var(--sgv-gold-soft);
}

.hero p {
    max-width: 590px;
    margin: 0;
    color: #ecede6 !important;
    font-size: 17px;
    line-height: 1.7;
}

.hero-actions,
.sg-final-actions,
.sg-alliance-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    margin-top: 28px;
}

.sg-primary-btn,
.sg-wa-btn,
.sg-outline-btn,
.sg-select-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 11px 16px;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 12px;
    line-height: 1.1;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.sg-primary-btn:hover,
.sg-wa-btn:hover,
.sg-outline-btn:hover,
.sg-select-product:hover {
    transform: translateY(-2px);
}

.sg-primary-btn {
    border: 1px solid var(--sgv-gold);
    background: var(--sgv-gold);
    color: var(--sgv-ink) !important;
    font-weight: 700;
}

.sg-wa-btn {
    border: 1px solid var(--sgv-wa);
    background: var(--sgv-wa);
    color: #fff !important;
    font-weight: 700;
}

.sg-outline-btn {
    border: 1px solid var(--sgv-green);
    background: transparent;
    color: var(--sgv-green) !important;
}

.hero .sg-outline-btn {
    border-color: var(--sgv-gold-soft);
    color: #fffaf0 !important;
}

.hero-note {
    margin-top: 21px !important;
    color: #cbd8d1 !important;
    font-size: 11px !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-scale-note {
    display: grid;
    gap: 7px;
    max-width: 600px;
    margin-top: 25px;
    padding: 14px 16px;
    border-left: 2px solid var(--sgv-gold);
    background: rgba(4, 39, 33, .32);
}

.hero-scale-note strong {
    color: var(--sgv-gold-soft);
    font: 19px/1.15 Georgia, 'Times New Roman', serif;
}

.hero-scale-note span {
    color: #dce5dd;
    font-size: 12px;
    line-height: 1.55;
}

.hero-gallery {
    position: relative;
    min-height: 390px;
}

.hero-photo {
    position: absolute;
    margin: 0;
    overflow: hidden;
    padding: 10px;
    background: #f9f3e8;
    border: 1px solid rgba(201, 162, 39, .7);
    box-shadow: 0 24px 45px rgba(0, 0, 0, .25);
}

.hero-photo::before {
    content: '';
    position: absolute;
    z-index: 2;
    inset: 8px;
    border: 1px solid rgba(7, 54, 47, .26);
    pointer-events: none;
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.hero-photo-main {
    z-index: 1;
    top: 20px;
    right: 8%;
    width: 58%;
    height: 292px;
    transform: rotate(3deg);
}

.hero-photo-wine {
    z-index: 3;
    bottom: 18px;
    left: 4%;
    width: 37%;
    height: 171px;
    transform: rotate(-7deg);
}

.hero-photo-gourmet {
    z-index: 4;
    top: 0;
    left: 2%;
    width: 32%;
    height: 128px;
    transform: rotate(-8deg);
}

.hero-seal {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 0;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border: 1px solid var(--sgv-gold);
    border-radius: 50%;
    background: rgba(4, 39, 33, .9);
    color: var(--sgv-gold-soft);
    font: 12px/1.08 Georgia, serif;
    text-align: center;
    transform: rotate(9deg);
}

.sg-build-strip {
    padding: 32px 0;
    background: #f0e7d8;
    border-bottom: 1px solid var(--sgv-line);
}

.sg-build-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.sg-build-step {
    padding: 3px 24px 3px 0;
    border-right: 1px solid rgba(22, 19, 16, .14);
}

.sg-build-step + .sg-build-step {
    padding-left: 24px;
}

.sg-build-step:last-child {
    border-right: 0;
}

.sg-build-step small {
    color: #927719;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.sg-build-step strong {
    display: block;
    margin-top: 7px;
    color: var(--sgv-green);
    font: 21px/1.05 Georgia, serif;
}

.sg-build-step span {
    display: block;
    margin-top: 6px;
    color: var(--sgv-muted);
    font-size: 12px;
}

.section {
    position: relative;
}

.section h2 {
    color: var(--sgv-green) !important;
}

.section.ivory {
    background: #fbf5eb;
}

.pcard {
    overflow: hidden;
    border: 1px solid #dfd4c4;
    border-radius: 5px 22px 5px 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 32px rgba(43, 33, 20, .08);
}

.pcard.has-presentation:hover {
    border-color: rgba(201, 162, 39, .7);
    box-shadow: 0 22px 48px rgba(43, 33, 20, .15);
}

.pimage {
    position: relative;
    height: 280px;
    padding: 23px;
    background: linear-gradient(135deg, #f8f0e4, #eee5d6);
    border-bottom: 1px solid #decfb9;
}

.pimage::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 12px;
    border: 1px solid rgba(201, 162, 39, .5);
    pointer-events: none;
}

.pimage img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 9px 9px rgba(43, 33, 20, .13));
}

.pbody {
    padding: 20px;
}

.pbody h3 {
    color: var(--sgv-green) !important;
}

.pbody p,
.presentations p {
    color: #5e5a52;
}

.sg-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
}

.gallery-btn {
    min-height: 35px;
    padding: 8px 11px;
    border: 1px solid rgba(7, 54, 47, .34);
    border-radius: 4px;
    color: var(--sgv-green);
    font-size: 11px;
    font-weight: 700;
}

.gallery-btn::after {
    content: '';
}

.sg-select-product {
    min-height: 35px;
    padding: 8px 11px;
    border: 1px solid var(--sgv-gold);
    background: var(--sgv-gold);
    color: var(--sgv-ink);
    cursor: pointer;
    font-weight: 700;
}

.sg-select-product[aria-pressed='true'] {
    background: var(--sgv-green);
    border-color: var(--sgv-green);
    color: #fff;
}

.sg-alliance-section {
    background: #f4eadb;
}

.sg-section-kicker {
    display: block;
    margin-bottom: 9px;
    color: #927719;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.sg-alliance-card {
    display: grid;
    grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr);
    overflow: hidden;
    border: 1px solid #d9c9b2;
    border-radius: 4px 24px 4px 24px;
    background: #fffaf1;
    box-shadow: 0 18px 40px rgba(61, 45, 26, .10);
}

.sg-alliance-photo {
    min-height: 330px;
    padding: 14px;
    background: #9a3b23;
}

.sg-alliance-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 302px;
    object-fit: cover;
    border: 1px solid rgba(255, 250, 241, .65);
}

.sg-alliance-copy {
    align-self: center;
    padding: 37px 42px;
}

.sg-alliance-copy h3 {
    margin: 0 0 12px;
    color: var(--sgv-green);
    font: 43px/1 Georgia, serif;
}

.sg-alliance-copy p {
    max-width: 560px;
    margin: 0;
    color: #5e594f;
    font-size: 15px;
    line-height: 1.65;
}

.sg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.sg-tags span {
    padding: 6px 9px;
    border: 1px solid #d9c48e;
    color: #765f13;
    font-size: 10px;
}

.sg-alliance-note {
    display: block;
    margin-top: 14px;
    color: #827a6d;
    font-size: 11px;
}

.sg-final-cta {
    padding: 66px 0 74px;
    color: var(--sgv-cream);
    background:
        radial-gradient(circle at 86% 30%, rgba(201, 162, 39, .19), transparent 24%),
        linear-gradient(135deg, #042721, #07362f);
}

.sg-final-cta .wrap {
    text-align: center;
}

.sg-final-cta h2 {
    margin: 0 auto 15px;
    color: #fffaf0;
    font: clamp(34px, 4vw, 54px)/1.04 Georgia, serif;
}

.sg-final-cta p {
    max-width: 690px;
    margin: 0 auto;
    color: #e1e6df;
    font-size: 16px;
    line-height: 1.65;
}

.sg-final-actions {
    justify-content: center;
}

.sg-final-note {
    display: block;
    margin-top: 18px;
    color: #cbd8d1;
    font-size: 12px;
}

.sg-selection-panel {
    position: fixed;
    right: 22px;
    bottom: 86px;
    left: 22px;
    z-index: 850;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1120px;
    margin: auto;
    padding: 13px 17px;
    border: 1px solid rgba(201, 162, 39, .64);
    border-radius: 7px;
    background: rgba(22, 19, 16, .97);
    color: #fffaf0;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .23);
}

.sg-selection-panel[hidden] {
    display: none;
}

.sg-selection-info {
    min-width: 0;
}

.sg-selection-info strong {
    display: block;
    color: var(--sgv-gold-soft);
    font-size: 13px;
}

.sg-selection-names {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.sg-selection-chip {
    padding: 4px 7px;
    border: 1px solid rgba(234, 220, 169, .45);
    border-radius: 999px;
    background: transparent;
    color: #eee9dc;
    font-size: 10px;
    cursor: pointer;
}

.sg-selection-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
}

.sg-selection-clear {
    border: 0;
    background: transparent;
    color: #cfc5b5;
    font-size: 11px;
    cursor: pointer;
}

.sg-selection-quote {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 4px;
    background: var(--sgv-wa);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
}

@media (max-width: 1000px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-gallery {
        width: min(100%, 610px);
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .nav {
        height: 80px;
    }

    .brand img {
        height: 67px;
    }

    .public-nav {
        gap: 9px;
    }

    .public-nav a:not(.nav-whatsapp) {
        display: none;
    }

    .public-nav .nav-whatsapp {
        min-height: 35px;
        padding: 7px 9px;
        font-size: 11px;
    }

    .hero {
        padding: 50px 0 55px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-gallery {
        min-height: 315px;
    }

    .hero-photo-main {
        right: 6%;
        width: 61%;
        height: 245px;
    }

    .hero-photo-wine {
        bottom: 12px;
        left: 2%;
        width: 39%;
        height: 145px;
    }

    .hero-photo-gourmet {
        top: 0;
        left: 2%;
        width: 34%;
        height: 101px;
    }

    .hero-seal {
        right: 0;
        width: 75px;
        height: 75px;
        font-size: 10px;
    }

    .sg-build-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .sg-build-step,
    .sg-build-step + .sg-build-step {
        padding: 0 0 17px;
        border-right: 0;
        border-bottom: 1px solid rgba(22, 19, 16, .14);
    }

    .sg-build-step:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .sg-alliance-card {
        grid-template-columns: 1fr;
    }

    .sg-alliance-photo {
        min-height: 250px;
    }

    .sg-alliance-photo img {
        min-height: 220px;
    }

    .sg-alliance-copy {
        padding: 29px 24px;
    }

    .sg-alliance-copy h3 {
        font-size: 37px;
    }

    .sg-selection-panel {
        right: 12px;
        bottom: 78px;
        left: 12px;
        display: block;
        padding: 12px;
    }

    .sg-selection-actions {
        justify-content: space-between;
        margin-top: 10px;
    }
}
