/* =========================================================
   Flor de Lis — Floricultura & Presentes
   Design system
   ========================================================= */
:root {
  --cream: #fbf6f1;
  --cream-2: #f5ece4;
  --blush: #f7e1e6;
  --blush-2: #f2cfd8;
  --rose: #e8638f;          /* logo */
  --rose-deep: #c9416f;
  --wine: #4a1328;
  --wine-2: #2e0b19;
  --ink: #2a1a20;
  --muted: #7d6870;
  --leaf: #6cbf45;          /* logo */
  --leaf-deep: #2f5d24;
  --line: rgba(74, 19, 40, .12);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--rose); color: #fff; }

/* grain overlay for an analog, printed feel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 900;
  opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typography ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 350;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.035em;
  line-height: .92;
  margin: 0;
}
.display em, .italic {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 1;
  color: var(--rose);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--wine);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5;
}
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 44ch; }
.h2 { font-size: clamp(2.8rem, 7vw, 6.6rem); }
.h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.02em; line-height: 1.05; margin: 0; font-variation-settings: "SOFT" 100, "opsz" 72; }

/* split text lines */
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--wine); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; gap: .75rem;
  height: 58px; padding: 0 1.6rem 0 1.8rem; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--rose); border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .btn-ic {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.14); transition: transform .6s var(--ease);
}
.btn:hover .btn-ic { transform: rotate(-45deg); }
.btn svg { width: 16px; height: 16px; }
.btn--ghost { --bg: transparent; --fg: var(--wine); box-shadow: inset 0 0 0 1.5px var(--wine); }
.btn--ghost:hover { --fg: #fff; color: #fff; }
.btn--ghost .btn-ic { background: rgba(74,19,40,.08); }
.btn--leaf { --bg: #1f9d55; }
.btn--leaf::before { background: var(--leaf-deep); }
.btn--light { --bg: var(--cream); --fg: var(--wine); }
.btn--light::before { background: var(--blush-2); }
.btn--sm { height: 46px; padding: 0 1.2rem 0 1.4rem; font-size: .88rem; }
.btn--sm .btn-ic { width: 28px; height: 28px; }
.btn--block { width: 100%; justify-content: center; }

.link-u { position: relative; }
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--cream); pointer-events: none;
}
.loader__inner { display: grid; justify-items: center; gap: 1.2rem; }
.loader__mark { width: clamp(140px, 18vw, 220px); overflow: visible; }
.loader__mark .p { transform-box: fill-box; transform-origin: 50% 100%; }
.loader__mark .leaf { transform-box: fill-box; transform-origin: 0% 50%; }
.loader__word { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--rose-deep); font-weight: 400; overflow: hidden; line-height: 1.1; }
.loader__word span { display: inline-block; }
.loader__count { position: absolute; bottom: var(--pad); right: var(--pad); font-family: var(--f-display); font-size: clamp(3rem, 8vw, 7rem); color: var(--wine); line-height: 1; font-variant-numeric: tabular-nums; }
.loader__tag { position: absolute; bottom: calc(var(--pad) + .6rem); left: var(--pad); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.curtain { position: fixed; inset: 0; z-index: 999; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain span { background: var(--rose); transform: scaleY(0); transform-origin: bottom; }
.curtain span:nth-child(even) { background: var(--wine); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.1rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: transform .6s var(--ease), background .4s, padding .4s, box-shadow .4s;
}
.nav.is-scrolled { background: rgba(251, 246, 241, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); padding-top: .7rem; padding-bottom: .7rem; box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand svg { width: 52px; height: auto; flex: none; }
.brand__txt { display: grid; line-height: 1; }
.brand__name { font-family: var(--f-display); font-size: 1.5rem; color: var(--rose-deep); letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "opsz" 48; }
.brand__sub { font-size: .56rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin-top: .3rem; }
.nav__links { display: flex; gap: 2.2rem; font-size: .92rem; font-weight: 500; }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line); background: rgba(255,255,255,.5);
  transition: background .4s, transform .4s var(--ease);
}
.icon-btn:hover { background: var(--blush); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--rose); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .5s var(--ease);
}
.cart-count.has { transform: scale(1); }
.cart-count.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.5); } 100% { transform: scale(1); } }
.menu-btn { display: none; }

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none; mix-blend-mode: normal; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--rose); }
.cursor__ring {
  position: absolute; width: 84px; height: 84px; margin: -42px; border-radius: 50%;
  background: var(--wine); color: var(--cream); display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transform: scale(0); transition: transform .45s var(--ease);
}
.cursor.is-active .cursor__ring { transform: scale(1); }
.cursor.is-active .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: 120px; overflow: hidden; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center; min-height: calc(100svh - 190px); }
.hero__title { font-size: clamp(3.4rem, 8.4vw, 9.4rem); margin: 1.4rem 0 1.8rem; }
.hero__title .line-mask:nth-child(2) { padding-left: clamp(1rem, 6vw, 6rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__meta { display: flex; gap: 2.4rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); max-width: 560px; }
.hero__meta div { display: grid; }
.hero__meta strong { font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--wine); line-height: 1; }
.hero__meta span { font-size: .8rem; color: var(--muted); margin-top: .35rem; }

.hero__art { position: relative; height: min(76vh, 760px); }
.arch {
  position: absolute; overflow: hidden; background: var(--blush);
  border-radius: 999px 999px 26px 26px;
  box-shadow: 0 40px 80px -30px rgba(74, 19, 40, .35);
}
.arch img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.hero__art .a1 { right: 6%; top: 0; width: 62%; height: 88%; }
.hero__art .a2 { left: 0; bottom: 3%; width: 38%; height: 46%; border-radius: 26px; }
.hero__art .a3 { right: 0; bottom: -2%; width: 30%; aspect-ratio: 1; height: auto; border-radius: 50%; border: 8px solid var(--cream); }
.badge-rot {
  position: absolute; left: 12%; top: 6%; width: 150px; height: 150px; z-index: 3;
  display: grid; place-items: center; border-radius: 50%; background: var(--leaf-deep); color: #fff;
}
.badge-rot svg.txt { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-rot svg.txt text { font: 600 10.5px/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; fill: #fff; }
.badge-rot .mark { width: 54px; }
@keyframes spin { to { transform: rotate(360deg); } }
.petals-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__blob {
  position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); opacity: .7;
}
.hero__blob.b1 { width: 50vw; height: 50vw; right: -12vw; top: -14vw; background: radial-gradient(circle, #f9c9d7, transparent 65%); }
.hero__blob.b2 { width: 40vw; height: 40vw; left: -14vw; bottom: -18vw; background: radial-gradient(circle, #e3f1d6, transparent 65%); }
.scroll-hint { position: absolute; left: 50%; bottom: 1.6rem; z-index: 3; display: grid; justify-items: center; gap: .5rem; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); transform: translateX(-50%); }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--wine), transparent); transform-origin: top; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee { position: relative; padding: 2.2rem 0; overflow: hidden; border-block: 1px solid var(--line); background: var(--cream); }
.marquee--dark { background: var(--wine); color: var(--cream); border: 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; font-family: var(--f-display); font-size: clamp(2.4rem, 5.4vw, 5rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; white-space: nowrap; font-variation-settings: "SOFT" 100, "opsz" 144; }
.marquee__item em { font-style: italic; color: var(--rose); }
.marquee__item .flower { width: .7em; height: .7em; flex: none; }
.marquee__item .pic { width: 1.6em; height: 1em; border-radius: 999px; overflow: hidden; flex: none; }
.marquee__item .pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(6rem, 14vw, 12rem) 0; }
.manifesto__text { font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: 1.08; letter-spacing: -.025em; margin: 2rem 0 0; max-width: 20ch; font-variation-settings: "SOFT" 100, "opsz" 144; }
.manifesto__text .w { opacity: .14; transition: none; }
.manifesto__text .inline-pic { display: inline-block; vertical-align: middle; width: 1.9em; height: .95em; border-radius: 999px; overflow: hidden; margin: 0 .1em; transform: translateY(-.06em); }
.manifesto__text .inline-pic img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
.manifesto__side { justify-self: end; max-width: 360px; display: grid; gap: 1.6rem; }
.manifesto__side p { margin: 0; color: var(--muted); }

/* ---------- occasions horizontal ---------- */
.occ { position: relative; background: var(--wine); color: var(--cream); overflow: hidden; }
.occ__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 70px 0 40px; }
.occ__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.6rem; }
.occ__head .eyebrow { color: var(--blush-2); }
.occ__head .display em { color: var(--blush-2); }
.occ__progress { width: 220px; height: 2px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; border-radius: 2px; }
.occ__progress i { position: absolute; inset: 0; background: var(--rose); transform-origin: left; transform: scaleX(0); }
.occ__track { display: flex; gap: 1.6rem; padding-left: var(--pad); width: max-content; will-change: transform; }
.occ-card {
  position: relative; height: min(56vh, 580px); aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; flex: none;
  background: var(--wine-2); display: block;
}
.occ-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.occ-card:hover img { transform: scale(1.02); }
.occ-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,11,25,0) 40%, rgba(46,11,25,.85)); }
.occ-card__num { position: absolute; top: 1.2rem; left: 1.4rem; z-index: 2; font-size: .8rem; letter-spacing: .2em; font-weight: 600; }
.occ-card__body { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.occ-card__body h3 { font-family: var(--f-display); font-weight: 350; font-size: clamp(2rem, 3vw, 2.8rem); line-height: .95; margin: 0; letter-spacing: -.03em; font-variation-settings: "SOFT" 100, "opsz" 144; }
.occ-card__body small { display: block; margin-top: .5rem; font-size: .82rem; opacity: .75; }
.occ-card__go { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--wine); display: grid; place-items: center; flex: none; transition: transform .6s var(--ease), background .4s; }
.occ-card:hover .occ-card__go { transform: rotate(-45deg); background: var(--rose); color: #fff; }
.occ-card__go svg { width: 18px; }
.occ-card--end { display: grid; place-items: center; text-align: center; background: var(--rose); padding: 2rem; }
.occ-card--end::after { display: none; }
.occ-card--end h3 { font-family: var(--f-display); font-weight: 350; font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: .95; margin: 0 0 1.6rem; letter-spacing: -.03em; }

/* ---------- product card ---------- */
.section { padding: clamp(5rem, 11vw, 10rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); flex-wrap: wrap; }
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem) clamp(1rem, 1.6vw, 1.6rem); }
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media {
  position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: var(--blush);
  cursor: pointer; isolation: isolate;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__tag { position: absolute; top: .8rem; left: .8rem; z-index: 2; padding: .35rem .7rem; border-radius: 999px; background: rgba(251,246,241,.92); backdrop-filter: blur(6px); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wine); }
.pcard__add {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 2; height: 46px; padding: 0 1.1rem; border-radius: 999px;
  background: var(--wine); color: var(--cream); display: flex; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 600;
  transform: translateY(calc(100% + 1rem)); transition: transform .6s var(--ease), background .3s;
}
.pcard__add svg { width: 16px; height: 16px; }
.pcard__add:hover { background: var(--rose); }
.pcard:hover .pcard__add, .pcard:focus-within .pcard__add { transform: translateY(0); }
.pcard__info { display: flex; justify-content: space-between; align-items: start; gap: 1rem; padding: 1rem .2rem 0; }
.pcard__name { font-family: var(--f-display); font-weight: 400; font-size: 1.18rem; line-height: 1.15; letter-spacing: -.01em; margin: 0; font-variation-settings: "SOFT" 100, "opsz" 36; }
.pcard__cat { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.pcard__price { font-weight: 700; color: var(--wine); white-space: nowrap; font-size: 1rem; }
.pcard__price small { display: block; font-weight: 500; font-size: .7rem; color: var(--muted); text-align: right; }
@media (hover: none) { .pcard__add { transform: none; height: 40px; padding: 0 .9rem; } }

/* ---------- steps ---------- */
.steps { position: relative; background: var(--blush); overflow: hidden; }
.steps__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.steps__line { position: absolute; left: 0; right: 0; top: 40px; width: 100%; height: 120px; z-index: 0; overflow: visible; }
.steps__line path { fill: none; stroke: var(--rose); stroke-width: 1.5; stroke-dasharray: 6 8; }
.step { position: relative; z-index: 1; }
.step__num { width: 80px; height: 80px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.8rem; color: var(--rose-deep); box-shadow: 0 20px 40px -20px rgba(74,19,40,.4); margin-bottom: 2rem; }
.step h3 { margin-bottom: .8rem; }
.step p { color: var(--muted); max-width: 32ch; margin: 0; }
.steps__photo { position: absolute; width: 180px; aspect-ratio: 3/4; border-radius: 999px 999px 18px 18px; overflow: hidden; right: var(--pad); top: 7rem; transform: rotate(6deg); box-shadow: 0 30px 60px -30px rgba(74,19,40,.5); }
.steps__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- about / stats ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.about__media { position: relative; aspect-ratio: 4/5; }
.about__media .reveal-img { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; clip-path: inset(100% 0 0 0 round 22px); }
.about__media .reveal-img img { width: 100%; height: 120%; object-fit: cover; }
.about__media .small { position: absolute; width: 46%; aspect-ratio: 1; right: -8%; bottom: -8%; border-radius: 50%; overflow: hidden; border: 10px solid var(--cream); z-index: 2; }
.about__media .small img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.stat strong { display: block; font-family: var(--f-display); font-weight: 350; font-size: clamp(2.6rem, 4.4vw, 4rem); color: var(--wine); line-height: 1; letter-spacing: -.03em; }
.stat > span { font-size: .84rem; color: var(--muted); }
.info-list { display: grid; gap: 1rem; margin: 2.4rem 0 0; padding: 0; list-style: none; }
.info-list li { display: flex; gap: 1rem; align-items: start; }
.info-list svg { width: 22px; height: 22px; flex: none; color: var(--rose); margin-top: 2px; }

/* ---------- gallery ---------- */
.gallery { position: relative; background: var(--cream-2); overflow: hidden; }
.gallery__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; height: 130vh; overflow: hidden; margin-top: 3rem; mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.gallery__col { display: grid; gap: 1.2rem; align-content: start; will-change: transform; }
.gallery__col a { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; position: relative; }
.gallery__col img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__col a:hover img { transform: scale(1.06); }

/* ---------- cta ---------- */
.cta { --mark-gap: var(--wine); position: relative; background: var(--wine); color: var(--cream); overflow: hidden; padding: clamp(7rem, 14vw, 12rem) 0; text-align: center; }
.cta .display { font-size: clamp(3.4rem, 10vw, 10rem); }
.cta .display em { color: var(--blush-2); }
.cta p { color: rgba(251,246,241,.7); margin: 1.6rem auto 2.6rem; max-width: 46ch; font-size: 1.1rem; }
.cta__btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cta__mark { position: absolute; width: min(70vw, 900px); left: 50%; bottom: -24%; transform: translateX(-50%); opacity: .08; pointer-events: none; }
.cta__mark .p, .cta__mark .leaf { fill: var(--cream); stroke: none; }

/* ---------- footer ---------- */
.footer { --mark-gap: var(--wine-2); background: var(--wine-2); color: rgba(251,246,241,.75); padding: 5rem 0 2rem; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4rem; }
.footer h4 { color: var(--cream); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 1.2rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a:hover { color: var(--blush-2); }
.footer .brand__name { color: var(--blush-2); }
.footer .brand__sub { color: rgba(251,246,241,.6); }
.footer__big { font-family: var(--f-display); font-size: clamp(4rem, 15vw, 15rem); line-height: .8; letter-spacing: -.05em; color: rgba(251,246,241,.07); margin: 4rem 0 2rem; white-space: nowrap; font-weight: 300; font-style: italic; }
.footer__bottom { padding-right: 80px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.6rem; font-size: .8rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .3s; }
.socials a:hover { background: var(--rose); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 180; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(37,211,102,.6);
  transition: transform .5s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: ping 2.4s infinite; z-index: -1; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- drawer (cart) ---------- */
.overlay { position: fixed; inset: 0; z-index: 300; background: rgba(46,11,25,.45); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 310; width: min(480px, 100%); background: var(--cream);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .7s var(--ease);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem 1.8rem; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; margin: 0; }
.drawer { overflow-y: auto; overscroll-behavior: contain; }
.drawer__body { flex: 1 0 auto; min-height: 120px; padding: 1.2rem 1.8rem; }
.drawer__foot { padding: 1.4rem 1.8rem 1.8rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; background: var(--cream-2); }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 76px; height: 92px; object-fit: cover; border-radius: 12px; }
.cart-item h4 { margin: 0 0 .3rem; font-family: var(--f-display); font-weight: 400; font-size: 1.02rem; line-height: 1.2; }
.cart-item .price { font-weight: 700; color: var(--wine); font-size: .9rem; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); margin-top: .5rem; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; font-size: 1rem; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .88rem; }
.cart-rm { font-size: .76rem; color: var(--muted); text-decoration: underline; }
.cart-empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.cart-empty svg { width: 90px; margin: 0 auto 1.2rem; opacity: .5; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; }
.cart-total strong { font-family: var(--f-display); font-size: 1.8rem; font-weight: 400; color: var(--wine); }
.field { display: grid; gap: .35rem; }
.field label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-radius: 12px; padding: .8rem 1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); outline: none; transition: box-shadow .3s;
}
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--rose); }
.field textarea { resize: vertical; min-height: 70px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.fields .full { grid-column: 1 / -1; }
.note { font-size: .76rem; color: var(--muted); text-align: center; margin: 0; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.6rem; z-index: 400; transform: translate(-50%, calc(100% + 3rem));
  display: flex; align-items: center; gap: .9rem; padding: .7rem 1.2rem .7rem .7rem; border-radius: 999px;
  width: max-content; max-width: calc(100vw - 2rem);
  background: var(--ink); color: var(--cream); font-size: .88rem; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  transition: transform .7s var(--ease), visibility .7s; visibility: hidden;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.toast button { color: var(--blush-2); font-weight: 700; text-decoration: underline; margin-left: .4rem; }

/* ---------- reveal helpers ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }

/* =========================================================
   CATALOG PAGE
   ========================================================= */
.cat-hero { padding: 150px 0 2.4rem; position: relative; overflow: hidden; }
.cat-hero__row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.cat-hero .display { font-size: clamp(4.8rem, 13vw, 13rem); }
.cat-hero .display sup { font-family: var(--f-body); font-size: .14em; font-weight: 600; letter-spacing: 0; color: var(--rose); vertical-align: top; position: relative; top: .5em; margin-left: .2em; font-style: normal; }
.cat-hero__aside { max-width: 360px; display: grid; gap: 1.2rem; padding-bottom: 1rem; }
.search { position: relative; }
.search input { width: 100%; height: 58px; border: 0; border-radius: 999px; padding: 0 1.4rem 0 3.2rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -30px rgba(74,19,40,.4); outline: none; font-size: .98rem; }
.search input:focus { box-shadow: inset 0 0 0 1.5px var(--rose), 0 20px 40px -30px rgba(74,19,40,.4); }
.search svg { position: absolute; left: 1.2rem; top: 50%; width: 18px; transform: translateY(-50%); color: var(--muted); }

.filters { position: sticky; top: 0; z-index: 150; background: rgba(251,246,241,.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-block: 1px solid var(--line); transition: top .6s var(--ease); }
body.nav-visible .filters { top: 76px; }
.filters__inner { display: flex; align-items: center; gap: 1rem; padding-block: .9rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; flex: 1; padding: .2rem .1rem; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  position: relative; flex: none; height: 42px; padding: 0 1rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .45rem;
  font-size: .86rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); background: #fff; transition: background .35s, color .35s, box-shadow .35s;
}
.chip small { font-size: .7rem; opacity: .55; font-weight: 600; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--rose); }
.chip.is-active { background: var(--wine); color: var(--cream); box-shadow: none; }
.chip.is-active small { opacity: .7; }
.sort { position: relative; flex: none; }
.sort select { appearance: none; -webkit-appearance: none; height: 42px; border: 0; border-radius: 999px; padding: 0 2.4rem 0 1.1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; font-weight: 600; cursor: pointer; outline: none; }
.sort svg { position: absolute; right: .9rem; top: 50%; width: 14px; transform: translateY(-50%); pointer-events: none; }
.price-chips { display: flex; gap: .5rem; flex-wrap: wrap; padding: 1.4rem 0 0; align-items: center; }
.price-chips > span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: .4rem; }
.price-chips .chip { height: 36px; font-size: .8rem; }

.cat-results { padding: 2rem 0 7rem; }
.cat-results__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; font-size: .88rem; color: var(--muted); }
.cat-results__bar strong { color: var(--ink); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 1.4rem; }
.cat-grid .pcard:nth-child(8n+2), .cat-grid .pcard:nth-child(8n+7) { }
.cat-empty { grid-column: 1 / -1; text-align: center; padding: 5rem 0; }
.cat-empty .display { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1rem; }
.load-more { display: flex; justify-content: center; margin-top: 4rem; }

/* category banner inside grid */
.cat-banner {
  grid-column: span 2; border-radius: 18px; overflow: hidden; position: relative; background: var(--wine); color: var(--cream);
  display: grid; align-content: end; padding: 2rem; min-height: 100%;
}
.cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cat-banner > * { position: relative; }
.cat-banner .display { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.cat-banner .display em { color: var(--blush-2); }
.cat-banner p { margin: 1rem 0 1.4rem; opacity: .85; max-width: 36ch; }

/* ---------- modal (quick view) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 320; display: grid; place-items: center; padding: 1.4rem; pointer-events: none;
}
.modal__box {
  position: relative; width: min(1080px, 100%); max-height: calc(100svh - 2.8rem); background: var(--cream); border-radius: 28px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .5s, transform .7s var(--ease);
  pointer-events: none;
}
.modal.is-open .modal__box { opacity: 1; transform: none; pointer-events: auto; }
.modal__media { position: relative; background: var(--blush); min-height: 420px; }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__content { padding: clamp(1.6rem, 3.4vw, 3rem); overflow-y: auto; display: flex; flex-direction: column; gap: 1.2rem; }
.modal__content .tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.modal__content .tags span { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background: var(--blush); color: var(--wine); }
.modal__title { font-family: var(--f-display); font-weight: 350; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.03em; margin: 0; font-variation-settings: "SOFT" 100, "opsz" 144; }
.modal__price { font-family: var(--f-display); font-size: 2rem; color: var(--rose-deep); }
.modal__price small { font-family: var(--f-body); font-size: .8rem; color: var(--muted); margin-left: .5rem; }
.modal__desc { color: var(--muted); margin: 0; white-space: pre-line; font-size: .96rem; }
.modal__perks { display: grid; gap: .6rem; padding: 1.2rem 0; border-block: 1px solid var(--line); font-size: .86rem; }
.modal__perks div { display: flex; gap: .7rem; align-items: center; }
.modal__perks svg { width: 18px; height: 18px; color: var(--leaf-deep); flex: none; }
.modal__actions { display: grid; grid-template-columns: auto 1fr; gap: .7rem; margin-top: auto; }
.modal__actions .qty { margin: 0; height: 58px; padding: 0 .4rem; }
.modal__actions .qty button { width: 40px; height: 40px; }
.modal__close { position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); transition: transform .5s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 18px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .grid-products, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .nav__links { gap: 1.4rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .menu-btn { display: grid; }
  .hero { padding-top: 100px; }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; min-height: auto; }
  .hero__art { height: 62vh; min-height: 420px; }
  .hero__title .line-mask:nth-child(2) { padding-left: 0; }
  .badge-rot { width: 116px; height: 116px; left: 2%; }
  .badge-rot .mark { width: 40px; }
  .manifesto__row, .about__grid { grid-template-columns: 1fr; }
  .manifesto__side { justify-self: start; }
  .steps__grid { grid-template-columns: 1fr; gap: 3rem; }
  .steps__line, .steps__photo { display: none; }
  .gallery__cols { grid-template-columns: repeat(2, 1fr); height: 110vh; }
  .gallery__col:nth-child(n+3) { display: none; }
  .modal__box { display: block; overflow-y: auto; }
  .modal__media { min-height: 0; height: 46svh; }
  .modal__content { overflow: visible; }
  .scroll-hint { display: none; }
  .about__media { margin-right: 8%; }
}
@media (max-width: 640px) {
  .grid-products, .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem .8rem; }
  .pcard__name { font-size: 1rem; }
  .pcard__info { flex-direction: column; gap: .3rem; }
  .pcard__price small { text-align: left; }
  .brand__sub { display: none; }
  .brand svg { width: 42px; }
  .brand__name { font-size: 1.3rem; }
  .hero__meta { gap: 1.4rem; }
  .hero__meta strong { font-size: 1.6rem; }
  .btn { height: 54px; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: space-between; }
  .nav-wa { display: none; }
  .brand__txt { white-space: nowrap; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cat-banner { grid-column: 1 / -1; min-height: 340px; }
  .filters__inner { flex-wrap: wrap; }
  .sort { width: 100%; }
  .sort select { width: 100%; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .field:nth-child(n+3) { grid-column: 1 / -1; }
  .price-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .price-chips .chip, .price-chips > span { flex: none; }
  .drawer__head, .drawer__body, .drawer__foot { padding-inline: 1.2rem; }
  .occ__head { flex-direction: column; align-items: start; }
  .occ-card { height: auto; width: 78vw; }
  .icon-btn { width: 44px; height: 44px; }
}

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 250; background: var(--wine); color: var(--cream); display: flex; flex-direction: column; justify-content: center; padding: var(--pad); clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease); }
.mmenu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mmenu a.big { font-family: var(--f-display); font-size: clamp(2.8rem, 12vw, 4.4rem); line-height: 1.05; font-weight: 350; letter-spacing: -.03em; display: block; }
.mmenu a.big em { color: var(--blush-2); }
.mmenu__foot { margin-top: 3rem; display: grid; gap: .4rem; opacity: .75; font-size: .92rem; }
.mmenu__close { position: absolute; top: 1.2rem; right: var(--pad); width: 50px; height: 50px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); display: grid; place-items: center; }
.mmenu__close svg { width: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
