:root {
  --bg: #77CFD9;
  --surface: rgba(255, 255, 255, 0.82);
  --text: #03588C;
  --muted: #0378A6;
  --line: rgba(3, 120, 166, 0.2);
  --primary: #0388A6;
  --primary-dark: #03588C;
  --accent: #55C1D9;
  --shadow: 0 24px 70px rgba(3, 88, 140, 0.14);
  --radius: 24px;
  --container: 1180px;
  --header-height: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(85, 193, 217, 0.28), transparent 30%),
    radial-gradient(circle at right 20%, rgba(3, 136, 166, 0.2), transparent 25%),
    linear-gradient(180deg, rgba(119, 207, 217, 0.2) 0%, rgba(85, 193, 217, 0.12) 100%);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(840px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(242, 252, 254, 0.8);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Space Grotesk", sans-serif;
}

.brand img {
  display: block;
  height: 64px;
  width: auto;
}

.brand strong,
.brand small { display: block; }

.brand small {
  font-size: 0.8rem;
  color: var(--muted);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 0.35rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
}

.site-nav a.is-active,
.site-nav a:hover { color: var(--text); }

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #0378A6;
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.25s ease, width 0.25s ease, opacity 0.2s ease;
}

.nav-toggle,
.nav-toggle-label { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  border: 0;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(3, 88, 140, 0.2);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-outline {
  border: 1px solid rgba(3, 120, 166, 0.3);
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-dark);
  box-shadow: none;
}

.button-small {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.hero,
.page-hero { padding: 5rem 0 3rem; }

.hero-grid,
.split,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.35fr 0.9fr;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.split h2,
.cta-wrap h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 12ch;
}

.page-hero h1,
.section-heading h2,
.split h2,
.cta-wrap h2 { font-size: clamp(2rem, 4vw, 3.35rem); }

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.experience-ribbon {
  display: inline-block;
  padding: 0.5rem 1.45rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #03588C, #0378A6);
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  line-height: 1.2;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 10px 24px rgba(3, 88, 140, 0.24);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.section-heading p.experience-ribbon,
.section-heading p.experience-ribbon span {
  color: #f4f6f5;
}

.lead,
.section-heading p,
.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-full {
  position: relative;
  width: 100%;
  min-height: clamp(570px, calc(78vh + 50px), 910px);
  padding: clamp(2.4rem, 5vh, 4rem) 1.25rem clamp(2.2rem, 7vh, 5rem);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(3, 88, 140, 0.08) 0%, rgba(3, 88, 140, 0.70) 100%),
    url("images/hero.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-color: #03588C;
}

.hero-overlay {
  max-width: 900px;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: rgba(3, 88, 140, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(26px);
  animation: hero-title-rise 0.85s ease-out 1s forwards;
}

.hero-overlay h1 {
  margin: 0;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.38);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  opacity: 0;
  transform: translateY(26px);
  animation: hero-title-rise 0.85s ease-out 0.5s forwards;
}

@keyframes hero-title-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-cta-left {
  from {
    opacity: 0;
    left: -26px;
  }
  to {
    opacity: 1;
    left: 0;
  }
}

@keyframes hero-cta-right {
  from {
    opacity: 0;
    right: -26px;
  }
  to {
    opacity: 1;
    right: 0;
  }
}

.hero-full .hero-actions {
  justify-content: center;
  margin-top: 1.5rem;
}

.hero-full .hero-actions .button {
  opacity: 0;
}

.hero-full .hero-actions .button:first-child {
  position: relative;
  left: -26px;
  animation: hero-cta-left 0.8s ease-out 1s forwards;
}

.hero-full .hero-actions .button:nth-child(2) {
  position: relative;
  right: -26px;
  animation: hero-cta-right 0.8s ease-out 1s forwards;
}

.hero-full .button {
  background: linear-gradient(135deg, #0378A6, #55C1D9);
  color: #ffffff;
  border: 1px solid rgba(119, 207, 217, 0.45);
}

.hero-full .button-secondary {
  border-color: rgba(255, 255, 255, 0.9);
  color: #03588C;
  background: #ffffff;
}

.hero-list,
.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li,
.detail-list li,
.checklist div {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
}

.hero-list li::before,
.detail-list li::before,
.checklist div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card,
.card,
.mini-card,
.contact-card,
.quote-card,
.pump-card,
.map-placeholder,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card,
.card,
.pump-card,
.quote-card,
.timeline-item,
.contact-card,
.mini-card { padding: 1.6rem; }

.metric {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.metric:last-of-type { border-bottom: 0; }

.metric strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
}

.note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section { padding: 2rem 0 4.5rem; }

.section-alt {
  background: linear-gradient(180deg, rgba(119, 207, 217, 0.22), rgba(85, 193, 217, 0));
}

.section-dark {
  background: linear-gradient(135deg, #03588C, #0378A6);
  color: #f4f6f5;
}

.section-dark .eyebrow,
.section-dark p { color: rgba(244, 246, 245, 0.75); }

.section-heading { margin-bottom: 2rem; }

.section-heading.compact {
  margin-bottom: 1.4rem;
}

.top-products-intro {
  margin-top: 3rem;
}

.top-products-intro + .top-products-intro {
  display: none;
}

.top-products-grid,
.product-grid,
.brand-boxes {
  display: grid;
  gap: 1.5rem;
}

.top-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.top-product-card,
.product-card,
.brand-box,
.cta-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.top-product-card,
.product-card,
.brand-box,
.cta-box {
  overflow: hidden;
}

.top-product-image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(119, 207, 217, 0.12));
  border-bottom: 1px solid rgba(3, 120, 166, 0.14);
}

.top-product-content,
.product-card,
.brand-box,
.cta-box {
  padding: 1.5rem;
}

.top-product-card h3,
.product-card h3,
.brand-box h3,
.cta-box h2 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
}

.top-product-rating {
  margin-bottom: 0.75rem;
  color: #f2c94c;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
}

.top-product-card p:last-child,
.product-card p:last-child,
.brand-box p:last-child,
.cta-box p:last-child {
  margin-bottom: 0;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card.featured {
  background: linear-gradient(135deg, rgba(3, 136, 166, 0.16), rgba(119, 207, 217, 0.24));
}

.brand-boxes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-muted {
  background: linear-gradient(180deg, rgba(119, 207, 217, 0.18), rgba(255, 255, 255, 0));
}

.product-switcher-section .legacy-specialization-heading,
.product-switcher-section .legacy-specialization-grid {
  display: none;
}

.product-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.product-item-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-item-card::after {
  content: "NÁHRADNÍ DÍLY";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #03588C;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(3, 88, 140, 0.22);
}

.product-item-card::before {
  content: "SKLADEM";
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #1f9d55;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(31, 157, 85, 0.22);
}

.product-item-image {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
  background: linear-gradient(180deg, #eef8fb, #dff2f7);
  border-bottom: 1px solid rgba(3, 120, 166, 0.14);
}

.product-item-placeholder {
  width: 100%;
  height: 270px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(3, 136, 166, 0.16), rgba(119, 207, 217, 0.28));
  color: var(--primary-dark);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(3, 120, 166, 0.14);
}

.product-item-content {
  padding: 1.35rem;
}

.product-item-content h3 {
  margin: 0 0 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.product-item-content p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(3, 120, 166, 0.08);
  border: 1px solid rgba(3, 120, 166, 0.16);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.page-hero-switcher h1 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-hero-switcher p {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 60ch;
}

.page-hero-switcher .card-grid {
  margin-top: 0;
}

.page-hero-switcher .type-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(140px, 1fr);
  gap: 1rem;
  align-items: stretch;
  border-color: rgba(3, 120, 166, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.page-hero-switcher .type-card strong,
.page-hero-switcher .type-card span {
  color: var(--text);
}

.page-hero-switcher .type-card span {
  font-size: 1rem;
}

.hero-type-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-type-image-slot {
  min-height: 132px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem 0.8rem;
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-type-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page-hero > .container > h1,
.page-hero > .container > p.lead {
  display: none;
}

.product-switcher-section {
  display: none;
}

#kalova-produkty .section-heading h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.brand-logo-card {
  min-height: 115px;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-card img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.card-grid,
.testimonials,
.timeline {
  display: grid;
  gap: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.45rem;
  overflow: hidden;
}

.type-card {
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.08);
}

.type-card strong {
  display: block;
  margin-bottom: 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.type-card span {
  color: rgba(234, 247, 255, 0.84);
}

.step-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.45rem;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(3, 88, 140, 0.18);
}

.step-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.feature-image {
  width: calc(100% + 2.9rem);
  height: 240px;
  margin: -1.45rem -1.45rem 1rem;
  object-fit: contain;
  background: linear-gradient(180deg, #fff, #f2fbff);
  border-bottom: 1px solid rgba(3, 120, 166, 0.14);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: #fff;
  font-weight: 800;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.check-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card h3,
.pump-card h2,
.large-card h2,
.service-item h2,
.contact-card h2 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
}

.card-grid.three .card {
  min-height: 520px;
}

.service-card-image {
  display: block;
  width: calc(100% + 3.2rem);
  height: 320px;
  object-fit: contain;
  margin: -1.6rem -1.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  border-top-left-radius: calc(var(--radius) - 1px);
  border-top-right-radius: calc(var(--radius) - 1px);
}

.card a {
  color: var(--primary-dark);
  font-weight: 800;
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.stack {
  display: grid;
  gap: 1rem;
}

.card-photo { overflow: hidden; }

.photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin: -1.6rem -1.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(3, 120, 166, 0.9), rgba(85, 193, 217, 0.85));
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checklist {
  display: grid;
  gap: 0.85rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(119, 207, 217, 0.2), rgba(3, 136, 166, 0.14));
  border: 1px solid var(--line);
}

.cta-section {
  padding-top: 1rem;
}

.cta-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(119, 207, 217, 0.18), transparent 22%), rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.page-main { min-height: 70vh; }

.service-list {
  display: grid;
  gap: 1.2rem;
}

.service-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.highlight-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(3, 136, 166, 0.16), rgba(119, 207, 217, 0.24));
}

.large-card .photo-placeholder { min-height: 220px; }

.testimonials,
.timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.timeline-item strong {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  color: var(--primary-dark);
}

.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.contact-link {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 1.2rem;
  align-items: start;
}

.contact-cards-stack {
  display: grid;
  gap: 1rem;
}

.contact-info-card,
.contact-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-info-card {
  padding: 1.4rem;
  min-height: 128px;
}

.contact-info-card h3 {
  margin: 0 0 0.8rem;
  font-family: "Space Grotesk", sans-serif;
}

.contact-info-card p {
  margin: 0 0 0.55rem;
  color: var(--muted);
}

.contact-form-card {
  padding: 1.6rem;
}

.contact-form-card h2 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(3, 120, 166, 0.24);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

.input-with-icon {
  position: relative;
  display: block;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateY(-50%);
  fill: var(--brand);
  pointer-events: none;
  opacity: 0.9;
}

.input-with-icon input {
  padding-left: 2.9rem;
}

.contact-form .gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-form .gdpr input[type="checkbox"] {
  width: auto;
  margin: 0.15rem 0 0;
  padding: 0;
  flex: 0 0 auto;
}

.map-placeholder {
  padding: 0;
  min-height: 450px;
  overflow: hidden;
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
}

.center {
  margin-top: 2rem;
  text-align: center;
}

.site-footer{
  margin-top:4rem;
  background:rgba(255,255,255,0.7);
  border-top:1px solid var(--line);
  padding:3rem 0 0;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:2rem;
}

.footer-grid strong{
  display:block;
  margin-bottom:0.8rem;
  font-family:"Space Grotesk",sans-serif;
}

.footer-grid a,
.footer-grid span,
.footer-grid p{
  display:block;
  margin-bottom:0.5rem;
  color:var(--muted);
}

.footer-grid a:hover{
  color:var(--primary-dark);
}

.footer-brand p{
  max-width:320px;
}

/* spodní část footeru */

.footer-bottom{
  margin-top:2rem;
  border-top:1px solid var(--line);
  padding:1.2rem 0;
}

.footer-bottom-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:0.9rem;
  color:var(--muted);
}

/* autor */

.footer-author a{
  position:relative;
  color:var(--primary-dark);
  font-weight:600;
}

/* underline animation */

.footer-author a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:0%;
  height:2px;
  background:var(--primary);
  transition:width 0.3s ease;
}

.footer-author a:hover::after{
  width:100%;
}

.scroll-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 30;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  box-shadow: 0 18px 38px rgba(3, 88, 140, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  box-shadow: 0 24px 46px rgba(3, 88, 140, 0.24);
  transform: translateY(-2px) scale(1.02);
}

.scroll-top:focus-visible {
  outline: 2px solid rgba(3, 136, 166, 0.35);
  outline-offset: 3px;
}

.scroll-top-progress {
  position: absolute;
  inset: 0;
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
}

.scroll-top-progress-track,
.scroll-top-progress-value {
  fill: none;
  stroke-width: 4;
}

.scroll-top-progress-track {
  stroke: rgba(3, 120, 166, 0.14);
}

.scroll-top-progress-value {
  stroke: #0378A6;
  stroke-linecap: round;
  stroke-dasharray: 175.93;
  stroke-dashoffset: 175.93;
  transition: stroke-dashoffset 0.12s linear;
}

.scroll-top-icon {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.map-container {
  position: relative;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.map-overlay {
  background: #0f172a;
  color: white;
  padding: 40px;
  text-align: center;
}

.map-overlay p {
  margin-bottom: 10px;
}

.map-note {
  font-size: 0.9rem;
  opacity: 0.8;
}

#map-frame iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .service-item,
  .contact-grid,
  .footer-grid,
  .timeline,
  .testimonials,
  .card-grid.two,
  .card-grid.three,
  .feature-grid,
  .type-grid,
  .steps-grid,
  .top-products-grid,
  .product-grid,
  .brand-boxes { grid-template-columns: 1fr; }

  .product-category-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-switcher .type-card {
    grid-template-columns: 1fr;
  }

  .contact-layout { grid-template-columns: 1fr; }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .brand-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hide-mobile { display: none; }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translate(-50%, -14px);
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 0;
    border-right: 0;
    box-shadow: var(--shadow);
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .nav-indicator { display: none; }

  .nav-toggle:checked ~ .site-nav {
    max-height: 360px;
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    cursor: pointer;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: transform 0.28s ease, top 0.28s ease, opacity 0.2s ease, background-color 0.2s ease;
  }

  .nav-toggle-label span::before {
    position: absolute;
    left: 0;
    top: -6px;
  }

  .nav-toggle-label span::after {
    position: absolute;
    left: 0;
    top: 6px;
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .hero,
  .page-hero { padding-top: 3.6rem; }

  .hero-copy h1 { max-width: none; }

  .button,
  .button-secondary { width: 100%; }

  .hero-actions { flex-direction: column; }

  .cta-actions {
    flex-direction: column;
  }

  .brand-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scroll-top {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kicker,
  .hero-overlay h1 {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-full .hero-actions .button {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-top,
  .scroll-top.is-visible,
  .scroll-top:hover,
  .scroll-top:focus-visible {
    transition: none;
    transform: none;
  }
}
