:root {
  color-scheme: dark;
  --bg: #05070d;
  --panel: rgba(14, 22, 36, 0.82);
  --panel-2: rgba(22, 34, 55, 0.78);
  --text: #f2f7ff;
  --muted: #9eb0c9;
  --line: rgba(112, 161, 255, 0.22);
  --blue: #4f8cff;
  --cyan: #42e8ff;
  --green: #73ff9d;
  --orange: #ffad42;
  --violet: #7d55ff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.48);
}

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

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(120deg, rgba(79, 140, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 82% 10%, rgba(66, 232, 255, 0.14), transparent 26rem),
    radial-gradient(circle at 18% 80%, rgba(115, 255, 157, 0.08), transparent 24rem),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(79, 140, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 140, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle, rgba(66, 232, 255, 0.28) 1px, transparent 1.5px);
  background-size: 64px 64px, 64px 64px, 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.18));
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(66, 232, 255, 0.55);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(79, 140, 255, 0.35), rgba(115, 255, 157, 0.1));
  color: var(--green);
  font-weight: 800;
  box-shadow: 0 0 28px rgba(66, 232, 255, 0.18);
}

.brand strong,
.brand small { display: block; }
.brand strong { font-size: 1rem; }
.brand small { margin-top: 0.1rem; color: var(--muted); font-size: 0.78rem; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(7, 11, 18, 0.68);
}

.nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(79, 140, 255, 0.18);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.8rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 3rem;
  min-height: calc(100vh - 78px);
  padding-top: 2.5rem;
}

.page-hero {
  max-width: 980px;
  margin-left: max(1rem, calc((100% - 1180px) / 2));
  margin-right: auto;
  padding-bottom: 2.2rem;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 180px);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 860px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 5.7vw, 5.6rem);
  line-height: 0.96;
}

h1 span,
h2 span,
.gallery-card h2 {
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.05;
}

h3 { margin-bottom: 0.7rem; font-size: 1.15rem; }

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: #06110c;
  box-shadow: 0 16px 42px rgba(115, 255, 157, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.trust-row span {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.85rem;
}

.hero-card-showcase,
.hero-visual img,
.split-panel img,
.gallery-card img {
  border: 1px solid rgba(79, 140, 255, 0.42);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-card-showcase {
  padding: 1rem;
  background: linear-gradient(145deg, rgba(10, 16, 28, 0.92), rgba(20, 33, 54, 0.78));
}

.hero-card-showcase img {
  max-height: none;
  border-radius: 8px;
  border: 0;
  box-shadow: none;
}

.color-story {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(115, 255, 157, 0.12), rgba(66, 232, 255, 0.12), rgba(255, 173, 66, 0.12));
}

.color-story span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.color-story strong {
  color: var(--text);
}

.color-story p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-visual img {
  max-height: 680px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.intro-band,
.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem;
  background: var(--panel);
}

.intro-band p,
.split-panel p,
.service-card p,
.steps p,
.gallery-card p,
.contact-card small {
  color: var(--muted);
  line-height: 1.65;
}

.teaser-grid,
.service-grid,
.steps,
.solution-grid,
.pricing-grid,
.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.teaser-card,
.service-card,
.steps article,
.solution-grid article,
.pricing-grid article,
.customer-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.teaser-card,
.service-card,
.steps article,
.solution-grid article,
.pricing-grid article,
.customer-grid article,
.contact-card {
  padding: 1.4rem;
}

.teaser-card span,
.steps span,
.icon {
  color: var(--cyan);
  font-weight: 800;
}

.teaser-card h3,
.service-card h3 {
  color: var(--text);
}

.teaser-card p { color: var(--muted); line-height: 1.58; }

.solution-grid article,
.pricing-grid article,
.customer-grid article {
  min-height: 210px;
}

.solution-grid h3,
.customer-grid h3 {
  color: var(--text);
}

.solution-grid p,
.customer-grid p,
.pricing-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.pricing-grid article {
  background:
    linear-gradient(145deg, rgba(79, 140, 255, 0.1), rgba(115, 255, 157, 0.045)),
    var(--panel);
}

.pricing-grid span {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pricing-grid h2 {
  font-size: 1.45rem;
}

.pricing-grid strong {
  display: block;
  margin-top: 1rem;
  color: var(--cyan);
}

.icon {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 34px;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  background: rgba(79, 140, 255, 0.14);
}

.check-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 1.8rem;
  color: var(--muted);
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  padding-top: 2rem;
  align-items: start;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.gallery-card.large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
}

.shot-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.shot-link::after {
  content: "Kliknutím zvětšit";
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.76);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.shot-link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card img {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: top;
  box-shadow: none;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.shot-link:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.gallery-card.large img {
  height: 310px;
  object-fit: contain;
  background: #03050a;
}

.gallery-card.compact-shot img {
  height: 260px;
  object-fit: contain;
  background: #03050a;
}

.gallery-card.tall-shot img {
  height: 340px;
  object-fit: contain;
  background: #03050a;
}

.text-case {
  display: grid;
}

.case-visual {
  min-height: 300px;
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: 1.4rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 45%, rgba(79, 140, 255, 0.24), transparent 11rem),
    linear-gradient(145deg, rgba(12, 20, 33, 0.98), rgba(3, 5, 10, 0.98));
}

.case-visual span {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.case-visual strong {
  font-size: 3.2rem;
  line-height: 1;
  color: var(--text);
}

.case-visual small {
  max-width: 280px;
  color: var(--muted);
  line-height: 1.5;
}

.energy-case::after {
  content: "";
  width: 72%;
  max-width: 320px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0 68%, rgba(255,255,255,0.12) 68% 100%);
}

.gallery-card div {
  padding: 1.3rem;
}

.gallery-card h2 {
  font-size: 1.5rem;
}

.contact-card {
  display: grid;
  gap: 0.8rem;
}

.contact-card.big {
  padding: 2rem;
}

.contact-card span {
  color: var(--muted);
}

.contact-card a {
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer a { color: var(--text); }

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .intro-band,
  .split-panel,
  .contact-hero,
  .gallery-card.large {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .teaser-grid,
  .steps,
  .solution-grid,
  .pricing-grid,
  .customer-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card.large {
    grid-column: auto;
  }

  .gallery-card.large {
    display: block;
  }
}

@media (max-width: 640px) {
  .section,
  .site-header,
  .footer {
    width: min(100% - 1rem, 1180px);
  }

  .section {
    padding: 3.2rem 0;
  }

  h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .teaser-grid,
  .steps,
  .solution-grid,
  .pricing-grid,
  .customer-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .intro-band,
  .split-panel {
    padding: 1.2rem;
  }

  .gallery-card img,
  .gallery-card.large img {
    height: 260px;
  }

  .gallery-card.compact-shot img,
  .gallery-card.tall-shot img,
  .case-visual {
    height: 260px;
    min-height: 260px;
  }

  .footer {
    flex-direction: column;
  }
}
