﻿/* ==========================================================================
   TOREOS — Material Expressive 3 edition
   1. Proměnné a základ
   2. Utility
   3. Hlavička a navigace
   4. Tlačítka
   5. Hero
   6. Trust rail
   7. Služby
   8. Proč my
   9. Novinky
   10. Kontaktní blok
   11. Podstránky
   12. Formulář
   13. Patička
   14. Animace
   15. Responzivita
   ========================================================================== */

/* 1. Proměnné a základ
   ========================================================================== */
:root {
  color-scheme: light;

  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef1ff;
  --surface-3: #e6ebff;

  --ink: #0e1526;
  --muted: #5a6478;
  --line: #e4e8f0;
  --line-strong: #d3dae8;

  --primary: #1b2a9e;
  --primary-deep: #101a5c;
  --primary-soft: #e6ebff;
  --violet: #2436c4;
  --lavender: #eef1ff;
  --peach: #eef1ff;
  --peach-deep: #2436c4;
  --mint: #e8f8f0;
  --mint-deep: #12885a;
  --amber: #4b63f0;
  --on-primary: #ffffff;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 2px 6px rgba(16, 26, 92, .05), 0 14px 30px -20px rgba(16, 26, 92, .2);
  --shadow-md: 0 24px 50px -30px rgba(16, 26, 92, .26);
  --shadow-lg: 0 40px 80px -42px rgba(27, 42, 158, .45);

  --container: 1180px;

  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Outfit", "Inter", "Segoe UI", system-ui, Arial, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(58% 46% at 100% 0%, #eef1ff 0%, rgba(238, 241, 255, 0) 62%),
    radial-gradient(46% 38% at 0% 24%, #eef1ff 0%, rgba(238, 241, 255, 0) 58%),
    radial-gradient(44% 36% at 92% 72%, #e8f0ff 0%, rgba(232, 240, 255, 0) 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }

[hidden] { display: none !important; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(27, 42, 158, .45);
  outline-offset: 3px;
  border-radius: 8px;
}

/* 2. Utility
   ========================================================================== */
.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section--white {
  width: min(100% - 2rem, 1440px);
  margin-inline: auto;
  padding-inline: clamp(0rem, 1.5vw, 1.5rem);
  background: linear-gradient(165deg, #eef2ff 0%, #f8faff 55%, #edf2ff 100%);
  border-radius: clamp(28px, 4vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: .38rem .9rem .34rem;
  border-radius: 999px;
  background: var(--primary-soft);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.section-head { max-width: 700px; margin-bottom: clamp(2rem, 4vw, 3rem); }

.section-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: .9rem;
}

.section-head p { color: var(--muted); font-size: 1.04rem; max-width: 44rem; }

.section-head--center { margin-inline: auto; text-align: center; }

.section-head--center .eyebrow { justify-content: center; }

.lead { font-size: 1.06rem; color: var(--muted); }

.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 120;
  background: var(--primary);
  color: #fff;
  padding: .8rem 1.3rem;
  border-radius: 0 0 14px 0;
  font-weight: 600;
}

.skip-link:focus { left: 0; }

/* 3. Hlavička a navigace
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-block: .7rem;
  background: linear-gradient(180deg, rgba(246, 248, 252, .94) 0%, rgba(246, 248, 252, .72) 58%, rgba(246, 248, 252, 0) 100%);
  transition: padding .3s ease;
}

.site-header.is-scrolled { padding-block: .45rem; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 72px;
  padding: .5rem .6rem .5rem 1.05rem;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(16, 26, 92, .04), 0 18px 40px -26px rgba(16, 26, 92, .3);
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled .header-inner {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 8px rgba(16, 26, 92, .05), 0 22px 46px -26px rgba(16, 26, 92, .32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__logo {
  display: block;
  height: 42px;
  width: auto;
  transition: transform .35s var(--ease-spring);
}

.brand:hover .brand__logo { transform: rotate(-2deg) scale(1.04); }

.brand__tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
  max-width: 8.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: auto;
}

.nav a {
  padding: .52rem .82rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  color: #3b4559;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s var(--ease-spring);
}

.nav a:hover { color: var(--primary); background: var(--surface-2); }
.nav a:active { transform: scale(.96); }

.nav a.active { color: var(--primary); background: var(--primary-soft); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0 12px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  cursor: pointer;
  transition: background .2s ease;
}

.nav-toggle:hover { background: var(--surface-3); }

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .24s var(--ease-spring), opacity .2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 4. Tlačítka
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .28s var(--ease-spring), box-shadow .28s ease,
              background .22s ease, border-color .22s ease, color .22s ease;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s var(--ease-out); }

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 14px 28px -16px rgba(27, 42, 158, .8);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 36px -16px rgba(27, 42, 158, .75);
}

.btn--primary:active { transform: scale(.97); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: transparent;
  background: var(--primary-soft);
  color: var(--primary);
}

.btn--ghost:active { transform: scale(.97); }

.btn--amber {
  background: var(--peach);
  color: #1b2a9e;
  box-shadow: 0 14px 28px -18px rgba(27, 42, 158, .45);
}

.btn--amber:hover { transform: translateY(-2px) scale(1.02); }

.btn--light {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn--light:hover { transform: translateY(-2px) scale(1.02); }

.btn--sm { padding: .6rem 1.05rem; font-size: .88rem; }

/* 5. Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 5.5vw, 5rem);
}

.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -8%;
  width: clamp(320px, 44vw, 620px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 32% 32%, #dfe6ff 0%, #eef1ff 45%, rgba(238, 241, 255, 0) 72%);
  border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
  animation: blob 22s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -22%;
  left: -10%;
  width: clamp(280px, 36vw, 500px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 40%, #dfe6ff 0%, #f4f7ff 50%, rgba(244, 247, 255, 0) 74%);
  border-radius: 58% 42% 38% 62% / 52% 62% 38% 48%;
  animation: blob 26s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes blob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  33% { transform: translate3d(-3%, 4%, 0) rotate(6deg) scale(1.05); }
  66% { transform: translate3d(3%, -3%, 0) rotate(-5deg) scale(.97); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -.05em;
  margin-bottom: 1.3rem;
}

.hero h1 .accent {
  background: linear-gradient(100deg, var(--primary) 0%, #2436c4 55%, #4b63f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  max-width: 33rem;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .48rem .9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(16, 26, 92, .03);
  font-size: .82rem;
  font-weight: 500;
  color: #3b4559;
}

.hero__chips li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(15, 157, 99, .12);
}

.hero__chips li:nth-child(2)::before {
  background: var(--peach-deep);
  box-shadow: 0 0 0 3px rgba(75, 99, 240, .2);
}

.hero__chips li:nth-child(3)::before {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 42, 158, .15);
}

/* Vizuál hero */
.hero__visual { position: relative; }

.route-card {
  position: relative;
  padding: 1.5rem 1.5rem 1.2rem;
  border-radius: clamp(28px, 3vw, 38px);
  background:
    radial-gradient(90% 80% at 85% 0%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(150deg, #101a5c 0%, #1b2a9e 55%, #2b3cd2 100%);
  color: #fff;
  box-shadow: 0 40px 80px -38px rgba(16, 26, 92, .55);
  transform: rotate(-1.2deg);
  transition: transform .4s var(--ease-spring), box-shadow .4s ease;
  overflow: hidden;
}

.route-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 48px 90px -38px rgba(16, 26, 92, .6);
}

.route-card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .3), transparent 64%);
  pointer-events: none;
}

.route-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .4rem;
}

.route-card__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.route-card__badge {
  padding: .24rem .7rem .2rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.route-card__map { margin: 0 -.45rem; }
.route-card__map svg { width: 100%; height: auto; }

.route-line {
  stroke-dasharray: 7 9;
  animation: dash 20s linear infinite;
}

@keyframes dash { to { stroke-dashoffset: -320; } }

.route-card__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: .3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.route-card__foot div { padding-inline: .2rem; }

.route-card__foot strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.route-card__foot span {
  font-size: .72rem;
  color: rgba(255, 255, 255, .7);
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .62rem .95rem;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  box-shadow: 0 20px 40px -22px rgba(16, 26, 92, .32);
  backdrop-filter: blur(8px);
  font-size: .82rem;
  font-weight: 600;
  color: #35405a;
  animation: float 6s ease-in-out infinite;
}

.float-card .dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-deep);
  flex-shrink: 0;
}

.float-card .dot svg { width: 13px; height: 13px; }

.float-card--a { left: -1.35rem; bottom: -1rem; }
.float-card--b { right: -1rem; top: -1.2rem; animation-delay: -3s; }

.float-card--b .dot { background: var(--lavender); color: var(--primary); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 6. Trust rail
   ========================================================================== */
.trust {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(2.5rem, 4vw, 3.5rem);
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
  padding: .5rem;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  font-size: .88rem;
  font-weight: 600;
  color: #2b3549;
  transition: background .22s ease, transform .22s var(--ease-spring);
}

.trust__item:hover { background: var(--surface-2); transform: translateY(-2px); }

.trust__item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  padding: .38rem;
  box-sizing: content-box;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.trust__item:nth-child(2) svg { background: var(--peach); color: #2436c4; }
.trust__item:nth-child(3) svg { background: var(--mint); color: var(--mint-deep); }
.trust__item:nth-child(4) svg { background: #e6ebff; color: #1b2a9e; }

/* 7. Služby
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  background: linear-gradient(160deg, #f5f8ff 0%, #fbfcff 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 44px -30px rgba(16, 26, 92, .26);
  overflow: hidden;
  transition: transform .35s var(--ease-spring), box-shadow .35s ease;
}

.service-card:nth-child(2) {
  background: linear-gradient(160deg, #eef1ff 0%, #f8faff 100%);
}

.service-card:hover {
  transform: translateY(-6px) rotate(-.6deg);
  box-shadow: 0 32px 60px -30px rgba(16, 26, 92, .3);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.4rem;
  border-radius: 19px;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 22px -14px rgba(16, 26, 92, .3);
  transition: transform .35s var(--ease-spring);
}

.service-card:hover .service-card__icon { transform: rotate(-7deg) scale(1.06); }

.service-card__icon svg { width: 27px; height: 27px; }

.service-card__icon--amber { color: #2436c4; }

.service-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -.035em;
  margin-bottom: .6rem;
}

.service-card p {
  color: #5a6478;
  font-size: .96rem;
  margin-bottom: 1.5rem;
}

.service-card__foot { margin-top: auto; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 650;
  color: var(--primary);
  text-decoration: none;
}

.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }

.link-arrow:hover svg { transform: translateX(4px); }

/* 8. Proč my
   ========================================================================== */
.why {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.why h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: 1rem;
}

.why p { color: var(--muted); }

.why .btn { margin-top: 1.8rem; }

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  box-shadow: 0 2px 4px rgba(16, 26, 92, .03);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.45;
  color: #2b3549;
  transition: transform .25s var(--ease-spring), box-shadow .25s ease, background .25s ease;
}

.benefit:hover {
  transform: translateY(-3px) scale(1.01);
  background: #fff;
  box-shadow: 0 16px 32px -24px rgba(16, 26, 92, .26);
}

.benefit__check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: .05rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.benefit__check svg { width: 13px; height: 13px; }

/* 9. Novinky
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.7rem;
  background: linear-gradient(160deg, #f5f8ff 0%, #fbfcff 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px -28px rgba(16, 26, 92, .24);
  text-decoration: none;
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}

.news-card:nth-child(2) { background: linear-gradient(160deg, #eef1ff 0%, #f8faff 100%); }
.news-card:nth-child(3) { background: linear-gradient(160deg, #eaf0ff 0%, #f7f9ff 100%); }

.news-card:hover {
  transform: translateY(-6px) rotate(-.5deg);
  box-shadow: 0 28px 54px -28px rgba(16, 26, 92, .3);
}

.tag {
  align-self: flex-start;
  padding: .24rem .7rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tag--amber { color: #2436c4; }

.news-card h3 {
  font-size: 1.22rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.news-card p { color: #5a6478; font-size: .89rem; }

.news-card .link-arrow { margin-top: auto; font-size: .84rem; }

/* 10. Kontaktní blok
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 1.4rem;
  align-items: stretch;
}

.map-static {
  position: relative;
  min-height: 400px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #e8ede0;
  box-shadow: var(--shadow-md);
}

.map-static > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-badge {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  max-width: calc(100% - 2.2rem);
  padding: .75rem 1rem;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  font-size: .82rem;
  line-height: 1.45;
  color: #3b4559;
}

.map-badge strong { color: var(--ink); font-size: .88rem; }

.map-badge__dot {
  width: 9px;
  height: 9px;
  margin-top: .35rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(27, 42, 158, .16);
}

.map-link {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.035em;
  margin-bottom: .3rem;
}

.info-card > .muted { font-size: .9rem; margin-bottom: 1.6rem; }

.info-list {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}

.info-list .ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
}

.info-list .ico svg { width: 18px; height: 18px; }

.info-list .label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8b94a8;
  margin-bottom: .1rem;
}

.info-list .value {
  font-size: .95rem;
  font-weight: 500;
  color: #232d42;
  line-height: 1.5;
}

.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.info-card .btn { margin-top: auto; }

/* 11. Podstránky
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(60% 120% at 88% 0%, #eef1ff 0%, rgba(238, 241, 255, 0) 68%),
    radial-gradient(46% 100% at 0% 100%, #eef1ff 0%, rgba(238, 241, 255, 0) 66%);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -.045em;
  margin-bottom: .8rem;
}

.page-hero p {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.2rem;
  font-size: .8rem;
  font-weight: 500;
  color: #8b94a8;
}

.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current] { color: #3b4559; }

.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1.15rem;
}

.aside-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.aside-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .25rem;
}

.aside-card > p { font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; }

.aside-card .info-list { gap: .85rem; margin-bottom: 0; }
.aside-card .info-list .ico { width: 34px; height: 34px; border-radius: 10px; }
.aside-card .info-list .ico svg { width: 15px; height: 15px; }
.aside-card .info-list .value { font-size: .89rem; }

.aside-links { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }

.aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .62rem .85rem;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: .88rem;
  font-weight: 550;
  text-decoration: none;
  color: #2b3549;
  transition: background .2s ease, color .2s ease, transform .2s var(--ease-spring);
}

.aside-links a:hover {
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateX(3px);
}

.aside-links svg { width: 14px; height: 14px; color: #98a1b5; flex-shrink: 0; }

.panel {
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.panel + .panel { margin-top: 1.4rem; }

.panel h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: .85rem;
}

.panel h3 {
  font-size: 1.22rem;
  font-weight: 650;
  letter-spacing: -.02em;
  margin: 2rem 0 .7rem;
}

.panel p { color: var(--muted); font-size: .97rem; }

.panel p + p { margin-top: .85rem; }

.panel .lead { color: #3b4559; }

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem 1.5rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
  font-size: .93rem;
  color: #2b3549;
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .16em;
  width: 1.22rem;
  height: 1.22rem;
  border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f3bff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .72rem no-repeat;
}

.checklist--single { grid-template-columns: 1fr; }

.note {
  display: flex;
  gap: .7rem;
  margin-top: 1.6rem;
  padding: .95rem 1.1rem;
  border: 1px solid #cdd8ff;
  border-radius: 16px;
  background: #f4f7ff;
  font-size: .88rem;
  color: #1b2a9e;
}

.note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .12rem; color: var(--peach-deep); }

.divider {
  height: 1px;
  margin: 2rem 0;
  background: var(--line);
  border: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 1.4rem;
  align-items: stretch;
}

.contact-layout .map-static { min-height: 540px; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 1.6rem;
}

.fact {
  padding: 1rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--surface-2);
}

.fact:nth-child(2) { background: #eef1ff; }
.fact:nth-child(3) { background: #eef1ff; }
.fact:nth-child(4) { background: #e6ebff; }

.fact strong { display: block; font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }

.fact span { font-size: .78rem; color: var(--muted); }

/* 12. Formulář
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.25rem;
  margin-top: 1.8rem;
}

.field { display: flex; flex-direction: column; gap: .4rem; }

.field--full { grid-column: 1 / -1; }

.field label {
  font-size: .83rem;
  font-weight: 650;
  color: #2b3549;
}

.field label .req { color: var(--primary); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .82rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input::placeholder,
.field textarea::placeholder { color: #8b94a8; }

.field textarea { resize: vertical; min-height: 150px; }

.field input:hover,
.field textarea:hover { background: #e6ebff; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(27, 42, 158, .14);
}

.field input:user-invalid,
.field textarea:user-invalid { border-color: #e5655c; }

.field-hint { font-size: .78rem; color: #8b94a8; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.7rem;
}

.form-actions .muted { font-size: .8rem; }

.form-note {
  display: flex;
  gap: .7rem;
  margin-top: 1.3rem;
  padding: .95rem 1.1rem;
  border: 1px solid #bfe9d4;
  border-radius: 16px;
  background: #f0fbf6;
  font-size: .88rem;
  color: #0f6b45;
}

.form-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .1rem; color: var(--mint-deep); }

/* 13. Patička
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(3.25rem, 6vw, 4.75rem) 0 0;
  background: #0b1230;
  color: #a9b2c8;
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 54, 196, .4), transparent 66%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 99, 240, .2), transparent 66%);
  pointer-events: none;
}

.site-footer .container { position: relative; z-index: 1; }

.site-footer .brand__logo {
  height: 46px;
  padding: 7px 11px;
  background: #fff;
  border-radius: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .9fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-about { margin-top: 1.25rem; font-size: .9rem; max-width: 20rem; }

.footer-title {
  margin: 0 0 1rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #aeb9d9;
}

.footer-links {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
}

.footer-links a {
  text-decoration: none;
  display: inline-block;
  transition: color .18s ease, transform .18s ease;
}

.footer-links a:hover { color: #fff; transform: translateX(3px); }

.footer-contact { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; }

.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem;
  color: #7c87a1;
}

/* 14. Animace
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #2436c4, var(--amber));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(.97);
  transition: opacity .65s var(--ease-out),
              transform .65s var(--ease-spring);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* 15. Responzivita
   ========================================================================== */
@media (max-width: 1080px) {
  .brand__tag { display: none; }
  .with-aside { grid-template-columns: minmax(0, 1fr) 300px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr 1.2fr; }
  .footer-grid > :nth-child(3) { display: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 540px; margin-top: 1.5rem; }
  .float-card--a { left: .5rem; }
  .float-card--b { right: .25rem; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .contact-layout { grid-template-columns: 1fr; }
  .contact-layout .map-static { min-height: 420px; }
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .site-footer .brand__tag { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :nth-child(3) { display: block; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; order: 3; }
  .header-cta { display: none; }
  .header-inner { min-height: 64px; }
  .nav {
    position: absolute;
    top: calc(100% + .35rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    margin: 0;
    padding: .6rem;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 30px 60px -30px rgba(16, 26, 92, .32);
    backdrop-filter: blur(16px);
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: .75rem 1rem; border-radius: 16px; font-size: .96rem; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  .brand__logo { height: 38px; }
  .hero { padding-top: 1.75rem; }
  .hero__actions .btn { width: 100%; }
  .float-card { display: none; }
  .route-card { transform: none; }
  .news-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .fact-grid { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr; }
  .route-card__foot strong { font-size: 1.15rem; }
  .form-actions .btn { width: 100%; }
  .map-static { min-height: 320px; }
  .contact-layout .map-static { min-height: 340px; }
  .map-badge { left: .8rem; bottom: .8rem; }
  .map-link { top: .8rem; right: .8rem; }
}


