/* ==========================================================================
   Public B2B storefront sections — Pastry theme edition
   ========================================================================== */

/* ---------- Scroll-driven video hero ---------- */
.hero-scroll { position: relative; height: 340vh; background: #2E1D1B; color: #fff; }
.hero-scroll.no-motion { height: auto; }
.hero-scroll.no-motion .hero-sticky { position: relative; height: auto; min-height: 100vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #2E1D1B url(../assets/hero-poster.jpg) center/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(83,54,51,.86) 0%, rgba(83,54,51,.58) 45%, rgba(83,54,51,.18) 100%), linear-gradient(180deg, rgba(83,54,51,.5) 0%, rgba(83,54,51,0) 28%, rgba(83,54,51,0) 70%, rgba(83,54,51,.6) 100%); }
.hero-content { position: absolute; inset: 0; z-index: 2; }
.hero-stage { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% + var(--sy, 0px))); opacity: 0; pointer-events: none; will-change: opacity, transform; padding-top: var(--header-h); }
.hero-stage.is-active { pointer-events: auto; }
.hero-stage .eyebrow { display: block; font-family: var(--font-body); font-style: italic; font-size: 20px; letter-spacing: 0.02em; color: #F2D9D3; margin-bottom: 14px; }
.hero-stage h1, .hero-stage .stage-title { color: #fff; font-family: var(--font-display); font-weight: 400; max-width: 16ch; font-size: clamp(44px, 6.2vw, 96px); line-height: 1.02; margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-stage h1 em { font-style: italic; color: #F2CFC8; }
.hero-stage .stage-title { font-weight: 500; font-size: clamp(34px, 4.4vw, 64px); max-width: 20ch; }
.hero-stage .lead { color: rgba(255,255,255,.88); font-size: 19px; max-width: 600px; margin-bottom: 26px; }
.hero-stage .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn-glass { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-glass:hover { background: #fff; color: var(--cocoa); border-color: #fff; }
.glass-kpis .badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: none; }
.glass-kpis .badge svg { color: #F2CFC8; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 16px; }
.stat .v { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.1; }
.stat .v small { font-size: 13px; font-family: var(--font-ui); font-weight: 500; margin-left: 2px; }
.stat .l { font-family: var(--font-ui); font-size: 12px; margin-top: 4px; }
.hero-stats { margin-top: 22px; max-width: 780px; }
@media (min-width: 720px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats .stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-stats .stat .v { color: #fff; font-size: 40px; font-weight: 500; }
.hero-stats .stat .v small { color: rgba(255,255,255,.65); }
.hero-stats .stat .l { color: rgba(255,255,255,.72); }
.route-strip { display: flex; flex-direction: column; gap: 8px; }
.route-strip .r { display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: 13px; }
.route-strip .r .city { font-weight: 500; min-width: 96px; }
.route-strip .r .bar { flex: 1; height: 5px; background: var(--line); overflow: hidden; }
.route-strip .r .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--caramel)); }
.route-strip .r .t { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 64px; text-align: right; }
.hero-routes-wrap { max-width: 560px; margin-top: 20px; padding: 20px 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-routes-wrap .panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: var(--font-ui); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 12px; }
.hero-routes-wrap .route-strip .r .city { color: #fff; }
.hero-routes-wrap .route-strip .r .bar { background: rgba(255,255,255,.18); }
.hero-routes-wrap .route-strip .r .t { color: rgba(255,255,255,.75); }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.14); z-index: 3; }
.hero-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #F2CFC8); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-body); font-style: italic; font-size: 14px; letter-spacing: .02em; color: rgba(255,255,255,.8); transition: opacity .3s; white-space: nowrap; }
.scroll-hint i { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.6); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.hero-scroll.scrolled .scroll-hint { opacity: 0; }
@media (max-width: 720px) {
  .hero-scroll { height: 300vh; }
  .hero-stage { top: 0; transform: translateY(var(--sy, 0px)); padding-top: calc(var(--header-h) + 14px); padding-bottom: 90px; }
  .hero-stage h1 { font-size: clamp(34px, 9.5vw, 44px); max-width: none; }
  .hero-stage .stage-title { font-size: clamp(28px, 7.4vw, 36px); max-width: none; }
  .hero-stage .lead { font-size: 16px; margin-bottom: 18px; }
  .hero-stage .cta .btn-lg { padding: 12px 20px; font-size: 14px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-stats .stat { padding: 10px; }
  .hero-stats .stat .v { font-size: 26px; }
  .hero-routes-wrap { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .scroll-hint i::after { animation: none; } }

/* ---------- Trust bar (blush gradient strip) ---------- */
.trust-bar { background: linear-gradient(180deg, #F3DCD8 0%, #FBF3F1 100%); border: 0; }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; justify-content: center; padding: 22px var(--gutter); font-size: 16px; color: var(--cocoa); }
.trust-bar .item { display: inline-flex; align-items: center; gap: 9px; }
.trust-bar svg { width: 18px; height: 18px; color: var(--accent-dark); }

/* ---------- Section backgrounds (theme alternates white / blush) ---------- */
#lines { background: var(--bg); }
#private-label { background: linear-gradient(180deg, #FFFFFF 0%, #FBF3F1 45%, #F3DCD8 100%); }
#contact { background: var(--blush-grad); }

/* ---------- Product lines ---------- */
.line-card { position: relative; padding: 40px 36px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; transition: box-shadow .2s, transform .2s; }
.line-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.line-card .line-icon { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px; }
.line-card.tahini .line-icon { background: var(--caramel-soft); color: var(--gold-dark); }
.line-card.sweets .line-icon { background: var(--accent-soft); color: var(--red-dark); }
.line-card .line-icon svg { width: 38px; height: 38px; stroke-width: 1.5; }
.line-card h3 { font-size: 32px; font-weight: 500; color: var(--ink); }
.line-card .former { font-family: var(--font-body); font-style: italic; font-size: 15px; color: var(--rose); }
.line-card p { font-size: 16.5px; }
.line-card ul { margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-family: var(--font-ui); font-size: 14px; display: grid; gap: 6px; }
.line-card ul li::before { content: "·"; color: var(--accent-dark); font-weight: 700; margin-right: 8px; }
.line-card .segments { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.line-card .foot { margin-top: auto; padding-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---------- Catalog ---------- */
.catalog-toolbar { display: grid; gap: 14px; margin-bottom: 24px; }
@media (min-width: 900px) { .catalog-toolbar { grid-template-columns: 1fr auto; align-items: center; } }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-group .label { margin-right: 6px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.chip:hover { border-color: var(--cocoa); color: var(--cocoa); }
.chip.active { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.chip.active.green { background: var(--caramel); border-color: var(--caramel); }
.chip.active.red { background: var(--accent-dark); border-color: var(--accent-dark); }
.catalog-search { position: relative; }
.catalog-search .input { padding-left: 38px; min-width: 260px; }
.catalog-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.catalog-meta { font-family: var(--font-ui); font-size: 13px; color: var(--muted); margin-bottom: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

.product-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .sku { font-family: var(--font-ui); font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px; }
.product-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.product-card .specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; font-family: var(--font-ui); font-size: 12.5px; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 10px; }
.product-card .specs div { display: flex; flex-direction: column; }
.product-card .specs b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.product-card .specs span { color: var(--muted); font-size: 11.5px; }
.product-card .pc-foot { margin-top: auto; display: flex; gap: 8px; }
.product-card .pc-foot .btn { flex: 1; }

/* Product detail modal */
.pd { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pd { grid-template-columns: 260px 1fr; } }
.pd .pd-visual { background: var(--blush-grad); border: 1px solid var(--line); display: grid; place-items: center; min-height: 240px; padding: 20px; position: relative; overflow: hidden; }
.pd .pd-visual::before { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.55); }
.pd .pd-visual svg { position: relative; height: 170px; width: auto; filter: drop-shadow(0 10px 16px rgba(83,54,51,.18)); }
.pd h3 { font-size: 30px; margin-bottom: 6px; }
.pd .desc { color: var(--body); font-size: 16px; }
.pd .spec-cols { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 760px) { .pd .spec-cols { grid-template-columns: 1fr 1fr; } }
.pd h4 { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; }
.pallet-visual { display: flex; align-items: flex-end; gap: 2px; height: 56px; margin: 8px 0 4px; }
.pallet-visual .layer { display: flex; gap: 2px; }
.pallet-visual i { width: 10px; height: 8px; background: var(--caramel); opacity: .9; }
.nutri { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.nutri div { background: var(--surface-2); padding: 8px 6px; text-align: center; font-family: var(--font-ui); }
.nutri b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.nutri span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Private label ---------- */
.pl-wrap { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .pl-wrap { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.pl-steps { display: grid; gap: 14px; }
.pl-step { display: flex; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); }
.pl-step .n { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--cocoa); display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.pl-step h4 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.pl-step p { margin: 0; font-size: 15.5px; color: var(--body); }
.pl-options { background: var(--cocoa); color: #E9D8D3; padding: 36px 32px; }
.pl-options h3 { color: #fff; font-size: 30px; margin-bottom: 18px; }
.pl-options .opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pl-options .opt { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 14px; font-size: 14px; }
.pl-options .opt b { display: block; color: #fff; font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 2px; }
.pl-options .moq { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; display: grid; gap: 8px; }
.pl-options .moq div { display: flex; justify-content: space-between; gap: 10px; }
.pl-options .moq span:last-child { color: #fff; font-family: var(--font-ui); font-size: 13.5px; font-weight: 500; }

/* ---------- Logistics ---------- */
.logi-wrap { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .logi-wrap { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.map-card { padding: 12px; overflow: hidden; }
.map-card svg { width: 100%; height: auto; }
.map-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 12px 6px; font-family: var(--font-ui); font-size: 12.5px; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.route-table td:first-child { font-weight: 500; color: var(--ink); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
@media (min-width: 560px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
.cert { background: #fff; border: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.cert .ci { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--cocoa); margin-bottom: 4px; }
.cert .ci svg { width: 26px; height: 26px; stroke-width: 1.5; }
.cert b { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); }
.cert span { font-size: 14px; color: var(--body); }
.mixed-pallet { margin-top: 20px; padding: 20px 22px; background: var(--accent-soft); border-left: 3px solid var(--accent-dark); display: flex; gap: 16px; align-items: flex-start; }
.mixed-pallet svg { width: 30px; height: 30px; color: var(--cocoa); flex: none; stroke-width: 1.5; }
.mixed-pallet b { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.mixed-pallet p { margin: 0; font-size: 15.5px; color: var(--body); }
#logistics h3 { font-size: 28px; }

/* ---------- Contact / RFQ ---------- */
.contact-wrap { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .contact-wrap { grid-template-columns: 1.2fr 0.8fr; align-items: start; } }
#contact-form .card-body { padding: 32px; }
.rfq-list { display: flex; flex-direction: column; gap: 8px; }
.rfq-item { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); background: #fff; font-family: var(--font-ui); font-size: 13.5px; }
.rfq-item .name { flex: 1; min-width: 0; }
.rfq-item .name b { display: block; font-weight: 500; color: var(--ink); font-size: 13.5px; }
.rfq-item .name span { font-size: 12px; color: var(--muted); }
.rfq-item input { width: 84px; text-align: right; }
.rfq-item .unit { font-size: 12px; color: var(--muted); }
.rfq-item .del { background: transparent; border: 0; color: var(--muted); padding: 4px; }
.rfq-item .del:hover { color: var(--red-dark); background: var(--accent-soft); }
.rfq-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.rfq-summary div { background: var(--surface-2); padding: 12px; text-align: center; }
.rfq-summary b { display: block; font-size: 24px; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.rfq-summary span { font-family: var(--font-ui); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info { display: grid; gap: 12px; margin-top: 18px; font-size: 16px; color: var(--body); }
.contact-info div { display: flex; gap: 12px; align-items: flex-start; }
.contact-info svg { width: 18px; height: 18px; color: var(--accent-dark); flex: none; margin-top: 3px; }
#contact h4 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); }

.rfq-bar { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 80px); z-index: 85; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; background: var(--cocoa); color: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); font-family: var(--font-ui); font-size: 13.5px; font-weight: 500; transition: transform .25s; max-width: calc(100% - 120px); }
.rfq-bar.show { transform: translate(-50%, 0); }
.rfq-bar .count { background: var(--accent); color: var(--cocoa); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.rfq-bar .btn { border-radius: 999px; }
@media (max-width: 560px) { .rfq-bar { left: 16px; transform: translate(0, 80px); max-width: calc(100% - 100px); } .rfq-bar.show { transform: none; } }
/* Long B2B headline: keep it within the first screen */
.hero-stage h1 { font-size: clamp(36px, 4.3vw, 64px); line-height: 1.06; max-width: 18ch; }
.hero-stage h1 { font-size: clamp(34px, 4vw, 58px); margin-bottom: 16px; }
.hero-stage .lead { font-size: 18px; margin-bottom: 18px; }
.hero-stage .eyebrow { margin-bottom: 10px; }
.pl-options .opt-grid > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .pl-options { padding: 28px 22px; } .pl-options .opt-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Theme elements (NicDark Pastry): logo, floral line-art, about collage,
   image mosaic, services blobs, photo-backed contact block, news cards
   ========================================================================== */

/* ---------- Logo (never shrink inside the flex header) ---------- */
.brand { flex: none; }
.brand .logo { height: 54px; width: auto; max-width: none; }
.site-footer .logo-foot { height: 64px; padding: 10px 14px; }

/* ---------- Shared bits ---------- */
.t-label { font-family: var(--font-body); font-style: italic; font-size: 18px; color: var(--body); display: block; margin-bottom: 8px; }
.floral { position: absolute; width: 220px; height: 220px; background: url(../assets/floral.svg) no-repeat center/contain; opacity: .6; pointer-events: none; z-index: 0; }
.floral.tr { top: 20px; right: 20px; } .floral.tl { top: 20px; left: 20px; transform: scaleX(-1); }
.floral.bl { bottom: 20px; left: 20px; transform: scaleX(-1) rotate(12deg); } .floral.br { bottom: 20px; right: 20px; transform: rotate(-8deg); }
.floral.sm { width: 140px; height: 140px; }
.section > .container { position: relative; z-index: 1; }

/* ---------- Hero: the translucent cocoa block from the theme carries the text ---------- */
.hero-box { background: rgba(83, 54, 51, .56); padding: 40px 46px; max-width: 800px; }
.hero-shade { background: linear-gradient(180deg, rgba(83,54,51,.42) 0%, rgba(83,54,51,0) 30%, rgba(83,54,51,0) 72%, rgba(83,54,51,.5) 100%); }
@media (max-width: 720px) { .hero-box { padding: 22px 18px; } }

/* ---------- About ---------- */
#about { position: relative; overflow: hidden; background: #fff; }
.about-wrap { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) { .about-wrap { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.about-text h2 { text-align: left; font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 18px; }
.about-text h2::after { display: none; }
.about-text p { font-size: 17px; }
.bars { display: grid; gap: 16px; margin: 28px 0 32px; max-width: 520px; }
.bar-row .k { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-body); font-size: 16px; color: var(--rose); margin-bottom: 7px; }
.bar-row .k b { font-family: var(--font-ui); font-weight: 500; font-size: 13px; color: var(--ink-2); }
.bar-row .track { height: 7px; background: var(--accent-soft); }
.bar-row .track i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.3s cubic-bezier(.2, .7, .2, 1); }
.bar-row.in .track i { width: var(--w); }
.collage { position: relative; aspect-ratio: 1 / .92; }
.collage .ph { position: absolute; background: #fff center/cover no-repeat; box-shadow: 0 18px 44px rgba(83,54,51,.18); border: 7px solid #fff; }
.collage .ph.main { left: 14%; top: 10%; width: 62%; height: 60%; z-index: 1; }
.collage .ph.a { left: 0; bottom: 8%; width: 34%; height: 34%; z-index: 2; }
.collage .ph.b { right: 0; top: 0; width: 30%; height: 30%; }
.collage .ph.c { right: 3%; bottom: 12%; width: 26%; height: 26%; z-index: 2; }
.collage .blob { position: absolute; left: 34%; bottom: 0; width: 44%; height: 36%; background: var(--accent-soft); }
.collage .since { position: absolute; left: 4%; top: 4%; width: 96px; height: 96px; border-radius: 50%; background: var(--cocoa); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-body); font-style: italic; font-size: 14px; line-height: 1.1; z-index: 3; box-shadow: var(--shadow); }
.collage .since b { display: block; font-family: var(--font-display); font-style: normal; font-size: 30px; font-weight: 600; }

/* ---------- Mosaic ---------- */
#lines { padding: 0; }
.mosaic { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(3, 1fr); } .mosaic > * { min-height: 400px; } }
.tile-text { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; background: #fff; }
.tile-text > * { position: relative; z-index: 1; }
.tile-text .former { font-family: var(--font-body); font-style: italic; font-size: 15px; color: var(--rose); }
.tile-text h3 { font-size: 34px; color: var(--rose); margin: 4px 0 10px; }
.tile-text p { font-size: 16px; }
.tile-text ul { list-style: none; padding: 0; margin: 4px 0 18px; font-family: var(--font-ui); font-size: 13.5px; color: var(--ink-2); display: grid; gap: 5px; }
.tile-text ul li::before { content: "·"; color: var(--accent-dark); margin-right: 8px; font-weight: 700; }
.tile-text .segments { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tile-photo { background: center/cover no-repeat; min-height: 320px; }
.tile-panel { display: grid; place-items: center; padding: 40px; min-height: 320px; }
.tile-panel.blush { background: #E6C9C3; }
.tile-panel.cocoa { background: var(--cocoa); }
.tile-panel .frame { width: min(70%, 300px); aspect-ratio: 1; background: #fff; padding: 16px; box-shadow: 0 16px 34px rgba(83,54,51,.28); display: grid; place-items: center; }
.tile-panel .frame svg { height: 170px; width: auto; filter: drop-shadow(0 8px 10px rgba(83,54,51,.2)); }
.tile-panel .frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services ---------- */
#services { position: relative; overflow: hidden; background: #fff; }
.services-grid { display: grid; gap: 44px 28px; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.svc .blob { position: relative; width: 100px; height: 100px; margin: 0 auto 14px; }
.svc .blob::before { content: ""; position: absolute; inset: 16px 4px 4px 18px; background: var(--accent); opacity: .6; border-radius: 48% 52% 55% 45% / 50% 45% 55% 50%; transform: rotate(-8deg); transition: transform .3s; }
.svc:hover .blob::before { transform: rotate(4deg) scale(1.05); }
.svc .blob svg { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; color: var(--cocoa); stroke-width: 1.25; }
.svc h3 { font-size: 24px; color: var(--rose); font-weight: 500; margin-bottom: 6px; }
.svc p { font-size: 15.5px; margin: 0 auto; max-width: 300px; }

/* ---------- Contact: photo-backed block + white form card ---------- */
#contact { position: relative; background: #3A2624 url(../assets/bg-contact.jpg) center/cover no-repeat; color: #fff; padding: 0; overflow: hidden; }
#contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #FBF3F1 0, rgba(251,243,241,0) 140px), linear-gradient(90deg, rgba(83,54,51,.78), rgba(83,54,51,.42) 60%, rgba(83,54,51,.25)); }
#contact > .container { position: relative; padding-top: 150px; padding-bottom: 110px; }
.contact-hero { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .contact-hero { grid-template-columns: 1fr 470px; gap: 60px; } }
.contact-side .t-label { color: #F2D9D3; }
.contact-side h2 { color: #fff; text-align: left; font-size: clamp(34px, 3.8vw, 54px); margin-bottom: 14px; }
.contact-side h2::after { display: none; }
.contact-side > p { color: rgba(255,255,255,.88); max-width: 580px; font-size: 17px; }
.price-block { display: grid; grid-template-columns: 1fr; margin-top: 30px; max-width: 640px; box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .price-block { grid-template-columns: 210px 1fr; } }
.price-block .photo { background: center/cover no-repeat; min-height: 230px; }
.price-block .list { background: rgba(83,54,51,.9); padding: 24px 26px; }
.price-block .list-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.price-block .list-head h3 { color: #fff; font-size: 22px; font-weight: 500; }
.price-block .btn-ghost { color: #F2D9D3; }
.price-block .btn-ghost:hover { background: rgba(255,255,255,.1); }
.price-block .phone-bar { grid-column: 1 / -1; background: var(--accent); color: #fff; display: flex; justify-content: flex-end; align-items: baseline; gap: 14px; padding: 14px 26px; font-family: var(--font-display); font-size: 30px; font-weight: 500; }
.price-block .phone-bar small { font-family: var(--font-body); font-style: italic; font-size: 15px; }
.price-block .phone-bar a { color: #fff; text-decoration: none !important; }
.price-block .rfq-list { gap: 4px; }
.price-block .rfq-item { background: transparent; border: 0; border-bottom: 1px dotted rgba(255,255,255,.35); padding: 8px 0; color: #fff; }
.price-block .rfq-item .name b { color: #fff; font-family: var(--font-body); font-size: 16px; font-weight: 500; }
.price-block .rfq-item .name span { color: rgba(255,255,255,.7); }
.price-block .rfq-item input { width: 74px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.price-block .rfq-item .unit { color: rgba(255,255,255,.7); }
.price-block .rfq-item .del { color: rgba(255,255,255,.6); }
.price-block .rfq-item .del:hover { color: #fff; background: rgba(255,255,255,.12); }
.price-block .rfq-summary { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.price-block .rfq-summary div { background: rgba(255,255,255,.08); padding: 8px; }
.price-block .rfq-summary b { color: #fff; font-size: 20px; }
.price-block .rfq-summary span { color: rgba(255,255,255,.7); }
.price-ref .price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--font-body); font-size: 16px; color: #fff; padding: 6px 0; }
.price-ref .price-row .dots { flex: 1; border-bottom: 1px dotted rgba(255,255,255,.45); margin: 0 6px 5px; }
.price-ref .price-row .v { color: #F2CFC8; font-family: var(--font-ui); font-size: 13.5px; white-space: nowrap; }
.price-ref .hint { font-size: 13px; color: rgba(255,255,255,.65); font-style: italic; margin-top: 8px; }
.contact-card { background: #fff; color: var(--body); padding: 40px 34px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-card > * { position: relative; z-index: 1; }
.contact-card h3 { text-align: center; color: var(--rose); font-size: 28px; font-weight: 500; margin-bottom: 8px; }
.contact-card > p { text-align: center; font-size: 15px; margin-bottom: 22px; }
.contact-card .form-grid { gap: 14px 20px; }
.contact-card .cf-status { font-family: var(--font-ui); font-size: 12.5px; margin-top: 10px; min-height: 18px; }
.contact-card .btn-block { margin-top: 10px; }

/* ---------- News ---------- */
#news { background: #fff; }
.news-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card .img { height: 230px; background: center/cover no-repeat; }
.news-card .body { padding: 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .date { font-family: var(--font-body); font-style: italic; font-size: 14px; color: var(--rose); }
.news-card h3 { font-size: 23px; color: var(--ink); font-weight: 600; line-height: 1.2; }
.news-card p { font-size: 15.5px; margin: 0; }
.news-card .more { margin-top: auto; padding-top: 8px; font-family: var(--font-ui); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }

/* ---------- Footer extras ---------- */
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; text-decoration: none !important; font-family: var(--font-ui); font-size: 12px; font-weight: 500; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--cocoa); }

/* ---------- Overflow fixes: grids must be allowed to shrink to their 1fr tracks ---------- */
.product-grid > *, .services-grid > *, .news-grid > *, .mosaic > *, .cert-grid > *, .catalog-toolbar > * { min-width: 0; }
.product-card .pc-foot { flex-direction: column; gap: 8px; }
.product-card .pc-foot .btn { width: 100%; white-space: normal; }
.catalog-search .input { min-width: 0; width: 100%; }
@media (min-width: 900px) { .catalog-search .input { width: 300px; } }

/* Header: wide container so logo + brand text + nav + actions fit on large screens */
.site-header .container { max-width: 1560px; }
.site-header .bar { min-width: 0; }
.site-header .nav { min-width: 0; }
.site-header .header-actions { flex: none; }

/* Services: blob centered under the icon */
.svc .blob::before { inset: 6px; border-radius: 50% 48% 52% 50% / 48% 52% 48% 52%; transform: rotate(-6deg); }
.svc .blob svg { inset: 0; margin: auto; }

/* ==========================================================================
   v2 — Pacifico accents + Comfortaa text, title-only hero, template sections
   ========================================================================== */
:root { --font-accent: "Pacifico", "Comfortaa", cursive; }
body { font-size: 16px; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 2.9vw, 38px); }
h3 { font-size: 22px; }
.section-head .eyebrow, .t-label, .hero-accent, .about-text .t-label, .tile-text .t-label, .news-card .date, .contact-side .t-label, .collage .since span { font-family: var(--font-accent); font-style: normal; font-size: 22px; color: var(--rose); letter-spacing: 0; }
.section-head .eyebrow { font-size: 24px; }
.brand .brand-text { display: none !important; }
.brand .logo { height: 58px; }
.site-footer .logo-foot { height: 68px; }
.nav a { font-family: var(--font-body); font-size: 14.5px; font-weight: 500; }
.btn { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.02em; }
.btn-lg { font-size: 14px; }
.badge, .table, .spec-table, .status-pill, .chip, .lang-switch button, .input, .select, .textarea, .field label, .label { font-family: var(--font-body); }
.card-head h3, .modal-head h3, .product-card h3, .pd h3, .news-card h3, .svc h3, .tile-text h3, .pl-step h4, .cert b, .price-block .list-head h3, .contact-card h3, .pl-options h3, .pl-options .opt b, .lead-card .lc-head b, .journal-head h3, .chat-head .title { font-family: var(--font-display); }
.pd h4 { font-family: var(--font-body); }

/* ---------- Hero: titles only, animated in sync with the video ---------- */
.hero-scroll { height: 300vh; }
.hero-shade { background: linear-gradient(180deg, rgba(83,54,51,.45) 0%, rgba(83,54,51,.18) 40%, rgba(83,54,51,.22) 70%, rgba(83,54,51,.55) 100%); }
.hero-stage { text-align: center; transform: translateY(calc(-50% + var(--sy, 0px))) scale(var(--ss, 1)); }
.hero-box { background: transparent; padding: 0; max-width: none; margin: 0 auto; }
.hero-accent { display: block; font-size: clamp(26px, 3.2vw, 44px); color: #F6DCD4; margin-bottom: 10px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-stage h1, .hero-stage .stage-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.6vw, 66px); line-height: 1.12; max-width: 18ch; margin: 0 auto; color: #fff; text-shadow: 0 3px 28px rgba(0,0,0,.4); }
.hero-stage .stage-title { font-size: clamp(30px, 4.6vw, 66px); max-width: 18ch; }
.hero-progress i { background: linear-gradient(90deg, var(--accent), #F6DCD4); }
.scroll-hint { font-family: var(--font-accent); font-style: normal; font-size: 16px; }
@media (max-width: 720px) {
  .hero-scroll { height: 240vh; }
  .hero-stage { top: 50%; transform: translateY(calc(-50% + var(--sy, 0px))) scale(var(--ss, 1)); padding: 0 8px 40px; }
  .hero-stage h1, .hero-stage .stage-title { font-size: clamp(26px, 8vw, 36px); max-width: none; }
  .hero-accent { font-size: 26px; }
}

/* ---------- About: milestones in the template's bar style ---------- */
.milestones { display: grid; gap: 12px; margin: 26px 0 30px; max-width: 560px; }
.ms { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid var(--accent-soft); }
.ms b { font-family: var(--font-accent); font-weight: 400; font-size: 22px; color: var(--rose); line-height: 1; }
.ms span { font-size: 14.5px; color: var(--body); }
.about-text h2 { font-size: clamp(30px, 3.4vw, 44px); }
.about-text p { font-size: 15.5px; }

/* ---------- Mosaic tiles ---------- */
.tile-text .t-label { margin-bottom: 2px; }
.tile-text h3 { font-size: 30px; }
.tile-text p { font-size: 15px; }
.tile-text ul { font-size: 13.5px; }
.tile-panel .frame { width: min(68%, 280px); aspect-ratio: 1; }
.tile-panel .frame svg { height: 100%; width: auto; }
.tile-panel .frame .packshot { height: 100%; }

/* ---------- Services with sketched pastries ---------- */
.svc .blob { width: 112px; height: 112px; }
.svc .blob::before { inset: 18px 6px 6px 22px; background: var(--accent); opacity: .7; border-radius: 48% 52% 55% 45% / 50% 45% 55% 50%; transform: rotate(-10deg); }
.svc .blob svg.sketch { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; }
.svc h3 { font-size: 20px; }
.svc p { font-size: 14.5px; }

/* ---------- Catalog packshots ---------- */
.pack-visual { height: 230px; }
.pack-visual .packshot { position: relative; height: 200px; width: auto; filter: drop-shadow(0 10px 14px rgba(83,54,51,.18)); }
.pd .pd-visual .packshot { height: 250px; width: auto; }
.product-card h3 { font-size: 17px; }

/* ---------- Recipes (template: Latest News) ---------- */
.news-card .date { font-size: 19px; }
.news-card h3 { font-size: 20px; }
.news-card .ing { font-family: var(--font-body); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.news-card p { font-size: 14.5px; }
.news-card .more { font-weight: 700; }

/* ---------- Contact ---------- */
.contact-side h2 { font-size: clamp(30px, 3.4vw, 46px); }
.price-block .phone-bar { font-family: var(--font-display); font-size: 24px; }
.price-block .phone-bar small { font-family: var(--font-accent); font-size: 18px; }
.contact-card h3 { font-size: 24px; }
.contact-info div { font-size: 14.5px; }

/* ---------- Chat / misc ---------- */
.chat-head .avatar { font-family: var(--font-accent); font-size: 18px; }
.collage .since { font-size: 13px; }
.collage .since b { font-family: var(--font-display); font-size: 28px; }
.collage .since span { font-size: 16px; color: #F6DCD4; }

/* Services: blob centred behind the sketched icon (as requested) */
.svc .blob::before { inset: 8px; transform: rotate(-8deg); }

/* ---------- Real product photos ---------- */
.pack-visual { background: #fff; }
.pack-visual::before { display: none; }
.pack-visual img.pphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd .pd-visual { padding: 0; background: #fff; }
.pd .pd-visual::before { display: none; }
.pd .pd-visual img.pphoto { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.tile-panel .frame { padding: 10px; }
.tile-panel .frame img.pphoto { width: 100%; height: 100%; object-fit: cover; }
.picker-item .pi { overflow: hidden; }
.picker-item .pi img { width: 100%; height: 100%; object-fit: cover; }
.offer-doc td img { width: 34px; height: 34px; object-fit: cover; }
#contact { background-image: url(../assets/photos/bg-meringue.jpg); }
