/* ============================================================
   Möbel&Zeit — «Диваны нового поколения», 4 рекламные посадки
   (lp-gallery, lp-sun, lp-palms, lp-announce)

   Отдельная система на токенах Аутлета (Golos Text, #e1231c),
   но со своими классами — не использует outlet-new.css/js и не
   должна с ними пересекаться. У страницы ровно одна тема
   (light ИЛИ dark) — задаётся классом .theme-light/.theme-dark
   на <body>, внутри страницы темы не смешиваются.
   ============================================================ */

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Golos Text',system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;background:var(--bg);color:var(--ink)}
img{display:block;max-width:100%}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
svg{display:block}

:root{
  --red:        #e1231c;
  --red-hover:  #c11c16;
  --red-bright: #ff4b3f;
  --ease: cubic-bezier(.32,.72,0,1);
  /* content column ≈ 80% of viewport width (10% margin each side) */
  --pad: clamp(24px, 10vw, 160px);
  --pad-r: clamp(24px, 10vw, 160px);
}

body.theme-light{
  --bg:      #ffffff;
  --ink:     #141414;
  --ink-2:   #6d6d6a;
  --ink-3:   #8a8a8a;
  --hair:    #e2e2de;
  --hair-2:  #cfcfca;
  --chip-bg: rgba(20,20,20,.05);
  --accent-soft: var(--red);
}
body.theme-dark{
  --bg:      #12100e;
  --ink:     #f7f5f1;
  --ink-2:   #e8e6e2;
  --ink-3:   #8d8b86;
  --hair:    #3a3733;
  --hair-2:  #312e2a;
  --chip-bg: rgba(255,255,255,.08);
  --accent-soft: var(--red-bright);
}

a{color:var(--red);text-decoration:none}
a:hover{color:var(--red-hover)}
body.theme-dark a:hover{color:var(--red-bright)}

.lp-wrap{position:relative}

/* ---------- header: logo+tagline left, contacts block (messengers + phone) right ---------- */
.lp-header{
  position:absolute;top:0;left:0;right:0;z-index:5;
  display:flex;align-items:center;justify-content:space-between;
  align-self:stretch;
  padding:clamp(18px,3.2vw,32px) var(--pad-r) 0 var(--pad);
  gap:20px;
}
.lp-brand{display:flex;align-items:center;gap:16px;min-width:0}
.lp-logo{height:32px;width:auto;flex:none}
.lp-brand-div{width:1px;height:36px;background:var(--hair-2);flex:none}
.lp-tagline{font-size:12.5px;line-height:1.3;color:var(--ink-3);max-width:150px}
.lp-phone{display:block;font-size:18px;font-weight:600;color:var(--ink);letter-spacing:.2px;white-space:nowrap}
.lp-hours{font-size:13px;color:var(--ink-3);margin-top:3px;letter-spacing:.2px;white-space:nowrap}

/* contacts: messenger chips + phone, grouped as one block */
.lp-contacts{display:flex;align-items:center;gap:18px;flex:none}
.lp-msgrs{display:flex;align-items:center;gap:10px;flex:none}
.lp-msgr{
  width:32px;height:32px;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:none;border:1px solid var(--ink);
  transition:background .3s var(--ease),transform .3s var(--ease),color .3s var(--ease);
}
.lp-msgr:hover{transform:translateY(-1px);background:#fff;border-color:#fff;color:#000}
body.theme-dark .lp-msgr:hover{background:rgba(255,255,255,.14);border-color:#fff;color:#fff}
.lp-msgr svg,.lp-msgr img{width:16px;height:16px}
.lp-msgr{color:var(--ink)}
.lp-contact-phone{text-align:right}

/* ---------- hero ---------- */
.lp-hero{
  position:relative;min-height:100dvh;display:flex;align-items:center;
  background:var(--bg);
}
.lp-hero-copy{
  position:relative;z-index:2;width:100%;max-width:640px;
  padding:clamp(120px,15vh,180px) 0 60px var(--pad);
}
.lp-eyebrow{font-size:13px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);margin-bottom:18px}
.lp-h1{margin:0;font-size:clamp(38px,5.6vw,72px);line-height:.94;font-weight:700;letter-spacing:-.03em;text-transform:uppercase;color:var(--ink)}
.lp-rule{width:80px;height:2px;background:var(--red);margin:28px 0 24px}
.lp-lead{margin:0;font-size:clamp(18px,2.2vw,25px);line-height:1.4;letter-spacing:-.2px;color:var(--ink)}
body.theme-dark .lp-lead{color:var(--ink-2)}
.lp-lead em{font-style:normal;color:var(--accent-soft)}
.lp-cta-row{display:flex;align-items:center;flex-wrap:wrap;gap:24px 30px;margin-top:36px}
/* lp-sun/lp-palms: their media panels are wider (58%/60.5%) than
   lp-gallery's (55%), so the copy column has less room. The price
   must NEVER wrap onto its own line under the button — non-negotiable
   — so beyond tightening the gap, wrapping itself is disabled on this
   row; if a viewport is ever too narrow the row may overflow its
   column slightly, which is preferable to the price dropping down */
.lp-hero:has(.w-sun) .lp-cta-row,.lp-hero:has(.w-palms) .lp-cta-row{gap:24px 16px;flex-wrap:nowrap}
.lp-hero:has(.w-sun) .lp-price,.lp-hero:has(.w-palms) .lp-price{flex:none}
.lp-btn{
  display:inline-flex;align-items:center;gap:18px;white-space:nowrap;
  background:var(--red);color:#fff;font-size:15px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  padding:20px 14px 20px 30px;border-radius:0;
  transition:background .3s var(--ease),transform .12s var(--ease);
}
.lp-btn:hover{background:var(--red-hover);color:#fff}
.lp-btn:active{transform:scale(.98)}
.lp-btn-ic{width:34px;height:34px;border-radius:0;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;flex:none}
/* "Записаться на просмотр" + this icon is wider than the fixed-width
   nowrap button can fit at several column widths (was true even on
   lp-gallery, the reference page) — pushing the icon out past the
   border instead of wrapping. Letting the label wrap keeps the icon
   inside the button no matter how narrow the column gets. */
.lp-btn:has(.lp-btn-ic-wa){white-space:normal}
.lp-btn-ic-wa{width:19px;height:19px;background:none}
/* the arrow icon carries its own width/height attributes, but the
   WA/MAX glyph's <svg> (viewBox 0 0 720 720) doesn't — without this,
   an un-sized inline svg falls back to its ~300x150 default box and
   spills out past its 19px wrapper instead of being clipped to it.
   Scoped to -wa only: its viewBox is square like its wrapper, so a
   100%/100% fill doesn't distort it the way it would the arrow icon. */
.lp-btn-ic-wa svg{width:100%;height:100%}
.lp-btn-outline{background:none;border:1.5px solid currentColor;color:var(--ink)}
.lp-btn-outline:hover{background:var(--ink);color:var(--bg)}
body.theme-dark .lp-btn-outline{color:var(--ink)}
body.theme-dark .lp-btn-outline:hover{background:var(--ink);color:var(--bg)}
.lp-btn-sm{padding:12px 20px;font-size:12.5px;gap:0}
.lp-price{font-size:21px;color:var(--ink);letter-spacing:-.2px;white-space:nowrap}
.lp-price span{color:var(--ink-3);font-size:15px}
.lp-price b{font-weight:600}
.lp-note{margin:18px 0 0;font-size:13px;line-height:1.5;color:var(--ink-3);max-width:340px}
.lp-sub-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.lp-sub-link{font-size:15px;color:var(--ink-3);text-decoration:underline;text-underline-offset:3px}
.lp-sub-link:hover{color:var(--red)}

/* ---------- feature row (icon + label, replaces the old dot-separated
   trust line; a title+caption variant covers the "icons with marks"
   layout lp-sun asked to go back to instead of the bullet accordion) ---------- */
.lp-features{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:28px 34px;margin-top:38px}
/* lp-sun: on desktop the sofa hotspots already show this content —
   the list below the CTA would just repeat it, so it's mobile-only,
   where the hotspot layer is hidden */
@media (min-width:901px){.lp-features{display:none}}
.lp-feature{display:flex;align-items:flex-start;gap:12px;max-width:170px}
.lp-feature svg{flex:none;color:var(--accent-soft);margin-top:1px;width:22px;height:22px}
.lp-feature span{font-size:14px;line-height:1.35;color:var(--ink-2);font-weight:500}
.lp-feature-title{font-size:14.5px;font-weight:600;color:var(--ink)}
.lp-feature-caption{font-size:12.5px;line-height:1.4;color:var(--ink-3);margin-top:2px}
/* lp-sun: icon badge — red icon inside a soft-red square instead of
   a bare line icon */
.lp-feature-icon{
  flex:none;width:38px;height:38px;border-radius:10px;
  background:rgba(225,35,28,.1);display:flex;align-items:center;justify-content:center;
}
.lp-feature-icon svg{color:var(--red);width:19px;height:19px;margin-top:0}

/* ---------- promo card (lp-sun): compact card, top-right, replaces
   the old bottom-anchored side-offer — sits clear of the product
   instead of overlapping it. Modern-glass surface: mostly-opaque
   frosted white (85-90%), not a see-through pane. */
.lp-promo-card{
  position:absolute;top:clamp(110px,16vh,150px);right:var(--pad-r);z-index:3;
  width:min(300px,80vw);padding:28px 26px;
  background:rgba(255,255,255,.88);border-radius:22px;
  border:1px solid rgba(255,255,255,.6);
  box-shadow:inset 0 1px 0 0 rgba(255,255,255,.9),0 30px 70px -24px rgba(20,20,20,.3);
  backdrop-filter:blur(24px) saturate(1.7);-webkit-backdrop-filter:blur(24px) saturate(1.7);
}
/* ---------- promo badge: a collapsed pill that expands into a full
   glass card on hover, instead of an always-open card. An open card
   (even a small one) always has SOME footprint over the product —
   the pill has almost none at rest, and a flat card also just reads
   cheap sitting on a photo/video, where the hover-reveal feels premium.
   Used on both lp-sun (light) and lp-announce (dark, the default). */
.lp-promo-badge{position:absolute;z-index:3}
.lp-promo-badge.top-right{top:clamp(90px,14vh,130px);right:var(--pad-r)}
.lp-promo-badge.bottom-right{bottom:var(--pad-r);right:var(--pad-r)}
.lp-promo-badge-trigger{
  display:flex;align-items:center;gap:16px;padding:14px 28px 14px 14px;border-radius:999px;
  background:rgba(20,20,20,.6);border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 0 rgba(255,255,255,.12),0 20px 50px -18px rgba(0,0,0,.6);
  backdrop-filter:blur(20px) saturate(1.6);-webkit-backdrop-filter:blur(20px) saturate(1.6);
  cursor:pointer;transition:transform .25s var(--ease);
}
.lp-promo-badge:hover .lp-promo-badge-trigger,.lp-promo-badge:focus-within .lp-promo-badge-trigger{transform:translateY(-1px)}
.lp-promo-badge-icon{
  width:52px;height:52px;flex:none;border-radius:50%;background:rgba(225,35,28,.28);
  display:flex;align-items:center;justify-content:center;color:#ff6b63;
}
.lp-promo-badge-icon svg{width:24px;height:24px}
.lp-promo-badge-text{display:flex;flex-direction:column;gap:3px}
.lp-promo-badge-sum{font-size:19px;font-weight:700;color:#fff;letter-spacing:-.2px;white-space:nowrap;line-height:1.25}
.lp-promo-badge-count{font-size:16px;font-weight:600;color:#ff6b63;white-space:nowrap}
.lp-promo-badge-panel{
  position:absolute;bottom:calc(100% + 16px);right:0;width:min(280px,70vw);
  padding:26px 24px 22px;border-radius:20px;
  background:rgba(20,20,20,.66);border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 0 rgba(255,255,255,.1),0 30px 70px -20px rgba(0,0,0,.7);
  backdrop-filter:blur(24px) saturate(1.6);-webkit-backdrop-filter:blur(24px) saturate(1.6);
  opacity:0;transform:translateY(6px);pointer-events:none;
  transition:opacity .25s var(--ease),transform .25s var(--ease);
}
.lp-promo-badge:hover .lp-promo-badge-panel,.lp-promo-badge:focus-within .lp-promo-badge-panel{
  opacity:1;transform:translateY(0);pointer-events:auto;
}
/* lp-sun's badge is top-anchored — opening the panel upward (the
   default, meant for announce's bottom-anchored badge) pushes it
   off the top of the screen, over the header. Open downward instead. */
.lp-promo-badge.top-right .lp-promo-badge-panel{bottom:auto;top:calc(100% + 16px);transform:translateY(-6px)}
.lp-promo-badge.top-right:hover .lp-promo-badge-panel,
.lp-promo-badge.top-right:focus-within .lp-promo-badge-panel{transform:translateY(0)}
.lp-promo-badge-panel .lp-promo-card-desc{color:rgba(255,255,255,.7);font-size:16px}
.lp-promo-badge-panel .lp-promo-card-hr{background:rgba(255,255,255,.16)}
.lp-promo-badge-panel .lp-promo-card-note{color:rgba(255,255,255,.48);font-size:16px}
/* light variant — lp-sun sits on a light page, a dark pill would
   clash the way the dark card clashed on lp-announce's black bg */
.lp-promo-badge.light .lp-promo-badge-trigger{
  background:rgba(255,255,255,.85);border-color:rgba(255,255,255,.7);
  box-shadow:inset 0 1px 0 0 rgba(255,255,255,.9),0 16px 40px -16px rgba(20,20,20,.22);
}
.lp-promo-badge.light .lp-promo-badge-icon{background:rgba(225,35,28,.1);color:var(--red)}
.lp-promo-badge.light .lp-promo-badge-sum{color:#141414}
.lp-promo-badge.light .lp-promo-badge-count{color:var(--red)}
.lp-promo-badge.light .lp-promo-badge-panel{
  background:rgba(255,255,255,.9);border-color:rgba(255,255,255,.6);
  box-shadow:inset 0 1px 0 0 rgba(255,255,255,.9),0 30px 70px -24px rgba(20,20,20,.3);
}
.lp-promo-badge.light .lp-promo-badge-panel .lp-promo-card-desc{color:#6d6d6a}
.lp-promo-badge.light .lp-promo-badge-panel .lp-promo-card-hr{background:#e2e2de}
.lp-promo-badge.light .lp-promo-badge-panel .lp-promo-card-note{color:#8a8a8a}
.lp-promo-card-icon{
  width:40px;height:40px;border-radius:12px;background:rgba(225,35,28,.1);
  display:flex;align-items:center;justify-content:center;color:var(--red);margin-bottom:18px;
}
.lp-promo-card-sum{font-size:28px;font-weight:700;color:#141414;letter-spacing:-.3px}
.lp-promo-card-desc{font-size:14px;line-height:1.55;color:#6d6d6a;margin-top:8px}
.lp-promo-card-hr{height:1px;background:#e2e2de;margin:20px 0 16px}
.lp-promo-card-count{font-size:15.5px;font-weight:600;color:var(--red)}
.lp-promo-card-note{font-size:12.5px;color:#8a8a8a;margin-top:5px}

/* ---------- feature bullets (lp-sun) — always visible, no hover-to-reveal ---------- */
.lp-bullets{position:relative;z-index:2;display:flex;flex-direction:column;gap:16px;margin-top:36px;max-width:400px}
.lp-bullet{padding-left:20px;border-left:2px solid var(--hair-2)}
.lp-bullet-title{font-size:15px;font-weight:600;color:var(--ink)}
.lp-bullet-desc{font-size:13.5px;line-height:1.5;color:var(--ink-3);margin-top:5px;max-width:340px}

/* ---------- hero media (photo/video panel) ---------- */
.lp-media{position:absolute;top:0;right:0;height:100%;overflow:hidden;z-index:0}
.lp-media img,.lp-media video{width:100%;height:100%;object-fit:cover;display:block}
.lp-media-fade-l{position:absolute;inset:0;pointer-events:none}
.lp-media-fade-v{position:absolute;inset:0;pointer-events:none}
.lp-hero-top-fade{display:none}
.lp-media.w-palms{width:60.5%}
.lp-media.w-sun{width:58%}
.lp-media.w-announce{width:70%}
@media (max-width:1300px) and (min-width:901px){
  .lp-media.w-palms,.lp-media.w-sun{width:52%}
  .lp-media.w-announce{width:58%}
}

/* ---------- product hotspots (lp-sun): small dots over the hero
   media that expand into a feature callout on hover/tap — sits in
   its own layer (no overflow:hidden) so panels can pop past the
   media's own edge without being clipped by it */
.lp-hotspot-layer{position:absolute;top:0;right:0;height:100%;width:58%;z-index:2;pointer-events:none}
@media (max-width:1300px) and (min-width:901px){.lp-hotspot-layer{width:52%}}
/* the wrapper sits exactly AT the left/top point with zero size —
   the dot centers itself on that point via its own transform, and
   the label is positioned off the dot's edge, so an always-visible
   label next to the dot never drags the anchor point sideways with
   it (a flex-row + one shared translate(-50%) on the wrapper was the
   earlier bug: it centered the whole dot+label pair on the point,
   so the dot itself landed well off the intended spot) */
.lp-hotspot{position:absolute;pointer-events:auto;z-index:1}
/* without this, a hotspot's expanded panel can render UNDER a
   neighboring hotspot's always-visible label, since siblings later
   in source order paint on top by default regardless of which one
   is actually open */
.lp-hotspot:hover,.lp-hotspot:focus-within{z-index:10}
.lp-hotspot-dot{
  position:absolute;left:0;top:0;transform:translate(-50%,-50%);
  width:34px;height:34px;flex:none;border-radius:50%;padding:0;
  background:rgba(20,18,16,.68);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  box-shadow:0 0 0 5px rgba(255,255,255,.28),0 4px 16px rgba(0,0,0,.35);
  display:flex;align-items:center;justify-content:center;color:#fff;
  animation:lpHotspotPulse 2.6s ease-out infinite;
}
.lp-hotspot-dot svg{width:16px;height:16px}
@keyframes lpHotspotPulse{
  0%{box-shadow:0 0 0 5px rgba(255,255,255,.28),0 4px 16px rgba(0,0,0,.35)}
  70%{box-shadow:0 0 0 13px rgba(255,255,255,0),0 4px 16px rgba(0,0,0,.35)}
  100%{box-shadow:0 0 0 5px rgba(255,255,255,0),0 4px 16px rgba(0,0,0,.35)}
}
.lp-hotspot-label{
  position:absolute;left:27px;top:0;transform:translateY(-50%);
  font-size:16px;font-weight:600;line-height:1.2;color:#fff;white-space:nowrap;
  background:rgba(20,18,16,.68);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  padding:8px 14px;border-radius:20px;box-shadow:0 4px 16px rgba(0,0,0,.3);
}
.lp-hotspot.align-left .lp-hotspot-label{left:auto;right:27px}
.lp-hotspot-panel{
  position:absolute;bottom:calc(100% + 16px);left:50%;
  transform:translate(-50%,6px);width:min(260px,60vw);
  padding:16px 18px;background:#fff;border-radius:14px;
  box-shadow:0 24px 50px -14px rgba(0,0,0,.4);
  opacity:0;pointer-events:none;transition:opacity .25s var(--ease),transform .25s var(--ease);
}
.lp-hotspot:hover .lp-hotspot-panel,.lp-hotspot:focus-within .lp-hotspot-panel{
  opacity:1;pointer-events:auto;transform:translate(-50%,0);
}
.lp-hotspot.align-left .lp-hotspot-panel{left:auto;right:0;transform:translate(0,6px)}
.lp-hotspot.align-left:hover .lp-hotspot-panel,
.lp-hotspot.align-left:focus-within .lp-hotspot-panel{transform:translate(0,0)}
.lp-hotspot.below .lp-hotspot-panel{bottom:auto;top:calc(100% + 16px);transform:translate(-50%,-6px)}
.lp-hotspot.below:hover .lp-hotspot-panel,.lp-hotspot.below:focus-within .lp-hotspot-panel{transform:translate(-50%,0)}
.lp-hotspot.below.align-left .lp-hotspot-panel{transform:translate(0,-6px)}
.lp-hotspot.below.align-left:hover .lp-hotspot-panel,.lp-hotspot.below.align-left:focus-within .lp-hotspot-panel{transform:translate(0,0)}
.lp-hotspot-desc{font-size:16px;line-height:1.45;color:#3d3d3a}
@media (max-width:900px){.lp-hotspot-layer{display:none}}

/* ---------- lp-gallery: image keeps the standard panel behaviour
   (pinned to the top-right corner via the base .lp-media rule) but
   sized by its real aspect ratio instead of stretched to fill the
   full hero height — sharp corners where it touches the screen edges,
   rounded only on the free bottom-left corner ---------- */
.lp-media.w-gallery{width:55%;height:auto;aspect-ratio:4/3;border-radius:0 0 0 44px}
@media (max-width:1300px) and (min-width:901px){.lp-media.w-gallery{width:46%}}


/* ---------- lp-announce: centered redesign ----------
   Vertical stack (headline → video → CTA) reads the same way on any
   screen width, so mobile needs no separate reorder logic — the USP
   → video → button → rest order the brief asks for falls out for free. */
.lp-hero.centered{flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:clamp(90px,11vh,120px) var(--pad) 50px}
.lp-hero.centered .lp-hero-copy{padding:0;max-width:640px;display:flex;flex-direction:column;align-items:center}
.lp-hero.centered .lp-rule{margin-left:auto;margin-right:auto}
.lp-hero.centered .lp-lead{text-align:center}
.lp-hero.centered .lp-cta-row{justify-content:center;margin-top:30px}
.lp-hero.centered .lp-sub-copy{margin:26px auto 0;font-size:17px;line-height:1.6;color:var(--ink-3);max-width:460px;text-align:center}

/* ---------- desktop offer plaque (lp-gallery) — flat, opaque, sharp
   corners: same surface language as the rest of the site (no blur,
   no translucency), just a plain card sitting on the photo ---------- */
.lp-side-offer{
  position:absolute;bottom:clamp(28px,5vh,56px);z-index:3;width:min(252px,70vw);
  padding:20px 22px;background:var(--bg);border:1px solid var(--hair);
  box-shadow:0 24px 48px -20px rgba(20,20,20,.35);
}
.lp-side-offer.left{left:var(--pad)}
.lp-side-offer.right{right:var(--pad-r)}

/* ---------- full-bleed hero background (lp-announce video hero only):
   media fills the entire first screen edge to edge, copy sits on top;
   the scrim's actual colors are set inline since light/dark themes
   need opposite tints ---------- */
.lp-hero.video-bg{position:relative;overflow:hidden}
.lp-hero-bg-video{position:absolute;inset:0;z-index:0;overflow:hidden;background:#000}
.lp-hero-bg-video video{width:100%;height:100%;object-fit:cover;display:block}
.lp-hero-bg-scrim{position:absolute;inset:0;pointer-events:none}
.lp-hero.video-bg .lp-hero-copy{position:relative;z-index:2}
.lp-hero.video-bg .lp-sub-copy{color:rgba(255,255,255,.8)}
.lp-hero.video-bg .lp-note{color:rgba(255,255,255,.68);max-width:420px}

/* ---------- lp-gallery: header confined to the plain-background
   column, never reaching over the photo — contrast is solved
   structurally (nothing sits on the image) instead of decoratively.
   The column is narrower than a full-width header, so the tagline
   drops first and contacts are allowed to wrap onto their own line
   rather than ever overlapping the photo. ---------- */
.lp-header-narrow{right:55%;flex-wrap:wrap;row-gap:10px;padding-right:44px}
.lp-header-narrow .lp-brand-div,.lp-header-narrow .lp-tagline{display:none}
@media (max-width:1300px) and (min-width:901px){.lp-header-narrow{right:46%}}

@media (max-width:900px){
  .lp-hero.centered{padding-top:28px;padding-left:0;padding-right:0}
}

/* ============================================================
   SECOND SCREEN — video block, structurally identical to index.html's
   .videoband: poster + click-to-reveal Kinescope on one side, copy +
   a single CTA on the other. Content-height, NOT min-height:100dvh.
   ============================================================ */
.lp-video-sec{position:relative;background:var(--bg);padding-block:clamp(56px,9vh,120px)}
.lp-video-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:clamp(30px,4vw,70px);align-items:center;padding-inline:var(--pad) var(--pad-r)}
.lp-video-grid>*{min-width:0}
.lp-video-media{position:relative;overflow:hidden;background:#000;aspect-ratio:16/9;border-radius:16px;box-shadow:0 40px 80px -40px rgba(0,0,0,.35)}
.lp-video-media img{width:100%;height:100%;object-fit:cover;display:block}
/* the iframe keeps the PLAYER's own 16:9 ratio (never stretched to
   whatever shape the container happens to be) and is scaled up to
   cover the box, centred and clipped by the container's overflow —
   this is what keeps Kinescope's own player edge-to-edge with no
   letterboxing even inside a non-16:9 box (e.g. the 4:3 mobile crop) */
.lp-video-media iframe{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:auto;height:100%;aspect-ratio:16/9;
  border:0;display:block;
}
.lp-video-body{display:flex;flex-direction:column;justify-content:center;padding:0 var(--pad-r) 0 0}
.lp-video-body .lp-eyebrow{margin-bottom:16px}
.lp-h2{margin:0 0 20px;font-size:clamp(28px,3.2vw,42px);line-height:1.1;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.lp-video-body p{margin:0 0 30px;font-size:17px;line-height:1.6;color:var(--ink-2);max-width:440px}
/* stacked, not side-by-side: the 0.75fr text column is often too
   narrow for two ~350px buttons in a row (261-290px available at
   common desktop widths), which was forcing an inconsistent wrap —
   one full-width button per line is equal-width at any viewport */
.lp-video-cta-row{display:flex;flex-direction:column;align-items:stretch;gap:14px}
.lp-video-cta-row a{justify-content:center}
/* shared fixed-ish width for CTA buttons that must visually match
   across a hero row (with a price sitting beside it) and a narrower
   stacked second-screen column: min(280px,100%) hits 280px whenever
   there's room and only ever shrinks below that if the container
   itself is narrower — it can never overflow. white-space:normal
   lets long labels wrap to a second line instead of spilling out. */
.lp-btn-w{width:min(350px,100%);white-space:normal;text-align:center}
/* lp-announce: its two button labels are longer than sun/palms's —
   widen just here so neither wraps to a second line */
.lp-hero:has(.w-announce) .lp-btn-w{width:min(400px,100%)}
/* .w-flat: the gallery second-screen layout (stretch-aligned video,
   matching text top/bottom) reused on other pages, but with square
   corners on desktop instead of gallery's 44px radius */
.lp-video-grid.w-flat{align-items:stretch}
.lp-video-media.w-flat{border-radius:0;aspect-ratio:auto}
/* lp-gallery: stretch the video to match the text column's exact
   height instead of centering a fixed-ratio box against it — top lines
   up with the eyebrow, bottom lines up with the CTA row. Safe to do
   here (unlike a full-viewport stretch) because the row is only ever
   as tall as the text content; the iframe fix above keeps the actual
   player edge-to-edge regardless of the resulting non-16:9 box */
.lp-video-grid.w-gallery{align-items:stretch}
/* aspect-ratio fights align-items:stretch on a grid item — the stretched
   height and the ratio-implied width can both try to win, and the
   video-media item was overflowing its track into the text column
   because of it. With stretch driving the size here, the ratio has to
   go; radius bumped to match the hero image's 44px */
.lp-video-media.w-gallery{aspect-ratio:auto;border-radius:44px}
@media (max-width:1024px){
  /* display:flex, not a 1-column grid — a grid's 1fr track was
     measured resolving child percentage-widths against the
     pre-scrollbar viewport (425px) instead of the painted column
     width (375px), pushing .lp-video-media wider than the screen.
     Flex doesn't use fr units, so it doesn't hit that path. */
  .lp-video-grid{display:flex;flex-direction:column;align-items:stretch}
  .lp-video-media{order:2}
  /* body becomes a transparent wrapper so the heading can render
     ABOVE the video and the paragraph/CTA below it, per brief:
     "video under the heading", not video-first-then-everything */
  .lp-video-body{display:contents}
  .lp-video-body>.lp-eyebrow,.lp-video-body>.lp-h2{order:1}
  .lp-video-body>p,.lp-video-body>.lp-video-cta-row{order:3}
}
@media (max-width:900px){
  .lp-video-sec{padding-block:0}
  .lp-video-grid{gap:0;padding-inline:0}
  /* width:100% not 100vw — the grid already has zero padding here, so
     nothing needs breaking out of, and 100vw counts the scrollbar
     gutter in some browsers/emulators, causing exactly 1 scrollbar's
     worth of horizontal overflow. max-width is a hard belt-and-braces
     cap: combined with aspect-ratio on a 1fr grid track, this item was
     measured computing wider than its own parent (425px in a 375px
     column) — a real grid+aspect-ratio sizing quirk, not a caching
     artifact. max-width:100% can't be exceeded regardless of how that
     intermediate width gets computed. */
  .lp-video-media{width:100%;max-width:100%;border-radius:0;box-shadow:none}
  .lp-video-media.w-gallery{border-radius:0}
  .lp-video-body>*{padding-left:var(--pad);padding-right:var(--pad)}
  .lp-video-body>.lp-eyebrow{padding-top:40px}
  .lp-video-body>p{padding-top:28px}
  .lp-video-body>.lp-video-cta-row{padding-bottom:40px}
  .lp-video-cta-row a{width:100%;min-width:0}
}

/* ---------- video freeze-on-end + replay (lp-palms hero video) ---------- */
.lp-replay-btn{
  position:absolute;right:20px;bottom:20px;z-index:4;width:32px;height:32px;
  background:none;border:none;color:var(--ink);display:flex;align-items:center;justify-content:center;
  transition:opacity .3s var(--ease),transform .3s var(--ease);opacity:0;pointer-events:none;
}
.lp-replay-btn.visible{opacity:1;pointer-events:auto}
.lp-replay-btn:hover{transform:scale(1.1)}

/* ---------- hero video play overlay (2a/2b ambient background video) ---------- */
.lp-play{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;
  cursor:pointer;transition:opacity .4s var(--ease);
}
.lp-play-ring{
  width:78px;height:78px;border-radius:0;background:rgba(10,10,10,.4);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.24);
  display:flex;align-items:center;justify-content:center;
  transition:background .3s var(--ease),transform .3s var(--ease);
}
.lp-play:hover .lp-play-ring{background:rgba(225,35,28,.88);transform:scale(1.04)}
.lp-play-label{font-size:12.5px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:#f2f0ec}

/* ---------- footer ---------- */
.lp-footer{position:relative;padding:64px var(--pad) 0;background:var(--bg);border-top:1px solid var(--hair)}
.lp-footer-top{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;padding-bottom:40px}
.lp-footer-left{max-width:340px}
.lp-footer-logo{height:28px;width:auto;margin-bottom:16px}
.lp-footer-left p{margin:0 0 18px;font-size:14.5px;line-height:1.6;color:var(--ink-3)}
.lp-footer-msgrs{display:flex;gap:10px}
.lp-footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.lp-footer-phone{font-size:22px;font-weight:600;color:var(--ink)}
.lp-footer-phone:hover{color:var(--red)}
.lp-footer-co{font-size:13px;color:var(--ink-3);text-align:right}
.lp-footer-policy{font-size:13.5px;color:var(--ink-3);text-decoration:underline;text-underline-offset:3px}
.lp-footer-policy:hover{color:var(--red)}
.lp-footer-legal{border-top:1px solid var(--hair);padding:22px 0 30px}
.lp-footer-legal p{margin:0 0 10px;font-size:12px;line-height:1.6;color:var(--ink-3)}
.lp-footer-legal p:last-child{margin-bottom:0}

.lp-footer-compact{padding:32px var(--pad)}
.lp-footer-compact-row{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.lp-footer-compact-brand{display:flex;align-items:center;gap:16px}
.lp-footer-compact-brand .lp-footer-logo{margin:0}
.lp-footer-compact-brand span{font-size:13px;color:var(--ink-3);max-width:280px;line-height:1.4}
.lp-footer-compact-legal{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:12.5px;color:var(--ink-3)}
.lp-footer-compact-legal a{color:var(--ink-3);text-decoration:underline;text-underline-offset:3px}
.lp-footer-compact-legal a:hover{color:var(--red)}
@media (max-width:900px){
  .lp-footer-compact-row{flex-direction:column;align-items:flex-start}
}

/* ---------- policy modal (shared) ---------- */
.lp-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(10,10,10,.6)}
.lp-overlay[hidden]{display:none}
.lp-modal{background:#fff;color:#141414;border-radius:20px;width:100%;max-width:720px;max-height:86vh;overflow-y:auto;padding:40px 44px;box-shadow:0 30px 80px rgba(0,0,0,.4);position:relative}
.lp-modal h2{margin:0 0 20px;font-size:22px}
.lp-modal h3{font-size:16px;margin:26px 0 8px}
.lp-modal p,.lp-modal li{font-size:14.5px;line-height:1.6;color:#3d3d3b}
.lp-modal-close{position:absolute;top:24px;right:24px;width:40px;height:40px;border-radius:0;background:#f2f1ee;display:flex;align-items:center;justify-content:center;color:#141414;transition:background .2s;z-index:2}
.lp-modal-close:hover{background:#e6e3dc}

/* ---------- request-form modal (lp-announce, lp-palms) — posts to
   the n8n lead-intake webhook, see js/heroes.js ---------- */
.lp-modal-form{max-width:440px}
.lp-modal-form p{font-size:16px}
.lp-request-form{margin-top:26px;display:flex;flex-direction:column;gap:16px}
.lp-request-form label{display:flex;flex-direction:column;gap:7px;font-size:16px;font-weight:600;color:var(--ink-2)}
.lp-request-form input{
  font:16px/1.4 inherit;padding:14px 16px;border-radius:10px;border:1.5px solid #e2e2de;color:#141414;
}
.lp-request-form input:focus{outline:none;border-color:var(--red)}
.lp-request-form .lp-btn{margin-top:6px;width:100%;justify-content:center}
.lp-request-form .lp-btn:disabled{opacity:.6;cursor:default}
.lp-request-status{margin:0;font-size:16px;line-height:1.4;min-height:0}
.lp-request-status.ok{color:#1a8a4a}
/* .lp-request-form label{display:flex;flex-direction:column} still
   applies here (cascade is per-property, not per-rule — the higher
   specificity above only wins the properties it actually declares),
   so flex-direction needs its own explicit override too or the
   checkbox stacks above the text instead of sitting beside it */
.lp-request-form .lp-consent{
  display:flex;flex-direction:row;align-items:flex-start;gap:9px;cursor:pointer;
  font-size:13px;font-weight:400;line-height:1.5;color:#6d6d6a;
}
.lp-consent input{
  flex:none;width:15px;height:15px;margin-top:2px;accent-color:var(--red);cursor:pointer;
}
.lp-consent a{color:#6d6d6a;text-decoration:underline;text-underline-offset:2px}
.lp-consent a:hover{color:#141414}
.lp-request-status.err{color:var(--red)}

.lp-mobile-only{display:none}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px){
  .lp-hero{min-height:auto;display:flex;flex-direction:column;align-items:stretch}
  .lp-header{order:0;position:relative;z-index:2;padding:18px var(--pad)}
  .lp-brand-div,.lp-hours,.lp-tagline{display:none}
  .lp-brand{flex:none}
  .lp-contact-phone{display:none}

  /* copy block becomes a transparent wrapper so its children can be
     reordered against .lp-media as if they were siblings: core copy
     (eyebrow…note) stays first, video comes next, supporting detail
     (bullets/features) comes last — video is always visible without
     scrolling past a wall of detail text first */
  .lp-hero-copy{order:1;display:contents}
  .lp-hero-copy>*{padding-left:var(--pad);padding-right:var(--pad)}
  .lp-hero-copy>.lp-eyebrow{padding-top:28px}
  .lp-hero-copy>.lp-note{padding-bottom:28px}
  .lp-hero-copy>.lp-bullets,.lp-hero-copy>.lp-features{order:3;padding-top:26px;padding-bottom:32px;margin-top:0}
  .lp-media{order:2;position:relative;height:46vh;width:100% !important}
  .lp-media-compact{height:30vh}
  /* lp-gallery: hero image and second-screen video share one height —
     both sized by the image's real 4:3 ratio, not cropped to an
     arbitrary vh box or left mismatched between the two screens */
  .lp-media.w-gallery{height:auto;aspect-ratio:4/3;border-radius:0}
  /* lp-sun: video becomes a full-bleed background behind the header,
     same idea as lp-palms below — the sofa is a wide panoramic shot,
     so a true 1:1 square would crop too much of it away; 4:3 keeps
     the whole piece in frame. A light top gradient (not dark, this
     page is light-themed) keeps the logo/icons readable. */
  .lp-hero:has(.w-sun) .lp-header{position:absolute;top:0;left:0;right:0}
  .lp-media.w-sun{order:0;position:relative;height:auto;aspect-ratio:4/3;width:100% !important}
  .lp-hero:has(.w-sun) .lp-hero-copy>*{order:2}
  .lp-hero:has(.w-sun) .lp-hero-copy>.lp-features{order:3}
  .lp-hero:has(.w-sun) .lp-hero-copy>.lp-eyebrow{padding-top:24px}
  .lp-hero:has(.w-sun) .lp-hero-copy>*{padding-left:20px;padding-right:20px}
  .lp-hero:has(.w-sun) .lp-hero-bridge{margin-top:8px;max-width:none}
  .lp-hero:has(.w-sun) .lp-mobile-only{max-width:none}
  .lp-hero:has(.w-sun) .lp-feature{max-width:none;flex:1 1 140px}
  .lp-hero-top-fade{
    display:block;position:absolute;top:0;left:0;right:0;height:90px;z-index:1;pointer-events:none;
    background:linear-gradient(180deg,rgba(250,250,250,.75) 0%,rgba(250,250,250,0) 100%);
  }
  /* lp-palms: video becomes a full-bleed square background behind the
     header instead of a 46vh block below it — header floats on top
     (back to position:absolute) with fade-v's existing top-darkening
     gradient keeping the logo legible over the footage */
  .lp-hero:has(.w-palms) .lp-header{position:absolute;top:0;left:0;right:0}
  .lp-media.w-palms{order:0;position:relative;height:auto;aspect-ratio:1/1;width:100% !important}
  .lp-hero:has(.w-palms) .lp-play{padding-left:0 !important}
  /* pulled up closer to the video — a slight overlap with the footage
     is fine here, it reads tighter than the default gap */
  .lp-hero:has(.w-palms) .lp-hero-copy>.lp-eyebrow{margin-top:-26px}
  /* lp-announce: same video-bg treatment as sun/palms above — the
     silhouette shot was sitting below a wall of text on mobile;
     raising it behind the floating header puts it first, on load */
  .lp-hero:has(.w-announce) .lp-header{position:absolute;top:0;left:0;right:0}
  .lp-media.w-announce{order:0;position:relative;height:auto;aspect-ratio:1/1;width:100% !important}
  /* .lp-media is position:relative with its own z-index, which makes
     it a stacking context that paints above plain static content —
     so pulling the text up with a negative margin was tucking it
     BEHIND the video instead of over it, regardless of DOM order.
     Giving the text its own stacking context (z-index higher than
     the video's) fixes that. */
  .lp-hero:has(.w-announce) .lp-hero-copy>*{order:2;position:relative;z-index:2}
  .lp-hero:has(.w-announce) .lp-hero-copy>.lp-eyebrow{margin-top:-64px}
  .lp-hero:has(.w-announce) .lp-sub-row{padding-bottom:40px}
  /* height:75vw, not aspect-ratio — inside a CSS grid track, pairing
     aspect-ratio with a percentage width measured wider than the
     track itself (425px in a 375px column); height:75vw sidesteps
     the interaction entirely while still landing on 4:3 at 100vw */
  .lp-video-media.w-gallery{aspect-ratio:auto;height:75vw}
  /* lp-sun/lp-palms: same fix as w-gallery above, for the same reason
     — .w-flat's aspect-ratio:auto (needed for desktop grid-stretch)
     left the container with no definite height on mobile once the
     grid becomes a column flex (stretch there only affects width).
     The poster <img> is in-flow and faked a height from its own
     intrinsic ratio, masking this until the click-to-play iframe
     (position:absolute, contributes no height at all) replaced it —
     at that point the 0-height container collapsed the iframe to
     0px too: video gone, audio still playing. */
  .lp-video-media.w-flat{height:75vw}
  .lp-media-fade-l{display:none}
  .lp-hero.video-bg{min-height:100dvh}
  .lp-note-hide-mobile,.lp-hide-mobile,.lp-desktop-only{display:none !important}
  .lp-mobile-only{display:block}
  .lp-eyebrow{letter-spacing:.08em}
  .lp-h1{font-size:clamp(34px,9vw,46px)}
  .lp-lead{font-size:19px}
  .lp-features{margin-top:30px;gap:22px 26px}
  .lp-btn{width:100%;justify-content:space-between}
  .lp-cta-row{width:100%}
  .lp-price{width:100%}
  .lp-footer-top{flex-direction:column;gap:24px}
  .lp-footer-right{align-items:flex-start}
  .lp-footer-co,.lp-footer-phone{text-align:left}
}

@media (max-width: 480px){
  .lp-modal{padding:30px 22px}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .lp-msgr,.lp-btn,.lp-play-ring{transition:none}
}
