/* ============================================================
   ACCREDO SHOP — B2B landing page "Opremanje centara"
   template-landing-opremanje-centara.php, loaded on that template only.
   Design: Claude Design canvas "Accredo B2B – Opremanje centara"
   (1440px desktop, two 390px phone boards). Colours, type and radii
   come from the neon tokens (neon.css); .btn, .eyebrow, .h-hero, .h1,
   .h3, .lead and .pill are the theme's own.

   Breakpoints of the design: tablet below 1024px, phone below 768px.
   ============================================================ */

/* ---------- frame ---------- */
/* Container of the design: 1200px, 32px sides, 16px on a phone. The header
   follows so logo and text line up; the footer keeps its own. The safe
   area matters because this template asks for viewport-fit=cover. */
.lp-b2b .lp .wrap,
.lp-b2b .shead .wrap{ max-width:1200px;
  padding-left:max(32px, env(safe-area-inset-left)); padding-right:max(32px, env(safe-area-inset-right)); }
.lp-b2b .sfoot .wrap{ padding-left:max(clamp(18px,4vw,46px), env(safe-area-inset-left));
  padding-right:max(clamp(18px,4vw,46px), env(safe-area-inset-right)); }
@media(max-width:767px){
  .lp-b2b .lp .wrap,
  .lp-b2b .shead .wrap{ padding-left:max(16px, env(safe-area-inset-left)); padding-right:max(16px, env(safe-area-inset-right)); }
}

/* The footer's trader block links (phone, mobile, e-mail) are 17px lines;
   on this page, where calling is the point, they get a 24px target. */
.lp-b2b .sfoot__col .sfoot__legal a{ display:inline-block; min-height:24px; line-height:24px; }

/* The hero runs under the header and keeps its own distance to it. */
.lp-b2b .site-main.lp{ padding-top:0; }

/* Focus that shows on the dark ground, on everything that takes it. */
.lp-b2b :is(a, button, input, select, textarea):focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.lp-b2b .field :is(input, select, textarea):focus-visible{ outline:none; }

/* Dark text on magenta: white on --brand stays below 4.5:1. Hover lightens
   instead of darkening for the same reason. */
.lp-b2b .btn--brand{ color:var(--bg); }
.lp-b2b .btn--brand:hover{ background:color-mix(in oklab, var(--brand) 82%, var(--ink)); color:var(--bg); }
.lp-b2b .btn--primary:hover{ color:var(--on-accent); }
/* The cookie banner's accept button, same reason — on this page only; the
   rest of the shop keeps the banner as it is. */
.lp-b2b .accredo-consent{ --cc-on-accent:var(--bg); --cc-accent-hi:color-mix(in oklab, var(--brand) 82%, var(--ink)); }
.lp-b2b .btn svg{ flex:none; }

/* ---------- header additions ---------- */
.lp-b2b .snav--landing a{ display:inline-flex; align-items:center; min-height:44px; }
@media(min-width:1181px){
  .lp-b2b .snav--landing{ margin-left:auto; }
  .lp-b2b .snav--landing + .shead__right{ margin-left:12px; }
}
.lp-phone{ display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:0 18px; white-space:nowrap;
  border:1.5px solid var(--line-2); border-radius:var(--r-pill); color:var(--ink); font-weight:700; font-size:16px;
  letter-spacing:.01em; transition:border-color .2s, color .2s; }
.lp-phone:hover{ border-color:var(--accent); }
.lp-phone .lp-icon{ width:20px; height:20px; color:var(--accent); }
.lp-headcta{ min-height:48px; }
.lp-callicon{ display:none; width:48px; height:48px; flex:none; border-radius:50%; place-items:center;
  background:var(--accent); color:var(--on-accent); }
.lp-callicon .lp-icon{ width:21px; height:21px; }
.lp-b2b .shead__burger{ width:48px; height:48px; }

/* Five anchors, number and button need about 1100px; below that the
   anchors move into the drawer. */
@media(max-width:1180px){
  .lp-b2b .snav--landing{ display:none; }
  .lp-b2b .shead__burger{ display:flex; }
}
@media(max-width:767px){
  .lp-phone, .lp-headcta{ display:none; }
  .lp-callicon{ display:grid; }
}

/* ---------- icons ---------- */
.lp-icon{ width:20px; height:20px; flex:none; }

/* ---------- sections ---------- */
.lp-section{ padding-block:96px; }
.lp-section--alt{ background:var(--bg-2); border-block:1px solid var(--line); }
@media(max-width:767px){ .lp-section{ padding-block:64px; } }

.lp-head{ max-width:720px; display:flex; flex-direction:column; gap:16px; margin-bottom:40px; }
.lp-head .h1, .lp-split .h1{ font-size:clamp(34px,4vw,56px); }
.lp-head--row{ max-width:none; flex-direction:row; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:24px; }
.lp-head--row > div{ max-width:640px; display:flex; flex-direction:column; gap:16px; }

/* ---------- hero ---------- */
.lp-hero{ position:relative; overflow:hidden; isolation:isolate; display:flex; align-items:center; min-height:720px;
  background:var(--bg-2); color:var(--hero-ink); }
/* Picture and shade go below the copy (negative z-index inside the hero's
   own stacking context): a positioned <picture> on top took every click
   meant for the buttons. */
.lp-hero__media{ position:absolute; inset:0; z-index:-2; }
.lp-hero__img{ width:100%; height:100%; object-fit:cover; object-position:center; }
/* The overlay of the design (the dark ground at 72%) and the fade into the
   page below it. */
.lp-hero__shade{ position:absolute; inset:0; z-index:-1; background:color-mix(in oklab, var(--bg) 72%, transparent); }
.lp-hero__shade::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:200px;
  background:linear-gradient(to bottom, transparent, var(--bg)); }
.lp-hero__inner{ display:flex; flex-direction:column; align-items:flex-start; gap:26px;
  padding-top:calc(72px + var(--logo-drop,0px) + 56px); padding-bottom:96px; }
.lp-hero .eyebrow{ color:var(--accent); }
.lp-hero .eyebrow::before{ background:var(--brand); }
.lp-hero__title{ max-width:820px; font-size:clamp(48px,6.4vw,92px); color:var(--hero-ink); }
.lp-hero__lead{ max-width:640px; color:var(--hero-dim); }
.lp-hero__ctas{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.lp-hero__ctas .lp-icon{ width:20px; height:20px; }
.lp-hero__micro{ font-size:14px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); }
@media(max-width:1000px){
  .lp-hero__inner{ padding-top:calc(76px + 48px); }
}
@media(max-width:767px){
  .lp-hero{ min-height:0; align-items:flex-end; }
  .lp-hero__img{ object-position:60% center; }
  .lp-hero__shade::after{ height:60%; }
  .lp-hero__inner{ gap:18px; padding-top:calc(76px + 32px); padding-bottom:40px; }
  .lp-hero__ctas{ width:100%; flex-direction:column; align-items:stretch; gap:10px; }
  .lp-hero__ctas .btn{ white-space:normal; }
  .lp-hero__micro{ font-size:12px; }
}

/* ---------- numbers ---------- */
.lp-stats{ padding-block:8px 24px; }
.lp-stats__grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; padding-block:36px;
  border-block:1px solid var(--line); }
.lp-stat{ display:flex; flex-direction:column; gap:6px; padding-inline:8px; }
.lp-stat__num{ font-family:var(--font-display); font-weight:800; font-size:56px; line-height:1; letter-spacing:var(--head-ls);
  color:var(--brand); }
.lp-stat:nth-child(even) .lp-stat__num{ color:var(--accent); }
.lp-stat__label{ font-size:14px; font-weight:600; line-height:1.4; color:var(--ink-2); }
@media(max-width:767px){
  .lp-stats__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 12px; padding-block:24px; }
  .lp-stat{ padding-inline:0; }
  .lp-stat__num{ font-size:40px; }
  .lp-stat__label{ font-size:13px; }
}

/* ---------- cards ---------- */
.lp-grid{ display:grid; gap:20px; }
.lp-grid--4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.lp-grid--5{ grid-template-columns:repeat(5,minmax(0,1fr)); }
.lp-card{ display:flex; flex-direction:column; gap:14px; padding:28px; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--r-card); transition:border-color .2s; }
.lp-card:hover{ border-color:var(--accent); }
.lp-card--tight{ padding:24px; }
.lp-card p{ font-size:15px; line-height:1.55; color:var(--ink-2); }
.lp-card__icon{ width:28px; height:28px; color:var(--accent); stroke-width:1.8; }
.lp-card__num{ font-family:var(--font-display); font-weight:700; font-size:14px; letter-spacing:.1em; color:var(--brand); }
@media(max-width:1023px){ .lp-grid--4, .lp-grid--5{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:767px){ .lp-grid--4, .lp-grid--5{ grid-template-columns:minmax(0,1fr); } }

/* ---------- steps ---------- */
.lp-steps{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:28px; }
.lp-step{ position:relative; display:flex; flex-direction:column; gap:16px; }
.lp-step p{ font-size:15px; line-height:1.55; color:var(--ink-2); }
/* The line joining the circles, from the right edge of one to the next. */
.lp-step:not(:last-child)::before{ content:""; position:absolute; left:56px; right:-28px; top:27px; height:2px; background:var(--line); }
.lp-step__num{ position:relative; width:56px; height:56px; border-radius:50%; display:grid; place-items:center;
  font-family:var(--font-display); font-weight:800; font-size:24px; line-height:1;
  background:var(--surface); border:2px solid var(--accent); color:var(--accent); }
.lp-step:first-child .lp-step__num{ background:var(--brand); border-color:var(--brand); color:var(--bg); }
.lp-step:last-child .lp-step__num{ background:var(--accent); color:var(--on-accent); }
@media(max-width:1023px){
  .lp-steps{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lp-step:not(:last-child)::before{ display:none; }
}
@media(max-width:767px){ .lp-steps{ grid-template-columns:minmax(0,1fr); } }

/* ---------- chips ---------- */
.lp-chips{ display:flex; flex-wrap:wrap; gap:12px; }
.lp-chip{ gap:10px; padding:12px 18px; font-size:15px; color:var(--ink); }
.lp-chip__dot{ width:8px; height:8px; flex:none; border-radius:50%; background:var(--brand); }
.lp-chip--more{ border-style:dashed; color:var(--ink-2); }
.lp-chip--more .lp-chip__dot{ background:var(--accent); }

/* ---------- two columns: centre, contact ---------- */
.lp-split{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:56px; align-items:center; }
.lp-split--top{ align-items:start; }
.lp-split__text{ display:flex; flex-direction:column; align-items:flex-start; gap:24px; }
@media(max-width:767px){ .lp-split{ grid-template-columns:minmax(0,1fr); gap:40px; } }

.lp-checks{ display:flex; flex-direction:column; gap:12px; }
.lp-checks li{ display:flex; gap:12px; align-items:flex-start; font-size:16px; }
.lp-checks .lp-icon{ color:var(--accent); stroke-width:2.4; margin-top:2px; }
.lp-actions{ display:flex; flex-wrap:wrap; gap:14px 18px; align-items:center; }
.lp-actions .btn--ghost{ min-height:50px; }
.lp-actions .btn--ghost:hover{ border-color:var(--accent); color:var(--ink); }
.lp-address{ display:inline-flex; align-items:center; gap:8px; font-size:14px; color:var(--ink-3); }
.lp-address .lp-icon{ width:16px; height:16px; }

.lp-media{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.lp-media__photo{ grid-column:span 2; aspect-ratio:16/9; overflow:hidden; border:1px solid var(--line);
  border-radius:var(--r-card); background:var(--surface); }
.lp-media__photo img{ width:100%; height:100%; object-fit:cover; }
.lp-card--stat{ gap:6px; padding:22px; }
.lp-card--stat p{ font-size:14px; line-height:1.4; }
.lp-card__big{ font-family:var(--font-display); font-weight:800; font-size:40px; line-height:1; text-transform:var(--head-case); }

/* ---------- catalogue ---------- */
.lp-thumbs{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.lp-thumb{ display:block; aspect-ratio:4/3; overflow:hidden; border:1px solid var(--line); border-radius:var(--r-card);
  background:var(--surface); transition:border-color .2s, transform .3s var(--ease,cubic-bezier(.22,.61,.36,1)); }
.lp-thumb:hover{ border-color:var(--accent); transform:translateY(-3px); }
.lp-thumb img{ width:100%; height:100%; object-fit:cover; object-position:top center; }
.lp-catalog{ margin-top:clamp(28px,4vw,48px); }
.lp-catalog .accredo-catalog{ margin-block:0; }
@media(max-width:767px){ .lp-thumbs{ gap:10px; } .lp-thumb{ border-radius:var(--r-sm); } }

/* ---------- partners ---------- */
.lp-partners{ padding-block:48px; text-align:center; }
.lp-partners__label{ font-family:'Hanken Grotesk',sans-serif; font-size:12px; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:var(--ink-3); }
.lp-partners__list{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px 36px; margin-top:18px; }
.lp-partners__list li{ font-family:var(--font-display); font-weight:700; font-size:22px; text-transform:var(--head-case);
  letter-spacing:var(--head-ls); color:var(--ink-2); }

/* ---------- contact ---------- */
.lp-contact .lp-split__text{ gap:28px; }
.lp-bigcall{ display:flex; align-items:center; gap:16px; color:var(--ink); }
.lp-bigcall__icon{ width:56px; height:56px; flex:none; border-radius:50%; display:grid; place-items:center;
  background:var(--accent); color:var(--on-accent); transition:transform .2s; }
.lp-bigcall__icon .lp-icon{ width:24px; height:24px; }
.lp-bigcall:hover .lp-bigcall__icon{ transform:scale(1.06); }
.lp-bigcall__text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.lp-bigcall__num{ font-family:var(--font-display); font-weight:800; font-size:34px; line-height:1.05; letter-spacing:.01em; }
.lp-bigcall__sub{ font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); }
.lp-contact__list{ display:flex; flex-direction:column; gap:6px; }
.lp-contact__list li{ display:flex; gap:12px; align-items:center; font-size:16px; min-height:44px; }
.lp-contact__list .lp-icon{ color:var(--accent); }
.lp-contact__list a{ color:var(--ink); }
.lp-contact__list a:hover{ color:var(--accent); }
@media(max-width:767px){
  .lp-bigcall{ padding:16px; border:1px solid var(--line); border-radius:var(--r-card); background:var(--surface); width:100%; }
  .lp-bigcall__icon{ width:48px; height:48px; }
  .lp-bigcall__num{ font-size:28px; }
}

/* The toolkit's form (.form-card, .form-row, .field, .form-note) — the main
   site styles it in sections.css, which the shop does not load. */
.lp-b2b .form-card{ background:var(--bg); border:1px solid var(--line); border-radius:var(--r-card); padding:32px; }
.lp-b2b .form-row{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:16px; }
.lp-b2b .form-row--1{ grid-template-columns:minmax(0,1fr); }
.lp-b2b .field .opt{ font-weight:500; color:var(--ink-3); }
.lp-b2b .field textarea{ min-height:120px; resize:vertical; }
.lp-b2b .form-note{ margin-bottom:18px; padding:14px 16px; border:1px solid var(--accent); border-radius:var(--r-sm);
  background:var(--accent-tint); color:var(--ink); font-weight:600; }
.lp-b2b .form-note--error{ border-color:var(--brand); background:var(--brand-tint); color:var(--ink); }
.lp-b2b .field__error{ color:var(--brand); }
.lp-b2b .field :is(input, select, textarea)[aria-invalid="true"]{ border-color:var(--brand); }
.lp-b2b .form-consent{ color:var(--ink-2); }
.lp-b2b .form-consent input{ accent-color:var(--accent); }
.lp-b2b .form-consent input[aria-invalid="true"]{ outline-color:var(--brand); }
.lp-b2b .form-footnote, .lp-b2b .form-recaptcha{ color:var(--ink-3); }
/* Sending the form is the second way in, next to the call: magenta, as on
   the call bar. */
.lp-contact .form-card .btn--primary{ margin-top:4px; background:var(--brand); color:var(--bg); }
.lp-contact .form-card .btn--primary:hover{ background:color-mix(in oklab, var(--brand) 82%, var(--ink)); }
/* Next to the contact column the card is too narrow for two fields a row
   until the page is 1024px wide; a wrapping label pushed one field down. */
@media(max-width:1023px){ .lp-b2b .form-row{ grid-template-columns:minmax(0,1fr); } }
@media(max-width:767px){
  .lp-b2b .form-card{ padding:18px; }
  .lp-b2b .form-row{ gap:14px; margin-bottom:14px; }
}

/* ---------- call bar (phones) ---------- */
.lp-callbar{ display:none; }
@media(max-width:767px){
  .lp-callbar{ position:fixed; left:0; right:0; bottom:0; z-index:90; display:flex; gap:10px;
    padding:10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background:color-mix(in oklab, var(--bg) 92%, transparent); border-top:1px solid var(--line);
    -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
  .lp-callbar .btn{ flex:1; min-height:52px; padding:12px 10px; }
  /* The bar's height (52 + 2 × 10 + the 1px rule), so the end of the page
     is never under it. */
  body.lp-b2b{ padding-bottom:calc(73px + env(safe-area-inset-bottom)); }
}
