/* Pastelería Low Carb · identidad pública de Romi Costo */
.pasteleria-page {
    --cream: #fff7f3;
    --surface: #fffaf7;
    --beige: #f3e2d7;
    --pink: #eec8d1;
    --cacao: #784e3b;
    --ink: #442517;
    --accent: #9b4a26;
    --line: #ecd8ce;
    --shadow: 0 5px 15px #754c3917;
    --heading: "Playfair Display", Georgia, serif;
    --text: Nunito, Arial, sans-serif;
    --button: linear-gradient(170deg, #a36c52, #66351f);
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 400 16px/1.55 var(--text);
}
.pasteleria-page *, .pasteleria-page *::before, .pasteleria-page *::after { box-sizing: border-box; }
.pasteleria-page .shared-chrome .site-footer {background:#f4e5df;border-top:1px solid #ead4c9;color:#633820}

.pasteleria-content .shell { width: min(1080px, calc(100% - 44px)); margin-inline: auto; }
.pasteleria-content > section { padding-block: clamp(23px, 3vw, 43px); }
.pasteleria-content h1, .pasteleria-content h2, .pasteleria-content h3 {
    margin: 0;
    font-family: var(--heading);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.pasteleria-content h1 { font-size: clamp(36px, 4vw, 52px); }
.pasteleria-content h2 { font-size: clamp(28px, 3.35vw, 43px); }
.pasteleria-content h3 { font-size: clamp(19px, 2.2vw, 25px); }
.pasteleria-content p { margin: 0; }
.pasteleria-content img { display: block; max-width: 100%; }
.pasteleria-content .tag {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.pasteleria-content .title { max-width: 730px; margin: 0 auto 19px; text-align: center; }
.pasteleria-content .title p { margin-top: 7px; }
.pasteleria-content .cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--button);
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: 800;
}
.pasteleria-content .cta:hover { background: #66351f; }
.pasteleria-page :is(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.pasteleria-content .hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse at 78% 22%, #f7d9df 0%, transparent 66%), linear-gradient(110deg, #fff6f0, #f6e5df);
}
.hero::after {
    position: absolute;
    z-index: -1;
    inset: auto -14% -80% -14%;
    height: 106%;
    border-radius: 48% 58% 0 0;
    background: var(--pink);
    opacity: .47;
    transform: rotate(-5deg);
    content: "";
}
.hero-inner, .schedule, .features {
    display: grid;
    grid-template-columns: 1fr .95fr;
    align-items: center;
    gap: clamp(18px, 4vw, 52px);
}
.hero h1 { margin-bottom: 12px; color: #6b3926; }
.hero blockquote {
    margin: 11px 0;
    padding-left: 12px;
    border-left: 2px solid var(--accent);
    color: var(--cacao);
    font: italic 500 17px/1.35 var(--heading);
}
.hero .tag { display: inline-flex; align-items: center; gap: 9px; }
.hero .tag::before, .hero .tag::after { width: 26px; height: 1px; background: currentColor; content: ""; }
.hero .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 17px; }
.hero .cta { margin: 0; }
.hero .stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.hero .stats span {
    padding: 0;
    border: 0;
    background: transparent;
    color: #754938;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.hero .stats b { font-size: 16px; font-weight: 900; color: #633520; }
.hero .stats span + span::before { content: "·"; margin-right: 10px; color: #a77d66; }
.bonus-cards small {
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 13px;
}
/* Fotografía incorporada al fondo, sin marco ni corte abrupto. */
.pasteleria-content .hero::after { content: none; }
.pasteleria-content .hero-inner {
    display: block;
    position: relative;
    isolation: isolate;
    min-height: clamp(395px, 33vw, 500px);
}
.pasteleria-content .hero-copy {
    position: relative;
    z-index: 1;
    max-width: 630px;
}
.pasteleria-content .hero-visual {
    position: absolute;
    z-index: -1;
    top: -43px;
    bottom: -43px;
    right: calc((100% - 100vw) / 2);
    width: min(66vw, 960px);
    height: calc(100% + 86px);
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    opacity: .65;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 27%, #000 62%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 27%, #000 62%);
}
.pasteleria-content .hero-visual img { object-position: center center; }
.hero-visual img, .schedule-photo img, .feature-photo img { width: 100%; height: 100%; object-fit: cover; }

.cards, .bonus-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card, .price, .reservation, .bonus-cards > div {
    padding: clamp(16px, 2.3vw, 24px);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.card p, .features p, .bonus p { margin-top: 7px; }
.card ul, .features ul { margin: 10px 0 0; padding: 0; list-style: none; }
.card li, .features li { display: flex; align-items: baseline; gap: 8px; }
.card li::before, .features li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.schedule { grid-template-columns: 1.45fr 1fr; align-items: stretch; }
.schedule .title { text-align: left; margin: 0 0 14px; }
.module-grid { display: grid; gap: 7px; }
.module {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff2e4;
}
.module:nth-child(3) { background: #fae7eb; }
.module .symbol {
    display: grid;
    width: 36px;
    height: 36px;
    grid-row: 1 / span 3;
    align-self: center;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--accent);
    font-weight: 900;
}
.module small { color: var(--accent); font-weight: 800; }
.module h3 { font-size: 19px; }
.module p { margin-top: 3px; font-size: 14px; }
.schedule-photo, .feature-photo { overflow: hidden; border-radius: 15px; box-shadow: var(--shadow); }
.schedule-photo { position: relative; min-height: 100%; }
.schedule-photo img { position: absolute; inset: 0; }
.feature-photo { width: 100%; aspect-ratio: 1 / 1; }
.features > :first-child { grid-column: 2; grid-row: 1; }
.features > .feature-photo { grid-column: 1; grid-row: 1; }
.features {
    padding: clamp(17px, 3vw, 32px);
    border-radius: 22px;
    background: radial-gradient(ellipse at 90% 90%, #f6d8df, transparent 62%), linear-gradient(110deg, #fbecdf, #fae6ea);
}
.bonus { text-align: center; }
.bonus-cards { margin-top: 16px; text-align: left; }
.bonus-cards > div:first-child { background: #fff2e4; }
.bonus-cards > div:nth-child(2) { background: #f0f3e8; }
.bonus-cards > div:nth-child(3) { background: #fae7eb; }
.bonus-cards small { display: inline-block; margin-top: 8px; color: var(--accent); font-weight: 800; }

.gallery-frame, .proof-shell { position: relative; margin-inline: 14px; }
.gallery-grid, .proof { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-grid::-webkit-scrollbar, .proof::-webkit-scrollbar { display: none; }
.gallery-grid .gallery-item, .proof img { min-width: 0; scroll-snap-align: start; }
.gallery-grid .gallery-item {
    flex: 0 0 calc((100% - 36px) / 4);
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: inherit;
}
.gallery-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.proof img {
    flex: 0 0 calc((100% - 24px) / 3);
    width: calc((100% - 24px) / 3);
    height: clamp(200px, 23vw, 320px);
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}
.slider-arrow {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--ink);
    font: 500 23px/1 var(--text);
    cursor: pointer;
}
.slider-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); }
.slider-arrow.prev { left: -14px; }
.slider-arrow.next { right: -14px; }
.gallery-pips { margin-top: 10px; color: var(--cacao); text-align: center; font-size: 8px; letter-spacing: .35em; }

#sumate {
    background: radial-gradient(ellipse at 75% 100%, #f6d8df, transparent 72%), #fbede5;
    text-align: center;
}
.price, .reservation { max-width: 590px; margin-inline: auto; }
.price > p { font-weight: 900; }
.price-row { margin-top: 8px; padding: 9px 11px; border-radius: 9px; background: #f8e9e0; }
.price-row.best { background: #f0f3e8; }
.discount { display: inline-block; margin-left: 5px; padding: 3px 8px; border-radius: 99px; background: #d5ddc4; font-size: 12px; font-weight: 900; }
.reservation { max-width: 375px; margin-top: 13px; }
.reservation .cta { margin-top: 10px; }

@media (max-width: 850px) {
    .hero-inner, .schedule, .features { gap: 18px; }
    .gallery-grid .gallery-item { flex-basis: calc((100% - 12px) / 2); }
    .proof img { flex-basis: calc((100% - 12px) / 2); width: calc((100% - 12px) / 2); }
}
@media (max-width: 650px) {
    .pasteleria-content .shell { width: calc(100% - 30px); }
    .hero-inner, .schedule, .features, .cards, .bonus-cards { grid-template-columns: 1fr; }
    .pasteleria-content .hero-inner { min-height: 0; }
    .pasteleria-content .hero-copy { max-width: none; text-align: center; }
    .pasteleria-content .hero .tag { justify-content: center; }
    .pasteleria-content .hero blockquote {
        margin-inline: auto;
        max-width: 38ch;
        padding: 0 0 0 0;
        border-left: 0;
    }
    .pasteleria-content .hero .hero-actions {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .pasteleria-content .hero .stats { justify-content: center; }
    .pasteleria-content .hero-visual {
        top: -23px;
        bottom: -23px;
        right: -15px;
        width: 95%;
        height: calc(100% + 46px);
        opacity: .2;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
    }
    .hero .hero-actions { gap: 9px 14px; }
    .hero .stats { gap: 7px; }
    .schedule-photo { min-height: 0; aspect-ratio: 4 / 3; }
    .features > :first-child { grid-column: 1; grid-row: 1; }
    .features > .feature-photo { grid-column: 1; grid-row: 2; }
    .gallery-grid .gallery-item { flex-basis: 82%; }
    .proof img { flex-basis: 100%; width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .pasteleria-content .cta { transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease; }
    .pasteleria-content .cta:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .hero .hero-copy > *, .motion-visible {
        animation: pasteleria-enter 850ms cubic-bezier(.16,1,.3,1) backwards;
    }
    .hero h1 { animation-delay: 130ms; }
    .hero .hero-copy > p:first-of-type { animation-delay: 260ms; }
    .hero .hero-copy > blockquote, .hero .hero-copy > p:last-of-type { animation-delay: 390ms; }
    .hero .cta, .hero .stats { animation-delay: 520ms; }
    @keyframes pasteleria-enter {
        from { opacity: 0; transform: translate3d(0, 27px, 0); }
        to { opacity: 1; transform: translate3d(0, 0, 0); }
    }
}
