/* ============================================================
   greenflag — design system
   Type: Lora (serif display + prices) / Manrope (UI + body)
   ============================================================ */

:root {
  --paper:    #f6f5ef;   /* page background (warm paper)        */
  --paper-2:  #f1f0e8;   /* header / alt surface                */
  --sage:     #e4e5d9;   /* sage section background             */
  --card:     #ffffff;

  --ink:      #1c1b16;   /* near-black warm text                */
  --ink-soft: #38372e;
  --muted:    #8c8b80;   /* secondary text                      */
  --muted-2:  #aaa99f;   /* faint                               */

  --line:     #e2e0d5;   /* hairline borders                    */
  --line-2:   #d6d4c8;

  --green:      #6e8c46; /* olive accent                        */
  --green-deep: #5b7438;
  --green-tint: #eef0e4;

  --ph-warm:  #e8e6dc;   /* placeholder beige                   */
  --ph-cool:  #dadad3;   /* placeholder grey                    */

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #fff; }

/* ---------- shared layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.serif { font-family: var(--serif); }
.price { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; }

/* ============================================================
   Header
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-txt { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.01em; }
.logo-txt em { color: var(--green); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color .2s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--green); transition: width .28s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--ink); }

.hdr-right { display: flex; align-items: center; gap: 22px; }
.cart-btn {
  display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500;
  color: var(--ink); transition: opacity .2s;
}
.cart-btn:hover { opacity: .65; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 11px;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
}
.cart-count.empty { background: var(--line-2); color: var(--muted); }

.burger { display: none; width: 26px; height: 26px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { height: 1.6px; width: 100%; background: var(--ink); transition: .3s var(--ease); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 28px; font-size: 15px; font-weight: 600;
  border-radius: 2px; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn-lg { height: 56px; padding: 0 34px; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }

/* ============================================================
   Badges & pills
   ============================================================ */
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: 6px 10px; border-radius: 2px; white-space: nowrap;
}
.badge-stock { background: var(--ink); color: var(--paper); }
.badge-order { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); }

/* ============================================================
   Image placeholders
   ============================================================ */
.ph {
  position: relative; overflow: hidden;
  background: var(--ph-warm);
}
.ph.cool { background: var(--ph-cool); }
.ph::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 48% at 50% 46%, rgba(255,255,255,.55), transparent 70%);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.018) 0 12px, transparent 12px 24px);
}
.ph-label {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px; letter-spacing: .06em; color: var(--muted);
  background: color-mix(in srgb, var(--paper) 70%, transparent); padding: 3px 8px; border-radius: 2px;
  white-space: nowrap; z-index: 1;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Footer
   ============================================================ */
.ft { border-top: 1px solid var(--line); margin-top: 0; }
.ft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 56px; }
.ft-brand .logo-txt { font-size: 26px; }
.ft-brand p { color: var(--muted); font-size: 14px; max-width: 30ch; margin-top: 16px; line-height: 1.6; }
.ft-col h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.ft-col a, .ft-col span { display: block; font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; transition: color .2s; }
.ft-col a:hover { color: var(--green); }
.ft-bot { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.ft-bot .eyebrow { font-weight: 600; }

/* ============================================================
   Hero (home)
   ============================================================ */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; min-height: 60vh; }
.hero-h1 {
  font-family: var(--serif); font-weight: 500; line-height: 1.02;
  font-size: clamp(48px, 7vw, 92px); letter-spacing: -.02em;
}
.hero-h1 em { font-style: italic; color: var(--green); }
.hero-lead { color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; max-width: 38ch; margin: 30px 0 38px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card { aspect-ratio: 4/5; border-radius: 2px; }
.hero-card .ph-label { left: 22px; bottom: 22px; transform: none; }

.scrollrow { display: flex; justify-content: space-between; align-items: center; padding: 40px 0 28px; margin-top: clamp(40px,6vw,80px); border-top: 1px solid var(--line); }

/* typographic hero (no image) */
.hero-text { padding-top: clamp(56px, 11vh, 132px); }
.hero-eyebrow { display: block; margin-bottom: clamp(22px, 4vw, 36px); }
.hero-text .hero-h1 { font-size: clamp(52px, 10.5vw, 132px); line-height: .96; max-width: 16ch; }
.hero-text .hero-lead { margin: clamp(26px, 4vw, 40px) 0 clamp(30px, 4vw, 42px); max-width: 46ch; }

/* ============================================================
   Section heading block
   ============================================================ */
.sec { padding: clamp(56px, 8vw, 110px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px,5vw,56px); }
.sec-h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 64px); letter-spacing: -.02em; line-height: 1.05; }
.sec-sub { color: var(--muted); font-size: 14px; }

/* ============================================================
   Catalog
   ============================================================ */
.tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin-bottom: 44px; overflow-x: auto; }
.tab {
  font-size: 15px; font-weight: 500; color: var(--muted); padding: 0 0 16px; position: relative;
  white-space: nowrap; transition: color .2s;
}
.tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--ink); transition: width .28s var(--ease); }
.tab:hover { color: var(--ink-soft); }
.tab.active { color: var(--ink); }
.tab.active::after { width: 100%; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px) clamp(20px,3vw,30px); }
.grid.cols3 { grid-template-columns: repeat(3, 1fr); }

.card { display: flex; flex-direction: column; cursor: pointer; }
.card-media { position: relative; aspect-ratio: 3/4; border-radius: 2px; margin-bottom: 16px; }
.card-media .ph { position: absolute; inset: 0; border-radius: 2px; }
.card-fav {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%;
  background: color-mix(in srgb, var(--paper) 78%, transparent); display: grid; place-items: center;
  opacity: 0; transform: translateY(-4px); transition: .3s var(--ease);
}
.card:hover .card-fav { opacity: 1; transform: none; }
.card-quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  opacity: 0; transform: translateY(8px); transition: .32s var(--ease);
}
.card:hover .card-quick { opacity: 1; transform: none; }
.card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.card-desc { font-size: 13px; color: var(--muted); margin-top: 3px; }
.card-price { font-size: 18px; }
.card:hover .card-media .ph::before { opacity: .8; }
.card-media .ph, .card-media .ph::before { transition: transform .6s var(--ease), opacity .4s; }
.card:hover .card-media .ph img { transform: scale(1.04); }

/* ============================================================
   Product page
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); padding: clamp(36px,5vw,64px) 0; align-items: start; }
.pdp-media { position: sticky; top: 96px; display: grid; gap: 14px; }
.pdp-main { aspect-ratio: 3/4; border-radius: 2px; position: relative; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.pdp-thumb { aspect-ratio: 1; border-radius: 2px; position: relative; cursor: pointer; outline: 1.5px solid transparent; transition: outline-color .2s; }
.pdp-thumb.active { outline-color: var(--ink); }
.pdp-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.pdp-back:hover { color: var(--ink); }
.pdp-cat { color: var(--green); }
.pdp-h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px,4vw,52px); letter-spacing: -.02em; line-height: 1.04; margin: 14px 0 10px; }
.pdp-desc { color: var(--ink-soft); font-size: 16px; line-height: 1.65; margin: 24px 0; max-width: 46ch; }
.pdp-price { font-size: 30px; margin-bottom: 6px; }
.opt-group { margin: 26px 0; }
.opt-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  min-width: 50px; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft); background: var(--card);
  display: inline-flex; align-items: center; justify-content: center; transition: .2s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.swatch { width: 38px; height: 38px; min-width: 0; border-radius: 50%; padding: 0; position: relative; }
.swatch.active { outline: 1.5px solid var(--ink); outline-offset: 2px; border-color: transparent; }
.pdp-buy { display: flex; gap: 12px; margin-top: 30px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; height: 52px; }
.qty button { width: 46px; height: 100%; font-size: 18px; color: var(--ink-soft); }
.qty button:hover { color: var(--green); }
.qty span { width: 36px; text-align: center; font-weight: 600; }
.pdp-meta { margin-top: 36px; border-top: 1px solid var(--line); }
.pdp-meta details { border-bottom: 1px solid var(--line); }
.pdp-meta summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; font-size: 15px; list-style: none; cursor: pointer; }
.pdp-meta summary::-webkit-details-marker { display: none; }
.pdp-meta summary .plus { color: var(--muted); font-size: 20px; font-weight: 400; transition: transform .3s; }
.pdp-meta details[open] summary .plus { transform: rotate(45deg); }
.pdp-meta .body { padding: 0 0 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; max-width: 50ch; }

/* ============================================================
   Cart drawer
   ============================================================ */
.overlay { position: fixed; inset: 0; background: rgba(28,27,22,.34); backdrop-filter: blur(2px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(460px, 100%);
  background: var(--paper); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .42s var(--ease); box-shadow: -20px 0 60px rgba(28,27,22,.12);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 26px var(--pad); border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--paper-2); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px var(--pad); }
.drawer-foot { padding: 22px var(--pad) calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper-2); }

.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.line-item .ph { width: 76px; height: 96px; border-radius: 2px; }
.li-name { font-weight: 600; font-size: 15px; }
.li-opt { font-size: 13px; color: var(--muted); margin-top: 3px; }
.li-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; margin-top: 12px; height: 34px; }
.li-qty button { width: 32px; height: 100%; font-size: 15px; }
.li-qty span { width: 26px; text-align: center; font-size: 14px; font-weight: 600; }
.li-right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; }
.li-price { font-family: var(--serif); font-weight: 500; font-size: 16px; }
.li-rm { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.li-rm:hover { color: var(--green); }

.sumrow { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 14px; color: var(--ink-soft); }
.sumrow.total { font-size: 16px; color: var(--ink); margin: 18px 0; }
.sumrow.total b { font-family: var(--serif); font-size: 24px; font-weight: 500; }

.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart p { color: var(--muted); margin: 16px 0 26px; }

/* ============================================================
   Checkout form
   ============================================================ */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.field label .req { color: var(--green); }
.field input, .field textarea, .field select {
  width: 100%; height: 50px; padding: 0 16px; background: var(--card); border: 1px solid var(--line-2);
  border-radius: 2px; font-size: 15px; transition: border-color .2s, box-shadow .2s; color: var(--ink);
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 84px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.field input.err, .field textarea.err { border-color: #c0563f; box-shadow: 0 0 0 3px #f3e0da; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field .errmsg { font-size: 12px; color: #c0563f; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: 3px; cursor: pointer; transition: .2s var(--ease); background: var(--card); }
.radio-card:hover { border-color: var(--ink-soft); }
.radio-card.active { border-color: var(--green); background: var(--green-tint); }
.radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; margin-top: 1px; position: relative; transition: .2s; }
.radio-card.active .radio-dot { border-color: var(--green); }
.radio-card.active .radio-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--green); }
.radio-card .rc-title { font-weight: 600; font-size: 15px; }
.radio-card .rc-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* success */
.order-done { text-align: center; padding: 60px 20px; }
.order-done .check { width: 72px; height: 72px; border-radius: 50%; background: var(--green-tint); display: grid; place-items: center; margin: 0 auto 24px; }
.order-done h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin-bottom: 12px; }
.order-done p { color: var(--ink-soft); max-width: 36ch; margin: 0 auto 8px; line-height: 1.6; }

/* config note */
.order-copy {
  text-align: left; white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; line-height: 1.55;
  color: var(--ink-soft); background: var(--card); border: 1px solid var(--line);
  border-radius: 3px; padding: 14px 16px; max-height: 230px; overflow: auto; margin-top: 12px;
}
.tg-note { font-size: 12px; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; margin-top: 14px; line-height: 1.5; }
.tg-note code { font-family: ui-monospace, Menlo, monospace; color: var(--green-deep); }

/* ============================================================
   "Под заказ" steps page
   ============================================================ */
.steps-hero { background: var(--sage); }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,72px) clamp(40px,6vw,80px); }
.step-num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(64px, 9vw, 104px); color: var(--muted-2); line-height: .9; letter-spacing: -.02em; }
.step h3 { font-size: 19px; font-weight: 700; margin: 18px 0 12px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 34ch; }

/* CTA band */
.band { background: var(--ink); color: var(--paper); border-radius: 4px; padding: clamp(40px,6vw,72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px,4vw,52px); line-height: 1.05; letter-spacing: -.02em; }
.band p { color: color-mix(in srgb, var(--paper) 70%, transparent); margin-top: 18px; font-size: 16px; line-height: 1.6; max-width: 40ch; }
.band .btn-light { background: var(--paper); color: var(--ink); }
.band .btn-light:hover { background: var(--green); color: #fff; }
.band-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* contacts */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); }
.contact-item { padding: 26px 0; border-top: 1px solid var(--line); }
.contact-item h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.contact-item a, .contact-item p { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.contact-item a:hover { color: var(--green); }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 3px;
  font-size: 14px; font-weight: 500; z-index: 120; opacity: 0; pointer-events: none;
  transition: .4s var(--ease); display: flex; align-items: center; gap: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   Animations
   ============================================================ */
/* Entrance reveal: implemented as a TRANSITION (not a fill-mode animation)
   so content can never get stuck hidden in a paused/background iframe,
   screenshot, or print — worst case it simply appears without the fade. */
.reveal { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .reveal.pre { opacity: 0; transform: translateY(18px); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; aspect-ratio: 16/12; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-media { position: static; }
  .grid.cols3 { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps-grid, .band, .contacts-grid { grid-template-columns: 1fr; }
  .band-actions { flex-direction: row; }
}
@media (max-width: 560px) {
  .grid, .grid.cols3 { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .ft-top { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; }
}

/* mobile nav sheet */
.msheet { position: fixed; inset: 0; z-index: 80; background: var(--paper); transform: translateY(-100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; padding: 90px var(--pad) 40px; }
.msheet.open { transform: none; }
.msheet a { font-family: var(--serif); font-size: 34px; font-weight: 500; padding: 16px 0; border-bottom: 1px solid var(--line); }
.msheet a em { color: var(--green); font-style: italic; }
