:root {
  --ink: #0f1c26;
  --ink-soft: #243242;
  --muted: #5b6775;
  --brand: #0b7285;
  --brand-strong: #095e6b;
  --accent: #ff8b3d;
  --accent-soft: #ffe4cc;
  --surface: #ffffff;
  --surface-2: #f2f6f9;
  --stroke: rgba(15, 28, 38, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 28, 38, 0.08);
  --shadow: 0 20px 45px rgba(15, 28, 38, 0.12);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: #eef2f5;
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

h1, h2, h3, .brand-name {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

h1 span,
h2 span {
  display: block;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

html[lang="sk"] body .lang-en {
  display: none;
}

html[lang="en"] body .lang-sk {
  display: none;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #f7f9fb 0%, #edf2f6 100%);
}

.backdrop .orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
}

.backdrop .orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(11, 114, 133, 0.35), rgba(11, 114, 133, 0) 70%);
  top: -180px;
  left: -160px;
}

.backdrop .orb-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 139, 61, 0.3), rgba(255, 139, 61, 0) 70%);
  bottom: -220px;
  right: -140px;
}

.backdrop .orb-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 30% 30%, rgba(46, 143, 185, 0.25), rgba(46, 143, 185, 0) 70%);
  top: 18%;
  right: 12%;
}

.backdrop .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 28, 38, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 28, 38, 0.05) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.3;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(15, 28, 38, 0.08);
  z-index: 10;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0.6rem;
  transition: padding 0.2s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
}

.brand img {
  height: 44px;
  width: auto;
  transition: height 0.2s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  transition: opacity 0.2s ease;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 28, 38, 0.14);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.nav-toggle-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle-lines .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-lines .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-lines .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 114, 133, 0.25);
}

.btn.primary:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn.secondary:hover {
  background: rgba(11, 114, 133, 0.1);
  transform: translateY(-1px);
}

.btn.ghost {
  background: rgba(15, 28, 38, 0.08);
  color: var(--ink);
}

.btn:focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  padding: 5rem 0 4.5rem;
  background: linear-gradient(120deg, rgba(11, 114, 133, 0.08) 0%, rgba(255, 139, 61, 0.12) 100%);
  border-bottom: 1px solid rgba(15, 28, 38, 0.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.6rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  line-height: 1.1;
  margin-top: 0.5rem;
}

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

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-badges {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--stroke);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.checklist {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.checklist li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--brand);
  font-weight: 700;
}

.mini-panel {
  margin-top: 1.4rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(11, 114, 133, 0.08);
  color: var(--ink-soft);
}

.section {
  padding: 4.5rem 0;
  scroll-margin-top: 120px;
}

.section.alt {
  background: var(--surface-2);
  border-top: 1px solid rgba(15, 28, 38, 0.06);
  border-bottom: 1px solid rgba(15, 28, 38, 0.06);
}

.section-head {
  max-width: 720px;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2.4rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
}

.section-head h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  line-height: 1.2;
}

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

.services-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.services-grid .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.services-grid .card > span {
  display: block;
  color: var(--ink-soft);
  font-weight: 500;
}

.pillars {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pillar h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

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

.logo-panels {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.cert-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.cert-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #fff;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  display: block;
  cursor: pointer;
}

.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cert-thumb:hover img,
.cert-thumb:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

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

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 38, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
}

.lightbox.hidden {
  display: none;
}

.lightbox-content {
  max-width: min(960px, 90vw);
  max-height: 90vh;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  align-items: center;
  justify-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lightbox-content figcaption {
  color: #e8edf2;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-btn:hover {
  transform: translateY(-1px);
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.lightbox-prev,
.lightbox-next {
  margin: 0 0.5rem;
}

.lightbox-prev {
  position: absolute;
  left: 1rem;
}

.lightbox-next {
  position: absolute;
  right: 1rem;
}

.logo-card {
  text-align: center;
  padding: 1.6rem 1.8rem;
}

.logo-card.supporting {
  grid-column: 1 / -1;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  justify-items: center;
  margin-top: 1.2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.logo-row .logo-img {
  height: clamp(80px, 8vw, 140px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(10%);
  opacity: 0.9;
}

.logo-row .logo-boost {
  height: clamp(120px, 11vw, 180px);
}

.logo-row .logo-double {
  height: clamp(180px, 18vw, 260px);
}

.contact {
  background: var(--surface-2);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contact-items {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
}

.contact-item {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  display: grid;
  gap: 0.4rem;
}

.contact-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(11, 114, 133, 0.12), rgba(255, 139, 61, 0.18));
  border: 1px solid rgba(11, 114, 133, 0.2);
}

.contact-card h3 {
  font-size: 1.35rem;
}

.contact-card p {
  color: var(--ink-soft);
}

.contact-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.meeting-embed {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.meeting-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.meeting-link {
  width: 100%;
  justify-content: center;
}

.site-footer {
  background: #0f1720;
  color: #c6d0db;
  padding: 2.5rem 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 1.1rem;
}

.footer-note {
  color: #aeb7c2;
  margin-top: 0.4rem;
}

.footer-meta {
  color: #aeb7c2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #e8edf2;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.25rem 0.55rem;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.consent-banner {
  position: fixed;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 28, 38, 0.12);
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.consent-banner.hidden {
  display: none;
}

.consent-text {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-soft);
}

.consent-title {
  font-size: 1rem;
  color: var(--ink);
}

.consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

html.js-ready .stagger > * {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: calc(var(--stagger, 0) * 80ms);
}

@media (max-width: 900px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.85rem 0.7rem;
  }

  .brand img {
    height: 40px;
  }

  .brand-subtitle {
    font-size: 0.78rem;
  }

  .nav-actions {
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 0.6rem;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 28, 38, 0.08);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
  }

  html.js-ready .site-header:not(.nav-open) .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .site-header.is-compact .nav-wrap {
    padding: 0.55rem 0;
  }

  .site-header.is-compact .brand img {
    height: 36px;
  }

  .site-header.is-compact .brand-subtitle {
    opacity: 0;
    height: 0;
    overflow: hidden;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }
}

@media (max-width: 700px) {
  .brand {
    padding-left: 3px;
  }

  .nav-actions {
    padding: 0.8rem;
    gap: 0.8rem;
  }

  .nav-cta .btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.9rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-row {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .consent-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .consent-actions {
    width: 100%;
  }

  .consent-actions .btn {
    flex: 1;
  }

  .lightbox-content img {
    max-height: 70vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js-ready .reveal,
  html.js-ready .stagger > * {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .btn {
    transition: none;
  }
}
