/* ==========================================================================
   In-stock landing page  (templates/website/landing/in-stock.html)

   Loaded after style.css and only on that page. Everything the page shares
   with the rest of the site — buttons, fields, spec tiles, the CTA band, the
   header — comes from style.css; this file holds only what is new here, all
   of it under an .lp- prefix so nothing can leak back into the site.
   ========================================================================== */

/* ---------- Header: logo, language, one button ---------- */
.lp-hdr .hdr-cta{display:inline-flex;margin-left:10px;white-space:nowrap}
@media(max-width:600px){
  .lp-hdr .wrap-wide{gap:8px}
  .lp-hdr .hdr-cta{padding:.6em .9em;font-size:.8rem;margin-left:0}
  .lp-hdr .logo img.wm{height:17px}
  .lp-hdr .langsel-btn .gl{display:none}
  .lp-hdr .langsel-btn{padding-inline:6px}
}
@media(max-width:360px){
  .lp-hdr .logo img.wm{height:14px}
  .lp-hdr .hdr-cta{padding:.55em .7em;font-size:.76rem}
}

/* ---------- Hero: the offer on the left, the form on the right ---------- */
/* A <section> on this site carries its own vertical padding and .hero.compact a
   minimum height; the hero here is sized by its content, so both are undone. */
section.lp-hero{padding:0;min-height:0;align-items:stretch}
.lp-hero .inner{padding-top:calc(var(--hdr) + clamp(18px,2.6vw,34px));padding-bottom:clamp(36px,5vw,64px)}
.lp-grid{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:clamp(28px,4.4vw,68px);align-items:center}
.lp-hero .eyebrow{color:#9fe3d0}
.lp-hero .eyebrow::before{background:#9fe3d0}
.lp-hero h1{max-width:20ch;margin-top:18px;font-size:clamp(2rem,3.9vw,3.2rem);line-height:1.07}
.lp-hero .sub{max-width:48ch;margin-top:18px;font-size:clamp(1.02rem,1.35vw,1.18rem)}
.lp-pricetag{margin-top:26px;display:flex;flex-direction:column;gap:6px}
.lp-pricetag b{font-family:var(--font-display);font-weight:700;color:#fff;line-height:1;
  font-size:clamp(2rem,3.5vw,2.75rem);letter-spacing:-.01em}
.lp-pricetag span{color:rgba(255,255,255,.8);font-size:.96rem}
/* The same "from" price as a figure per cabinet: what a buyer compares with a quote. */
.lp-pricetag .tot{font-family:var(--font-display);font-weight:700;color:#fff;line-height:1.2;
  font-size:clamp(1.15rem,1.75vw,1.45rem);letter-spacing:-.005em}
.lp-pills{margin-top:22px}
.lp-pills .pill{background:rgba(255,255,255,.14);color:#fff}
.lp-asof{margin-top:14px;font-family:var(--mono);font-size:.72rem;letter-spacing:.05em;color:rgba(255,255,255,.62)}
.lp-pricetag span{max-width:44ch}
.lp-why{margin-top:16px;display:flex;gap:10px 28px;flex-wrap:wrap}
.lp-why a{display:inline-flex;align-items:center;gap:.5em;color:#fff;font-weight:600;font-size:.96rem;
  border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:2px}
.lp-why a:hover{border-bottom-color:#fff}
.lp-why svg{width:1em;height:1em}

/* The photograph of the cabinets, behind the hero. Desktop only: on a phone
   the hero is a tall column and the picture would sit hidden behind the form,
   so it is not downloaded there at all. The overlay is heaviest on the left,
   under the text, and lets the row of cabinets show through towards the right. */
.lp-bg{display:none}
@media(min-width:941px){
  .lp-bg{display:block;position:absolute;inset:0;z-index:0;
    background:url(../img/stock-hall-wide.jpg) center 44%/cover no-repeat;
    background-image:image-set(url(../img/stock-hall-wide.webp) type("image/webp"),url(../img/stock-hall-wide.jpg) type("image/jpeg"))}
  .lp-bg::after{content:"";position:absolute;inset:0;
    background:linear-gradient(90deg,rgba(2,30,26,.95) 0%,rgba(2,38,32,.9) 36%,rgba(3,52,45,.66) 60%,rgba(3,52,45,.5) 100%),
               linear-gradient(180deg,rgba(2,22,18,.55) 0%,rgba(2,22,18,0) 26%)}
}
#why-now{scroll-margin-top:var(--hdr)}

/* Kept short enough that the send button is on screen without scrolling on a
   1366 x 768 laptop: that, not the look, is what the tight spacing is for. */
.lp-form{background:#fff;color:var(--text);border-radius:var(--r-lg);box-shadow:var(--sh-lg);
  padding:clamp(20px,2.1vw,26px) clamp(20px,2.3vw,28px);scroll-margin-top:calc(var(--hdr) + 16px)}
.lp-form h2{font-size:1.3rem;margin:0 0 4px}
.lp-form .hint{color:var(--muted);font-size:.9rem;line-height:1.45;margin:0 0 14px}
.lp-form .row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px}
.lp-form .field{margin-bottom:10px}
.lp-form .field label{font-size:.8rem;margin-bottom:4px}
.lp-form .field input,.lp-form .field select,.lp-form .field textarea{padding:9px 12px;font-size:.94rem;border-radius:9px}
.lp-form .field select{appearance:auto;height:calc(1.5em + 21px)}
.lp-form textarea{min-height:52px;height:52px;resize:vertical;display:block}
.lp-form button[type=submit]{width:100%;justify-content:center;margin-top:2px;padding-block:.85em}
.lp-form .fine{font-size:.76rem;color:var(--muted-2);margin:10px 0 0}
.lp-form .fine a{color:inherit;text-decoration:underline}
.lp-form .sentmsg{display:flex;gap:12px;align-items:flex-start;background:var(--ok-100);
  border-radius:var(--r-sm);padding:16px 18px;margin-top:6px}
.lp-form .senterr{background:#fbeceb;color:#8f2c25;border-radius:var(--r-sm);padding:14px 16px;margin-top:12px;font-size:.93rem}

@media(max-width:940px){
  .lp-grid{grid-template-columns:minmax(0,1fr)}
  .lp-hero h1{max-width:none}
}
@media(max-width:520px){
  .lp-form .row{grid-template-columns:minmax(0,1fr)}
}

/* ---------- Price list ---------- */
.lp-two{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,72px);align-items:center}
.lp-two .sec-head{margin-bottom:0}
.lp-price{width:100%;border-collapse:separate;border-spacing:0;background:#fff;
  border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--sh)}
.lp-price th{font-family:var(--mono);font-size:.66rem;font-weight:600;letter-spacing:.13em;text-transform:uppercase;
  color:var(--muted-2);text-align:left;padding:14px 22px;background:var(--paper);border-bottom:1px solid var(--line)}
.lp-price td{padding:17px 22px;border-bottom:1px solid var(--line);font-size:1.04rem;vertical-align:baseline}
.lp-price tr:last-child td{border-bottom:0}
.lp-price .num{text-align:right}
.lp-price td.k{font-weight:600}
.lp-price td.v{font-family:var(--font-display);font-weight:700;font-size:1.28rem;color:var(--indigo-600);white-space:nowrap}
.lp-price td.u{white-space:nowrap;color:var(--muted)}
.lp-price tr.best td{background:var(--indigo-050)}
@media(max-width:860px){
  .lp-two{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:480px){
  .lp-price th,.lp-price td{padding-inline:13px}
  .lp-price td{font-size:.95rem}
  .lp-price td.v{font-size:1.08rem}
}

/* ---------- Four stock facts ---------- */
.lp-facts{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:980px){.lp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.lp-facts{grid-template-columns:minmax(0,1fr)}}

/* ---------- Numbered cards: "why now" and the three steps ---------- */
.lp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.lp-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px 26px 28px;min-width:0}
.lp-card .n{display:block;font-family:var(--mono);font-size:.74rem;font-weight:600;letter-spacing:.12em;color:var(--indigo);margin-bottom:14px}
.lp-card h3{font-size:1.14rem;line-height:1.3;margin-bottom:10px}
.lp-card p{color:var(--muted);font-size:.97rem}
.lp-means{margin-top:20px;padding:22px 26px}
.lp-means h4{font-size:1rem;margin:0 0 12px}
.lp-means ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 30px}
.lp-means li{display:flex;gap:10px;align-items:flex-start;font-size:.98rem}
.lp-means li svg{width:18px;height:18px;flex:0 0 auto;color:var(--indigo);margin-top:3px}
@media(max-width:860px){
  .lp-cards{grid-template-columns:minmax(0,1fr)}
  .lp-means ul{grid-template-columns:minmax(0,1fr)}
}

/* ---------- Product photograph ---------- */
.lp-photo{margin:0 auto;width:100%;max-width:560px}
.lp-photo img{display:block;width:100%;height:auto;border-radius:var(--r);background:var(--ink-2);box-shadow:var(--sh-lg)}
.lp-photo figcaption{margin-top:10px;font-family:var(--mono);font-size:.76rem;letter-spacing:.03em;color:var(--muted)}
/* Once the two columns stack, the picture goes above the text it belongs to:
   on a phone it is the first real photograph the visitor sees. */
@media(max-width:960px){.lp .split .lp-photo{order:-1}}

/* ---------- Track record: one line and a link ---------- */
.lp-proof{display:flex;gap:18px 48px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.lp-proof>div{flex:1 1 520px;max-width:70ch}
.lp-proof h2{font-size:clamp(1.5rem,2.4vw,2rem);margin:14px 0 12px}
.lp-proof p{color:var(--muted)}
.lp-proof .btn{flex:0 0 auto}

/* English headings are short enough never to need breaking inside a word;
   the automatic hyphenation the site uses was producing "al-ready". German
   and Polish keep it, because their compounds do need it on a phone. */
html[lang="en"] .lp h1,html[lang="en"] .lp h2,html[lang="en"] .lp h3{hyphens:manual}
/* On a desktop line there is room for whole words: a hyphenated headline
   ("mennyisé-get") only looks careless. Narrow screens keep hyphens:auto,
   where a long German or Hungarian word would otherwise overflow. */
@media(min-width:961px){.lp h1,.lp h2,.lp h3{hyphens:manual}}

/* ---------- Questions ---------- */
.lp-faq{max-width:880px;border-top:1px solid var(--line-2)}
.lp-faq details{border-bottom:1px solid var(--line-2)}
.lp-faq summary{cursor:pointer;list-style:none;position:relative;padding:20px 44px 20px 0;font-weight:600;font-size:1.08rem;line-height:1.35}
.lp-faq summary::-webkit-details-marker{display:none}
.lp-faq summary::after{content:"+";position:absolute;right:6px;top:50%;transform:translateY(-52%);
  font-size:1.6rem;font-weight:400;line-height:1;color:var(--indigo)}
.lp-faq details[open] summary::after{content:"\2013"}
.lp-faq summary:focus-visible{outline:2px solid var(--indigo);outline-offset:3px;border-radius:4px}
.lp-faq p{padding:0 0 22px;color:var(--muted);max-width:72ch}

/* ---------- Footer: the legal line only ---------- */
.lp-ft{padding-top:6px}
.lp-ft .bottom{padding-top:26px}
.lp-ft .legal{display:flex;gap:20px;flex-wrap:wrap;align-items:flex-start}
.lp .ctaband h2{max-width:24ch}
/* Thirteen languages: on a short screen the list scrolls inside itself. */
@media(max-height:760px){.lp-hdr .langsel-menu{top:100%;max-height:calc(100vh - 72px);overflow-y:auto}}
