/* ===========================
   WIGRO-fin | Main Stylesheet
   =========================== */

:root {
  --navy: #2a2459;
  --navy-dark: #1e1a42;
  --navy-light: #3a3270;
  --blue: #00a7e0;
  --blue-dark: #0090c0;
  --blue-light: #33c1f0;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-400: #ced4da;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --text: #1a1a2e;
  --radius: 5px;
  --radius-sm: 3px;
  --shadow: 0 4px 24px rgba(42,36,89,0.10);
  --shadow-md: 0 8px 40px rgba(42,36,89,0.15);
  --shadow-lg: 0 20px 60px rgba(42,36,89,0.20);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  text-align-last: left;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* === LAYOUT === */
.container {
  width: min(90%, 1200px);
  margin: 0 auto;
}

section { padding: 90px 0; }

/* === HEADER === */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 22px 0;
}

#header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(42,36,89,0.10);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 200px;
}

.logo img {
  height: 46px !important;
  width: auto !important;
  max-width: 180px !important;
  max-height: 46px !important;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease, height var(--transition), max-height var(--transition);
}

#header.scrolled .logo img {
  filter: none;
  height: 36px !important;
  max-height: 36px !important;
}

/* === NAV === */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--white);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

#header.scrolled .main-nav a { color: var(--navy); }

.main-nav a:hover,
.main-nav a.active {
  background: rgba(0,167,224,0.15);
  color: var(--blue);
}

#header.scrolled .main-nav a:hover,
#header.scrolled .main-nav a.active {
  background: rgba(0,167,224,0.12);
  color: var(--blue);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 4px !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,167,224,0.35);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

#header.scrolled .menu-toggle span { background: var(--navy); }

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

/* Nav social mini */
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.85rem;
  transition: all var(--transition);
  padding: 0 !important;
}

#header.scrolled .nav-social a {
  background: rgba(42,36,89,0.08);
  color: var(--navy);
}

.nav-social a:hover {
  background: var(--blue) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* === HERO === */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  animation: kenBurns 50s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.06) translate(-1.5%, 0.8%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42,36,89,0.88) 0%,
    rgba(42,36,89,0.72) 50%,
    rgba(0,167,224,0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  width: 100%;
}

.hero-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,167,224,0.2);
  border: 1px solid rgba(0,167,224,0.4);
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-slogan {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-slogan-rotating {
  display: block;
  position: relative;
  min-height: calc(clamp(1.8rem, 4.5vw, 3.2rem) * 2.6);
  overflow: hidden;
}

.slogan-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s cubic-bezier(0.4,0,0.2,1);
  color: var(--blue-light);
}

.slogan-item.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,167,224,0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-num span { color: var(--blue-light); }

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--white);
  transition: all var(--transition);
}

.hero-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(0,167,224,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.hero-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hero-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-indicator i { font-size: 1.2rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* === SERVICES === */
#sluzby {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 { color: var(--navy); margin-bottom: 1rem; }

.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(42,36,89,0.08), rgba(0,167,224,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  transform: scale(1.05);
}

.service-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(0,167,224,0.1);
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

/* === WHY US === */
#preco-my {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

#preco-my::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,167,224,0.12) 0%, transparent 70%);
  pointer-events: none;
}

#preco-my .section-header h2 { color: var(--white); }
#preco-my .section-header p { color: rgba(255,255,255,0.65); }
#preco-my .section-label { color: var(--blue-light); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(0,167,224,0.4);
  transform: translateY(-4px);
}

.why-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,167,224,0.2);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.why-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.65;
}

.why-check {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,167,224,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  font-size: 0.75rem;
}

.why-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.partners-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.partner-logo {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.partner-logo:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}

.why-cta-box {
  background: rgba(0,167,224,0.1);
  border: 1px solid rgba(0,167,224,0.25);
  border-radius: var(--radius);
  padding: 2rem;
}

.why-cta-box h4 { color: var(--white); margin-bottom: 0.5rem; }
.why-cta-box p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* === ABOUT === */
#o-nas { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text .section-label { margin-bottom: 0.5rem; }
.about-text h2 { color: var(--navy); margin-bottom: 1.5rem; }

.about-text p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-highlight {
  background: linear-gradient(135deg, rgba(42,36,89,0.04), rgba(0,167,224,0.06));
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.7;
}

.expert-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  margin-top: 2rem;
}

.expert-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.expert-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.expert-info h4 { color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.expert-info span { color: var(--blue); font-size: 0.82rem; font-weight: 600; }

.expert-card p {
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

.expert-card p + p { margin-top: 0.75rem; }

.expert-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.expert-team .expert-card {
  margin-top: 0;
}

.expert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(42,36,89,0.08);
  padding: 4px 12px;
  border-radius: 3px;
  margin-top: 1rem;
}

/* About visual */
.about-visual { display: flex; flex-direction: column; gap: 1.5rem; }

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-main:hover img { transform: scale(1.03); }

.about-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-img-sm {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 160px;
  box-shadow: var(--shadow);
}

.about-img-sm img { width: 100%; height: 100%; object-fit: cover; }

.about-founded {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  padding: 1.75rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.about-founded-year {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  flex-shrink: 0;
}

.about-founded p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; }
.about-founded strong { color: var(--white); }

/* === PHILOSOPHY === */
#filozofia {
  background: var(--gray-50);
  padding: 80px 0;
}

.philosophy-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-size: 6rem;
  line-height: 0.5;
  color: var(--blue);
  opacity: 0.2;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 1rem;
}

.philosophy-quote {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.philosophy-sub {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.philosophy-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === FOOTER === */
#footer {
  background: var(--navy-dark);
  color: var(--white);
}

.footer-top {
  padding: 70px 0 50px;
}

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

.footer-brand .logo-wrap img {
  height: 48px;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover { color: var(--blue-light); }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-list li i {
  color: var(--blue);
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
}

.footer-contact-list a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-contact-list a:hover { color: var(--blue-light); }

.footer-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,167,224,0.1);
  border: 1px solid rgba(0,167,224,0.2);
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}

.footer-hours i { color: var(--blue); }

/* Map */
.footer-map {
  padding: 0 0 50px;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  border: 1px solid rgba(255,255,255,0.08);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.85) saturate(0.8);
}

/* Footer legal */
.footer-legal-info {
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.legal-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.legal-box strong { color: rgba(255,255,255,0.6); }

/* Footer bottom */
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-docs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-docs a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-docs a:hover { color: var(--blue-light); }

/* === SUBPAGES === */
.subpage-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, rgba(0,167,224,0.3) 100%);
  padding: 140px 0 80px;
  color: var(--white);
}

.subpage-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.subpage-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

.subpage-content {
  padding: 60px 0 80px;
  background: var(--white);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.65rem; }

/* Construction page */
.construction-wrap {
  text-align: center;
  padding: 60px 0;
  max-width: 500px;
  margin: 0 auto;
}

.construction-icon {
  font-size: 4rem;
  color: var(--blue);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.construction-wrap h2 { color: var(--navy); margin-bottom: 1rem; }
.construction-wrap p { color: var(--gray-600); margin-bottom: 2rem; line-height: 1.7; }

/* Kariéra page */
.kariera-wrap {
  text-align: center;
  padding: 60px 0;
  max-width: 740px;
  margin: 0 auto;
}
.kariera-icon {
  font-size: 3.5rem;
  color: var(--blue);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}
.kariera-soon {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
.kariera-contact-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
}
.kariera-contact-box p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.kariera-email {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--navy);
  color: var(--white) !important;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background var(--transition);
}
.kariera-email:hover { background: var(--blue); }

/* Doc viewer */
.doc-viewer {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.doc-viewer iframe {
  width: 100%;
  height: 800px;
  border: none;
  display: block;
}

.doc-link-list { display: flex; flex-direction: column; gap: 1rem; }

.doc-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  transition: all var(--transition);
}

.doc-link-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,167,224,0.12);
  transform: translateX(4px);
}

.doc-link-item i {
  font-size: 1.5rem;
  color: var(--blue);
  flex-shrink: 0;
}

.doc-link-item .doc-info { flex: 1; }
.doc-link-item .doc-info strong { display: block; color: var(--navy); font-size: 0.95rem; margin-bottom: 2px; }
.doc-link-item .doc-info span { font-size: 0.82rem; color: var(--gray-600); }

.doc-link-item .btn-sm {
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 3px;
  background: var(--navy);
  color: var(--white);
  white-space: nowrap;
  transition: all var(--transition);
  font-weight: 600;
}

.doc-link-item .btn-sm:hover {
  background: var(--blue);
  color: var(--white);
}

/* News widget */
.news-widget-wrap {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 400px;
}

/* === LANGUAGE SWITCH === */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 0.35rem;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.5);
  background: transparent;
  transition: all var(--transition);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

#header.scrolled .lang-btn {
  border-color: rgba(42,36,89,0.18);
  color: var(--gray-600);
}

.lang-btn:hover {
  border-color: rgba(255,255,255,0.65);
  color: var(--white) !important;
  background: rgba(255,255,255,0.1);
}

#header.scrolled .lang-btn:hover {
  border-color: var(--navy);
  color: var(--navy) !important;
  background: rgba(42,36,89,0.05);
}

.lang-btn.active {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: var(--white) !important;
}

/* === KLIENTSKA ZONA === */

.cz-wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 10px 0 20px;
}

.cz-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 4px 32px rgba(42,36,89,0.11), 0 1px 4px rgba(42,36,89,0.06);
  overflow: hidden;
  position: relative;
}

/* Top accent line */
.cz-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
}

/* ── Segmented tabs ──────────────────────────────────────── */

.cz-tabs {
  display: flex;
  padding: 18px 20px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.cz-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  background: transparent;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease;
}

.cz-tab:hover { color: var(--navy); }

.cz-tab.active {
  color: var(--navy);
  border-bottom-color: var(--blue);
}

.cz-tab i {
  font-size: 0.8rem;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.cz-tab.active i {
  opacity: 1;
  color: var(--blue);
}

/* ── Panels ──────────────────────────────────────────────── */

.cz-panel {
  display: none;
  padding: 2.25rem 2.5rem 2.5rem;
}

.cz-panel.active { display: block; }

/* ── Form elements ───────────────────────────────────────── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: 0.015em;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--gray-400);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,167,224,0.13);
}

.form-group input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

.form-group input.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}

/* Password wrapper */
.input-wrap {
  position: relative;
  display: flex;
}

.input-wrap input { padding-right: 44px; }

.toggle-pw {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  font-size: 0.82rem;
  transition: color var(--transition);
  padding: 0;
}

.toggle-pw:hover { color: var(--navy); }

/* ── Form message — shown only after user action ─────────── */

.form-message {
  display: none;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.form-message.error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fdf0ef;
  border: 1px solid #e8c4c0;
  color: #8e2418;
}

.form-message.error::before {
  content: '\f057';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Submit button ───────────────────────────────────────── */

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 0.92rem;
  position: relative;
}

.btn-loader { display: none; }

.btn.loading .btn-label { opacity: 0; }

.btn.loading .btn-loader {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}

/* ── Collapsible info (login) ────────────────────────────── */

.cz-info-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--gray-600);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 500;
  transition: color var(--transition);
}

.cz-info-toggle:hover { color: var(--navy); }

.cz-info-toggle i {
  font-size: 0.68rem;
  transition: transform 0.2s ease;
}

.cz-info-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.cz-info-panel {
  margin-top: 0.6rem;
  padding: 10px 13px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── Registration success ────────────────────────────────── */

.reg-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
}

.reg-success.visible { display: block; }

.reg-success .success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(39,174,96,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: #27ae60;
}

.reg-success h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.reg-success p {
  color: var(--gray-600);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ── Honeypot ────────────────────────────────────────────── */

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

.req { color: #c0392b; font-weight: 700; margin-left: 1px; }

/* === ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .expert-team {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual { order: -1; }

  .hero-content .container {
    grid-template-columns: 1fr;
  }

  .hero-visual { display: none; }

  .why-bottom { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 999;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    color: var(--white) !important;
    font-size: 1.1rem;
    padding: 12px 24px;
  }

  .nav-social { display: none; }

  .menu-toggle { display: flex; z-index: 1001; }
  #header.scrolled .menu-toggle span { background: var(--navy); }
  .main-nav.open ~ .menu-toggle span { background: var(--white); }

  .hero-stats {
    gap: 1.25rem;
    flex-wrap: wrap;
  }

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

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-docs { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .about-img-row { grid-template-columns: 1fr; }

  .cz-panel { padding: 1.5rem 1.5rem 2rem; }
}

@media (max-width: 480px) {
  .hero-stats { display: none; }
  .about-img-main { height: 220px; }
  .about-img-sm { height: 130px; }
}
