/* ==========================================================================
   ZiemasEgles 2026
   ========================================================================== */

:root {
  --red: #d22630;
  --red-2: #c11d27;
  --red-deep: #a3141d;
  --red-ink: #7d0c13;
  --ink: #18120f;
  --ink-2: #3d3531;
  --muted: #6e6560;
  --paper: #ffffff;
  --cream: #f8f5f1;
  --cream-2: #f1ece6;
  --line: #e9e2da;
  --green: #1f6a43;
  --gold: #e3b357;

  --serif: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Kaushan Script', 'Brush Script MT', cursive;

  --r-xl: clamp(28px, 3.2vw, 48px);
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-soft: 0 30px 60px -30px rgba(70, 20, 10, .22), 0 8px 18px -10px rgba(70, 20, 10, .12);
  --shadow-red: 0 18px 34px -14px rgba(210, 38, 48, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; font-synthesis-weight: none;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
main { overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sprite { display: none; }
svg use { pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 99px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.center { text-align: center; margin-inline: auto; }

/* ---------- type ---------- */
.h2, .h3, .hero__kicker, .promise h2, .logo-serif {
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-weight: 500; letter-spacing: -.025em; line-height: 1.04;
}
.h2 { font-size: clamp(38px, 5.2vw, 70px); margin: 0 0 18px; color: var(--ink); }
.h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 12px; }
.h2 em, .h3 em { font-style: normal; color: var(--red); }
.lead { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); max-width: 58ch; margin: 0 0 22px; }
.center .lead, .lead.center { margin-inline: auto; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.red { color: var(--red); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 16px/1 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.01em;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), background .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--red { box-shadow: var(--shadow-red); }
.btn--red:hover { background: var(--red-2); box-shadow: 0 22px 40px -14px rgba(210, 38, 48, .7); }
.btn--white { --bg: #fff; --fg: var(--ink); box-shadow: 0 14px 28px -14px rgba(60, 0, 0, .5); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { padding: 12px 22px; font-size: 15px; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- decorative swirls (from the reference) ---------- */
.swirl {
  position: absolute; width: var(--sz, 120px); aspect-ratio: 1; pointer-events: none; z-index: 0;
  background: #ece6e0; opacity: .55;
  -webkit-mask: url(../img/swirl.svg) center / contain no-repeat; mask: url(../img/swirl.svg) center / contain no-repeat;
}
.swirl--a { --sz: 130px; left: -10px; top: 10px; }
.swirl--b { --sz: 90px; right: 6%; top: -10px; transform: rotate(40deg); }
.swirl--c { --sz: 110px; left: 44%; top: 0; transform: rotate(-30deg); }
.swirl--d { --sz: 150px; right: -20px; bottom: 8%; }
.swirl--e { --sz: 100px; left: -30px; bottom: 0; transform: rotate(90deg); }
.swirl--f { --sz: 140px; right: 30px; top: 20px; opacity: .8; background: #e8e0d7; }
.swirl--g { --sz: 120px; right: 2%; top: 0; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: clamp(10px, 1.4vw, 20px); }
.hero__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: min(900px, max(660px, 100svh - 40px));
  border-radius: var(--r-xl);
  background:
    radial-gradient(1200px 600px at 50% 110%, rgba(255, 120, 90, .22), transparent 60%),
    radial-gradient(900px 700px at 15% -10%, #e2333d 0%, transparent 60%),
    linear-gradient(180deg, #d72a33 0%, #cf232d 55%, #c01c26 100%);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(160, 20, 30, .55);
}
.hero__forest {
  position: absolute; inset: auto 0 0 0; height: 78%; z-index: -1;
  -webkit-mask: url(../img/forest.svg) bottom center / 1600px 100% repeat-x; mask: url(../img/forest.svg) bottom center / 1600px 100% repeat-x;
  transition: transform .9s var(--ease);
}
.hero__forest--back { background: linear-gradient(180deg, rgba(150, 10, 20, .0), rgba(150, 10, 20, .35) 40%, rgba(150, 10, 20, .45)); height: 92%; -webkit-mask-size: 1300px 100%; mask-size: 1300px 100%; -webkit-mask-position: 37% 100%; mask-position: 37% 100%; }
.hero__forest--front { background: linear-gradient(180deg, rgba(135, 8, 16, .0), rgba(135, 8, 16, .32) 50%, rgba(125, 6, 14, .55)); height: 62%; }
.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

/* nav */
.nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: clamp(18px, 2.4vw, 34px) clamp(20px, 3.4vw, 48px) 0;
}
.logo { font: 400 clamp(28px, 2.6vw, 38px)/1 var(--script); color: #fff; text-decoration: none; letter-spacing: .005em; white-space: nowrap; transform: rotate(-3deg); }
.logo--red { color: var(--red); }
.nav__links { display: flex; gap: clamp(14px, 2vw, 32px); list-style: none; margin: 0 auto; padding: 0; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .88; position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .25s; }
.nav__icon:hover { background: rgba(255, 255, 255, .14); }
.nav__icon svg, .nav__toggle svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; cursor: pointer; place-items: center; }

/* body grid */
.hero__body {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  flex: 1;
  padding: clamp(18px, 3vw, 40px) clamp(20px, 6vw, 90px) clamp(30px, 4vw, 60px);
}
.season-pill {
  grid-column: 1 / -1; justify-self: center; position: relative; z-index: 6;
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 9px 18px; border-radius: 99px;
  background: rgba(120, 6, 14, .34);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
}
.season-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #8ff0a4; box-shadow: 0 0 0 0 rgba(143, 240, 164, .7); animation: ping 2.2s infinite; }
[data-season="before"] .season-pill .dot { width: 10px; height: 10px; background: #ff1f2d; box-shadow: 0 0 0 1.5px #fff; animation: none; }
[data-season="after"] .season-pill .dot { background: #fff; animation: none; box-shadow: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(143, 240, 164, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 240, 164, 0); } }

.hero__title { grid-column: 1 / -1; grid-row: 2; margin: clamp(18px, 3vw, 34px) 0 0; position: relative; z-index: 1; text-align: center; }
.hero__kicker {
  display: block; font-size: clamp(26px, 3vw, 46px); font-weight: 400;
  transform: translateX(-17%); margin-bottom: -.1em;
}
.hero__script {
  display: block; font: 400 clamp(110px, 17.5vw, 270px)/.92 var(--script);
  letter-spacing: -.01em; color: #fff;
  text-shadow: 0 18px 40px rgba(110, 0, 10, .25);
  transform: rotate(-4deg) translateX(-1%);
}
.hero__tree {
  position: absolute; z-index: 2; left: 50%; bottom: -2%;
  width: clamp(260px, min(31vw, (100svh - 250px) / 1.5), 500px); transform: translateX(-46%);
  pointer-events: none;
}
/* shadow sits on the image's own GPU layer, so the sway only rotates a cached bitmap */
.hero__tree img { width: 100%; height: auto; transform-origin: 50% 100%; animation: sway 9s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(90, 0, 10, .35)); will-change: transform; }
@keyframes sway { 0%, 100% { transform: rotate(-.6deg); } 50% { transform: rotate(.6deg); } }

/* button sits just below the middle of the first line of the rotating slide heading (.promise padding + __num + half a heading line − half the button) */
.hero__cta { position: absolute; left: clamp(20px, 3vw, 44px); bottom: clamp(18px, 2.4vw, 34px); z-index: 4; }
/* Hero CTA: quiet underlined text link in the hero's bottom-left corner */
.hero__link { color: rgba(255, 255, 255, .85); font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .25s; }
.hero__link:hover { color: #fff; text-decoration-thickness: 2px; }

.promise { grid-column: 3; grid-row: 3; align-self: start; position: relative; z-index: 4; padding-top: clamp(0px, 1vw, 20px); max-width: 350px; justify-self: end; }
.promise__track { display: grid; }
.promise__slide { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.promise__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.promise__num { margin: 0 0 6px; font: 600 14px/1 var(--sans); letter-spacing: .12em; }
.promise__num span { opacity: .55; }
.promise h2 { font-size: clamp(30px, 3.2vw, 48px); margin: 0 0 14px; font-weight: 450; }
.promise p:not(.promise__num) { margin: 0; font-size: 15.5px; line-height: 1.6; opacity: .9; max-width: 34ch; }
.promise__progress { margin-top: 22px; height: 2px; width: 120px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; }
.promise__progress span { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.promise__progress span.run { animation: progress var(--dur, 6500ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

.hero__nav {
  position: absolute; top: 33%; z-index: 5; background: none; border: 0; cursor: pointer; color: #fff;
  display: inline-flex; align-items: center; gap: 14px; font: 500 16px var(--serif); font-variation-settings: 'SOFT' 100;
}
.hero__nav--prev { left: clamp(14px, 2.4vw, 34px); }
.hero__nav--next { right: clamp(14px, 2.4vw, 34px); }
.hero__nav .ring { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: transform .45s var(--ease-spring), background .3s; }
.hero__nav .ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); clip-path: polygon(0 0, 100% 0, 100% 30%, 60% 30%, 60% 70%, 100% 70%, 100% 100%, 0 100%); }
.hero__nav--next .ring::before { transform: scaleX(-1); }
.hero__nav svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__nav--prev svg { transform: scaleX(-1); }
.hero__nav:hover .ring { background: rgba(255, 255, 255, .12); transform: scale(1.06); }

/* hero entrance */
.js .hero__kicker, .js .hero__script, .js .hero__tree, .js .hero__cta, .js .promise, .js .season-pill, .js .hero__nav { opacity: 0; }
.js .is-in .season-pill { animation: rise .9s var(--ease) .05s forwards; }
.js .is-in .hero__kicker { animation: rise 1s var(--ease) .15s forwards; }
.js .is-in .hero__script { animation: ink 1.4s var(--ease) .25s forwards; }
.js .is-in .hero__tree { animation: treeIn 1.4s var(--ease) .35s forwards; }
.js .is-in .hero__cta { animation: rise 1s var(--ease) .75s forwards; }
.js .is-in .promise { animation: rise 1s var(--ease) .9s forwards; }
.js .is-in .hero__nav { animation: fade 1s var(--ease) 1.1s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes ink {
  from { opacity: 0; clip-path: inset(0 100% 0 0); transform: rotate(-4deg) translateX(-4%); }
  to { opacity: 1; clip-path: inset(-20% -5% -20% 0); transform: rotate(-4deg) translateX(-1%); }
}
@keyframes treeIn { from { opacity: 0; transform: translateX(-46%) translateY(60px) scale(.94); } to { opacity: 1; transform: translateX(-46%); } }
.js .is-in .hero__kicker { --x: -17%; }
@keyframes rise-k { from { opacity: 0; transform: translateX(-17%) translateY(24px); } to { opacity: 1; transform: translateX(-17%); } }
.js .is-in .hero__kicker { animation-name: rise-k; }

/* ==========================================================================
   AT A GLANCE
   ========================================================================== */
.glance { padding-top: clamp(60px, 8vw, 110px); }
.glance__panel { position: relative; z-index: 1; background: var(--cream); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 76px) clamp(20px, 4vw, 60px); }
.glance__list { list-style: none; padding: 0; margin: clamp(26px, 4vw, 46px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 960px; margin-inline: auto; }
.glance__list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 8px; border-radius: var(--r-md); transition: background .35s, box-shadow .35s, transform .45s var(--ease-spring); }
.glance__list li:hover { background: #fff; box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.ico { display: grid; place-items: center; }
.glance__list .ico { width: 64px; height: 64px; margin-bottom: 10px; }
.glance__list .ico svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, transform .5s var(--ease-spring); }
.glance__list li:hover svg { stroke: var(--red); transform: rotate(-6deg) scale(1.08); }
.glance__list strong { font: 500 19px/1.2 var(--serif); font-variation-settings: 'SOFT' 100; }
.glance__list small { font-size: 13.5px; color: var(--muted); line-height: 1.35; }

/* ==========================================================================
   TREES
   ========================================================================== */
.sec-head { position: relative; z-index: 1; margin-bottom: clamp(30px, 4vw, 56px); }
.trees { padding-top: clamp(80px, 10vw, 140px); }
.tree-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.tree-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  background: var(--cream); border: 0; border-radius: var(--r-md); cursor: pointer; text-align: center; text-decoration: none;
  padding: 22px 18px 24px; min-height: 340px; overflow: hidden;
  transition: transform .5s var(--ease-spring), box-shadow .45s var(--ease), background .3s;
}
.tree-card::before { content: ''; position: absolute; left: 50%; bottom: 74px; width: 70%; height: 18px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0, 0, 0, .12), transparent); }
.tree-card:hover { transform: translateY(-8px); background: #fff; box-shadow: var(--shadow-soft); }
.tree-card__price { align-self: flex-end; font: 600 24px/1 var(--serif); font-variation-settings: 'SOFT' 100; color: var(--red); letter-spacing: -.02em; }
.tree-card__stage { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; min-height: 210px; padding-bottom: 4px; }
.tree-card__stage img { height: calc(230px * var(--s)); width: auto; transition: transform .7s var(--ease-spring); transform-origin: 50% 100%; }
.tree-card:hover .tree-card__stage img { transform: scale(1.06) rotate(-1.5deg); }
.tree-card__label { font: 500 21px/1.2 var(--serif); font-variation-settings: 'SOFT' 100; margin-top: 12px; }
.tree-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--red); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease); }
.tree-card__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tree-card:hover .tree-card__go, .tree-card:focus-visible .tree-card__go, .tree-card__go--on { opacity: 1; transform: none; }
/* "Visbiežāk izvēlas": hanging red price tag (coupon stitch + gold eyelet), text laid over the drawing */
.tree-card__tag { position: absolute; left: 8px; top: 4px; width: 138px; aspect-ratio: 138 / 108; background: url(../img/tag-popular.svg) center / contain no-repeat; transform: rotate(-10deg); transform-origin: 7% 6%; filter: drop-shadow(0 6px 8px rgba(120, 10, 20, .22)); }
.tree-card__tag span { position: absolute; left: 61.6%; top: 59%; transform: translate(-50%, -50%); width: 64%; text-align: center; color: #fff; font: 700 12.5px/1.15 var(--sans); letter-spacing: .02em; }
.tree-card:hover .tree-card__tag { animation: tagSwing 1.4s var(--ease) both; }
@keyframes tagSwing { 0% { transform: rotate(-10deg); } 30% { transform: rotate(-20deg); } 60% { transform: rotate(-5deg); } 100% { transform: rotate(-10deg); } }
.tree-card.is-selected { box-shadow: inset 0 0 0 2px var(--red), var(--shadow-soft); background: #fff; }
.tree-card--tall { background: var(--red); color: #fff; justify-content: center; gap: 8px; isolation: isolate; }
.tree-card--tall::before { content: ''; inset: auto 0 0 0; left: 0; width: 100%; height: 70%; transform: none; background: rgba(120, 6, 14, .35); -webkit-mask: url(../img/forest.svg) bottom / 700px 100% repeat-x; mask: url(../img/forest.svg) bottom / 700px 100% repeat-x; z-index: -1; }
.tree-card--tall:hover { background: var(--red-2); }
.tree-card__tall-top { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.tree-card__tall-text { font: 500 30px/1.1 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.02em; max-width: 9ch; }
.tree-card--tall .tree-card__go { color: #fff; }

/* ==========================================================================
   OFFERS — alternating features like the reference
   ========================================================================== */
.offers { padding-top: clamp(100px, 12vw, 170px); }
/* swipe sliders exist only on phones; on larger screens the track is invisible to layout */
/* before the season the order section is replaced by the #soon pop-up */
[data-season="before"] #pasutit, [data-season="open"] #pasutit { display: none; }   /* only the "season is over" note lives here now */
.offers__track { display: contents; }
.slider-dots { display: none; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: center; padding-block: clamp(30px, 5vw, 70px); }
.feature__text { position: relative; z-index: 1; padding-left: clamp(0px, 4vw, 70px); }
.feature--flip .feature__text { order: 2; padding-left: 0; padding-right: clamp(0px, 3vw, 40px); }
.feature--flip .feature__art { order: 1; }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #fbe4e5; fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.feature__buy { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.price-tag { margin: 0; font: 600 26px/1 var(--serif); font-variation-settings: 'SOFT' 100; color: var(--red); letter-spacing: -.02em; }
.price-tag span { color: var(--ink); font-weight: 400; }
.price-tag--big { font-size: 40px; }
.price-tag--big span { font: 500 14px var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
/* Dāvanu laiks: the −10% for your own tree, as a coupon */
.deal { position: relative; display: flex; align-items: center; gap: 18px; margin: -4px 0 30px; padding: 16px 22px 16px 16px; border-radius: 20px; background: var(--red); color: #fff; box-shadow: 0 22px 40px -22px rgba(210, 38, 48, .8); max-width: 460px; }
.deal::before { content: ''; position: absolute; inset: 6px; border: 2px dashed rgba(255, 255, 255, .45); border-radius: 15px; pointer-events: none; }
.deal__pct { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 400 27px/1 var(--serif); letter-spacing: -.02em; transform: rotate(-8deg); box-shadow: 0 8px 18px -6px rgba(90, 0, 10, .5); animation: dealPop 3.2s ease-in-out infinite; }
.deal__txt { display: grid; gap: 2px; font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, .9); }
.deal__txt b { font: 400 25px/1.1 var(--serif); color: #fff; }
@keyframes dealPop { 0%, 70%, 100% { transform: rotate(-8deg) scale(1); } 78% { transform: rotate(-2deg) scale(1.1); } 86% { transform: rotate(-10deg) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .deal__pct { animation: none; } }
.bonus { display: flex; gap: 14px; align-items: center; margin: -6px 0 26px; padding: 14px 18px; border-radius: var(--r-sm); background: #eaf4ed; color: #184d32; font-size: 15px; }
.bonus strong { flex: none; font: 600 22px/1 var(--serif); color: var(--green); }

.feature__art { position: relative; display: flex; justify-content: center; }
.art-card {
  position: relative; isolation: isolate;
  width: min(100%, 470px); aspect-ratio: .9;
  border-radius: clamp(34px, 4vw, 56px);
  background: linear-gradient(170deg, #df2f39 0%, #c81f29 60%, #b5171f 100%);
  box-shadow: 0 50px 80px -40px rgba(160, 20, 30, .55);
}
.art-card--wide { width: min(100%, 520px); }
.art-card__forest { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; }
.art-card__forest::before { content: ''; position: absolute; inset: auto 0 0 0; height: 75%; background: rgba(120, 6, 14, .35); -webkit-mask: url(../img/forest.svg) bottom / 900px 100% repeat-x; mask: url(../img/forest.svg) bottom / 900px 100% repeat-x; }
/* Offer scenes: one animated SVG per card (same tree, same ground, one story each) */
.art-scene { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.art-van__tree { position: absolute; width: 66%; right: -6%; bottom: 3%; filter: drop-shadow(0 20px 22px rgba(80, 0, 10, .3)); }
.art-van__van { position: absolute; width: 92%; left: -12%; bottom: 3%; z-index: 1; filter: drop-shadow(0 16px 18px rgba(60, 0, 10, .3)); }
.art-stand { position: absolute; left: 50%; bottom: 3%; width: 58%; transform: translateX(-50%); }
.art-stand__tree { width: 100%; margin: 0 auto -27%; position: relative; z-index: 1; filter: drop-shadow(0 20px 22px rgba(80, 0, 10, .3)); }
.art-stand__stand { width: 66%; margin: 0 auto; position: relative; z-index: 2; filter: drop-shadow(0 14px 14px rgba(60, 0, 10, .25)); }
.art-mystery__tree { position: absolute; width: 68%; left: 2%; bottom: -4%; filter: drop-shadow(0 20px 26px rgba(80, 0, 10, .35)); }
.art-mystery__box { position: absolute; width: 58%; right: -12%; bottom: -12%; filter: drop-shadow(0 20px 26px rgba(60, 0, 10, .25)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.art-gift__gift { position: absolute; width: 78%; left: -14%; bottom: -10%; filter: drop-shadow(0 20px 26px rgba(60, 0, 10, .25)); }
.art-gift__ginger { position: absolute; width: 64%; right: -10%; top: 6%; transform: rotate(8deg); filter: drop-shadow(0 20px 26px rgba(60, 0, 10, .25)); }
.sticker {
  position: absolute; top: 9%; left: -6%; z-index: 3;
  display: grid; place-items: center; text-align: center;
  width: 128px; height: 128px; border-radius: 50%;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-soft);
  font: 500 16px/1.15 var(--serif); font-variation-settings: 'SOFT' 100;
  transform: rotate(-10deg); animation: spinIn 1.2s var(--ease-spring) both;
}
.sticker--gold { left: auto; right: 8%; top: 8%; width: 92px; height: 92px; background: var(--gold); color: #fff; font: 400 54px/1 var(--script); }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how { padding-top: clamp(80px, 10vw, 140px); }
.how__panel { position: relative; overflow: hidden; background: var(--cream); border-radius: var(--r-lg); padding: clamp(46px, 6vw, 86px) clamp(20px, 4vw, 60px); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 26px); position: relative; z-index: 1; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 44px; border-top: 2px dashed #ddd2c6; z-index: -1; }
.steps li { text-align: center; padding: 0 6px; }
.steps__ico { position: relative; width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-soft); display: grid; place-items: center; transition: transform .5s var(--ease-spring), background .3s; }
.steps__ico svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.steps__ico b { position: absolute; right: -4px; top: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 600 14px var(--sans); box-shadow: 0 6px 14px -6px rgba(210, 38, 48, .8); }
.steps li:hover .steps__ico { transform: translateY(-6px) rotate(-4deg); background: var(--red); }
.steps li:hover .steps__ico svg { stroke: #fff; }
.steps li:hover .steps__ico b { background: var(--ink); }
.steps h3 { font: 500 22px/1.15 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.015em; margin: 0 0 8px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ==========================================================================
   ORDER
   ========================================================================== */
.order { padding-top: clamp(90px, 11vw, 150px); }
.order__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(22px, 3vw, 44px); align-items: start; position: relative; z-index: 1; }
.form { display: grid; gap: 18px; min-width: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.step { border: 0; margin: 0; padding: clamp(24px, 3vw, 40px); background: var(--cream); border-radius: var(--r-lg); min-width: 0; }
.step__legend { float: left; width: 100%; display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 0; font: 500 clamp(24px, 2.2vw, 30px)/1.1 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.02em; }
.step__legend + * { clear: both; }
.step__n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font: 600 16px var(--sans); }
.step--own { background: #eef6f0; }
.step--own .step__n { background: var(--green); }
.field { display: block; margin: 0 0 22px; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.label { display: block; margin: 0 0 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.req { color: var(--red); }
.hint { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.hint a { color: var(--red); font-weight: 600; }
.hint--top { margin: 0 0 18px; clear: both; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type=text], input[type=tel], input[type=number], textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink);
  padding: 15px 18px; border-radius: var(--r-sm); border: 1.5px solid transparent; background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03), inset 0 0 0 1px var(--line);
  transition: box-shadow .25s, border-color .25s;
}
textarea { resize: vertical; min-height: 92px; }
input:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(210, 38, 48, .12); }
.is-invalid input, .is-invalid textarea, input.is-invalid, textarea.is-invalid { border-color: var(--red); background: #fff6f6; }
.err { display: block; margin-top: 8px; font-size: 13.5px; color: var(--red); font-weight: 500; }
.counter { display: block; text-align: right; font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input, .opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; border-radius: 99px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 500; line-height: 1.2;
  transition: box-shadow .2s, background .2s, color .2s, transform .3s var(--ease-spring);
}
.chip span small { color: var(--muted); font-weight: 500; }
.chip span svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip:hover span { box-shadow: inset 0 0 0 1.5px #cfc4b8; }
.chip input:checked + span { background: var(--red); color: #fff; box-shadow: 0 10px 20px -10px rgba(210, 38, 48, .7); transform: translateY(-1px); }
.chip input:checked + span small { color: rgba(255, 255, 255, .85); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.chips--bands .chip span { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 18px; border-radius: 16px; min-width: 112px; }
.chips--bands .chip b { font: 600 18px/1 var(--serif); font-variation-settings: 'SOFT' 100; }
.chips--days .chip span { flex-direction: column; gap: 2px; padding: 11px 16px; border-radius: 16px; min-width: 78px; }
.chips--days .chip b { font: 600 20px/1 var(--serif); font-variation-settings: 'SOFT' 100; }
.chips--days .chip small { font-size: 12.5px; }
.chips-empty { font-size: 15px; color: var(--red); font-weight: 500; margin: 0; }

.offer-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 16px 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background .2s, transform .35s var(--ease-spring); }
.opt b { font: 600 18px/1.15 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.01em; }
.opt small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.opt:hover span { transform: translateY(-2px); }
.opt input:checked + span { box-shadow: inset 0 0 0 2px var(--red), 0 14px 26px -16px rgba(210, 38, 48, .6); background: #fff; }
.opt input:checked + span b { color: var(--red); }
.opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; background: #fff; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line); padding: 5px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.stepper button:hover { background: var(--red); }
.stepper button:hover svg { stroke: #fff; }
.stepper svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.stepper input { width: 60px; text-align: center; border: 0; box-shadow: none; background: transparent; font: 600 20px var(--serif); padding: 8px 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.toggle { display: flex; align-items: center; gap: 14px; cursor: pointer; clear: both; font-size: 16px; }
.toggle input { position: absolute; opacity: 0; }
.toggle__ui { flex: none; width: 52px; height: 30px; border-radius: 99px; background: #cfd9d2; position: relative; transition: background .3s; }
.toggle__ui::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .4s var(--ease-spring); }
.toggle input:checked + .toggle__ui { background: var(--green); }
.toggle input:checked + .toggle__ui::after { transform: translateX(22px); }
.toggle input:focus-visible + .toggle__ui { outline: 3px solid var(--gold); outline-offset: 2px; }
.own { margin-top: 24px; padding-top: 24px; border-top: 1px dashed #c9dccf; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; cursor: pointer; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.check input { position: absolute; opacity: 0; }
.check__box { flex: none; width: 24px; height: 24px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1.5px #cfc4b8; display: grid; place-items: center; transition: background .2s, box-shadow .2s; }
.check__box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transform: scale(0); transition: transform .3s var(--ease-spring); }
.check input:checked + .check__box { background: var(--red); box-shadow: none; }
.check input:checked + .check__box svg { transform: scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid var(--gold); outline-offset: 2px; }
.check.is-invalid .check__box { box-shadow: inset 0 0 0 2px var(--red); }

[data-show] { display: none; }
[data-show].is-shown { display: block; }
.step[data-show].is-shown { animation: rise .6s var(--ease); }

/* summary */
.summary { position: sticky; top: 20px; }
.summary__card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 34px 30px 28px; border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(170deg, #dc2c36, #c41f29 60%, #b0161f);
  box-shadow: 0 40px 70px -40px rgba(160, 20, 30, .7);
}
.summary__forest { position: absolute; inset: auto 0 0 0; height: 46%; z-index: -1; background: rgba(120, 6, 14, .3); -webkit-mask: url(../img/forest.svg) bottom / 700px 100% repeat-x; mask: url(../img/forest.svg) bottom / 700px 100% repeat-x; }
.summary__title { font: 500 30px/1 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.02em; margin: 0 0 20px; }
.summary__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.summary__lines li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.summary__lines li span:first-child { opacity: .92; }
.summary__lines li span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary__lines li.is-sub { font-size: 13.5px; opacity: .8; margin-top: -6px; }
.summary__lines li.is-disc span:last-child { color: #b9f3c7; }
.summary__lines li.is-head { margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.summary__lines li.is-head:first-child { margin-top: 0; padding-top: 0; border: 0; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 6px; padding-top: 18px; border-top: 1.5px solid rgba(255, 255, 255, .35); }
.summary__total span { font-size: 15px; opacity: .9; }
.summary__total strong { font: 600 44px/1 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.summary__total strong.bump { animation: bump .45s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.08); } }
.summary__pay { font-size: 13.5px; opacity: .85; margin: 0 0 20px; }
.summary__gift { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 18px 0 0; font-size: 13.5px; opacity: .9; }
.summary__gift svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn.is-loading span::after { content: '…'; }
.form-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--red-deep); font-size: 14px; font-weight: 500; }
.form-error a { color: inherit; font-weight: 700; }



/* order sheet (full-screen pop-up page) */
.sheet {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0; background: #fff; color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.sheet[open] { animation: sheetIn .55s var(--ease); }
.sheet::backdrop { background: rgba(30, 10, 10, .5); }
@keyframes sheetIn { from { transform: translateY(48px); opacity: 0; } to { transform: none; opacity: 1; } }
html:has(.sheet[open]) { overflow: hidden; }
.sheet__bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.sheet__title { margin: 0; font: 500 clamp(24px, 2.4vw, 32px)/1.1 var(--serif); letter-spacing: -.02em; }
.sheet__title em { font-style: normal; color: var(--red); }
.sheet__x { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .4s var(--ease-spring); }
.sheet__x:hover { background: var(--cream-2); transform: rotate(90deg); }
.sheet__x svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.sheet__body { max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter) clamp(40px, 6vw, 80px); }
.sheet__lead { margin: 0 0 22px; color: var(--muted); font-size: 16px; }
.sheet .summary { top: 96px; }

/* step-by-step order form: one question per screen, large type and targets (easy for everyone) */
.wiz__head { margin: 0 0 4px; }
.wiz__count { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--muted); }
.wiz__count b { color: var(--ink); }
.wiz__bar { height: 8px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.wiz__bar span { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--red); transition: width .5s var(--ease); }
.wiz__steps { display: none; }
@media (min-width: 981px) {
  /* desktop: named steps instead of the plain bar; roomier cards */
  .wiz__count, .wiz__bar { display: none; }
  .wiz__steps { display: flex; gap: 6px; list-style: none; margin: 0 0 6px; padding: 6px; border-radius: 99px; background: var(--cream); }
  .wiz__steps li { flex: none; }
  .wiz__steps li.is-now { flex: 1; }
  .wiz__steps em { font-style: normal; }
  .wiz__steps li:not(.is-now) em { display: none; }   /* only the current step is named, so 5–8 steps still fit */
  .wiz__steps span, .wiz__steps button { width: 100%; min-width: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 99px; background: none; font: 600 15px/1 var(--sans); color: var(--muted); white-space: nowrap; }
  .wiz__steps i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; font: 700 13px/1 var(--sans); font-style: normal; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
  .wiz__steps .is-now span { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(60, 10, 10, .4); }
  .wiz__steps .is-now i { background: var(--red); color: #fff; box-shadow: none; }
  .wiz__steps .is-done button { color: var(--ink-2); cursor: pointer; }
  .wiz__steps .is-done button:hover { background: rgba(255, 255, 255, .7); }
  .wiz__steps .is-done i { background: var(--green); color: #fff; box-shadow: none; font-size: 0; }
  .wiz__steps .is-done i::before { content: ''; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
  .sheet .order__grid { grid-template-columns: minmax(0, 1fr) 380px; max-width: 1180px; margin-inline: auto; }
  .wiz .step { padding: 36px 40px 40px; }
  .wiz .opt--deal span { min-height: 250px; }
  .wiz .chips--days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .wiz .chips--days .chip span { width: 100%; min-width: 0; }
  .wiz__nav { padding: 4px 0 0; }
}
.wiz__step { display: none; }
.wiz__step > :not(legend) { clear: both; }   /* legends float; keep everything below them even when the help line is hidden */
.wiz__step.is-current { display: block; animation: rise .45s var(--ease); }
.wiz .step__legend { font-size: clamp(28px, 3vw, 36px); margin-bottom: 10px; }
.wiz__help { clear: both; margin: 0 0 22px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.wiz__sub { clear: both; margin: 18px 0 14px; font: 500 21px/1.2 var(--serif); font-variation-settings: 'SOFT' 100; color: var(--ink); }
.wiz__box { margin-top: 26px; padding-top: 24px; border-top: 1px dashed #d9cfc4; }
.wiz .label { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.wiz .hint { font-size: 15.5px; }
.wiz .err { font-size: 15px; font-weight: 600; }
.opt-tag { margin-left: 6px; padding: 3px 9px; border-radius: 99px; background: var(--cream-2); color: var(--muted); font-size: 12.5px; font-weight: 600; vertical-align: 2px; }
.wiz input[type=text], .wiz input[type=tel], .wiz textarea { font-size: 18px; padding: 17px 18px; }
.wiz .chip span { min-height: 54px; padding: 13px 20px; font-size: 17px; }
.wiz .chip input:checked + span::before { content: ''; width: 16px; height: 10px; margin-right: 2px; border: solid currentColor; border-width: 0 0 2.5px 2.5px; transform: translateY(-3px) rotate(-45deg); }
.wiz .chips--bands .chip span, .wiz .chips--days .chip span { min-height: 0; }
.wiz .chips--bands .chip input:checked + span::before, .wiz .chips--days .chip input:checked + span::before { display: none; }
.wiz .chips--bands .chip b { font-size: 20px; }
.wiz .chips--bands .chip small, .wiz .chips--days .chip small { font-size: 14px; }
.wiz .offer-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wiz .opt span { position: relative; gap: 6px; padding: 22px 22px 20px; border-radius: 20px; }
.wiz .opt b { font-size: 22px; padding-right: 34px; }
.wiz .opt small { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.wiz .opt em { margin-top: auto; padding-top: 8px; font: 600 19px/1 var(--serif); font-style: normal; color: var(--red); }
.wiz .opt span::after { content: ''; position: absolute; right: 18px; top: 20px; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px #cfc4b8; background: #fff; }
.wiz .opt input:checked + span::after { box-shadow: none; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
/* step 1: "just the tree" on its own row, the three offers set apart as their own group */
.wiz .offer-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wiz .opt--plain { grid-column: 1 / -1; }
.wiz .opt--plain span { min-height: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; }
.wiz .opt--plain small { grid-column: 1; }
.wiz .opt--plain em { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0 44px 0 0; }
.offer-pick__or { grid-column: 1 / -1; margin: 14px 0 2px; font: 500 21px/1.2 var(--serif); font-variation-settings: 'SOFT' 100; color: var(--ink); }
.wiz .opt--deal span { background: #fff; box-shadow: inset 0 0 0 1.5px #ecd9d6; }
.wiz .opt--deal span::before { content: 'Piedāvājums'; align-self: flex-start; margin-bottom: 4px; padding: 4px 10px; border-radius: 99px; background: #fbe4e5; color: var(--red); font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; justify-self: start; }
.wiz .opt--deal b { font-size: 20px; padding-right: 0; }
.wiz .opt--hot span::before { background: var(--red); color: #fff; }
.opt__ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 50%; background: #fbe4e5; }
.opt__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wiz .opt--deal input:checked + span .opt__ico { background: var(--red); }
.wiz .opt--deal input:checked + span .opt__ico svg { stroke: #fff; }
.opt__more { align-self: flex-start; margin-top: 10px; padding: 4px 0; border: 0; background: none; color: var(--ink-2); font: 600 15px/1.2 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.opt__more:hover { color: var(--red); }
.more { max-width: 520px; }
.more .h2 { font-size: 32px; margin: 0 0 6px; padding-right: 40px; }
.more .lead { font-size: 16px; margin-bottom: 16px; }
.more .ticks { margin-bottom: 18px; font-size: 16px; }
.more .deal { margin: 0 0 18px; }
.more .feature__buy { margin-bottom: 4px; }
.more__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.more__actions .btn { flex: 1; justify-content: center; white-space: nowrap; padding-inline: 18px; }
.wiz .stepper button { width: 54px; height: 54px; }
.wiz .stepper input { width: 70px; font-size: 24px; }
.wiz .toggle { font-size: 18px; padding: 16px 18px; border-radius: 18px; background: #fff; }
.wiz .check { font-size: 16.5px; margin-top: 18px; }
.wiz .check__box { width: 28px; height: 28px; }
.wiz__nav { display: flex; align-items: center; gap: 12px; }
.wiz__nav [hidden], .summary [data-submit][hidden] { display: none; }
.wiz__total { display: none; }
.wiz__back { margin-right: auto; }
.wiz__back svg { transform: rotate(180deg); }
.wiz__next { margin-left: auto; padding: 18px 34px; font-size: 19px; }
.wiz__back[hidden] + .wiz__next { margin-left: auto; }
.wiz__err { margin: 0; background: #fff1f1; }
.summary__details { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14px; }
.summary__details:empty { display: none; }
.summary__details li span:last-child { white-space: normal; text-align: right; }

@media (max-width: 980px) {
  /* the order summary appears as the final check-list only */
  .sheet:not(.is-last) .summary { display: none; }
  /* the step buttons always sit at the bottom of the screen, wherever the step ends */
  .sheet__body { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .wiz__nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; margin: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -20px rgba(60, 10, 10, .35);
  }
  .wiz__total { display: block; line-height: 1; }
  .wiz__total small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
  .wiz__total strong { font: 600 24px/1 var(--serif); color: var(--red); }
  .wiz__back { order: -1; margin: 0; padding: 14px; border-radius: 50%; }
  .wiz__back span { display: none; }
  .wiz__next { flex: 1; justify-content: center; padding: 17px 20px; }
}
@media (max-width: 640px) {
  /* phone: a calm, flat form. no card-in-card, one simple row per choice */
  .sheet__bar { padding-block: 10px; }
  .sheet__title { font-size: 22px; }
  .sheet__x { width: 42px; height: 42px; }
  .sheet__body { padding-top: 14px; }
  .wiz { gap: 14px; }
  .wiz__count { font-size: 14px; margin-bottom: 6px; }
  .wiz__bar { height: 6px; }
  .wiz .step { padding: 6px 0 0; background: none; border-radius: 0; }
  .wiz .step--own { background: none; }
  .wiz .step__legend { font-size: 27px; margin-bottom: 6px; }
  .wiz__help { font-size: 15.5px; margin-bottom: 16px; color: var(--muted); }
  .wiz [data-step="offer"] .wiz__help { display: none; }
  .wiz .label { font-size: 16px; margin-bottom: 10px; }
  .wiz .field { margin-bottom: 20px; }

  /* step 1: four plain rows: ○ name … price / one line of text / "Lasīt vairāk" */
  .wiz .offer-pick { grid-template-columns: 1fr; gap: 8px; }
  .wiz .opt span, .wiz .opt--deal span, .wiz .opt--plain span {
    display: grid; grid-template-columns: 24px 1fr auto; column-gap: 12px; row-gap: 2px; align-items: center;
    min-height: 0; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line);
  }
  .wiz .opt span::after { position: static; grid-column: 1; grid-row: 1; width: 22px; height: 22px; }
  .wiz .opt input:checked + span::after { background-size: 13px; }
  .wiz .opt--deal span::before, .wiz .opt__ico { display: none; }
  .wiz .opt b, .wiz .opt--deal b { grid-column: 2; grid-row: 1; font-size: 18.5px; padding: 0; }
  .wiz .opt em, .wiz .opt--plain em { grid-column: 3; grid-row: 1; margin: 0; padding: 0; font-size: 16px; white-space: nowrap; }
  .wiz .opt small, .wiz .opt--plain small { grid-column: 2 / -1; font-size: 14.5px; color: var(--muted); }
  .wiz .opt__more { grid-column: 2 / -1; justify-self: start; margin-top: 4px; font-size: 14px; color: var(--red); }
  .offer-pick__or { margin: 10px 0 0; font: 600 14px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .wiz .opt input:checked + span { box-shadow: inset 0 0 0 2px var(--red); }

  .wiz .chip span { min-height: 48px; padding: 11px 16px; font-size: 16px; }
  .wiz .chips--days .chip b { font-size: 17px; }
  .wiz .toggle { padding: 14px 16px; font-size: 16.5px; box-shadow: inset 0 0 0 1.5px var(--line); }
  .wiz .own { margin-top: 18px; padding-top: 18px; }
  .wiz__box { margin-top: 20px; padding-top: 20px; }
  .wiz__long { display: none; }
  .more { padding: 30px 20px 22px; }
  .more .h2 { font-size: 28px; }
}

.closed, .thanks {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 60px); align-items: center;
  background: var(--cream); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 60px); position: relative; z-index: 1;
}
.closed[hidden], .thanks[hidden] { display: none; }
.closed__art img, .thanks__art img { width: 100%; animation: bob 6s ease-in-out infinite; }
.closed__text p { color: var(--ink-2); margin: 0 0 22px; }
.closed__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.thanks { outline: none; }
.thanks--pay .thanks__art { display: none; }   /* gift orders: show the payment box straight away */
.thanks--pay .paybox { box-shadow: inset 0 0 0 2px var(--red); }
.paybox { margin: 18px 0 6px; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; }
.paybox[hidden] { display: none; }
.paybox--step { margin: 4px 0 0; box-shadow: inset 0 0 0 2px var(--red); }
.paybox--step .check { margin-top: 14px; font-weight: 600; color: var(--ink); }
.paybox__title { margin: 0 0 10px; font: 500 20px/1.2 var(--serif); color: var(--ink); }
.paybox__list { margin: 0; display: grid; gap: 0; }
.paybox__list div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.paybox__list div:last-child { border-bottom: 0; }
.paybox__list dt { font-size: 14.5px; color: var(--muted); }
.paybox__list dd { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; font-weight: 700; color: var(--ink); text-align: right; word-break: break-all; }
.paybox__copy { padding: 6px 12px; border: 0; border-radius: 99px; background: var(--cream-2); color: var(--ink); font: 600 13px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.paybox__copy:hover { background: var(--red); color: #fff; }
.paybox__note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.summary__lines--light, .summary__total--light { color: var(--ink); max-width: 520px; }
.summary__total--light { border-color: var(--line); }
.summary__total--light strong { color: var(--red); }
.summary__lines--light li.is-head { border-color: var(--line); color: var(--muted); }
.summary__lines--light li.is-disc span:last-child { color: var(--green); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-top: clamp(90px, 11vw, 150px); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq__side { position: sticky; top: 30px; }
.faq__contact { display: flex; gap: 10px; flex-wrap: wrap; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--cream); border-radius: var(--r-md); transition: background .3s, box-shadow .3s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow-soft), inset 0 0 0 1px var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font: 500 20px/1.25 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d22630' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .45s var(--ease-spring), background-color .3s; box-shadow: inset 0 0 0 1px var(--line); }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--cream); }
.faq details > div { padding: 0 26px 24px; color: var(--ink-2); }
.faq details > div p { margin: 0; }
.faq details a { color: var(--red); font-weight: 600; }
.faq__more { display: none; }
.doc-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.doc-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

/* ==========================================================================
   CONTACT + FOOTER
   ========================================================================== */

.footer { padding: clamp(60px, 8vw, 100px) 0 30px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 600 20px/1 var(--serif); color: var(--ink); text-decoration: none; }
.footer__phone svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 1.8; }
.footer__phone:hover { color: var(--red); }
.footer__brand { max-width: 380px; }
.footer__brand .logo { display: inline-block; font-size: 40px; margin-bottom: 14px; }
.footer__brand p { margin: 0; color: var(--muted); font-size: 15px; }
.footer__nav { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.4vw, 34px); flex-wrap: wrap; }
.footer__nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.footer__nav a:hover { color: var(--red); }
.socials { display: flex; gap: 10px; }
.social { width: 44px; height: 44px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .4s var(--ease-spring), background .3s; }
.social:hover { transform: translateY(-3px); background: var(--red-2); }
.social svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social.is-todo { background: transparent; box-shadow: inset 0 0 0 2px var(--red); outline: 2px dashed var(--gold); outline-offset: 3px; }
.social.is-todo svg { stroke: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.sep { margin: 0 8px; }
.todo { display: inline-block; padding: 4px 10px; border-radius: 8px; border: 1.5px dashed var(--gold); background: #fff8e6; color: #8a5b18; font-weight: 600; font-size: 13px; }

/* modal */
.modal { width: min(560px, calc(100% - 32px)); border: 0; border-radius: var(--r-lg); padding: 40px 36px 32px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .45); color: var(--ink); }
.modal::backdrop { background: rgba(30, 10, 10, .45); backdrop-filter: blur(4px); }
.modal[open] { animation: rise .45s var(--ease); }
.modal p { color: var(--ink-2); }
.modal__x { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; display: grid; place-items: center; }
.modal__x svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.soon { text-align: center; }
.soon__art { width: 120px; height: auto; margin: -6px auto 8px; display: block; }
.soon .h3 { margin: 0 0 8px; }
.soon p { margin: 0 0 22px; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes spinIn { from { transform: rotate(-60deg) scale(.4); opacity: 0; } to { transform: rotate(-10deg) scale(1); opacity: 1; } }

/* season states */
[data-season="before"] [data-order], [data-season="after"] [data-order],
[data-season="before"] [data-order-lead], [data-season="after"] [data-order-lead],

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 14px; }
  .hero__tree { width: clamp(260px, min(29vw, (100svh - 250px) / 1.5), 500px); }
  .promise { max-width: 300px; }
  .order__grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .offer-pick { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav__links {
    position: fixed; inset: 10px; z-index: 50; margin: 0;
    flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: var(--red); border-radius: var(--r-xl);
    opacity: 0; visibility: hidden; transform: scale(.96); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  }
  .nav__links a { font: 500 34px/1.3 var(--serif); font-variation-settings: 'SOFT' 100; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav.is-open .nav__toggle { position: relative; z-index: 60; }
  .nav__toggle { display: grid; }
  .nav__actions { margin-left: auto; }

  .hero__card { min-height: auto; }
  .hero__body { grid-template-columns: 1fr; grid-template-rows: none; padding: 20px 20px 58px; }
  .season-pill { font-size: 13px; text-align: center; }
  .hero__title { grid-row: auto; margin-top: 22px; }
  .hero__kicker { transform: none !important; animation-name: rise !important; }
  .hero__script { font-size: clamp(84px, 22vw, 170px); }
  .hero__tree { position: relative; left: auto; bottom: auto; transform: none; margin: -14vw auto 0; width: min(78vw, 420px); }
  @keyframes treeIn { from { opacity: 0; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }
  .hero__cta { left: 20px; bottom: 16px; }
  .promise { grid-column: 1; grid-row: auto; justify-self: center; text-align: center; margin-top: 30px; max-width: 460px; }
  .promise p:not(.promise__num) { margin-inline: auto; }
  .promise__progress { margin-inline: auto; }
  .hero__nav { position: static; display: none; }

  .tree-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__text, .feature__text { order: 2; padding: 0; }
  .feature__art, .feature--flip .feature__art { order: 1; margin-bottom: 30px; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 26px; }
  .steps::before { left: 44px; right: auto; top: 40px; bottom: 40px; border-top: 0; border-left: 2px dashed #ddd2c6; }
  .steps li { display: grid; grid-template-columns: 88px 1fr; column-gap: 20px; text-align: left; padding: 0; }
  .steps__ico { grid-row: span 3; margin: 0; }
  .order__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .faq { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .closed, .thanks { grid-template-columns: 1fr; text-align: center; }
  .closed__art, .thanks__art { width: 200px; margin: 0 auto; }
  .closed__actions { justify-content: center; }
  .summary__lines--light, .summary__total--light { margin-inline: auto; text-align: left; }
  .footer__nav { align-items: flex-start; }

}

@media (max-width: 640px) {
  body { font-size: 16px; -webkit-tap-highlight-color: transparent; }
  .h2 { font-size: 36px; }
  .sec-head { margin-bottom: 22px; }
  .trees .lead { font-size: 15px; margin-bottom: 0; }
  .footer__brand .logo { font-size: 32px; margin-bottom: 10px; }

  /* order form: days in a tidy 3-column grid, room under the phone field */
  .chips--days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .chips--days .chip span { min-width: 0; width: 100%; padding: 10px 6px; }
  .chips--days .chip b { font-size: 17px; }
  .chips--days .chip small { font-size: 11.5px; }
  .row > .field:last-child { margin-bottom: 22px; }

  /* phone menu: a white drop-down card under the bar instead of a full-screen sheet */
  .nav__links {
    inset: 80px 14px auto; padding: 6px 8px; gap: 0; align-items: stretch; justify-content: flex-start;
    background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .6); border-radius: 22px; box-shadow: 0 24px 50px -24px rgba(60, 0, 10, .45);
    transform: translateY(-8px) scale(.98); transform-origin: top right;
  }
  .nav.is-open::before { content: ''; position: fixed; inset: 0; z-index: 45; background: rgba(30, 6, 10, .12); }
  .nav__links li + li { border-top: 1px solid rgba(24, 18, 15, .08); }
  .nav__links a { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px; color: var(--ink); opacity: 1; font: 500 18px/1.2 var(--serif); }
  .nav__links a::after { position: static; width: 7px; height: 7px; background: none; border: solid var(--red); border-width: 2px 2px 0 0; transform: rotate(45deg); transition: none; }
  .nav__links a:hover::after { transform: rotate(45deg); }

  /* glance: compact 2×2, icon beside the text */
  .glance { padding-top: 64px; }
  .glance__panel { padding: 30px 16px 18px; }
  .glance .h2 { font-size: 30px; margin-bottom: 8px; }
  .glance .lead { font-size: 14.5px; margin-bottom: 0; }
  .glance__list { margin-top: 16px; gap: 6px; grid-template-columns: 1fr; }
  .glance__list li { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; row-gap: 2px; text-align: left; align-items: center; padding: 10px 14px; background: #fff; border-radius: 14px; }
  .glance__list .ico { grid-row: span 2; width: 32px; height: 32px; margin: 0; }
  .glance__list .ico svg { width: 28px; height: 28px; stroke: var(--red); stroke-width: 1.5; }
  .glance__list strong { font-size: 15.5px; }
  .glance__list small { font-size: 12px; }

  /* "Kā tas notiek": tighter timeline */
  .how { padding-top: 88px; }
  .how__panel { padding: 30px 16px 26px; }
  .how .h2 { font-size: 32px; margin-bottom: 6px; }
  .how .lead { font-size: 14.5px; }
  .how .sec-head { margin-bottom: 20px; }
  .steps { gap: 14px; }
  .steps::before { left: 28px; top: 28px; bottom: 28px; }
  .steps li { grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center; }
  .steps__ico { width: 56px; height: 56px; }
  .steps__ico svg { width: 26px; height: 26px; }
  .steps__ico b { width: 22px; height: 22px; font-size: 11px; right: -6px; top: -6px; }
  .steps h3 { font-size: 18px; margin-bottom: 2px; }
  .steps p { font-size: 13.5px; line-height: 1.4; }
  /* phone sliders: offers and tree cards swipe sideways */
  .slider { position: relative; display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .slider::-webkit-scrollbar { display: none; }
  .slider-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
  .slider-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: #e2d6cb; cursor: pointer; transition: width .35s var(--ease), background .3s; }
  .slider-dots button.is-on { width: 22px; background: var(--red); }

  .offers { padding-top: 88px; }
  .trees { padding-top: 88px; }
  .offers .sec-head { margin-bottom: 14px; }
  .offers .sec-head .h2 { font-size: 36px; margin-bottom: 4px; }
  .offers .sec-head .lead { font-size: 14.5px; margin-bottom: 0; }
  .offers__track { gap: 12px; padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); align-items: stretch; }
  .offers__track > .feature { flex: 0 0 86%; width: auto; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 10px 16px; background: var(--cream); border-radius: 26px; }
  .offers__track .swirl { display: none; }
  .offers__track .feature__art { margin-bottom: 14px; }
  .offers__track .art-card { width: 100%; aspect-ratio: 1.45; border-radius: 18px; box-shadow: none; }
  .offers__track .feature__text { padding: 0 6px; display: flex; flex-direction: column; flex: 1; }
  .offers__track .kicker { display: none; }
  .offers__track .h2 { font-size: 27px; margin-bottom: 4px; }
  .offers__track .lead { font-size: 14px; margin-bottom: 12px; }
  .offers__track .ticks { gap: 5px; margin-bottom: 14px; font-size: 13.5px; line-height: 1.4; }
  .offers__track .ticks li { gap: 8px; }
  .offers__track .ticks svg { width: 18px; height: 18px; margin-top: 0; }
  .offers__track .deal { gap: 10px; margin: 0 0 14px; padding: 9px 12px 9px 9px; border-radius: 14px; }
  .offers__track .deal::before { inset: 4px; border-radius: 10px; }
  .offers__track .deal__pct { width: 48px; height: 48px; font-size: 16px; }
  .offers__track .deal__txt { font-size: 11.5px; }
  .offers__track .deal__txt b { font-size: 17px; }
  .offers__track .feature__buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: nowrap; }
  .offers__track .price-tag { margin: 0; font-size: 21px; line-height: 1.1; }
  .offers__track .price-tag span { color: var(--ink); font-weight: 400; }
  .offers__track .price-tag--big { font-size: 28px; }
  .offers__track .price-tag--big span { display: inline; }
  .offers__track .btn { flex: none; padding: 12px 20px; }

  .tree-grid { display: flex; gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter) 6px; scroll-padding-inline: var(--gutter); }
  .tree-grid > .tree-card { flex: 0 0 calc((100% - 10px) / 2 - 18px); scroll-snap-align: start; }
  .tree-card:hover { transform: none; }
  .tree-card:hover .tree-card__stage img { transform: none; }
  .tree-grid .tree-card__tag { left: 0; top: 26px; width: 84px; }
  .tree-grid .tree-card__tag span { font-size: 8.5px; }
  /* phone hero: compact tree tucked into the headline, smaller slides, no corner link */
  .hero__body { padding-bottom: 30px; }
  .hero__title { justify-self: center; width: 100%; }
  .hero__script { transform: rotate(-4deg) translateX(-2.5%); }
  .hero__tree { width: min(60vw, 300px); margin-top: -19vw; }
  .hero__cta { display: none; }
  .promise { margin-top: 18px; max-width: 330px; }
  .promise__num { font-size: 12px; margin-bottom: 4px; }
  .promise h2 { font-size: 26px; margin-bottom: 8px; }
  .promise p:not(.promise__num) { font-size: 14px; line-height: 1.55; }
  .promise__progress { margin-top: 16px; width: 90px; }
  .nav { gap: 10px; }
  .nav__icon { display: none; }
  .nav__cta { padding: 11px 18px; }
  .tree-grid { gap: 10px; }
  .tree-card { min-height: 248px; padding: 16px 12px 18px; }
  .tree-card__stage { min-height: 160px; }
  .tree-card__stage img { height: calc(180px * var(--s)); }
  .tree-card__label { font-size: 18px; }
  .tree-card__price { font-size: 20px; }
  .tree-card__go { opacity: 1; transform: none; font-size: 13px; }
  .tree-card__tall-text { font-size: 24px; }
  .row { grid-template-columns: 1fr; }
  .offer-pick { grid-template-columns: 1fr 1fr; gap: 8px; }
  .opt span { padding: 14px 12px; }
  .opt b { font-size: 16px; }
  .step { padding: 22px 16px; border-radius: 24px; }
  .chips--bands { display: grid; grid-template-columns: 1fr 1fr; }
  .chips--bands .chip span { min-width: 0; width: 100%; }
  .sticker { width: 100px; height: 100px; font-size: 13px; left: -2%; }
  .art-van__van { left: -4%; width: 84%; }
  /* phone FAQ: compact rows, first 5 questions + "show all" */
  .faq { padding-top: 88px; gap: 22px; }
  .faq .h2 { font-size: 34px; }
  .faq__side .lead { font-size: 15px; margin-bottom: 14px; }
  .faq__contact .btn { padding: 11px 18px; font-size: 15px; }
  .faq__list { gap: 6px; }
  .faq details { border-radius: 16px; }
  .faq summary { padding: 13px 14px 13px 16px; font-size: 16px; gap: 10px; }
  .faq summary::after { width: 28px; height: 28px; background-size: 14px; }
  .faq details > div { padding: 0 16px 16px; font-size: 15px; }
  .faq__list:not(.is-all) details:nth-of-type(n+6) { display: none; }
  .faq__more { display: block; margin: 4px auto 0; padding: 10px 18px; border: 0; background: none; color: var(--red); font: 600 15px/1 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
  .faq__list.is-all .faq__more { display: none; }
  .footer__bottom { flex-direction: column; }
}

/* ===== order form on phones: a separate, minimal design =====
   white page, one question, answers as big full-width rows, one red button at the bottom */
.review { display: none; }
@media (max-width: 640px) {
  .sheet .summary { display: none; }
  .sheet__bar { padding: 8px 12px; border-bottom: 0; background: #fff; }
  .sheet__title { display: none; }
  .sheet__bar { justify-content: flex-end; }
  .sheet__x { width: 40px; height: 40px; background: none; }
  .sheet__body { padding: 0 20px calc(104px + env(safe-area-inset-bottom)); }
  .wiz { gap: 0; }
  .wiz__head { padding: 0; }
  .wiz__count { display: none; }
  .wiz__bar { height: 5px; }

  .wiz .step { padding: 26px 0 0; }
  .wiz .step__legend { font-size: 30px; line-height: 1.1; margin-bottom: 8px; }
  .wiz__help { font-size: 16px; margin-bottom: 22px; color: var(--muted); }
  .wiz .label { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
  .wiz .field { margin-bottom: 22px; }
  .wiz .hint { font-size: 14.5px; }
  .wiz input[type=text], .wiz input[type=tel], .wiz textarea { font-size: 19px; padding: 18px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); }

  /* single choices: full-width rows with a round marker */
  .wiz .chips--rows { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .wiz .chips--rows .chip span { width: 100%; min-height: 62px; justify-content: flex-start; gap: 14px; padding: 16px 18px; border-radius: 16px; font-size: 18px; font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--line); transform: none; }
  .wiz .chips--rows .chip span::before { content: ''; flex: none; width: 22px; height: 22px; margin: 0; border: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px #cfc4b8; transform: none; background: #fff; }
  .wiz .chips--rows .chip input:checked + span { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--red); }
  .wiz .chips--rows .chip input:checked + span::before { width: 22px; height: 22px; margin: 0; border: 0; transform: none; box-shadow: inset 0 0 0 7px var(--red); }
  .wiz .chips--rows .chip span svg { width: 22px; height: 22px; color: var(--red); }

  /* heights and days stay as tidy grids, selected = solid red */
  .wiz .chips--bands { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .wiz .chips--bands .chip span { width: 100%; padding: 14px 16px; }
  .wiz .chips--days { gap: 8px; }
  .wiz .chips--days .chip span { padding: 12px 4px; }

  /* step 1 rows */
  .wiz .opt span, .wiz .opt--deal span, .wiz .opt--plain span { padding: 16px 16px; }
  .offer-pick__or { margin: 14px 0 2px; }

  /* the bottom bar: just "back" and one big button */
  .wiz__nav { padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 0; box-shadow: 0 -10px 24px -18px rgba(60, 10, 10, .35); }
  .wiz__total { display: none; }
  .wiz__back { width: 58px; height: 58px; padding: 0; justify-content: center; }
  .wiz__next { min-height: 58px; font-size: 19px; }

  /* last step: a clean white check-list instead of the red panel */
  .review { display: block; margin: 4px 0 26px; padding: 6px 18px 16px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line); }
  .review__lines { list-style: none; margin: 0; padding: 0; }
  .review__lines li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
  .review__lines li span:last-child { font-weight: 600; color: var(--ink); text-align: right; }
  .review__lines li.is-head { padding-bottom: 2px; border: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .review__lines li.is-sub { font-size: 14px; color: var(--muted); }
  .review__lines li.is-disc span:last-child { color: var(--green); }
  .review__lines--det li { font-size: 14.5px; }
  .review__total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 2px; font-size: 16px; font-weight: 600; }
  .review__total strong { font: 600 32px/1 var(--serif); color: var(--red); }
  .review__pay { margin: 0; font-size: 14px; color: var(--muted); }
  .paybox { padding: 16px; }
  .paybox__list div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .paybox__list dd { justify-content: flex-start; text-align: left; font-size: 17px; word-break: normal; }
}

/* small Android phones (360 px): keep the season pill on one line */
@media (max-width: 390px) {
  .season-pill { font-size: 12px; padding: 8px 13px; gap: 8px; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
