/*
Theme Name: OK-SOFT
Theme URI: https://ok-soft.cz
Author: OK-SOFT s.r.o.
Description: Vlastní téma OK-SOFT — počítačový servis a prodej techniky ve Vlašimi
Version: 1.0
License: Proprietary
Text Domain: oksoft
*/

/* =============================================================
   OK-SOFT — Design System CSS
   Verze 1.0 | 2026-04-03
   Barvy: #18004B navy + #C71919 red
   ============================================================= */

/* ---- Google Fonts import ----------------------------------- */

/* ---- CSS Variables ---------------------------------------- */
:root {
  --navy:      #18004B;
  --navy-80:   rgba(24,0,75,.80);
  --navy-06:   rgba(24,0,75,.06);
  --navy-10:   rgba(24,0,75,.10);
  --red:       #C71919;
  --red-08:    rgba(199,25,25,.08);
  --red-20:    rgba(199,25,25,.20);
  --gray:      #f3f4f9;
  --white:     #ffffff;
  --text:      rgba(20,15,55,.78);
  --text-soft: rgba(20,15,55,.50);
  --radius:    13px;
  --radius-sm: 8px;
  --shadow:    0 4px 20px rgba(24,0,75,.10);
  --shadow-lg: 0 8px 40px rgba(24,0,75,.16);
  --transition: .22s ease;
  --font-heading: 'Rubik', sans-serif;
  --font-body:    'Nunito', system-ui, -apple-system, sans-serif;
  --max-w: 1140px;
  --nav-h: 70px;
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16.5px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
::selection { background: var(--red-20); color: var(--navy); }

/* ---- Typography ------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: .75rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.eyebrow--white { color: rgba(255,255,255,.65); }
.eyebrow--white::before { background: rgba(255,255,255,.65); }

/* ---- Layout helpers --------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--gray { background: var(--gray); }
.section--navy {
  background: linear-gradient(135deg, var(--navy) 0%, #250070 100%);
  color: var(--white);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,.82); }

/* Grid helpers */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: center;
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  line-height: 1;
  min-height: 46px;
}
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: #a81414;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--red-20);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: #250070;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn--outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--outline-white {
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---- Navigation ------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--navy-06);
  height: var(--nav-h);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 28px rgba(0,0,0,.09); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
}
.nav__logo span { color: var(--red); }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav__menu a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav__menu a:hover, .nav__menu a.active { color: var(--red); }
.nav__menu a:hover::after, .nav__menu a.active::after { width: 100%; }
.nav__cta { margin-left: .5rem; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  transition: var(--transition);
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--navy-06);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  padding: .6rem 0;
  border-bottom: 1px solid var(--navy-06);
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--red); }
.nav__mobile a:last-child { border-bottom: none; }

/* ---- Hero ------------------------------------------------- */
.hero {
  min-height: calc(90vh - var(--nav-h));
  display: grid;
  grid-template-columns: 55fr 45fr;
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 0;
}
.hero__title {
  margin-bottom: 1.25rem;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}
.hero__title em {
  color: var(--red);
  font-style: normal;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 420px;
  line-height: 1.65;
}
.hero__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero__badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__badge-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.hero__badge-label {
  font-size: .78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero__img-side {
  /* Navy-odvozené pozadí — koherentní s brandingem */
  background:
    linear-gradient(160deg,
      rgba(24,0,75,.07) 0%,
      rgba(24,0,75,.02) 55%,
      rgba(199,25,25,.04) 100%
    ),
    #f8f7fc;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
/* Dekorativní kruh za technikem — hloubka, spotlight efekt */
.hero__img-side::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(24,0,75,.09) 0%,
    rgba(24,0,75,.00) 68%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -42%);
  z-index: 0;
  pointer-events: none;
}
/* Jemná spodní linka oddělující hero od zbytku */
.hero__img-side::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--navy-06);
}

/* Technik */
.hero__technik {
  width: auto;
  height: 93%;
  max-height: 660px;
  object-fit: contain;
  object-position: bottom center;
  position: absolute;
  bottom: 0;
  left: 65%;
  transform: translateX(-50%);
  z-index: 1;
  filter: drop-shadow(0 24px 40px rgba(24,0,75,.18));
}

/* Hero info cards — sloupec vlevo nahoře */
.hero__info-col {
  position: absolute;
  left: 1.25rem;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  z-index: 3;
}
/* Stat badge vpravo nahoře */
.hero__stat {
  position: absolute;
  top: 2rem;
  right: 1.75rem;
  background: var(--white);
  border: 1px solid rgba(24,0,75,.07);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(24,0,75,.12);
  overflow: hidden;
  z-index: 3;
}
.hero__stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--red) 100%);
  border-radius: 14px 14px 0 0;
}
.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.hero__stat-num span { color: var(--red); }
.hero__stat-label {
  font-size: .72rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
}

/* Hero — stav otevření prodejny (vpravo dole) */
.hero__open-badge-m { display: none; }
.hero__open-badge {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  background: var(--white);
  border: 1px solid rgba(24,0,75,.07);
  border-radius: 50px;
  padding: .55rem 1.1rem .55rem .75rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  box-shadow: 0 4px 18px rgba(24,0,75,.12);
  z-index: 3;
  opacity: 0;
  transition: opacity .5s;
}
.hero__open-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__open-dot--green {
  background: #22c55e;
  animation: pulse-open 2.2s ease-in-out infinite;
}
.hero__open-dot--red {
  background: #ef4444;
}
@keyframes pulse-open {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50%       { box-shadow: 0 0 0 5px rgba(34,197,94,.0); }
}
.hero__open-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hero__open-status {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy);
}
.hero__open-countdown {
  font-size: .72rem;
  color: var(--text-soft);
}
.hero__info-card {
  background: var(--white);
  border: 1px solid rgba(24,0,75,.07);
  border-radius: 12px;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  box-shadow: 0 4px 18px rgba(24,0,75,.12);
  min-width: 195px;
  overflow: hidden;
  position: relative;
}
.hero__info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--red) 100%);
  border-radius: 12px 12px 0 0;
}
.hero__info-icon {
  width: 32px; height: 32px;
  background: rgba(46,125,50,.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #2e7d32;
}
.hero__info-icon--red { background: var(--red-08); color: var(--red); }
.hero__info-title {
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

/* ---- Service Cards ---------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--navy-06);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-20);
}
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--red-08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card__icon svg {
  width: 26px; height: 26px;
  color: var(--red);
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.service-card p {
  font-size: .92rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

/* ---- Prodej sekce ----------------------------------------- */
.prodej__img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray);
}
.prodej__img img {
  width: 100%;
  display: block;
  transform: scale(1.45);
  transform-origin: 41% 49%;
}
.prodej__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.mini-card {
  background: var(--gray);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--red);
}
.mini-card h4 {
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: .25rem;
}
.mini-card p {
  font-size: .82rem;
  color: var(--text-soft);
  margin: 0;
}

/* ---- Péče + Diagnostika ----------------------------------- */
.pece__list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.pece__list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .97rem;
}
.pece__list li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .55rem;
}
.diag__box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--navy-06);
  text-align: center;
}
.diag__box .diag__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.diag__box h3 { margin-bottom: .75rem; }
.diag__box p { color: var(--text-soft); font-size: .95rem; margin-bottom: 1.5rem; }

/* ---- Brand loga ------------------------------------------- */
.brands__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--navy-06);
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.brand-logo:hover {
  border-color: var(--red-20);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.brand-logo img {
  max-height: 36px;
  width: auto;
  filter: grayscale(55%) opacity(.72);
  transition: filter var(--transition);
}
.brand-logo:hover img { filter: none; }
.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  filter: grayscale(55%) opacity(.72);
  transition: var(--transition);
  letter-spacing: -.02em;
}
.brand-logo:hover .brand-text { filter: none; opacity: 1; }

/* ---- CTA banner ------------------------------------------- */
.cta-banner {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, #250070 100%);
  color: var(--white);
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-banner__info {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-banner__info-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}
.cta-banner__info-item svg {
  width: 18px; height: 18px;
  color: var(--red);
  flex-shrink: 0;
}

/* ---- Footer ----------------------------------------------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--red);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -.03em;
}
.footer__logo span { color: var(--red); }
.footer__desc {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
  font-size: .9rem;
}
.footer__contact-item svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }
.footer__contact-item a { color: rgba(255,255,255,.72); transition: color var(--transition); }
.footer__contact-item a:hover { color: var(--white); }
.footer h4 {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__menu { display: flex; flex-direction: column; gap: .5rem; }
.footer__menu a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
  padding: .2rem 0;
}
.footer__menu a:hover { color: var(--white); }
.footer__map iframe {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  border: none;
  filter: saturate(.7) contrast(1.1);
  display: block;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.38);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer__social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,.65);
}
.footer__social a:hover { background: var(--red); color: var(--white); }
.footer__social svg { width: 16px; height: 16px; }
.footer__social-fb {
  width: auto !important;
  padding: 0 .75rem !important;
  border-radius: 20px !important;
  gap: .45rem;
}
.footer__social-fb span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
}

/* ---- O Nás stránka --------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #250070 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 500px; margin: 0 auto; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--navy-06);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red-20); }
.value-card__icon {
  width: 64px; height: 64px;
  background: var(--red-08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.value-card__icon svg { width: 28px; height: 28px; color: var(--red); }
.value-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.value-card p { font-size: .92rem; color: var(--text-soft); margin: 0; }
.history-block {
  max-width: 700px;
}
.history-block p { font-size: 1rem; }
.timeline {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--navy-06);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
  width: 60px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--red);
  font-size: .9rem;
  padding-top: .15rem;
}
.timeline-text h4 { font-size: 1rem; margin-bottom: .25rem; }
.timeline-text p { font-size: .9rem; color: var(--text-soft); margin: 0; }

/* ---- Kontakt stránka -------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--navy-06);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--red-08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--red); }
.contact-info-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-soft);
  font-weight: 700;
  margin-bottom: .2rem;
}
.contact-info-value { font-weight: 600; color: var(--navy); }
.contact-info-value a { color: var(--navy); transition: color var(--transition); }
.contact-info-value a:hover { color: var(--red); }
.contact-map {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map iframe { width: 100%; height: 280px; border: none; display: block; }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--navy-06);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .45rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #dde0e8;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-08);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-notice {
  font-size: .82rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
.form-notice--ok { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.form-notice--err { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__img-side {
    order: 2;
    min-height: 300px;
  }
  .hero__technik { height: 90%; max-height: 340px; transform: translateX(-45%); }
  .hero__info-card { min-width: 160px; padding: .6rem .85rem; }
  .hero__info-title { font-size: .82rem; }
  .hero__text { padding: 3rem 0; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse { direction: ltr; }
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > *:last-child { grid-column: span 2; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }

  /* Nav */
  .nav__menu { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero — kompaktnější, bez přeplněných float karet */
  .hero__text { padding-top: 1rem; padding-bottom: 1.5rem; }
  .hero__title { font-size: clamp(1.85rem, 8vw, 2.6rem); }
  .hero__subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero__btns { gap: .75rem; }
  .hero__btns .btn { padding: .65rem 1.25rem; font-size: .9rem; }
  /* Badges — 3 sloupce, aby se vešly vždy na jeden řádek */
  .hero__badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-top: 1.5rem;
  }
  .hero__badge-num { font-size: 1.45rem; }
  /* Label kratší — "PRODEJEN COMFOR" se nevejde na 1 řádek v 1/3 šířce */
  .hero__badge-label { font-size: .6rem; letter-spacing: .04em; line-height: 1.25; }
  .hero__img-side { min-height: 400px; }
  /* Technik — centrovat, bez animace */
  .hero__technik {
    height: auto;
    max-height: 220px;
    left: 50%;
    top: 1rem;
    bottom: auto;
    transform: translateX(-50%);
  }
  /* Stat badge + desktop open badge — na mobilu schovat */
  .hero__stat { display: none; }
  .hero__open-badge { display: none; }
  /* Mobilní mini chip — zobrazit nad eyebrow */
  .hero__open-badge-m {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--white);
    border: 1px solid rgba(24,0,75,.09);
    border-radius: 50px;
    padding: .25rem .65rem .25rem .45rem;
    margin-bottom: 1rem;
    opacity: 0;
  }
  .hero__open-badge-m .hero__open-dot { width: 7px; height: 7px; }
  .hero__open-badge-m .hero__open-status { font-size: .65rem; }
  .hero__open-badge-m .hero__open-countdown { font-size: .65rem; }
  /* Info karty — 2×2 grid ve spodní části */
  .hero__info-col {
    right: .6rem;
    left: .6rem;
    top: auto;
    bottom: .75rem;
    transform: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
  }
  .hero__info-card {
    min-width: 0;
    padding: .5rem .65rem;
    gap: .45rem;
  }
  .hero__info-title { font-size: .76rem; }
  .hero__info-icon { width: 26px; height: 26px; font-size: .75rem; }

  /* Sections */
  .section { padding: 3rem 0; }
  .page-hero { padding: 2.5rem 0 2rem; }
  .cta-banner { padding: 3.5rem 0; }
  .split { gap: 1.75rem; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.5rem 1.25rem; }

  /* Prodej */
  .prodej__cards { grid-template-columns: 1fr; }
  /* IT features — 1 sloupec na mobilu */
  .it-features { grid-template-columns: 1fr; gap: .5rem 0; }

  /* CTA banner — tlačítka pod sebou */
  .cta-banner__btns {
    flex-direction: column;
    align-items: center;
    gap: .75rem;
  }
  .cta-banner__btns .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  .cta-banner__info { flex-direction: column; align-items: center; gap: .75rem; }

  /* Brands */
  .brands__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > *:last-child { grid-column: span 1; }
  .footer__bottom { flex-direction: column; text-align: center; gap: .5rem; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }

  /* Contact form */
  .contact-form { padding: 1.75rem 1.25rem; }

  /* Scroll to top */
  .scroll-top { bottom: 1.25rem; right: 1.25rem; }
}

/* ---- Reduced motion --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- IT pro firmy ----------------------------------------- */
.it-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1.5rem;
  margin: 1.5rem 0;
}
.it-feature {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .95rem;
}
.it-feature::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .65rem;
}
.it-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray);
}
.it-img img {
  width: 100%;
  display: block;
  transform: scale(1.3);
  transform-origin: 60% 50%;
}
@media (max-width: 600px) {
  .it-img img { transform: none; }
}

/* ---- Scroll to top ---------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px; height: 46px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--red-20);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--navy); transform: translateY(-2px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ---- Quiz widget ------------------------------------------ */
.quiz-widget {
  background: var(--white);
  border: 1.5px solid var(--navy-06);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quiz-start { text-align: center; }
.quiz-start-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}
.quiz-widget h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.quiz-widget p  { font-size: .95rem; color: var(--text-soft); line-height: 1.6; margin-bottom: 0; }

/* progress */
.quiz-progress {
  height: 5px;
  background: var(--navy-06);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--red) 0%, #e85454 100%);
  border-radius: 10px;
  transition: width .4s ease;
  width: 0%;
}
.quiz-step-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-soft);
  font-weight: 700;
  margin-bottom: .75rem;
}
.quiz-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.1rem;
  line-height: 1.35;
}
.quiz-answers {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1rem;
}
.quiz-answer {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1rem;
  border: 1.5px solid var(--navy-06);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
  text-align: left;
  width: 100%;
  font-family: var(--font-body);
  line-height: 1.35;
}
.quiz-answer:hover {
  border-color: var(--red-20);
  background: var(--red-08);
}
.quiz-answer.selected {
  border-color: var(--red);
  background: var(--red-08);
  font-weight: 600;
}
.quiz-answer-dot {
  width: 18px; height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .4;
  transition: var(--transition);
}
.quiz-answer.selected .quiz-answer-dot {
  background: var(--red);
  border-color: var(--red);
  opacity: 1;
}
.quiz-answer.selected .quiz-answer-dot::after {
  content: '';
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
}

/* result */
.quiz-result { text-align: center; }
.quiz-result-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.quiz-result-badge--green { background: #e8f5e9; color: #2e7d32; }
.quiz-result-badge--orange { background: #fff3e0; color: #e65100; }
.quiz-result-badge--red    { background: #ffebee; color: #c62828; }
.quiz-result h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.quiz-result p  { margin-bottom: 1.25rem; }
.quiz-restart {
  margin-top: .75rem;
  font-size: .82rem;
  color: var(--text-soft);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  display: block;
  width: 100%;
  text-align: center;
}
.quiz-restart:hover { color: var(--navy); }

/* ---- Podstránka Služby ------------------------------------ */

/* Rychlá navigace pod hero */
.services-subnav {
  background: var(--white);
  border-bottom: 2px solid var(--navy-06);
  position: sticky;
  top: var(--nav-h);
  z-index: 99;
}
.services-subnav__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.services-subnav__inner::-webkit-scrollbar { display: none; }
.services-subnav__inner a {
  padding: .9rem 1.2rem;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-soft);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  flex-shrink: 0;
}
.services-subnav__inner a:hover { color: var(--red); border-color: var(--red); }

/* Vizuální karta s ikonou (pravá strana splitu) */
.svc-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  height: 100%;
}
.svc-card__icon {
  width: 110px; height: 110px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.svc-card__icon svg { width: 52px; height: 52px; color: var(--red); }

/* Ministat boxy uvnitř svc-card */
.svc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}
.svc-stat {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1rem;
  text-align: center;
  border: 1.5px solid var(--navy-06);
}
.svc-stat__num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.svc-stat__num span { color: var(--red); }
.svc-stat__label {
  font-size: .73rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .35rem;
  line-height: 1.3;
}

/* Feature grid (2 sloupce) */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  margin: 1.75rem 0;
}
.svc-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .93rem;
  color: var(--text);
  padding: .55rem 0;
  border-bottom: 1px solid var(--navy-06);
}
.svc-item::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .56rem;
}

/* Klikatelná service karta na homepage */
a.service-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.service-card:hover .service-card__icon { background: var(--red); }
a.service-card:hover .service-card__icon svg { color: var(--white); }

/* Responsive — Služby */
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .services-subnav__inner a { padding: .75rem .9rem; font-size: .72rem; }
  /* IT features — 1 sloupec (opakování zde kvůli pořadí kaskády) */
  .it-features { grid-template-columns: 1fr; }
  /* svc-card — kompaktnější na mobilu */
  .svc-card { padding: 1.5rem 1.25rem; gap: 1.25rem; }
  .svc-card__icon { width: 82px; height: 82px; }
  .svc-card__icon svg { width: 38px; height: 38px; }
  /* svc-stats — menší font pro dlouhé texty (diskrétně, levnější, prevence...) */
  .svc-stats { gap: .75rem; }
  .svc-stat { padding: .75rem .7rem; }
  .svc-stat__num { font-size: 1.2rem; word-break: break-word; }
  .svc-stat__label { font-size: .67rem; }
}

/* ---- SSD Kalkulátor --------------------------------------- */
.ssd-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.ssd-label {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  margin-bottom: .6rem;
}
.ssd-slider-val {
  color: var(--white);
  font-size: .95rem;
}
.ssd-input-group { margin-bottom: 1.75rem; }
.ssd-input-group:last-child { margin-bottom: 0; }
.ssd-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 10px;
  background: rgba(255,255,255,.2);
  outline: none;
  cursor: pointer;
}
.ssd-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  cursor: pointer;
  transition: transform .15s;
}
.ssd-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.ssd-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
}
.ssd-slider-range {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  margin-top: .4rem;
}
.ssd-boot-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .2rem;
}
.ssd-boot-btn {
  padding: .45rem 1rem;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,.3);
  background: transparent;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.ssd-boot-btn:hover {
  border-color: rgba(255,255,255,.7);
  color: var(--white);
}
.ssd-boot-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* Comparison bars */
.ssd-comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.ssd-bar-wrap {
  display: grid;
  grid-template-columns: 80px 1fr 50px;
  align-items: center;
  gap: .75rem;
}
.ssd-bar-label {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ssd-bar {
  height: 14px;
  background: rgba(255,255,255,.12);
  border-radius: 7px;
  overflow: hidden;
}
.ssd-bar-fill {
  height: 100%;
  border-radius: 7px;
  transition: width .6s ease;
}
.ssd-bar--hdd { background: linear-gradient(90deg, #e85454, var(--red)); }
.ssd-bar--ssd { background: linear-gradient(90deg, #4ade80, #22c55e); }
.ssd-bar-time {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-align: right;
}

/* Stats */
.ssd-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ssd-stat-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  text-align: center;
}
.ssd-stat-box--highlight {
  background: rgba(199,25,25,.25);
  border-color: rgba(199,25,25,.4);
}
.ssd-stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .35rem;
}
.ssd-stat-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  line-height: 1.45;
}

/* Mobile */
@media (max-width: 900px) {
  .ssd-calc { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .ssd-stats { grid-template-columns: 1fr 1fr; }
  .ssd-stat-num { font-size: 1.25rem; }
  .ssd-bar-wrap { grid-template-columns: 60px 1fr 45px; gap: .5rem; }
}

/* ---- Terminálový Easter Egg ------------------------------- */
.terminal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  backdrop-filter: blur(4px);
}
.terminal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.terminal-window {
  width: min(700px, 94vw);
  height: min(480px, 80vh);
  background: #0d0d0d;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,.8);
  position: relative;
}
.terminal-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,65,.015) 2px, rgba(0,255,65,.015) 4px);
  pointer-events: none;
  border-radius: 10px;
}
.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 1rem;
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
  flex-shrink: 0;
}
.terminal-dots { display: flex; gap: .4rem; }
.terminal-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: block;
}
.terminal-dot--red    { background: #ff5f57; }
.terminal-dot--yellow { background: #febc2e; }
.terminal-dot--green  { background: #28c840; }
.terminal-title {
  font-family: 'Courier New', monospace;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-left: auto;
  margin-right: auto;
  padding-right: 60px;
}
.terminal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: .82rem;
  line-height: 1.65;
  color: #00ff41;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.terminal-body::-webkit-scrollbar { width: 4px; }
.terminal-body::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.terminal-line-prompt { color: #00ff41; }
.terminal-line-output { color: #ccffcc; }
.terminal-line-error  { color: #ff5f57; }
.terminal-line-success{ color: #28c840; }
.terminal-line-dim    { color: rgba(0,255,65,.45); }
.terminal-line-info   { color: #febc2e; }
.terminal-input-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem .75rem;
  border-top: 1px solid #1e1e1e;
  background: #0d0d0d;
  flex-shrink: 0;
}
.terminal-prompt-sym {
  font-family: 'Courier New', monospace;
  font-size: .82rem;
  color: #00ff41;
  white-space: nowrap;
  flex-shrink: 0;
}
.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Courier New', monospace;
  font-size: .82rem;
  color: #00ff41;
  caret-color: #00ff41;
}
.terminal-input::placeholder { color: rgba(0,255,65,.3); }

/* Trigger — floating button (vlevo od scroll-to-top) */
.terminal-trigger {
  position: fixed;
  bottom: 2rem;
  right: 5.5rem;
  width: 46px; height: 46px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(24,0,75,.25);
  transition: var(--transition);
  z-index: 900;
  opacity: .75;
}
.terminal-trigger:hover {
  opacity: 1;
  background: #2a0080;
  transform: translateY(-2px);
}
.terminal-trigger svg { width: 18px; height: 18px; }

/* Zavírací X v titlebaru */
.terminal-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.4);
  font-size: .9rem;
  cursor: pointer;
  padding: 0 .25rem;
  line-height: 1;
  transition: color .15s;
}
.terminal-close:hover { color: #ff5f57; }

@media (max-width: 600px) {
  .terminal-trigger { display: none; }
  .terminal-window { height: min(460px, 85vh); }
  .terminal-body { font-size: .76rem; padding: .75rem 1rem; }
  .terminal-input-row { padding: .5rem 1rem .6rem; }
  .terminal-prompt-sym { font-size: .76rem; }
  .terminal-input { font-size: .76rem; }
}

/* ---- O nás — vrstvený obrázek (prodejna + technik) -------- */
.onas-img-block {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: var(--gray);
}
.onas-img-prodejny {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  min-height: 420px;
}
/* Gradient zprava - technik stojí na světlém, vlevo prodejna přirozeně ztemní */
.onas-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(24,0,75,.35) 0%,
    rgba(24,0,75,.10) 45%,
    rgba(255,255,255,.55) 100%
  );
}
.onas-img-technik {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 92%;
  max-height: 390px;
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(-8px 0 18px rgba(0,0,0,.18));
}

@media (max-width: 900px) {
  .onas-img-block { min-height: 340px; }
  .onas-img-prodejny { min-height: 340px; }
  .onas-img-technik { height: 86%; max-height: 300px; }
}
@media (max-width: 600px) {
  .onas-img-block { min-height: 260px; }
  .onas-img-prodejny { min-height: 260px; }
  .onas-img-technik { height: 80%; max-height: 220px; }
}

/* ---- Contact Form 7 — OK-SOFT design ---------------------- */

/* Wrapper polí (cf7-group = obdoba form-group) */
.wpcf7 .cf7-group {
  margin-bottom: 1.25rem;
}
.wpcf7 .cf7-group label {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .45rem;
}

/* Vstupní pole */
.wpcf7 input:not([type="submit"]),
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #dde0e8;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  box-sizing: border-box;
}
.wpcf7 input:not([type="submit"]):focus,
.wpcf7 textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-08);
}
.wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

/* Tlačítko Odeslat */
.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .75rem 1.6rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  min-height: 46px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.wpcf7 input[type="submit"]:hover {
  background: #a81414;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--red-20);
}
.wpcf7 input[type="submit"]:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* Zpráva o výsledku (úspěch / chyba) */
.wpcf7-response-output {
  font-size: .82rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0 0;
  border: 1px solid transparent;
}
.wpcf7-form.sent .wpcf7-response-output {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: #a5d6a7;
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
  background: #ffebee;
  color: #c62828;
  border-color: #ef9a9a;
}

/* Inline chybová hláška pod polem */
.wpcf7-not-valid-tip {
  font-size: .76rem;
  color: var(--red);
  margin-top: .25rem;
  display: block;
}
.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: var(--red);
}

/* Spinner (loading při odesílání) */
.wpcf7-spinner {
  display: none !important;
}

/* ============================================================
   COMPLIANZ COOKIE BANNER - OK-SOFT navy + red theme override
   ============================================================
   Complianz nastavuje CSS custom properties inline na elementu banneru
   (--cmplz_banner_background_color atd.). Aby override fungoval,
   přepisujeme přímo background/color/border s !important,
   ne ty custom properties. */

/* Container - white bg, navy text, border, shadow, font */
.cmplz-cookiebanner,
#cmplz-cookiebanner-1,
.cmplz-cookiebanner.banner-a,
.cmplz-cookiebanner.banner-b {
  background: var(--white) !important;
  border: 1px solid var(--navy-10) !important;
  border-radius: var(--radius) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 24px !important;
}

/* Title - Rubik, navy, bold */
.cmplz-cookiebanner .cmplz-title,
.cmplz-cookiebanner .cmplz-header .cmplz-title {
  color: var(--navy) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

/* Message text */
.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-body {
  color: var(--text) !important;
  line-height: 1.55 !important;
}

/* Odkazy v banneru - red, underline */
.cmplz-cookiebanner a,
.cmplz-cookiebanner .cmplz-message a,
.cmplz-cookiebanner .cmplz-body a,
.cmplz-cookiebanner .cmplz-links a {
  color: var(--red) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  transition: color var(--transition) !important;
}
.cmplz-cookiebanner a:hover,
.cmplz-cookiebanner .cmplz-message a:hover,
.cmplz-cookiebanner .cmplz-body a:hover,
.cmplz-cookiebanner .cmplz-links a:hover {
  color: var(--navy) !important;
}
.cmplz-cookiebanner .cmplz-links,
.cmplz-cookiebanner .cmplz-links a {
  color: var(--text-soft) !important;
  font-size: 12px !important;
}

/* Buttons - base typography a přechody */
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn,
.cmplz-cookiebanner .cmplz-btn {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm) !important;
  transition: all var(--transition) !important;
  cursor: pointer !important;
  letter-spacing: .01em !important;
}

/* Accept button - red (primary CTA) */
.cmplz-cookiebanner .cmplz-btn.cmplz-accept {
  background: var(--red) !important;
  border: 1px solid var(--red) !important;
  color: var(--white) !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover {
  background: #a91414 !important;
  border-color: #a91414 !important;
  box-shadow: 0 6px 20px var(--red-20) !important;
  transform: translateY(-1px) !important;
}

/* Deny button - ghost navy */
.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
  background: transparent !important;
  border: 1px solid var(--navy-10) !important;
  color: var(--navy) !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover {
  background: var(--navy-06) !important;
  border-color: var(--navy) !important;
}

/* View / Save preferences - subtle ghost */
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences,
.cmplz-cookiebanner .cmplz-btn.cmplz-categories,
.cmplz-cookiebanner .cmplz-btn:not(.cmplz-accept):not(.cmplz-deny) {
  background: transparent !important;
  border: 1px solid var(--navy-10) !important;
  color: var(--text-soft) !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:hover,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover {
  color: var(--navy) !important;
  border-color: var(--navy) !important;
  background: var(--navy-06) !important;
}

/* Slider (Yes/No přepínače v preferences) */
.cmplz-cookiebanner .cmplz-slider {
  background-color: var(--navy-10) !important;
}
.cmplz-cookiebanner input[type="checkbox"]:checked + .cmplz-slider,
.cmplz-cookiebanner .cmplz-category input:checked + .cmplz-slider {
  background-color: var(--red) !important;
}
.cmplz-cookiebanner .cmplz-slider:before {
  background-color: var(--white) !important;
}

/* Close icon (X) - soft navy, red hover */
.cmplz-cookiebanner .cmplz-close,
.cmplz-cookiebanner .cmplz-close svg,
.cmplz-cookiebanner .cmplz-close svg path {
  color: var(--text-soft) !important;
  fill: var(--text-soft) !important;
  transition: color var(--transition), fill var(--transition) !important;
}
.cmplz-cookiebanner .cmplz-close:hover,
.cmplz-cookiebanner .cmplz-close:hover svg,
.cmplz-cookiebanner .cmplz-close:hover svg path {
  color: var(--red) !important;
  fill: var(--red) !important;
}

/* Category panel (preferences view) */
.cmplz-cookiebanner .cmplz-category {
  background: var(--gray) !important;
  border: 1px solid var(--navy-06) !important;
  border-radius: var(--radius-sm) !important;
}
.cmplz-cookiebanner .cmplz-category .cmplz-description {
  color: var(--text-soft) !important;
}

/* Floating "manage consent" button - skrýt (máme footer link) */
#cmplz-manage-consent-container,
button.cmplz-manage-consent {
  display: none !important;
}

/* Cookie nastavení v footer legal - plain link styl */
.footer__legal .cmplz-manage-consent,
.footer__bottom .cmplz-manage-consent {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font: inherit !important;
  color: rgba(255,255,255,.55) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  transition: color var(--transition) !important;
}
.footer__legal .cmplz-manage-consent:hover,
.footer__bottom .cmplz-manage-consent:hover {
  color: var(--white) !important;
  background: transparent !important;
  border: none !important;
}
