/* ============================================================
   GRID Software – LP Legislativa (legislativa.html)
   Záměrně jiný jazyk než CHE: žádná hero fotka, místo ní
   „datová“ typografie – hranice jako čísla v Inter 300 a škála.
============================================================ */

/* ── HERO ──────────────────────────────────── */
.lg-hero { background: var(--navy-deep); padding-bottom: 96px; position: relative; overflow: hidden; }
.lg-hero::before { content: ""; position: absolute; right: -180px; top: -120px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(245,121,59,.16) 0%, transparent 65%); pointer-events: none; }
.lg-hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.lg-hero h1 { font-size: clamp(2rem, 4.4vw, 3.05rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.lg-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lg-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.75); line-height: 1.68; margin: 22px 0 34px; max-width: 520px; }

/* Škála hranic */
.lg-scale { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r); padding: 30px 30px 24px; }
.lg-scale-title { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 22px; }
.lg-row { margin-bottom: 22px; }
.lg-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.lg-num { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 300; letter-spacing: -.02em; color: #fff; line-height: 1; white-space: nowrap; }
.lg-num small { font-size: .5em; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.55); margin-left: 4px; }
.lg-what { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.8); text-align: right; line-height: 1.35; }
.lg-what span { display: block; font-weight: 400; color: rgba(255,255,255,.45); }
.lg-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.lg-bar i { display: block; height: 100%; border-radius: 3px; }
.lg-bar-1 i { background: var(--red); }
.lg-bar-2 i { background: var(--orange); }
.lg-bar-3 i { background: var(--gold); }
.lg-scale-note { font-size: .74rem; color: rgba(255,255,255,.38); margin-top: 4px; }

/* ── CO SE ZMĚNILO ─────────────────────────── */
.lg-change { background: #fff; padding: 100px 0; }
.lg-change-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.lg-change .h2 { margin-bottom: 20px; }
.lg-change p { font-size: 1rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; }
.lg-change p strong { color: var(--navy); }
.lg-mark { background: linear-gradient(transparent 58%, rgba(251,176,64,.38) 58%); color: var(--navy); font-weight: 600; }
.lg-stats { display: grid; gap: 16px; }
.lg-stat { background: var(--cream); border-radius: var(--r); padding: 26px 28px; border: 1px solid rgba(245,121,59,.14); }
.lg-stat-num { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--orange); }
.lg-stat-label { font-size: .95rem; font-weight: 700; color: var(--navy); margin-top: 10px; }
.lg-stat-text { font-size: .85rem; color: var(--gray-600); line-height: 1.55; margin-top: 4px; }

/* ── INSIGHT ───────────────────────────────── */
.lg-insight { background: var(--navy); padding: 84px 0; }
.lg-insight-inner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; max-width: 920px; }
/* .lg-insight-icon: vzhled = .gs-ic.gs-ic--xl (web.css) */
.lg-insight-lead { font-size: clamp(1.4rem, 2.8vw, 1.95rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.lg-insight-l1 { white-space: nowrap; }
.lg-insight-lead em { display: block; font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; width: fit-content; }
.lg-insight p:not(.lg-insight-lead) { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-top: 16px; max-width: 680px; }

/* ── TŘI POVINNOSTI ────────────────────────── */
.lg-duties { background: var(--cream); padding: 100px 0; }
.lg-head { max-width: 760px; margin-bottom: 44px; }
.lg-head .h2 { text-wrap: balance; }
.lg-duty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lg-duty { background: #fff; border-radius: var(--r); padding: 30px 28px; border: 1px solid var(--gray-200); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.lg-duty:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.lg-duty-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.lg-duty .pillar-icon { margin-bottom: 0; }
.lg-duty-num { font-size: 2.1rem; font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--navy); white-space: nowrap; }
.lg-duty-num small { font-size: .45em; font-weight: 700; color: var(--orange); margin-left: 3px; letter-spacing: .02em; }
.lg-duty h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.32; letter-spacing: -.01em; color: var(--navy); margin-bottom: 12px; }
.lg-duty p { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }
.lg-duty p strong { color: var(--navy); }
.lg-legal { margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--orange); background: rgba(255,255,255,.7); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .84rem; color: var(--gray-600); line-height: 1.6; max-width: 860px; }
.lg-legal strong { color: var(--navy); }

/* ── JAK POMŮŽEME (CHE = oranžová #f5793b + navy z CHE webu) ── */
.lg-help { background: #fff; padding: 100px 0; }
.lg-che { display: grid; grid-template-columns: 340px 1fr; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.lg-che-band { position: relative; background: linear-gradient(150deg, #1a1e29 0%, #2e3548 55%, #424c67 100%); padding: 40px 36px; display: flex; flex-direction: column; }
.lg-che-band::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 3px; background: #f5793b; box-shadow: -4px 0 18px rgba(245,121,59,.6); }
.lg-che-logo { height: 62px; width: auto; margin: -10px 0 -4px -11px; align-self: flex-start; }
.lg-che-claim { font-size: 1.25rem; font-weight: 800; line-height: 1.3; color: #fff; margin-top: 22px; }
.lg-che-band p { font-size: .9rem; color: rgba(255,255,255,.68); line-height: 1.65; margin-top: 12px; }
.lg-che-btn { margin-top: auto; padding-top: 28px; }
.lg-che-btn a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 20px; border-radius: 8px; font-size: .86rem; font-weight: 700; background: #f5793b; color: #fff; box-shadow: 0 6px 20px rgba(245,121,59,.28); transition: background .15s; }
.lg-che-btn a:hover { background: #e2662a; }
.lg-che-items { padding: 12px 40px; display: flex; flex-direction: column; }
.lg-item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--gray-200); }
.lg-item:last-child { border-bottom: 0; }
.lg-item-n { font-size: 1.6rem; font-weight: 300; color: #f5793b; line-height: 1; }
.lg-item h3 { font-size: 1.02rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.lg-item p { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }
.lg-more { margin-top: 26px; font-size: .92rem; font-weight: 700; }
.lg-more a { color: var(--orange); }
.lg-more a:hover { text-decoration: underline; }

/* ── FAQ ───────────────────────────────────── */
.lg-faq { background: var(--gray-50); padding: 100px 0; border-top: 1px solid var(--gray-200); }
.lg-faq-inner { display: grid; grid-template-columns: 1fr 1.8fr; gap: 64px; align-items: start; }
.lg-faq-list { display: flex; flex-direction: column; gap: 10px; }
.lg-q { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s; }
.lg-q[open] { border-color: rgba(245,121,59,.45); box-shadow: 0 4px 18px rgba(245,121,59,.1); }
.lg-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: .97rem; font-weight: 700; color: var(--navy); }
.lg-q summary::-webkit-details-marker { display: none; }
.lg-q summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--orange); font-size: 1.3rem; font-weight: 700; line-height: 1; transition: transform .2s, background .2s, color .2s; }
.lg-q[open] summary::after { transform: rotate(45deg); background: var(--orange); color: #fff; }
.lg-q summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: var(--r-sm); }
.lg-q p { padding: 0 22px 20px; font-size: .92rem; color: var(--gray-600); line-height: 1.7; }

/* ── KONTAKT – doplňky formuláře ───────────── */
.ff select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232E3548' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
.lg-benefits { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.lg-benefit { display: flex; gap: 12px; align-items: flex-start; color: var(--navy-deep); }
.lg-benefit .ci-icon { margin-top: 1px; }
.lg-benefit strong { display: block; font-size: .95rem; }
.lg-benefit span { font-size: .88rem; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 960px) {
  .lg-hero-inner, .lg-change-inner, .lg-faq-inner { grid-template-columns: 1fr; gap: 44px; }
  .lg-duty-grid { grid-template-columns: 1fr; }
  .lg-che { grid-template-columns: 1fr; }
  .lg-che-band::after { top: auto; left: 0; width: auto; height: 3px; box-shadow: 0 -4px 18px rgba(245,121,59,.6); }
}
@media (max-width: 600px) {
  .lg-hero { padding-bottom: 72px; }
  .lg-change, .lg-duties, .lg-help, .lg-faq { padding: 72px 0; }
  .lg-insight-inner { grid-template-columns: 1fr; gap: 24px; }
  .lg-insight-l1 { white-space: normal; }
  .lg-scale { padding: 24px 20px 18px; }
  .lg-che-items { padding: 4px 22px; }
  .lg-che-band { padding: 32px 24px; }
  .lg-item { grid-template-columns: 34px 1fr; gap: 12px; }
  .hero-btns .btn { white-space: normal; }
}
