/* Landing + utility pages: hitna-intervencija, mreza-i-bezbednost, kontakt, hvala, politika, 404 */

/* ---------- hero (white, text + photo + form) ---------- */
.lp-hero { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.lp-hero__grid { align-items: start; row-gap: 32px; }
.lp-hero__main { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lp-hero__photo { grid-column: 1 / span 7; margin: 0; }
.lp-hero__photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); background: var(--bg-alt); }
.lp-hero__aside { grid-column: 8 / span 5; grid-row: 1 / span 2; min-width: 0; }
.lp-hero .h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); max-width: 18ch; }
.lp-hero .lede { max-width: 52ch; }
.lp-hero--wide .h1 { max-width: 20ch; }
.lp-kicker { font-size: var(--fs-sm); font-weight: 500; color: var(--accent); }
@media (max-width: 960px) {
  .lp-hero__main, .lp-hero__aside, .lp-hero__photo { grid-column: 1 / -1; grid-row: auto; }
  .lp-hero__photo { order: 3; margin-inline: calc(var(--gutter) * -1); }
  .lp-hero__photo img { border-radius: 0; aspect-ratio: 16 / 9; }
  .lp-hero__photo figcaption { padding-inline: var(--gutter); }
}

.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: 6px; }
.lp-call { min-height: 72px; padding: 0 clamp(22px, 4vw, 36px); gap: 14px; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.375rem, 1rem + 1.8vw, 2rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lp-call .icon { width: 26px; height: 26px; }
.lp-actions .btn--ghost { min-height: 72px; padding: 0 26px; }
@media (max-width: 520px) { .lp-call { width: 100%; } .lp-actions .btn--ghost { width: 100%; min-height: 56px; } }

.lp-status { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.lp-status strong { color: var(--ink); font-weight: 600; }
.lp-dot { margin-top: 7px; width: 8px; height: 8px; background: var(--ok); border-radius: 50%; flex: none; }
.lp-dot--off { background: var(--warn); }

.lp-panel { border: 1px solid var(--line); background: var(--bg-alt); padding: clamp(20px, 3vw, 32px); }
.lp-panel__title { font: 600 var(--fs-lg)/1.2 var(--f-head); color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.lp-panel__sub { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 20px; }
.lp-panel .lead-form { grid-template-columns: 1fr; }
.lp-panel .btn--primary { width: 100%; }

/* ---------- plain lists of problems ---------- */
.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.lp-cell { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.lp-cell h3 { font-size: var(--fs-lg); }
.lp-cell p { color: var(--muted); font-size: var(--fs-sm); max-width: 38ch; }
@media (min-width: 861px) {
  .lp-cell:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 860px) { .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-cell { padding-right: 16px; } .lp-cell:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); } }
@media (max-width: 520px) { .lp-grid { grid-template-columns: 1fr; } .lp-cell, .lp-cell:nth-child(2n) { padding: 20px 0; border-left: 0; } }

/* ---------- what to do while waiting: simple ordered list ---------- */
.lp-steps { margin: 0; padding: 0 0 0 1.4em; max-width: 68ch; display: grid; gap: 22px; }
.lp-steps li { padding-left: 6px; }
.lp-steps li::marker { font-weight: 600; color: var(--ink); }
.lp-steps h3 { font-size: var(--fs-lg); }
.lp-steps p { color: var(--muted); margin-top: 4px; }

/* ---------- pitch ---------- */
.lp-pitch { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.lp-pitch__body { grid-column: 4 / span 7; display: flex; flex-direction: column; gap: 18px; }
.lp-pitch__eyebrow { grid-column: 1 / span 3; padding-top: .55em; }
@media (max-width: 860px) { .lp-pitch__body, .lp-pitch__eyebrow { grid-column: 1 / -1; } .lp-pitch { gap: 12px; } }

/* ---------- service blocks (mreza) ---------- */
.lp-service { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.lp-service:first-of-type { border-top-color: var(--line-strong); }
.lp-service__head { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 12px; }
.lp-service__head p { color: var(--muted); max-width: 44ch; }
.lp-service__price { font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.lp-service__list { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); align-self: start; }
.lp-service__list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.lp-service__list b { display: block; color: var(--ink); font-weight: 600; }
.lp-service__list span { color: var(--muted); }
@media (max-width: 860px) { .lp-service__head, .lp-service__list { grid-column: 1 / -1; } }

/* ---------- network diagram ---------- */
.lp-diagram { border: 1px solid var(--line); background: #fff; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lp-diagram svg { min-width: 620px; width: 100%; height: auto; }
.lp-diagram .box { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.lp-diagram .box--fw { fill: var(--ink); }
.lp-diagram .box--vlan { stroke: var(--line-strong); fill: var(--bg-alt); }
.lp-diagram .box--vpn { stroke: var(--accent); fill: var(--accent-wash); }
.lp-diagram .t { font: 500 13px var(--f-body); fill: var(--ink); }
.lp-diagram .t--w { fill: #fff; }
.lp-diagram .t--s { font-size: 11px; fill: var(--muted); }
.lp-diagram .t--a { fill: var(--accent); }
.lp-diagram .wire { stroke: var(--ink); stroke-width: 1; fill: none; }
.lp-diagram .wire--vpn { stroke: var(--accent); stroke-dasharray: 4 4; }
.lp-diagram .pkt { fill: var(--accent); }
.lp-diagram .pkt--ok { fill: var(--ok); }
.lp-legend { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: var(--fs-xs); line-height: 1.4; color: var(--muted); }

/* ---------- kontakt ---------- */
.lp-contact { align-items: start; row-gap: 48px; }
.lp-contact__info { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.lp-contact__form { grid-column: 8 / span 5; min-width: 0; }
@media (max-width: 960px) { .lp-contact__info, .lp-contact__form { grid-column: 1 / -1; } }
.lp-bigphone { display: inline-flex; align-items: center; gap: 14px; font: 600 clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem)/1.1 var(--f-head); letter-spacing: -0.02em; color: var(--accent); text-decoration: none; font-variant-numeric: tabular-nums; }
.lp-bigphone .icon { width: 30px; height: 30px; }
.lp-bigphone:hover { color: var(--accent-hover); }
.lp-chan { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lp-photo { margin: 0; }
.lp-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); background: var(--bg-alt); }
.lp-dl { margin: 0; border-top: 1px solid var(--line-strong); }
.lp-dl > div { display: grid; grid-template-columns: minmax(110px, 1fr) 2fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.lp-dl dt { color: var(--muted); }
.lp-dl dd { margin: 0; overflow-wrap: anywhere; }
.lp-dl a { color: var(--accent); text-decoration: none; }
.lp-dl a:hover { text-decoration: underline; }
.lp-block-h { font: 600 var(--fs-lg)/1.2 var(--f-head); color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em; }
.lp-formbox { border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); background: var(--bg-alt); }
.lp-formbox .lead-form { grid-template-columns: 1fr; }
.lp-formbox .btn--primary { width: 100%; }

/* ---------- hvala ---------- */
.lp-thanks { max-width: 680px; }
.lp-note { border-left: 2px solid var(--warn); padding: 4px 0 4px 16px; color: var(--text); font-size: var(--fs-sm); max-width: 60ch; }
.lp-next { margin: 0; padding: 0 0 0 1.4em; display: grid; gap: 16px; max-width: 60ch; }
.lp-next li { padding-left: 6px; }
.lp-next li::marker { font-weight: 600; color: var(--ink); }
.lp-next b { font-weight: 600; color: var(--ink); }
.lp-next b::after { content: ". "; }
.lp-next span { color: var(--muted); }
.lp-urgent { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 8px; }

/* ---------- privacy document ---------- */
.lp-doc { max-width: 70ch; }
.lp-doc h2 { font-size: var(--fs-xl); margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.lp-doc h2:first-of-type { border-top-color: var(--line-strong); }
.lp-doc p, .lp-doc li { color: var(--text); }
.lp-doc p + p, .lp-doc p + ul, .lp-doc ul + p { margin-top: 14px; }
.lp-doc ul { padding-left: 1.2em; margin: 0; }
.lp-doc li { margin-top: 6px; }
.lp-doc a { color: var(--accent); }
.lp-doc .meta { font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }

/* ---------- 404 ---------- */
.lp-404 { padding-block: clamp(72px, 12vw, 160px); }
.lp-404__code { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.lp-404 .lede { margin-top: 18px; }
.lp-404__links { list-style: none; margin: 40px 0 0; padding: 0; max-width: 520px; border-top: 1px solid var(--line-strong); }
.lp-404__links a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; color: var(--ink); }
.lp-404__links a:hover { color: var(--accent); }
.lp-404__links .icon { width: 18px; height: 18px; }

/* ---------- SEO service pages: split hero, long-form prose, plain FAQ ---------- */
.lp-hero--split .lp-split { align-items: center; row-gap: 32px; }
.lp-hero--split .lp-hero__main { grid-column: 1 / span 7; }
.lp-hero--split .lp-split__photo { grid-column: 9 / span 4; margin: 0; }
.lp-hero--split .lp-split__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--bg-alt); }
.lp-hero--split .lp-split__photo--wide { grid-column: 8 / span 5; }
.lp-hero--split .lp-split__photo--wide img { aspect-ratio: 4 / 3; }
.lp-hero--split .h1 { max-width: 20ch; }
@media (max-width: 960px) {
  .lp-hero--split .lp-hero__main, .lp-hero--split .lp-split__photo, .lp-hero--split .lp-split__photo--wide { grid-column: 1 / -1; }
  .lp-hero--split .lp-split__photo img, .lp-hero--split .lp-split__photo--wide img { aspect-ratio: 16 / 10; }
}

.lp-prose { max-width: 68ch; }
.lp-prose > * + * { margin-top: 1.1em; }
.lp-prose p { line-height: 1.7; color: var(--text); }
.lp-prose h3 { font-size: var(--fs-lg); margin-top: 1.8em; color: var(--ink); }
.lp-prose h3 + p { margin-top: .5em; }
.lp-prose a, .lp-qa a { color: var(--accent); text-underline-offset: 3px; }
.lp-prose a:hover, .lp-qa a:hover { color: var(--accent-hover); }
.lp-article { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.lp-article > .eyebrow { grid-column: 1 / span 3; padding-top: .55em; }
.lp-article > .lp-article__body { grid-column: 4 / span 9; min-width: 0; }
.lp-article__body > .h2 { margin-bottom: 20px; max-width: 24ch; }
@media (max-width: 860px) { .lp-article > .eyebrow, .lp-article > .lp-article__body { grid-column: 1 / -1; } .lp-article { gap: 12px; } }

.lp-figure { margin: 32px 0 0; max-width: 820px; }
.lp-figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); background: var(--bg-alt); }

.lp-steps3 { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); max-width: 920px; }
.lp-steps3 li { padding: 22px 24px 8px 0; }
.lp-steps3 li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.lp-steps3 h3 { font-size: var(--fs-lg); margin: 0 0 6px; }
.lp-steps3 p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
@media (max-width: 720px) { .lp-steps3 { grid-template-columns: 1fr; } .lp-steps3 li, .lp-steps3 li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

.lp-qa { max-width: 68ch; border-top: 1px solid var(--line-strong); }
.lp-qa__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.lp-qa__item h3 { font-size: var(--fs-lg); line-height: 1.3; margin-bottom: 8px; color: var(--ink); }
.lp-qa__item p { line-height: 1.65; color: var(--text); }
.lp-inline-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.lp-hero--split .lp-split__photo--land { grid-column: 8 / span 5; }
.lp-hero--split .lp-split__photo--land img { aspect-ratio: 4 / 3; }
@media (max-width: 960px) { .lp-hero--split .lp-split__photo--land { grid-column: 1 / -1; } }
