/* TOMSOFT – styl nového webu (2026). Barvy a písmo vycházejí z původního webu. */

@font-face { font-family: "Exo 2"; font-weight: 400; font-display: swap; src: url("fonts/exo-2-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-weight: 400; font-display: swap; src: url("fonts/exo-2-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url("fonts/exo-2-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url("fonts/exo-2-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-weight: 700; font-display: swap; src: url("fonts/exo-2-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-weight: 700; font-display: swap; src: url("fonts/exo-2-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --teal: #155d5c;
  --teal-dark: #0e4342;
  --teal-light: #8aaeae;
  --red: #d42a2a;
  --red-dark: #b01e1e;
  --ink: #1d2626;
  --muted: #566363;
  --bg: #f4f4f4;
  --card: #ffffff;
  --line: #e2e6e6;
  --footer: #050708;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, .07);
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.25; color: var(--teal); font-weight: 600; }
h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 1.6em 0 .6em; }
h3 { font-size: 1.15rem; margin: 1.2em 0 .4em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Hlavička */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { width: 240px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--red); }
.nav .btn { margin-left: 8px; border-bottom: 0; }
.menu-toggle { display: none; background: var(--teal); color: #fff; border: 0; border-radius: 6px; padding: 10px 14px; font: inherit; font-weight: 600; cursor: pointer; }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 6px;
  background: var(--red); color: #fff !important; text-decoration: none; font-weight: 600; border: 0; cursor: pointer;
}
.btn:hover { background: var(--red-dark); }
.btn.secondary { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px #fff; }
.btn.secondary:hover { background: rgba(255, 255, 255, .12); }
.btn.teal { background: var(--teal); }
.btn.teal:hover { background: var(--teal-dark); }
.nav .btn.portal { background: transparent; color: var(--teal) !important; box-shadow: inset 0 0 0 2px var(--teal); gap: 6px; }
.nav .btn.portal:hover { background: var(--teal); color: #fff !important; }
.nav .btn.portal svg { width: 18px; height: 18px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Úvodní pruh */
.hero {
  background: var(--teal) url("img/banner.svg") center / cover no-repeat;
  color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 2.8rem); max-width: 760px; }
.hero p { font-size: 1.15rem; max-width: 680px; color: #e3eeee; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero { background: var(--teal) url("img/banner.svg") center 30% / cover no-repeat; color: #fff; padding: 36px 0; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { margin: .4em 0 0; color: #e3eeee; }
.crumbs { font-size: .9rem; margin-bottom: 6px; color: var(--teal-light); }
.crumbs a { color: #e3eeee; }

/* Sekce */
section { padding: 48px 0; }
.section-title { text-align: center; margin-top: 0; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 760px; margin: 0 auto 28px; text-align: center; }

/* Karty služeb */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px;
  border-top: 4px solid var(--teal); transition: transform .15s, box-shadow .15s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0, 0, 0, .12); color: var(--ink); }
.card .icon { width: 58px; height: 58px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.card .icon svg { width: 30px; height: 30px; color: #fff; }
.card h3 { margin: 6px 0 0; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--teal); }

/* Výhody */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature svg { width: 34px; height: 34px; color: var(--red); flex: none; margin-top: 2px; }
.feature strong { display: block; color: var(--teal); font-size: 1.05rem; }
.feature span { color: var(--muted); font-size: .97rem; }

/* Pás s výzvou */
.cta { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-left: 6px solid var(--red); }
.cta h2 { margin: 0 0 4px; }
.cta p { margin: 0; color: var(--muted); }
.cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Obsah podstránek */
.content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.prose { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 36px; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.box h2, .box h3 { margin-top: 0; font-size: 1.15rem; }
.box.dark { background: var(--teal); color: #fff; }
.box.dark h2, .box.dark h3 { color: #fff; }
.box.dark a { color: #fff; }
.box ul { list-style: none; padding: 0; margin: 0; }
.box li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.box li a[aria-current="page"] { font-weight: 700; color: var(--red); }

/* Reference */
.ref-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.ref-list li { background: var(--card); border-radius: 8px; padding: 14px 18px; box-shadow: var(--shadow); border-left: 4px solid var(--teal); }
.ref-list strong { display: block; color: var(--teal); }
.ref-list span { color: var(--muted); font-size: .95rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-grid .box p:last-child { margin-bottom: 0; }
.big-link { font-size: 1.3rem; font-weight: 700; text-decoration: none; }

/* Partneři */
.partners { background: var(--teal); padding: 34px 0; }
.partners h2 { color: #fff; text-align: center; margin: 0 0 18px; font-size: 1.1rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.partners img { margin: 0 auto; width: 100%; max-width: 1000px; }

/* Patička */
.site-footer { background: var(--footer); color: #b8c4c4; padding: 44px 0 24px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .legal { border-top: 1px solid #1f2a2a; margin-top: 30px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }

/* Plovoucí tlačítko Zavolat na mobilu */
.call-fab { display: none; }

@media (max-width: 900px) {
  .content { grid-template-columns: 1fr; }
  .aside { position: static; }
}
/* Menu se schová pod tlačítko "Menu" už na užších monitorech (vejde se do jednoho řádku až od 1080 px) */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; }
  .nav a { border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}
@media (max-width: 860px) {
  .logo img { width: 180px; }
  .prose { padding: 24px 20px; }
  .call-fab {
    display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
    background: var(--red); color: #fff; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  }
  .call-fab svg { width: 28px; height: 28px; }
  section { padding: 36px 0; }
  .hero { padding: 40px 0 48px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .partners, .call-fab, .aside, .cta { display: none !important; } body { background: #fff; } }

/* Drobnosti */
section.white { background: #fff; }
.mini { vertical-align: -4px; color: var(--red); display: inline-block; }
.spaced { margin-top: 24px; }
.spaced h2:first-child { margin-top: 0; }
.center { text-align: center; }
.after-list { margin-top: 24px; }

/* Kulaté ikony služeb přes okraj banneru (úvodní stránka) */
.hero.s-ikonami { padding-bottom: 110px; }
.rozcestnik { padding-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: -56px; position: relative; z-index: 2; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); }
.tile .circle {
  width: 112px; height: 112px; border-radius: 50%; background: var(--teal); border: 9px solid #fff;
  display: grid; place-items: center; position: relative; z-index: 2; box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  transition: background .15s, transform .15s;
}
.tile .circle svg { width: 44px; height: 44px; color: #fff; }
.tile-body {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -56px; padding: 66px 14px 20px;
  width: 100%; flex: 1; display: flex; flex-direction: column; gap: 6px;
}
.tile-body strong { color: var(--teal); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.tile-body span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.tile:hover .circle { background: var(--red); transform: translateY(-3px); }
.tile:hover strong { color: var(--red); }
.rozcestnik .lead { margin-top: 32px; margin-bottom: 0; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); row-gap: 24px; } }
@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; row-gap: 20px; }
  .tile .circle { width: 92px; height: 92px; border-width: 7px; }
  .tile .circle svg { width: 36px; height: 36px; }
  .tile-body { margin-top: -46px; padding-top: 54px; }
  .tiles { margin-top: -46px; }
  .hero.s-ikonami { padding-bottom: 90px; }
}

/* Ilustrace */
.prose .ilu { width: 100%; max-width: 420px; margin: -8px auto 18px; }
.card-ilu { width: calc(100% + 48px); max-width: none; margin: -26px -24px 4px; background: #fff; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 4 / 3; object-fit: contain; }
.hero .wrap { min-height: 300px; }
.hero-ilu { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 380px; }
@media (max-width: 1100px) { .hero-ilu { width: 300px; right: 0; } }
@media (max-width: 960px) { .hero-ilu { display: none; } }

/* Jak probíhá zakázka – očíslované kroky */
.steps { list-style: none; counter-reset: krok; padding: 0; margin: 28px 0; display: grid; gap: 22px; }
.steps li { counter-increment: krok; position: relative; padding-left: 64px; min-height: 48px; }
.steps li::before { content: counter(krok); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.steps li:last-child::before { background: var(--red); }
.steps h2 { margin: 0 0 4px; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); }

/* Časté dotazy – rozbalovací otázky */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; color: var(--teal); font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--red); }
.faq details > div { padding: 0 0 16px; }
.faq details p { margin: 0; }
