/* Home page */

/* ---------- 1. Hero: product field ---------- */
.hero {
  position: relative;
  height: max(640px, calc(100svh - 110px));
  max-height: 1000px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #faf9f5 55%, var(--surface) 100%);
  isolation: isolate;
}
.hero::after { /* soft white field behind the headline (left side) so it always reads */
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; /* under the products, over the photo */
  background: radial-gradient(ellipse 46% 62% at 24% 52%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, 0) 100%);
}
/* Landscape photo (Alpine valley): the farthest layer. Clearly visible; the white field behind the
   headline (.hero::after) keeps the text readable. */
.hero-bg {
  position: absolute; inset: -40px; z-index: -1; pointer-events: none;
  background: url(../assets/hero/alps.webp) center 42% / cover no-repeat;
  background-image: image-set(url(../assets/hero/alps.avif) type("image/avif"), url(../assets/hero/alps.webp) type("image/webp"));
  opacity: .55; filter: blur(1px) saturate(1.2) brightness(1.04);
  transform: translate3d(0, var(--bg-y, 0px), 0) scale(1.06);
  will-change: transform;
}
/* Inner shadow: the hero reads as a recessed tray, a step lower than the header above
   and the sheet below. Painted above the products so they sit inside the tray too. */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 8; pointer-events: none;
  box-shadow:
    inset 0 34px 42px -22px rgba(36, 36, 16, .5),
    inset 0 -60px 60px -40px rgba(36, 36, 16, .42),
    inset 46px 0 56px -40px rgba(36, 36, 16, .26),
    inset -46px 0 56px -40px rgba(36, 36, 16, .26);
}

/* The section after the hero is a raised white sheet that overlaps the tray's lower edge
   and casts its shadow into it. On scroll it slides over the products. */
#potreba {
  position: relative; z-index: 3;
  margin-top: -44px; background: var(--bg);
  border-radius: 44px 44px 0 0;
  box-shadow: 0 -22px 46px -14px rgba(36, 36, 16, .34), 0 -2px 6px rgba(36, 36, 16, .08);
}
.hero-field { position: absolute; inset: 0; z-index: 1; }

.pf {
  position: absolute; display: block; transform: translate(-50%, -50%);
  z-index: 1;
}
.pf.l1 { z-index: 1; }
.pf.l2 { z-index: 3; }
.pf.l3 { z-index: 4; }
.pf-in { position: absolute; inset: 0; display: block; will-change: transform; }
.pf-float { position: absolute; inset: 0; display: block; animation: pf-float var(--fd, 8s) ease-in-out var(--fdel, 0s) infinite alternate; }
.pf img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: var(--product-shadow);
  transform-origin: 50% 55%;
  transition: transform .7s var(--ease), opacity .4s var(--ease), filter .4s var(--ease);
}
.pf.l1 img { filter: blur(1.4px) drop-shadow(0 10px 14px rgba(47, 47, 24, .10)); opacity: .55; }
.pf.l2 img { filter: blur(.3px) drop-shadow(0 14px 18px rgba(47, 47, 24, .13)) drop-shadow(0 2px 4px rgba(47, 47, 24, .08)); }
.pf-float { transition: opacity .45s var(--ease); }
@keyframes pf-float { from { transform: translateY(-5px); } to { transform: translateY(6px); } }

/* Hover zoom: the further back a product sits, the more it comes forward. */
.pf.is-hover { z-index: 7; }
.pf.l3.is-hover img { transform: scale(1.18); }
.pf.l2.is-hover img { transform: scale(1.34); filter: var(--product-shadow); }
.pf.l1.is-hover img { transform: scale(1.6); opacity: 1; filter: var(--product-shadow); }
.hero-field.has-hover .pf:not(.is-hover) .pf-float { opacity: .38; }
/* While a product is in focus, the headline steps back so the card reads cleanly. */
.hero-copy > * { transition: opacity .4s var(--ease); }
.hero.has-hover .hero-copy > * { opacity: .1; }
.hero.has-hover::after { opacity: .4; }
.hero::after { transition: opacity .4s var(--ease); }
.pf:focus-visible { outline: none; }

/* The card beside a hovered product */
.pf-tip {
  position: absolute; left: 0; top: 0; z-index: 9; width: 264px;
  display: grid; gap: 6px; padding: 18px 20px 16px;
  background: rgba(255, 255, 255, .96); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(47, 47, 24, .16), 0 2px 8px rgba(47, 47, 24, .06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.pf-tip.show { opacity: 1; visibility: visible; transition: opacity .35s var(--ease) .08s, visibility 0s; }
.pf-tip-cat { font-size: 12px; font-weight: 500; color: var(--gold-text); }
.pf-tip-name { font-size: 17px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.pf-tip-use { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.pf-tip-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.pf-tip-foot b { font-size: 16px; font-weight: 600; color: var(--ink); }
.pf-tip-foot span { display: inline-flex; align-items: center; gap: 6px; }
.pf-tip-foot svg { width: 14px; height: 14px; }

/* Text sits on the left, aligned with the logo and the page grid. */
.hero-copy {
  position: absolute; top: 50%; z-index: 6;
  left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  width: min(600px, 44%);
  transform: translate(0, -50%); transform-origin: 0 50%; text-align: left; will-change: transform, opacity;
}
.hero-title {
  font-size: clamp(42px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500;
  margin: 0; text-wrap: balance;
}
.hero-sub { margin: 22px 0 0; max-width: 34ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); text-wrap: pretty; }
.hero-ctas { display: flex; align-items: center; justify-content: flex-start; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
[data-icon] { display: inline-flex; }
[data-icon] svg { width: 16px; height: 16px; }

@media (max-width: 760px) {
  .hero { height: max(660px, calc(100svh - 100px)); }
  .hero::after { background: radial-gradient(ellipse 80% 34% at 40% 50%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .5) 60%, rgba(255, 255, 255, 0)); }
  .hero-copy { width: calc(100% - 2 * var(--gutter)); }
  .hero-title { font-size: clamp(38px, 11vw, 48px); max-width: 10ch; }
  .hero-title .br-d { display: none; }
  .hero-sub { max-width: 28ch; }
  .hero-sub { margin-top: 14px; font-size: 16px; }
  .hero-ctas { margin-top: 22px; gap: 18px; flex-direction: column; align-items: flex-start; }
  .pf-tip { display: none; }
  #potreba { margin-top: -28px; border-radius: 28px 28px 0 0; }
}

/* ---------- 2. Shop by need ---------- */
.need { transition: opacity .22s var(--ease); }
.need.is-fading { opacity: 0; }

/* Bento of category boxes: hair is tall, the other six are square-ish. */
.need-boxes {
  display: grid; gap: 16px;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(270px, auto));
}
.need-box {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  min-height: 270px; padding: 24px; border-radius: 24px;
  background: var(--surface); text-align: left; cursor: pointer;
  transition: background .4s var(--ease);
}
.need-box.is-tall { grid-row: span 2; }
.need-box:hover { background: var(--surface-2); }
.need-text { position: relative; z-index: 2; display: grid; gap: 6px; max-width: 26ch; padding-right: 44px; }
.need-name { font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.need-box.is-tall .need-name { font-size: 30px; letter-spacing: -0.025em; }
.need-line { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.need-box:not(.is-tall) .need-line { max-width: 19ch; }
.need-box .need-count { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--gold-text); }
.need-go {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.need-go svg { width: 16px; height: 16px; }
.need-box:hover .need-go { background: var(--ink); color: #fff; transform: translateX(3px); }

/* Fanned cutouts in the lower right of each box */
.need-shots { position: absolute; right: 2%; bottom: -5%; width: 62%; height: 58%; z-index: 1; pointer-events: none; }
.need-box.is-tall .need-shots { left: 4%; right: 4%; width: auto; bottom: -3%; height: 64%; }
.need-shots img {
  position: absolute; bottom: 0; width: auto; max-width: none;
  transform: translateX(-50%) rotate(var(--r)); transform-origin: 50% 100%;
  filter: var(--product-shadow);
  transition: transform .6s var(--ease);
  transition-delay: calc(var(--i) * 40ms);
}
.need-box:hover .need-shots img { transform: translateX(-50%) translateY(-10px) rotate(calc(var(--r) * 1.6)) scale(1.06); }

/* Open state: the box becomes this header bar */
.need-head {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 24px 18px 18px; margin-bottom: 20px; border-radius: 24px; background: var(--surface);
}
.need-back {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); transition: background .25s var(--ease), color .25s var(--ease);
}
.need-back svg { width: 18px; height: 18px; transform: rotate(180deg); }
.need-back:hover { background: var(--ink); color: #fff; }
.need-head-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.need-head .need-name { font-size: 26px; letter-spacing: -0.02em; }
.need-head .need-line { font-size: 15px; }
.need-count { font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
/* Small categories: suggestions share the row, with a quiet label above them. */
.need-extra-label { grid-column: 1 / -1; margin: 8px 0 -4px; font-size: 14px; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.need-extra-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (min-width: 1101px) {
  .need-grid.has-extra { grid-template-rows: auto auto; }
  .need-grid.has-extra .need-extra-label { grid-row: 1; grid-column: var(--from) / -1; margin: 0 0 -6px; }
  .need-grid.has-extra .card { grid-row: 2; }
}

/* Shared-element transition timing */
::view-transition-group(*) { animation-duration: .62s; animation-timing-function: cubic-bezier(.22, .8, .24, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
/* Text moves to its new place without stretching: old fades out fast, new fades in after. */
::view-transition-old(need-title), ::view-transition-new(need-title),
::view-transition-old(need-line), ::view-transition-new(need-line),
::view-transition-old(need-count), ::view-transition-new(need-count) { width: auto; height: auto; object-fit: none; }
::view-transition-old(need-title), ::view-transition-old(need-line), ::view-transition-old(need-count) { animation: need-out .18s ease-out both; }
::view-transition-new(need-title), ::view-transition-new(need-line), ::view-transition-new(need-count) { animation: need-in .32s ease-out .26s both; }
@keyframes need-out { to { opacity: 0; } }
@keyframes need-in { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 1020px) {
  .need-boxes { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .need-box.is-tall { grid-row: auto; grid-column: span 3; min-height: 300px; }
  .need-box.is-tall .need-shots { left: auto; right: 3%; width: 52%; height: 86%; bottom: -4%; }
}
@media (max-width: 760px) {
  .need-boxes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .need-box { min-height: 230px; padding: 18px; border-radius: 20px; }
  .need-box.is-tall { grid-column: span 2; min-height: 240px; }
  .need-name { font-size: 18px; }
  .need-box.is-tall .need-name { font-size: 24px; }
  .need-box:not(.is-tall) .need-line { display: none; }
  .need-box:not(.is-tall) .need-shots { width: 84%; height: 56%; right: 8%; }
  .need-box.is-tall .need-shots { width: 56%; height: 86%; }
  .need-box.is-tall .need-line { max-width: 20ch; }
  .need-go { width: 32px; height: 32px; top: 14px; right: 14px; }
  .need-head { flex-wrap: wrap; padding: 14px; gap: 12px; }
  .need-head .need-name { font-size: 20px; }
  .need-head .need-count { display: none; }
}
.bests { padding-top: 0; }

/* Best sellers: on hover the product steps up and a short "why" panel rises in its place,
   with its own add button (it replaces the regular quick add on these cards). */
.why {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3;
  display: grid; gap: 6px; padding: 14px 14px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px rgba(47, 47, 24, .12);
  text-align: left; pointer-events: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.why-label { margin: 0; font-size: 12px; font-weight: 600; color: var(--gold-text); }
.why-text, .why-quote { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.why-quote { font-weight: 500; }
.why-by { margin: -2px 0 0; font-size: 12px; color: var(--muted); }
.why-pts { list-style: none; margin: 2px 0 0; padding: 6px 0 0; border-top: 1px solid var(--line); display: grid; gap: 3px; }
.why-pts li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.why-pts svg { width: 14px; height: 14px; flex: none; color: var(--gold-text); }
.why-add { margin-top: 6px; height: 36px; font-size: 13px; }
.card.has-why .card-quick { display: none; }
@media (hover: hover) {
  .card.has-why:hover .card-media img { transform: translateY(-37%) scale(.42); }
  .card.has-why:hover .why { opacity: 1; transform: none; pointer-events: auto; transition-delay: .06s; }
}
/* Narrower cards: keep the panel short so the product stays visible above it. */
@media (hover: hover) and (max-width: 1320px) {
  .why-pts { display: none; }
  .card.has-why:hover .card-media img { transform: translateY(-40%) scale(.36); }
}
@media (hover: none) { .why { display: none; } .card.has-why .card-quick { display: block; } }

/* ---------- 4. Why ozone ---------- */
.ozon { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.ozon-media { position: relative; min-height: 560px; display: grid; place-items: center; overflow: hidden; }
.ozon-media img { position: relative; width: min(64%, 400px); filter: var(--product-shadow); will-change: transform; }
.ozon-copy { padding: clamp(36px, 5vw, 72px); padding-left: clamp(24px, 3vw, 40px); align-self: center; }
.ozon-copy .h2 { max-width: 16ch; }
.ozon-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ozon-facts li { position: relative; padding-left: 22px; color: var(--ink-2); max-width: 54ch; }
.ozon-facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.ozon-facts b { color: var(--ink); font-weight: 600; }
.ozon-scale { margin: 32px 0; padding: 22px 24px; background: #fff; border-radius: var(--radius); }
.ozon-scale-row { display: flex; gap: clamp(20px, 4vw, 48px); align-items: end; margin-bottom: 12px; }
.dose { display: flex; align-items: baseline; gap: 6px; }
.dose b { font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.dose span:last-child { color: var(--muted); font-size: 15px; }
.dose-dot { align-self: center; border-radius: 50%; background: var(--gold); margin-right: 6px; }
.dose-dot.d1 { width: 8px; height: 8px; opacity: .55; }
.dose-dot.d2 { width: 12px; height: 12px; opacity: .8; }
.dose-dot.d3 { width: 16px; height: 16px; }
.ozon-scale p { margin: 0; }
@media (max-width: 900px) {
  .ozon { grid-template-columns: 1fr; }
  .ozon-media { min-height: 380px; }
  .ozon-copy { padding: 8px 24px 36px; }
}

/* ---------- 5. Routines ---------- */
.routines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.routine { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.routine-stage { position: relative; height: 300px; }
.routine-stage a { position: absolute; bottom: 26px; display: block; transition: transform .5s var(--ease); }
.routine-stage img { width: 100%; height: 100%; object-fit: contain; filter: var(--product-shadow); }
.routine-stage a:nth-child(1) { left: 14%; height: 72%; width: 26%; transform: rotate(-5deg); z-index: 2; }
.routine-stage a:nth-child(2) { left: 37%; height: 84%; width: 26%; z-index: 3; }
.routine-stage a:nth-child(3) { left: 60%; height: 66%; width: 26%; transform: rotate(5deg); z-index: 1; }
.routine:hover .routine-stage a:nth-child(1) { transform: rotate(-8deg) translate(-8px, -6px); }
.routine:hover .routine-stage a:nth-child(2) { transform: translateY(-10px); }
.routine:hover .routine-stage a:nth-child(3) { transform: rotate(8deg) translate(8px, -6px); }
.routine-body { background: #fff; margin: 0 8px 8px; border-radius: calc(var(--radius-lg) - 8px); padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.routine-body ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: st; }
.routine-body li { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; font-size: 15px; align-items: baseline; counter-increment: st; }
.routine-body li::before { content: counter(st); font-size: 12px; font-weight: 600; color: var(--gold-text); }
.routine-body li a:hover { color: var(--gold-text); }
.routine-body li span { color: var(--ink-2); white-space: nowrap; }
.routine-sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.routine-sum strong { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 1000px) {
  .routines { grid-template-columns: 1fr; max-width: 560px; }
}

/* ---------- 6. Club band ---------- */
.club-band {
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  position: relative; overflow: hidden;
}
.club-copy .h2 { color: #fff; }
.club-copy .lead { margin-top: 18px; max-width: 44ch; }
.club-copy .lead b { color: var(--gold-on-dark); font-weight: 600; }
.club-ctas { display: flex; gap: 24px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.club-ctas .link-arrow { color: #fff; }

.club-demo { position: relative; justify-self: center; width: min(400px, 100%); }
.demo-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.demo-head { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.demo-total { color: var(--ink); font-weight: 600; }
.demo-lines { height: 216px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.demo-line {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 0;
  animation: line-in .6s var(--ease) both;
}
.demo-line .thumb { position: relative; width: 44px; height: 54px; border-radius: 10px; background: var(--surface); }
.demo-line .thumb img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.demo-line .nm { font-size: 14px; line-height: 1.3; }
.demo-line .pt { font-size: 13px; font-weight: 600; color: var(--gold-text); background: var(--gold-pale); padding: 4px 9px; border-radius: 999px; }
@keyframes line-in { from { opacity: 0; transform: translateY(-18px) scale(.97); } to { opacity: 1; transform: none; } }
.demo-foot { border-top: 1px solid var(--line); padding-top: 14px; }
.demo-pts { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.demo-pts b { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.demo-tier {
  margin-left: auto; font-size: 12px; font-weight: 600; background: var(--gold); color: var(--ink);
  padding: 5px 10px; border-radius: 999px; opacity: 0; transform: scale(.8); transition: all .45s var(--ease);
}
.demo-tier.show { opacity: 1; transform: none; }
.demo-foot .meter { margin-top: 12px; }
.demo-foot .meter span { transition: width .9s var(--ease); }
.demo-scale { display: flex; justify-content: space-between; color: var(--muted); margin-top: 8px; }
.demo-bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; font-size: 8px; font-weight: 700;
  animation: rise 1.1s var(--ease) forwards;
}
@keyframes rise {
  0% { opacity: 0; transform: translate(0, 0) scale(.5); }
  20% { opacity: 1; transform: translate(calc(var(--dx) * .2), -10px) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.6); }
}
@media (max-width: 900px) {
  .club-band { grid-template-columns: 1fr; }
}

/* ---------- 7. Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.rating-score { display: flex; align-items: baseline; gap: 10px; }
.rating-score b { font-size: clamp(72px, 9vw, 128px); font-weight: 500; letter-spacing: -0.05em; line-height: .9; }
.rating-score span { font-size: 24px; color: var(--muted); }
.stars { display: flex; gap: 4px; color: var(--gold); margin: 18px 0 14px; }
.stars svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.rating p.muted { margin: 0; max-width: 30ch; }
.quote { margin: 0; padding: clamp(28px, 4vw, 48px); background: var(--surface); border-radius: var(--radius-lg); }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
.quote blockquote::before { content: '„'; color: var(--gold); }
.quote blockquote::after { content: '“'; color: var(--gold); }
.quote figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.quote-name { font-weight: 600; }
.quote-product { display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 6px 16px 6px 6px; font-size: 14px; transition: box-shadow .25s var(--ease); }
.quote-product:hover { box-shadow: var(--shadow-sm); }
.quote-product .qp-img { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); }
.quote-product .qp-img img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.quote-product b { font-weight: 600; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- 8. Blog ---------- */
.blog { padding-top: 0; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-meta { margin: 0; font-size: 13px; color: var(--muted); }
.post .h3 a:hover { color: var(--gold-text); }
.post-ex { margin: 0; color: var(--ink-2); font-size: 15px; }
.post-img { display: block; margin-top: auto; padding-top: 10px; }
.post-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); transition: opacity .3s var(--ease); }
.post-img:hover img { opacity: .9; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } .post-img img { aspect-ratio: 16 / 9; } }

/* ---------- 9. Newsletter ---------- */
.newsletter-wrap { padding-top: 0; }
.newsletter { background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 64px); }
.newsletter .lead { margin-top: 12px; max-width: 40ch; }
.nl-form { display: flex; gap: 10px; }
.nl-form .field { flex: 1; min-width: 0; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .nl-form { flex-direction: column; } }

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  .pf-float { animation: none; }
}

/* Shared .section-head squeezes its link on phones; stack it on this page. */
@media (max-width: 640px) {
  main .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
