/* ============================================================
   GRID Software – společné styly webu
   Používá index.html, jak-to-funguje.html, o-nas.html.
   Právní stránky mají zatím vlastní css/pravni.css.
============================================================ */
:root {
  --red:        #EF4136;
  --orange:     #F5793B;
  --gold:       #FBB040;
  --navy:       #2E3548;
  --navy-mid:   #424C67;
  --navy-deep:  #1A1E29;
  --blue:       #1D7FFF;
  --white:      #FFFFFF;
  --cream:      #FFF7F0;
  --warm-light: #FEF2E4;
  --gray-50:    #F8F9FA;
  --gray-200:   #E2E6EA;
  --gray-400:   #8D99A6;
  --gray-600:   #495867;
  --grad:       linear-gradient(135deg, #EF4136 0%, #F5793B 55%, #FBB040 100%);
  --grad-hero:  linear-gradient(100deg, rgba(26,30,41,.92) 0%, rgba(26,30,41,.65) 55%, rgba(26,30,41,.15) 100%);
  --r:          16px;
  --r-sm:       10px;
  --shadow:     0 4px 28px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 48px rgba(0,0,0,.15);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--navy); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── UTILITIES ─────────────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow.light { color: var(--gold); }
.h2 { font-size: clamp(1.75rem, 3.8vw, 2.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.h2-white { color: #fff; }
.lead { font-size: 1rem; color: var(--gray-600); line-height: 1.7; margin-top: 14px; }
.lead-white { color: rgba(255,255,255,.65); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 10px; font-size: .92rem; font-weight: 700; cursor: pointer; border: none; transition: all .18s ease; white-space: nowrap; }
.btn svg { flex: none; }
.btn-warm { background: var(--grad); color: #fff; box-shadow: 0 4px 16px rgba(239,65,54,.25); }
.btn-warm:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(239,65,54,.35); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e8a030; }

/* ── NAV ─────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: rgba(26,30,41,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav-inner { display: flex; align-items: center; height: 68px; gap: 8px; }
.nav-logo { flex: none; margin-right: 24px; }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; }
.nav-link { font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.75); padding: 8px 14px; border-radius: 8px; transition: all .15s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.09); }
.nav-cta { margin-left: 24px; }
.nav-hamburger { display: none; margin-left: auto; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; }
.nav-mobile { display: none; }

/* ── HERO ────────────────────────────────── */
.hero { position: relative; min-height: clamp(540px, 74svh, 760px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: 68px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-overlay { position: absolute; inset: 0; background: var(--grad-hero); }
/* teplý oranžový tint přes spodní část */
.hero-tint { position: absolute; inset: 0; background: linear-gradient(to top, rgba(245,121,59,.18) 0%, transparent 50%); }
.hero-body { position: relative; z-index: 1; padding: 48px 0; display: flex; align-items: center; flex: 1; }
.hero-body > .wrap { width: 100%; }
.hero-content { max-width: 640px; }
.hero-tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.78); line-height: 1.68; margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stats bar */

/* ── PARTNER LIŠTA ───────────────────────── */
.partners { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--gray-200); padding: 32px 0 44px; }
.partners-head { margin-bottom: 10px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; gap: 64px; padding-right: 64px; list-style: none; margin: 0; }
.marquee-list li { flex: none; display: flex; align-items: center; height: 56px; }
.marquee-list img { display: block; filter: grayscale(1) opacity(.6); transition: filter .25s; }
.marquee-list img:hover { filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.scroll-down { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--gray-200); box-shadow: 0 6px 18px rgba(46,53,72,.12); display: flex; align-items: center; justify-content: center; color: var(--orange); transition: background .2s, color .2s; }
.scroll-down:hover, .scroll-down:focus-visible { background: var(--orange); color: #fff; }
.scroll-down svg { width: 20px; height: 20px; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (max-width: 600px) { .marquee-list { zoom: .72; } .marquee-track { animation-duration: 35s; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .scroll-down svg { animation: none; }
}

/* ── PILÍŘE ──────────────────────────────── */
.pillars { background: var(--cream); padding: 100px 0; }
.pillars-top { margin-bottom: 28px; }
.pillars-h2 { max-width: 820px; text-wrap: balance; }
.pillars-who { margin-top: 22px; font-size: 1rem; font-weight: 700; color: var(--navy); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { background: #fff; border-radius: var(--r); padding: 28px 24px; border: 1px solid var(--gray-200); transition: box-shadow .2s, transform .2s; }
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pillar-icon { margin-bottom: 18px; } /* vzhled = .gs-ic.gs-ic--lg */
.pillar-title { font-size: 1.22rem; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; color: var(--navy); margin-bottom: 12px; min-height: 2.5em; }
.pillar-title::after { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--grad); margin-top: 10px; }
.pillar-text { font-size: .86rem; color: var(--gray-600); line-height: 1.6; }

/* ── PRODUKTY ────────────────────────────── */
.products { background: var(--navy); padding: 100px 0; }
.products-head { text-align: center; margin-bottom: 52px; }
.products-head .lead { max-width: 540px; margin: 14px auto 0; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pcard { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.25); transition: transform .22s; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-5px); }
.pcard-band { position: relative; overflow: hidden; padding: 32px 36px; }
.pcard-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.pcard-band > * { position: relative; z-index: 1; }
.pcard-st .pcard-band { background: linear-gradient(135deg, #0c2040 0%, #1b4f80 100%); }
.pcard-st .pcard-band::after { background: #fbc30d; box-shadow: 0 -4px 18px rgba(251,195,13,.55); }
.pcard-che .pcard-band { background: linear-gradient(150deg, #1a1e29 0%, #2e3548 55%, #424c67 100%); }
.pcard-che .pcard-band::after { background: #f5793b; box-shadow: 0 -4px 18px rgba(245,121,59,.6); }
.pcard-logo { display: block; height: 42px; width: auto; max-width: 100%; }
.pcard-che .pcard-logo { height: 62px; margin: -10px 0 -10px -11px; }
.pcard-head { font-size: 1.3rem; font-weight: 800; color: #fff; }
.pcard-role { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; color: #fff; margin-top: 16px; }
.pcard-body { padding: 30px 36px 28px; flex: 1; display: flex; flex-direction: column; }
.pcard-desc { font-size: 1.06rem; font-weight: 600; color: var(--navy); line-height: 1.6; margin-bottom: 22px; }
.pcard-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.pcard-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--navy); }
.pcard-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #f5793b; flex: none; margin-top: 9px; }
.pcard-st .pcard-list li::before { background: #fbc30d; }
.pcard-target { font-size: .8rem; color: var(--navy-mid); margin-top: auto; }
.pcard-foot { padding: 18px 36px; border-top: 1px solid var(--gray-200); background: var(--gray-50); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btn-pcard { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: 8px; font-size: .85rem; font-weight: 700; background: var(--grad); color: #fff; transition: opacity .15s; }
.pcard-st .btn-pcard { background: #49abe5; }
.pcard-che .btn-pcard { background: #f5793b; box-shadow: 0 6px 20px rgba(245,121,59,.28); }
.pcard-che .btn-pcard:hover { background: #e2662a; opacity: 1; }
.btn-pcard:hover { opacity: .88; }

/* ── PORADENSTVÍ ─────────────────────────── */
.advisory { background: var(--warm-light); padding: 100px 0; }
.advisory-inner { display: grid; grid-template-columns: 1fr 1.7fr; gap: 72px; align-items: start; }
.advisory-left .h2 { margin-bottom: 18px; font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
.advisory-left p { font-size: .95rem; color: var(--gray-600); line-height: 1.72; margin-bottom: 28px; }
.advisory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.advisory-photo { margin-top: 40px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.advisory-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.aitem { background: #fff; border-radius: var(--r-sm); padding: 22px; border: 1px solid rgba(245,121,59,.15); transition: box-shadow .2s; }
.aitem:hover { box-shadow: 0 4px 18px rgba(245,121,59,.12); }
.aitem-icon { margin-bottom: 12px; } /* vzhled = .gs-ic.gs-ic--sm */
.aitem-title { font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.aitem-text { font-size: .81rem; color: var(--gray-600); line-height: 1.58; }

/* ── PRO KOHO ────────────────────────────── */
.for-who { background: #fff; padding: 100px 0; }
.for-who-head { text-align: center; margin-bottom: 52px; }
.for-who-head .lead { max-width: 500px; margin: 14px auto 0; }
.for-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { border-radius: var(--r); overflow: hidden; border: 1px solid var(--gray-200); transition: transform .22s, box-shadow .22s; }
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.fcard-img { height: 230px; overflow: hidden; }
.fcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.fcard:hover .fcard-img img { transform: scale(1.06); }
.fcard-body { padding: 26px; }
.fcard-label { font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.fcard-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.fcard-text { font-size: .86rem; color: var(--gray-600); line-height: 1.62; }

/* ── JAK PRACUJEME ───────────────────────── */
.process { background: var(--navy-deep); padding: 100px 0; }
.process-head { margin-bottom: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.process-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
.process-photo img { width: 100%; height: 100%; object-fit: cover; }
.process-head .h2 { max-width: 540px; }
.process-head .lead { max-width: 480px; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.step { background: rgba(255,255,255,.04); padding: 32px 28px; border-radius: 0; position: relative; border: 1px solid rgba(255,255,255,.06); }
.step:hover { background: rgba(255,255,255,.07); }
.step-n { font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: var(--orange); margin-bottom: 14px; }
.step-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step-text { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.62; }

/* ── ZAKLADATELÉ ─────────────────────────── */
.founders { background: var(--navy); padding: 100px 0; }
.founders-head { text-align: center; margin-bottom: 52px; }
.founders-head .lead { max-width: none; margin: 14px auto 0; }
.founders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.founder { border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 10px 32px rgba(0,0,0,.28); transition: transform .22s; }
.founder:hover { transform: translateY(-4px); }
.founder-img { aspect-ratio: 1 / 1; overflow: hidden; }
.founder-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-body { padding: 20px 20px 24px; border-top: 3px solid var(--orange); }
.founder-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.founder-name { font-size: .95rem; font-weight: 700; color: var(--navy); }
.founder-quote { font-size: .82rem; color: var(--gray-600); line-height: 1.62; font-style: italic; }
.founder-li { flex: none; display: inline-flex; padding: 5px; margin: -5px; color: #0A66C2; transition: color .15s; }
.founder-li:hover, .founder-li:focus-visible { color: var(--navy); }
.founder-li svg { width: 22px; height: 22px; fill: currentColor; }

/* ── CTA / KONTAKT ───────────────────────── */
.contact { background: var(--grad); padding: 100px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.contact .eyebrow { color: #fff; }
.contact-left h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-weight: 800; color: var(--navy-deep); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 18px; }
.contact-left p { font-size: 1rem; color: var(--navy-deep); line-height: 1.7; margin-bottom: 30px; max-width: 440px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.ci { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--navy-deep); font-weight: 500; }
.ci a { color: var(--navy-deep); font-weight: 700; }
.ci a:hover { text-decoration: underline; }
.ci-icon { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy-deep); display: grid; place-items: center; flex: none; box-shadow: 0 2px 8px rgba(26,30,41,.12); }
.cform { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 24px 60px rgba(26,30,41,.22); }
.cform-title { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.cform-sub { font-size: .86rem; color: var(--gray-600); margin-bottom: 24px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.ff { display: flex; flex-direction: column; gap: 6px; }
.ff.full { grid-column: 1/-1; }
.ff label { font-size: .8rem; font-weight: 600; color: var(--navy); }
.ff input, .ff textarea, .ff select {
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: 10px; padding: 12px 14px; font-size: .92rem; color: var(--navy);
  font-family: inherit; outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.ff input::placeholder, .ff textarea::placeholder { color: var(--gray-400); }
.ff input:focus, .ff textarea:focus, .ff select:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(245,121,59,.14); }
.ff textarea { resize: vertical; min-height: 110px; }
.fsub { width: 100%; padding: 15px; border-radius: 10px; font-size: .95rem; font-weight: 700; background: var(--grad); color: #fff; border: none; cursor: pointer; transition: opacity .15s, transform .15s; margin-top: 4px; box-shadow: 0 8px 22px rgba(239,65,54,.25); }
.fsub:hover { opacity: .92; transform: translateY(-1px); }
.fsouhlas { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: .8rem; line-height: 1.5; color: var(--gray-600); cursor: pointer; }
.fsouhlas input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--red); cursor: pointer; }
.fsouhlas a { color: var(--navy); text-decoration: underline; }
.fnote { font-size: .78rem; color: var(--gray-400); text-align: center; margin-top: 12px; }

/* ── FOOTER ──────────────────────────────── */
footer { background: var(--navy-deep); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 220px; }
.footer-col h5 { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-col a { display: block; font-size: .86rem; color: rgba(255,255,255,.6); margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .76rem; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.3); }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-title { min-height: 0; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .products-grid { grid-template-columns: 1fr; }
  .advisory-inner { grid-template-columns: 1fr; gap: 48px; }
  .advisory-photo { max-width: 560px; }
  .process-head { grid-template-columns: 1fr; gap: 36px; }
  .for-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
    .pillars-grid { grid-template-columns: 1fr; }
  .advisory-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Trojbarevný pruh (3 články baterie z loga, jako na vizitce) ── */
:root { --stripe: linear-gradient(90deg, var(--red) 0 35%, var(--orange) 35% 65%, var(--gold) 65% 100%); }
.nav { border-bottom: 0; }
.nav::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--stripe); }
footer { position: relative; }
footer::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--stripe); }

/* ── PODSTRÁNKY ────────────────────────────── */
/* První sekce podstránky je zároveň její hlavička: odsazení pod fixní menu. */
.subpage-first { padding-top: 156px; }
.subpage-first h1.h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
.nav-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.09); }
.cta-band { background: var(--cream); padding: 72px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band .h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: var(--gray-600); margin-top: 8px; max-width: 560px; }
.cta-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .subpage-first { padding-top: 116px; } }

/* Úzký hero podstránky: zleva navy-deep (~60 %), zprava oranžový přechod (~40 %); dole trojbarevný pruh. */
.sub-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 85% at 68% 115%, rgba(245,121,59,.30) 0%, rgba(245,121,59,.16) 35%, rgba(245,121,59,.06) 62%, rgba(245,121,59,0) 85%), var(--navy-deep); padding: 148px 0 64px; min-height: 380px; display: flex; align-items: flex-end; }
.sub-hero-bg { position: absolute; inset: 0; }
.sub-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.sub-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(26,30,41,.95) 0%, rgba(26,30,41,.82) 45%, rgba(26,30,41,.35) 100%); }
.sub-hero-inner { position: relative; width: 100%; }
.sub-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: #fff; max-width: 760px; text-wrap: balance; }
.sub-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sub-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.78); line-height: 1.68; margin-top: 18px; max-width: 600px; }
@media (max-width: 600px) {
  .sub-hero { padding: 112px 0 48px; min-height: 0; }
  .sub-hero-bg::after { background: linear-gradient(180deg, rgba(26,30,41,.80) 0%, rgba(26,30,41,.92) 100%); }
  .sub-hero-sub { font-size: 1rem; }
}

/* Menu: 6 položek + CTA se vejde až od ~950 px, pod tím hamburger. */
.nav-link { white-space: nowrap; }
@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}
.nav-hamburger { background: none; border: 0; }
/* Otevřené menu: tři čárky → křížek */
.nav-hamburger span { transition: transform .25s, opacity .2s; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HP poptávka: rozbalovací výběr služeb (více voleb), vzhled jako .ff select ── */
.ff-label { font-size: .8rem; font-weight: 600; color: var(--navy); }
.ff { min-width: 0; }
.msel { position: relative; min-width: 0; }
.msel summary { min-width: 0; }
.msel-text { min-width: 0; flex: 1; }
.msel summary { list-style: none; cursor: pointer; display: flex; align-items: center; background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: 10px; padding: 12px 40px 12px 14px; font-size: .92rem; color: var(--gray-400); transition: border-color .15s, box-shadow .15s, background .15s;
  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; }
.msel summary::-webkit-details-marker { display: none; }
.msel-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msel.msel-filled summary { color: var(--navy); font-weight: 500; }
.msel[open] summary, .msel summary:focus-visible { border-color: var(--orange); background-color: #fff; box-shadow: 0 0 0 4px rgba(245,121,59,.14); outline: none; }
.msel[open] summary { 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 6.5l5-5 5 5' fill='none' stroke='%232E3548' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.msel-panel { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1.5px solid var(--gray-200); border-radius: 12px; box-shadow: 0 16px 40px rgba(26,30,41,.18); padding: 6px; max-height: 340px; overflow-y: auto; overscroll-behavior: contain; }
.msel-opt { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: .88rem; color: var(--navy); line-height: 1.4; }
.msel-opt:hover { background: var(--gray-50); }
.ff .msel-opt input { flex: none; appearance: none; -webkit-appearance: none; width: 18px; height: 18px; padding: 0; margin-top: 1px; box-shadow: none; border-radius: 4px; border: 1.5px solid var(--gray-400); background: #fff center / 11px no-repeat; cursor: pointer; transition: all .15s; }
.ff .msel-opt input:checked { background-color: var(--orange); border-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.3 4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ff .msel-opt input:focus-visible { box-shadow: 0 0 0 3px rgba(245,121,59,.3); outline: none; }
.ff .msel-opt input:focus:not(:focus-visible) { box-shadow: none; }
.msel-opt:has(input:checked) { background: rgba(245,121,59,.08); font-weight: 600; }
.msel-hlavni { background: var(--cream); margin-bottom: 2px; }
.msel-hlavni b { display: block; font-weight: 800; }
.msel-hlavni small { display: block; font-size: .78rem; color: var(--gray-600); font-weight: 400; margin-top: 1px; }
.msel-sep { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); padding: 10px 10px 4px; border-top: 1px solid var(--gray-200); margin-top: 4px; }
@media (max-width: 600px) { .cform { padding: 28px 20px; } }

/* Značka CHYTRÝ ENERGETIK se v textu píše vždy verzálkami (Vladka 2026-10-14),
   stejně jako na chytryenergetik.cz. V HTML zůstává „Chytrý energetik“ kvůli čtečkám. */
.znacka { text-transform: uppercase; letter-spacing: 0.02em; }

/* ── Sada ikon GS (2026-10-14): hranatý kontejner jako u SolaTronicu, obrys oranžová #F5793B, akcent zlatá #FBB040. SVG v img/ikony/gs-*.svg ── */
.gs-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(245,121,59,.14); border: 1px solid rgba(245,121,59,.32); display: flex; align-items: center; justify-content: center; }
.gs-ic svg { width: 22px; height: 22px; }
.gs-ic--sm { width: 38px; height: 38px; border-radius: 10px; } .gs-ic--sm svg { width: 20px; height: 20px; }
.gs-ic--lg { width: 52px; height: 52px; border-radius: 14px; } .gs-ic--lg svg { width: 26px; height: 26px; }
.gs-ic--xl { width: 64px; height: 64px; border-radius: 18px; } .gs-ic--xl svg { width: 32px; height: 32px; }

/* ── O NÁS: PŘÍBĚH (převzato ze solatronic/o-nas.html, barvy GS) ── */
.story { padding: 100px 0; background: #fff; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.story-slideshow { position: sticky; top: 100px; }
.story-slides { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.story-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease-in-out; }
.story-slide.active { opacity: 1; }
.story-dots { display: flex; justify-content: center; gap: 0; margin-top: 4px; }
/* Tlačítko = dotyková plocha 36×44 px, viditelná tečka je ::before (10 px, aktivní 28 px). */
.story-dot { position: relative; width: 36px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.story-dot::before { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-radius: 5px; background: var(--gray-200); transform: translate(-50%, -50%); transition: width .3s, background .3s; }
.story-dot.active::before { width: 28px; background: var(--orange); }
.story-dot:focus-visible { outline: 2px solid var(--orange); outline-offset: -6px; border-radius: 8px; }
.story-text .h2 { margin-bottom: 28px; }
.story-text p { color: var(--gray-600); line-height: 1.75; margin-bottom: 20px; }
.story-text p:last-child { margin-bottom: 0; }
.story-text strong { color: var(--navy); font-weight: 700; }
.story-quote { border-left: 3px solid var(--orange); padding-left: 18px; }
.story-quote em { color: var(--navy); font-weight: 700; }
@media (max-width: 860px) {
  .story { padding: 72px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-slideshow { position: static; }
}
/* Nižší varianta úzkého hera (O nás) */
.sub-hero--low { min-height: 0; padding: 120px 0 44px; }
@media (max-width: 600px) { .sub-hero--low { padding: 100px 0 36px; } }

/* O nás – karty zakladatelů na mobilu kompaktněji (2 sloupce) */
@media (max-width: 600px) {
  .founders-grid { gap: 12px; }
  .founder-body { padding: 14px 12px 16px; }
  .founder-top { align-items: flex-start; gap: 8px; margin-bottom: 8px; }
  .founder-name { font-size: .88rem; line-height: 1.3; }
  .founder-li svg { width: 20px; height: 20px; }
  .founder-quote { font-size: .76rem; line-height: 1.5; }
}
