/* Rozvržení a komponenty. Barvy a rozměry jsou v tokens.css. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; line-height: 1.2; color: var(--text); }
:focus-visible { outline: 3px solid rgba(var(--primary-rgb), 0.45); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; }
section { padding: var(--section-pad-y) var(--section-pad-x); }
.section-soft { background: var(--bg-soft); }

/* Kotvy (#ukazka, #napiste…) se nezastrčí pod lepicí navigaci */
[id] { scroll-margin-top: 80px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--primary); color: #fff; padding: 8px 14px; border-radius: var(--radius-btn); z-index: 2000;
}
.skip-link:focus { left: 8px; }

/* ---------- Navigace (struktura jako artetechnology.cz) ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 1000; padding: 0 var(--section-pad-x);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-light);
}
.site-nav .inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; letter-spacing: -0.3px; color: var(--text); }
.logo svg { flex: 0 0 auto; }
.logo .logo-mark-bg { fill: var(--detail); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 0.92rem; font-weight: 600; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn-nav {
  background: var(--primary); color: #fff; padding: 9px 22px; border-radius: var(--radius-btn);
  font-size: 0.88rem; font-weight: 700; transition: background .2s, box-shadow .2s;
}
.nav-links .btn-nav:hover { background: var(--primary-light); color: #fff; box-shadow: 0 4px 16px rgba(var(--primary-rgb), .30); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-right: -8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; margin: 5px 0; }

/* Položky menu se nikdy nezalamují na dva řádky; než by se nevešly, přepne se menu do hamburgeru.
   Při přidání položky do menu zvyšte breakpoint 1040px (a ověřte zúžením okna). */
.nav-links a { white-space: nowrap; }
.logo { flex-shrink: 0; }
@media (max-width: 1280px) {
  .nav-links { gap: 22px; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border-light); padding: 8px var(--section-pad-x) 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1rem; }
  .nav-links .btn-nav { text-align: center; margin-top: 8px; }
}

/* ---------- Tlačítka (Arte) ---------- */
.btn {
  display: inline-block; font-family: inherit; font-size: 0.95rem; font-weight: 700;
  padding: 13px 28px; border-radius: var(--radius-btn); cursor: pointer;
  transition: background .2s, box-shadow .2s, border-color .2s;
}
.btn-primary { background: var(--primary); color: #fff; border: 0; box-shadow: 0 4px 16px rgba(var(--primary-rgb), .26); }
.btn-primary:hover { background: var(--primary-light); box-shadow: 0 6px 22px rgba(var(--primary-rgb), .38); }
.btn-secondary { background: transparent; color: var(--text); font-weight: 600; border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); background: rgba(var(--primary-rgb), .05); }

/* ---------- Štítek nad nadpisem ---------- */
.tag {
  display: inline-block; font-size: var(--fs-tag); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--detail); background: rgba(var(--detail-rgb), .08); border: 1px solid rgba(var(--detail-rgb), .18);
  padding: 5px 14px; border-radius: var(--radius-tag); margin-bottom: 18px;
}

.section-title { font-size: var(--fs-h2); letter-spacing: -0.3px; margin-bottom: 16px; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-muted); max-width: 560px; }

/* ---------- Screenshot v rámečku okna ---------- */
.shot {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-card);
  box-shadow: var(--shadow-panel); overflow: hidden;
}
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border-light); background: var(--bg-soft); }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--family-blue-rgb), .18); }
.shot img { width: 100%; height: auto; }
.shot-placeholder {
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--text-muted); font-size: var(--fs-small);
  background: repeating-linear-gradient(135deg, #fafaff 0 12px, #f3f2fc 12px 24px);
}
.shot-placeholder strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 4px; }

/* ---------- Hero ---------- */
.hero { padding-top: 88px; padding-bottom: 96px; }
.hero .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hero h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -0.5px; line-height: 1.12; margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero .h1-sub { display: block; margin-top: 10px; font-size: .62em; font-weight: 800; letter-spacing: -0.2px; color: var(--detail); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border-light); list-style: none; font-size: var(--fs-small); color: var(--text-muted);
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { color: var(--detail); flex: 0 0 auto; }

@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero .inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Funkce: střídavé bloky text + screenshot ---------- */
.features-head { max-width: 680px; margin-bottom: 64px; }
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 64px; align-items: center;
}
.feature + .feature { margin-top: 96px; }
.feature.reverse { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.feature.reverse .feature-text { order: 2; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--detail); background: rgba(var(--detail-rgb), .09);
}
.feature h3 { font-size: 1.55rem; margin-bottom: 12px; letter-spacing: -0.2px; }
.feature p { color: var(--text-muted); margin-bottom: 18px; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .5em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--detail); border-bottom: 2.5px solid var(--detail); transform: translateY(-3px) rotate(-45deg);
}
.text-link { color: var(--primary); font-weight: 700; border-bottom: 1.5px solid rgba(var(--primary-rgb), .3); }
.text-link:hover { border-color: var(--primary); }

@media (max-width: 900px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-text { order: 0; }
  .feature + .feature { margin-top: 64px; }
}

/* ---------- Patička ---------- */
.site-footer { background: var(--footer-bg); padding: 30px var(--section-pad-x); color: var(--footer-text); font-size: 0.85rem; }
.site-footer .inner { max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.site-footer .logo { color: #fff; font-size: 1.05rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.footer-links a { color: var(--footer-text); transition: color .2s; }
.footer-links a:hover { color: var(--footer-link-hover); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Seznamy ---------- */
.plain-list { list-style: none; display: grid; gap: 12px; }
.plain-list li { position: relative; padding-left: 20px; }
.plain-list li::before {
  content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--detail);
}
.muted-list li { color: var(--text-muted); }
.muted-list li::before { background: rgba(var(--family-blue-rgb), .35); }

/* ---------- Jak to chodí → s aplikací ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-bottom: 64px; }
.compare-after {
  background: #fff; border: 1px solid var(--border-light); border-left: 4px solid var(--primary);
  border-radius: var(--radius-card); padding: 32px 32px 28px; margin-top: 52px;
}
.compare-after h3 { font-size: 1.2rem; margin-bottom: 18px; }
.shot-wide { max-width: 980px; margin: 0 auto; }
/* Hero: fotka notebooku s přehledem (průhledné pozadí) */
.hero-device { margin: 0; }
.hero-device img { display: block; width: 112%; max-width: none; height: auto; margin-left: -4%; filter: drop-shadow(0 24px 40px rgba(var(--family-blue-rgb), .12)); }
@media (max-width: 960px) { .hero-device img { width: 100%; margin-left: 0; } }
/* --- CSS iPad (na šířku): hliníkový okraj, tenký černý rámeček, kamera na delší hraně, tlačítka --- */
.ipad {
  --edge: clamp(2px, .45%, 4px);
  position: relative; max-width: 900px; margin: 0 auto; padding: var(--edge);
  border-radius: clamp(18px, 4.6%, 40px);
  background: linear-gradient(135deg, #f1f2f5 0%, #c3c7ce 22%, #e6e8ec 48%, #aeb3bb 74%, #d9dce1 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 40px 70px -30px rgba(18, 26, 56, .45),
    0 14px 24px -12px rgba(18, 26, 56, .25);
}
.ipad-bezel {
  position: relative; background: #0b0c0f; padding: 2.6%;
  border-radius: calc(clamp(18px, 4.6%, 40px) - var(--edge));
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset;
}
/* přední kamera uprostřed horní hrany */
.ipad-bezel::before {
  content: ""; position: absolute; top: 1.1%; left: 50%; width: .9%; aspect-ratio: 1; transform: translate(-50%, -10%);
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4a66 0 25%, #14171d 45%, #050608 70%);
}
.ipad-screen { position: relative; overflow: hidden; border-radius: clamp(6px, 1.6%, 14px); background: #fff; }
.ipad-screen img { display: block; width: 100%; height: auto; }
/* jemný odlesk skla */
.ipad-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 28%, rgba(255,255,255,0) 42%);
}
/* horní tlačítko a tlačítka hlasitosti */
.ipad::before, .ipad::after { content: ""; position: absolute; background: linear-gradient(#cfd3d9, #9ea3ab); }
.ipad::before { top: calc(var(--edge) * -1 + -1px); right: 9%; width: 6.5%; height: 3px; border-radius: 3px 3px 0 0; }
.ipad::after { right: calc(var(--edge) * -1 + -1px); top: 9%; width: 3px; height: 15%; border-radius: 0 3px 3px 0;
  box-shadow: 0 0 0 0 transparent; }
.ipad-shot { margin: 0; overflow-x: clip; padding: 4px 4px 40px; }
.ipad-shot figcaption { max-width: 640px; margin: 28px auto 0; text-align: center; font-size: var(--fs-small); color: var(--text-muted); }

/* Screenshot v rámečku telefonu */
.phone-shot { display: flex; align-items: center; justify-content: center; gap: 40px; max-width: 760px; margin: 0 auto; }
.phone-frame {
  flex: 0 0 280px; padding: 10px; background: #1b1f27; border-radius: 40px;
  box-shadow: var(--shadow-panel);
}
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 30px; }
.phone-shot figcaption { max-width: 320px; font-size: var(--fs-small); color: var(--text-muted); }
@media (max-width: 640px) {
  .phone-shot { flex-direction: column; gap: 16px; }
  .phone-frame { flex-basis: auto; width: min(280px, 100%); }
  .phone-shot figcaption { text-align: center; }
}
.shot figcaption { padding: 12px 18px; font-size: var(--fs-small); color: var(--text-muted); border-top: 1px solid var(--border-light); }
@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .compare-after { margin-top: 0; padding: 24px; }
}

/* ---------- Další funkce ---------- */
.more { margin-top: 110px; padding-top: 48px; border-top: 1px solid var(--border-light); }
.more h3 { font-size: var(--fs-h3); margin-bottom: 24px; }
.more-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 56px; }
.more-list li { color: var(--text-muted); }
.more-list strong { color: var(--text); font-weight: 700; }
.feature-more { margin-top: 14px; }
.feature-more summary, .more summary { cursor: pointer; list-style: none; color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.feature-more summary::-webkit-details-marker, .more summary::-webkit-details-marker { display: none; }
.feature-more summary::after, .more summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.feature-more[open] summary::after, .more[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.feature-more .checklist { margin-top: 14px; }
.more summary h3 { margin-bottom: 0; color: var(--text); }
.more[open] summary { margin-bottom: 24px; }
.more summary::after { margin-top: -2px; }
.more[open] summary::after { margin-top: 8px; }
.soon { margin-top: 32px; font-size: var(--fs-small); color: var(--text-muted); }
.soon-block { margin-top: 48px; padding: 28px 32px; border: 1px dashed rgba(var(--detail-rgb), .35); border-radius: var(--radius-card); background: rgba(var(--detail-rgb), .03); }
.soon-block h3 { margin-bottom: 18px; line-height: 1; }
.soon-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 48px; }
.soon-list li { color: var(--text-muted); font-size: .95rem; }
.soon-list strong { color: var(--text); font-weight: 700; }
.soon-badge {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--detail); border: 1px dashed rgba(var(--detail-rgb), .5); border-radius: var(--radius-tag);
  padding: 2px 8px; margin-right: 8px; vertical-align: 1px;
}
@media (max-width: 700px) { .more-list, .soon-list { grid-template-columns: 1fr; } .more { margin-top: 72px; } .soon-block { padding: 22px 20px; } }

/* ---------- Pro koho ---------- */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 40px; }
.audience { padding: 8px 36px 8px 0; }
.audience + .audience { padding-left: 36px; border-left: 1px solid var(--border); }
.audience h3 { font-size: var(--fs-h3); margin-bottom: 18px; }
@media (max-width: 900px) {
  .audiences { grid-template-columns: 1fr; gap: 32px; }
  .audience, .audience + .audience { padding: 0; border-left: 0; }
  .audience + .audience { padding-top: 32px; border-top: 1px solid var(--border); }
}

/* ---------- Provoz a bezpečnost ---------- */
.narrow { max-width: 820px; }
.facts { margin-top: 40px; border-top: 1px solid var(--border-light); }
.facts > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border-light); }
.facts dt { font-weight: 800; }
.facts dd { color: var(--text-muted); }
.soon-inline { display: block; margin-top: 10px; font-size: var(--fs-small); }
@media (max-width: 700px) { .facts > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Zavedení ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 48px; position: relative; }
.steps::before { content: ''; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: rgba(var(--primary-rgb), .18); }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 20px; position: relative;
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps p { color: var(--text-muted); font-size: .95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
  .steps li { padding-left: 68px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 64px; align-items: start; }
.faq details { border: 1px solid var(--border-light); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details + details { margin-top: 12px; }
.faq details[open] { border-color: var(--primary); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--text-muted); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Rezervace ukázky (Microsoft Bookings) ---------- */
.booking-head { max-width: 680px; margin-bottom: 32px; }
.booking-card {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-card);
  box-shadow: var(--shadow-panel); overflow: hidden;
}
.booking-card-text { padding: 40px; }
.booking-card-text h3 { font-size: var(--fs-h3); margin-bottom: 20px; }
.booking-card-note { margin-top: 22px; color: var(--text-muted); font-size: .95rem; }
.booking-card-cta {
  padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 22px;
  background: rgba(var(--primary-rgb), .04); border-left: 1px solid var(--border-light);
}
.booking-meta { display: flex; align-items: center; gap: 14px; }
.booking-meta-icon {
  width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center;
  background: rgba(var(--primary-rgb), .10); color: var(--primary);
}
.booking-meta strong { display: block; font-size: 1.3rem; line-height: 1.2; }
.booking-meta span { color: var(--text-muted); font-size: var(--fs-small); }
.btn-block { display: block; width: 100%; text-align: center; }
.booking-card-hint { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.55; }
.contact-alt { margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--border-light); }
@media (max-width: 900px) {
  .booking-card { grid-template-columns: 1fr; }
  .booking-card-text, .booking-card-cta { padding: 28px 24px; }
  .booking-card-cta { border-left: 0; border-top: 1px solid var(--border-light); }
  .contact-alt { margin-top: 64px; padding-top: 48px; }
}

/* ---------- Kontakt (artetechnology.cz) ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 70px; align-items: start; }
.contact-lead { margin-bottom: 32px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-card); padding: 20px 24px;
  display: flex; gap: 16px; align-items: flex-start; transition: border-color .3s, transform .3s, box-shadow .3s;
}
.contact-card:hover { border-color: var(--primary); transform: translateX(4px); box-shadow: var(--shadow-card); }
.contact-icon {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center;
  background: rgba(var(--primary-rgb), .08); color: var(--primary);
}
.contact-card h3 { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.contact-card p { font-size: .92rem; line-height: 1.6; }
.contact-card a:hover { color: var(--primary); }

.contact-form { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-card); padding: 40px; box-shadow: var(--shadow-panel); }
.contact-form h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.contact-form .sub { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; letter-spacing: .03em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg-soft); border: 1.5px solid rgba(var(--family-blue-rgb), .14); border-radius: var(--radius-input);
  padding: 12px 16px; color: var(--text); font-family: inherit; font-size: .95rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
.form-group input[aria-invalid="true"], .form-group textarea[aria-invalid="true"], .form-group select[aria-invalid="true"] { border-color: #c0352b; }
.form-group select {
  appearance: none; cursor: pointer; padding-right: 40px;
  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='%235f5f7d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form-group .optional { font-weight: 400; letter-spacing: 0; }
.form-note { margin-top: 14px; font-size: .8rem; line-height: 1.55; color: var(--text-muted); }
.form-note .text-link { font-weight: 600; }
.form-group textarea { height: 130px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit {
  width: 100%; background: var(--primary); color: #fff; border: 0; border-radius: var(--radius-btn); padding: 14px;
  font-family: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; margin-top: 6px;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), .26); transition: background .2s, box-shadow .2s;
}
.btn-submit:hover { background: var(--primary-light); box-shadow: 0 6px 22px rgba(var(--primary-rgb), .38); }
.form-status { margin-top: 14px; font-size: var(--fs-small); min-height: 1.4em; }
.form-status.error { color: #b42318; }
.form-status.ok { color: #1f7a4d; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; }
}

/* ---------- Co tím získáte ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.benefit {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-card);
  padding: 28px 28px 24px; box-shadow: var(--shadow-card);
}
.benefit h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.benefit p { color: var(--text-muted); }
.benefits-section + section { border-top: 1px solid var(--border-light); }
.benefits-section .features-head { margin-bottom: 40px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Fakturační údaje v patičce ---------- */
.footer-billing { flex-basis: 100%; font-size: .78rem; line-height: 1.6; opacity: .85; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* Sekce Cena je odstraněná, styly jsou v záloze _zaloha/cena-sekce.html */

/* --- Reference z praxe --- */
.stat-value { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.1; color: var(--detail); margin-bottom: 4px; }
.stat h3 { margin-bottom: 12px; }
.quote { margin-top: 40px; padding: 28px 32px; border-left: 4px solid var(--detail); background: var(--bg-soft); border-radius: var(--radius-card); }
.quote p { font-size: 1.15rem; font-weight: 600; color: var(--text); }
.quote footer { margin-top: 12px; color: var(--text-muted); font-size: var(--fs-small); }

/* --- Pilot --- */
.pilot { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 32px; border: 1px dashed rgba(var(--detail-rgb), .45); border-radius: var(--radius-card); background: rgba(var(--detail-rgb), .04); }
.pilot h3 { font-size: var(--fs-h3); margin: 12px 0 8px; }
.pilot p { color: var(--text-muted); max-width: 640px; }
.pilot .btn { flex-shrink: 0; }
.section-pilot .pilot { margin-top: 0; }
@media (max-width: 700px) { .pilot { flex-direction: column; align-items: flex-start; padding: 22px 20px; } .quote { padding: 22px 20px; } }
