/* ─── Fonts: Space Grotesk via Google Fonts (link v HTML) ── */

/* ─── Base ──────────────────────────────────────────────── */
:root {
  --navy:        #002074;
  --navy-mid:    #002a96;
  --cyan:        #29abe2;
  --cyan-dark:   #1a8bc0;
  --bg:          #ffffff;
  --bg-light:    #e6e9f2;
  --bg-dark:     #0b1d3a;
  --border:      #e2e6ee;
  --text:        #0b1d3a;
  --text-muted:  #6b7a99;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 120%; overflow-x: hidden; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
}

.brand-text,
.nav-links a,
.section-badge,
.btn-cyan,
.btn-outline-navy,
.service-num,
.service-name,
.footer-link,
.footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
}

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 3px; }

/* ─── Navbar ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  padding: 0;
  transition: background .4s, box-shadow .4s;
}
#navbar.scrolled,
#navbar:has(.mobile-menu.open) {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(11,29,58,.3);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 2rem;
  max-width: 80%;
  margin: 0 auto;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.brand-icon {
  width: 38px; height: 38px;
  background: var(--cyan);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 900;
  flex-shrink: 0;
}
.brand-text {
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .01em;
  line-height: 1.2;
}
.brand-text span { display: block; font-weight: 400; font-size: .72rem; color: #fff; opacity: .85; letter-spacing: .06em; text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .5rem .9rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.lang-switcher {
  position: relative;
  margin-left: .5rem;
  display: flex;
  align-items: center;
}
.nav-links .lang {
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 4px;
  padding: .4rem .7rem;
  line-height: 1;
  transform: translateY(1px);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.nav-links .lang:hover,
.nav-links .lang.open { border-color: #fff; background: rgba(255,255,255,.07); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  overflow: hidden;
  min-width: 70px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  z-index: 100;
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: block;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .55rem 1rem;
  transition: background .2s, color .2s;
}
.lang-dropdown a:hover {
  background: rgba(255,255,255,.08);
  color: var(--cyan);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.mobile-menu {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: .9rem 2rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-lang {
  display: flex;
  gap: .5rem;
  padding: .9rem 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-lang-btn {
  display: inline-block !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-bottom: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 4px;
  padding: .3rem .75rem !important;
  font-size: .78rem !important;
  font-weight: 700;
  color: rgba(255,255,255,.6) !important;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.mobile-lang-btn.active,
.mobile-lang-btn:hover {
  color: var(--cyan) !important;
  border-color: var(--cyan) !important;
}

/* ─── Hero ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  right: 0;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: right bottom;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,20,70,.45);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11,29,58,.92) 0%,
    rgba(11,29,58,.80) 45%,
    rgba(11,29,58,.25) 75%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 80%;
  margin: 0 auto;
  padding: 5rem 2rem;
  width: 100%;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.5px;
  color: #fff;
  max-width: 560px;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: 1rem;
  color: #fff;
  max-width: 400px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.btn-cyan {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--cyan);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 100px;
  padding: .85rem 2rem;
  cursor: pointer;
  transition: all .25s;
}
.btn-cyan:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,200,224,.3);
}
.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--navy);
  border-radius: 100px;
  padding: .7rem 2rem;
  cursor: pointer;
  transition: all .25s;
}
.btn-outline-navy:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── Section commons ────────────────────────────────────── */
section { padding: 5rem 0; }
.section-inner {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .3rem 1rem;
  margin-bottom: 1.5rem;
}
.section-title-lg {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.3px;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto 1.5rem;
}
.section-desc-center {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}

/* ─── About section ──────────────────────────────────────── */
#about {
  background: var(--bg);
  text-align: center;
}

/* ─── Services section ───────────────────────────────────── */
#services {
  background: var(--bg);
  padding-bottom: 5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.service-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  transition: background .3s;
  text-decoration: none;
  color: inherit;
  border-radius: 0;
  background: #e6e9f2;
}
.service-card:hover { background: var(--cyan); }
.service-num {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.service-card:hover .service-num { color: rgba(11,29,58,.55); }
.service-name {
  font-size: .88rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.1px;
  line-height: 1.35;
  text-transform: uppercase;
}
.service-card:hover .service-name { color: var(--navy); }
.service-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: var(--text);
  transition: transform .2s;
}
.service-card:hover .service-arrow { color: var(--navy); transform: translateX(4px); }

/* ─── Goal section ───────────────────────────────────────── */
#goal {
  background: var(--bg);
  text-align: center;
  padding-bottom: 0.5rem;
}
.map-wrap {
  margin-top: 3rem;
  position: relative;
  display: inline-block;
}
.map-wrap svg { max-width: 380px; width: 100%; }
.map-dot-wrap {
  position: absolute;
}
.map-pulse {
  width: 10px; height: 10px;
  background: #d7e003;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 16px 6px rgba(215,224,3,.5);
}
.map-pulse::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(215,224,3,.5);
  animation: mapring 2s ease-out infinite;
}
@keyframes mapring {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* ─── Stats bar ──────────────────────────────────────────── */
#stats {
  background: var(--navy);
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 80%;
  margin: 0 auto;
  padding: 0 2rem;
}
.stat-cell {
  text-align: center;
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-cell:last-child { border-right: none; }
.stat-val {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-val .c { color: var(--cyan); }
.stat-lbl {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: .4rem;
  font-weight: 500;
}

/* ─── Projects slider ────────────────────────────────────── */
#projects {
  background: var(--bg);
  padding: 5rem 0;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.projects-slider-wrap {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  border-radius: 0;
}
.projects-slider-wrap:active { cursor: grabbing; }
.projects-slider {
  display: flex;
  gap: 1.25rem;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.slider-item {
  position: relative;
  flex: 0 0 432px;
  height: 288px;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  background: #ccc;
}
.slider-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11,29,58,.2);
}
.slider-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s, opacity .3s;
  opacity: .9;
}
.slider-item:hover img { transform: scale(1.05); opacity: 1; }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,.85) 0%, transparent 55%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}
.project-tag { display: none; }
.project-name { font-size: .95rem; font-weight: 700; color: #fff; }

/* Slider arrows */
.slider-arrows { display: flex; gap: .5rem; }
.slider-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  transition: all .25s;
}
.slider-arrow:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.slider-arrow:disabled { opacity: .3; pointer-events: none; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0;
}
.slider-dot.active {
  background: var(--cyan);
  transform: scale(1.3);
}

/* ─── Lightbox ───────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
#lightbox.active { opacity: 1; pointer-events: all; }
#lightboxBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,29,58,.95);
  backdrop-filter: blur(6px);
}
#lightboxContent {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1000px);
  width: 100%;
  transform: scale(.93);
  transition: transform .3s cubic-bezier(.25,.46,.45,.94);
}
#lightbox.active #lightboxContent { transform: scale(1); }
#lightboxImg {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
#lightboxCaption {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
}
#lightboxTag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cyan);
  border-radius: 100px;
  padding: .25rem .75rem;
}
#lightboxTitle { font-size: 1rem; font-weight: 700; color: #fff; }
#lightboxClose, #lightboxPrev, #lightboxNext {
  position: fixed;
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
}
#lightboxClose { top: 1.5rem; right: 1.5rem; }
#lightboxPrev  { top: 50%; left: 1.5rem;  transform: translateY(-50%); }
#lightboxNext  { top: 50%; right: 1.5rem; transform: translateY(-50%); }
#lightboxClose:hover { background: rgba(255,255,255,.25); }
#lightboxPrev:hover, #lightboxNext:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }

/* ─── Contact section ────────────────────────────────────── */
#contact {
  background: var(--bg-light);
  text-align: center;
  padding: 5rem 0;
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 3.5rem 0 0;
}
.footer-inner {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  grid-template-rows: auto auto;
  gap: 2rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Grid umístění */
.footer-col-brand  { grid-column: 1; grid-row: 1; }
.footer-col-nav    { grid-column: 2; grid-row: 1 / 3; }
.footer-col-address{ grid-column: 3; grid-row: 1 / 3; }
.footer-col-logo   { grid-column: 1; grid-row: 2; align-self: end; }

.footer-brand-text {
  font-size: .88rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.75;
  margin: 0;
}

/* Střední sloupec — navigace */
.footer-col-nav {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.footer-link {
  display: block;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .45rem 0;
  transition: color .2s;
}
.footer-link:hover { color: var(--cyan); }

/* Pravý sloupec — adresa */
.footer-address {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  line-height: 1.9;
  font-style: normal;
}

/* Spodní lišta */
.footer-bottom {
  padding: 1.25rem 0;
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  text-align: right;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .footer-col-brand,
  .footer-col-nav,
  .footer-col-address,
  .footer-col-logo {
    grid-column: 1;
    grid-row: auto;
  }
  .footer-bottom { text-align: center; }
  #goal { padding: 0.5rem 0 0; }
  #goal .section-badge { margin-top: 1.5rem; }
  #goal .map-wrap { max-width: none !important; width: calc(100% + 4rem); margin-left: -2rem; transform: translateX(-10%); }
  #goal .map-wrap img { width: 100%; display: block; }
}

/* ─── Reveal animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .18s; }
.reveal-delay-2 { transition-delay: .36s; }
.reveal-delay-3 { transition-delay: .54s; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (min-width: 1101px) and (max-width: 1499px) {
  .navbar-inner,
  .hero-content,
  .section-inner,
  .stats-grid,
  .footer-inner { max-width: 90%; }
}
@media (max-width: 1100px) {
  .navbar-inner,
  .hero-content,
  .section-inner,
  .stats-grid,
  .footer-inner { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--border); }
  .service-card:last-child { border-bottom: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .slider-item { flex: 0 0 336px; height: 240px; }
  section { padding: 3.5rem 0; }
}

/* ─── Hero natural (onas) ────────────────────────────────── */
.hero-natural {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  min-height: unset !important;
}
.hero-natural .hero-natural-img {
  width: 100%;
  display: block;
}
.hero-natural::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,20,70,.45);
}
.hero-natural .hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES PAGE — extra components
═══════════════════════════════════════════════════════════ */

/* ─── Geo boxes (CZ / EU / UA) ───────────────────────────── */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 3rem;
}
.geo-card {
  background: var(--bg-light);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  transition: background .3s;
}
.geo-card:hover { background: var(--cyan); }
.geo-card:hover .geo-label { color: var(--navy); }
.geo-card:hover .geo-desc  { color: rgba(11,29,58,.55); }
.geo-label {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.5px;
  line-height: 1;
}
.geo-desc {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Services list ──────────────────────────────────────── */
.svcs-list {
  margin-top: 2.5rem;
}
.svc-row {
  border-bottom: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: color .2s;
}
.svc-row:first-child { border-top: 1px solid var(--border); }
.svc-row:hover { color: var(--cyan); }
.svc-row:hover .svc-arrow { transform: translateX(6px); color: var(--cyan); }
.svc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  gap: 1rem;
  transition: padding-left .2s;
}
.svc-row:hover .svc-header { padding-left: .5rem; }
.svc-name {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.svc-arrow {
  font-size: 1.1rem;
  transition: transform .2s, color .2s, opacity .2s;
  flex-shrink: 0;
}
.svc-row.open .svc-arrow { opacity: 0; }
.svc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,1,.36,1);
}
.svc-row.open .svc-body { max-height: 300px; }
.svc-body p {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding: 0 0 1.4rem;
  margin: 0;
}

/* ─── Value boxes (01 / 02 / 03) ────────────────────────── */
#values {
  background: var(--bg);
  padding: 5rem 0;
}
/* Menší mezery kolem SPOLUPRÁCE — jen desktop */
@media (min-width: 769px) {
  #collab { padding: 0 0 1.25rem; }
  #values { padding: 1.25rem 0 5rem; }
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 2.5rem;
}
.value-card {
  background: var(--bg-light);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  transition: background .3s;
}
.value-card:hover { background: var(--cyan); }
.value-card:hover .value-num { color: rgba(11,29,58,.55); }
.value-card:hover .value-title { color: var(--navy); }
.value-num {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.value-title {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.4;
}

/* ─── Team section ───────────────────────────────────────── */
#team {
  background: var(--bg);
  padding: 5rem 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 2.5rem;
}
.team-card {
  position: relative;
  overflow: hidden;
}
.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .45s;
  background: var(--bg-light);
}
.team-card:hover .team-photo { transform: scale(1.04); }
.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,20,116,.92) 0%, transparent 100%);
  padding: 3rem 1.5rem 1.5rem;
}
.team-name {
  font-size: .88rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.team-role {
  font-size: .75rem;
  font-weight: 500;
  color: var(--cyan);
  margin-top: .3rem;
}

/* ─── Responsive — onas hero ────────────────────────────── */
@media (max-width: 768px) {
  .hero-natural .hero-title { font-size: 1.05rem !important; }
  .hero-natural .hero-content { padding: 90px 1.5rem 2rem !important; justify-content: flex-start !important; }
  .hero-natural { min-height: 75vw !important; }
  .hero-natural .hero-natural-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
  .geo-about-wrap { display: flex; flex-direction: column; }
  .geo-about-wrap #geo   { order: 2; padding: 0 0 3rem !important; }
  .geo-about-wrap #about { order: 1; padding-bottom: 0 !important; }
  #services { padding-bottom: 0 !important; }
  #projects { padding-bottom: 0 !important; }
  #collab { padding-bottom: 0 !important; }
  #values { padding-bottom: 0 !important; }
}

/* ─── Responsive — services page ────────────────────────── */
@media (max-width: 1100px) {
  .geo-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════ */

/* Hero title — používá hero-natural strukturu (stejně jako onas) */
.contact-hero-title {
  font-size: clamp(1.6rem, 3.6vw, 2.72rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  margin: 0;
}

/* Info + mapa */
#contact-info {
  background: var(--bg);
  padding: 4rem 0 2rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.contact-info-col {
  padding-right: 1rem;
}
.contact-lead {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 .75rem;
}
.contact-sublead {
  font-size: .85rem;
  color: var(--text);
  margin: 0 0 1.75rem;
  font-weight: 500;
}
.contact-address {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.65;
  font-style: normal;
  margin: 0 0 1.75rem;
}
.contact-map-col {
  display: flex;
  justify-content: center;
}
.contact-map-col .map-wrap {
  margin: 0;
  width: 100%;
  max-width: 560px;
}
.contact-map-col .map-wrap img { width: 100%; display: block; }

/* Formulář */
#contact-form-section {
  background: var(--bg);
  padding: 2rem 0 5rem;
}
.contact-form-wrap {
  background: var(--bg-light);
  padding: 3rem 3rem;
  border-radius: 4px;
}
.contact-form-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin: 0 0 2rem;
  letter-spacing: -.2px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  max-width: 100%;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,.55);
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem;
  color: var(--text);
  resize: vertical;
  transition: border-color .2s, background .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  opacity: .75;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--cyan);
}
.contact-form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* Honeypot — skryté, ale ne display:none (roboti to odhalí) */
.contact-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  tab-index: -1;
}

/* Status hláška */
.contact-form-status {
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  margin-top: .75rem;
  min-height: 1.2em;
  line-height: 1.5;
}
.contact-form-status.success { color: #1a8f3a; }
.contact-form-status.error   { color: #c23b3b; }

/* Contact — responsive */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info-col { padding-right: 0; text-align: center; }
  .contact-map-col .map-wrap { max-width: 420px; }
  .contact-form-wrap { padding: 2rem 1.25rem; }
}
@media (max-width: 768px) {
  .contact-hero-title { font-size: 1.6rem !important; }
}

/* ══════════════════════════════════════════════════════════
   COOKIE LIŠTA
══════════════════════════════════════════════════════════ */
#cookieBar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
#cookieBar.visible { transform: translateY(0); }

#cookieBar p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  flex: 1;
}
#cookieBar p a {
  color: var(--cyan);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}
.cookie-accept {
  background: var(--cyan);
  color: var(--navy);
  border: none;
  border-radius: 100px;
  padding: .5rem 1.4rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: opacity .2s;
}
.cookie-accept:hover { opacity: .85; }
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  padding: .5rem 1.2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.cookie-decline:hover { border-color: rgba(255,255,255,.7); color: #fff; }

@media (max-width: 600px) {
  #cookieBar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .cookie-btns { width: 100%; }
  .cookie-accept, .cookie-decline { flex: 1; text-align: center; }
}

/* ══ UA language — hero title 25 % smaller ══ */
html[lang="uk"] .hero-title {
  font-size: clamp(1.8rem, 4.1vw, 3rem);
}
@media (max-width: 600px) {
  html[lang="uk"] .hero-title { font-size: 1.5rem; }
}
