@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* Czechia theme — from the provided style guide */
  --color-primary: #0D1B3D;      /* Navy */
  --color-primary-dark: #071026; /* Deep Navy */
  --color-secondary: #C41230;    /* Czechia Red (secondary) */
  --color-accent: #D7141A;       /* Czechia Red */
  --color-accent-dark: #9E0E13;  /* Deep Red */
  --color-gold: #C79A3E;         /* Bohemian Gold — signature accent */
  --color-white: #FFFFFF;
  --color-bg: #F1F3F7;
  --color-card: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #1E293B;
  --color-border: #DCE3F0;

  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  --gradient-soft: linear-gradient(135deg, #C41230 0%, #0D1B3D 55%, #071026 100%);
  --gradient-gold: linear-gradient(135deg, #E4C577 0%, #C79A3E 100%);
  --gradient-bg: linear-gradient(180deg, #F1F3F7 0%, #EDF1FA 100%);

  --shadow-soft: 0 8px 30px rgba(13, 27, 61, 0.07);
  --shadow-medium: 0 14px 40px rgba(13, 27, 61, 0.14);
  --shadow-glass: 0 8px 32px rgba(13, 27, 61, 0.09);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --container-width: 1240px;
  --header-height: 128px;
  --topbar-height: 0px;
}

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

html { scroll-behavior: smooth; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.01em;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(ellipse 65% 42% at 8% 6%, rgba(196, 18, 48, 0.14), transparent 68%),
    radial-gradient(ellipse 54% 38% at 94% 25%, rgba(199, 154, 62, 0.13), transparent 70%),
    radial-gradient(ellipse 55% 40% at 48% 96%, rgba(200, 16, 46, 0.09), transparent 70%),
    var(--gradient-bg);
  background-size: 150% 150%;
  background-attachment: fixed;
  animation: ambientBackground 18s ease-in-out infinite alternate;
  line-height: 1.6;
  overflow-x: hidden;
}

/* A quiet texture gives the shared page background more depth without
   competing with readable content and cards. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image: radial-gradient(rgba(10, 79, 191, 0.18) 1px, transparent 1px);
  background-size: 26px 26px;
  animation: ambientPattern 20s linear infinite;
}

body > * { position: relative; z-index: 1; }

@keyframes ambientPattern {
  from { background-position: 0 0; }
  to { background-position: 52px 52px; }
}

@keyframes ambientBackground {
  from { background-position: 0% 0%, 100% 20%, 40% 100%, 0% 0%; }
  to { background-position: 18% 12%, 82% 4%, 56% 84%, 0% 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 44px 0; }
.section-tight { padding: 30px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(30, 136, 229, 0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 640px;
  line-height: 1.7;
}

.section-header { margin-bottom: 26px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 27, 61, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(13, 27, 61, 0.4); }

.btn-outline {
  background: #fff;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent); color: #fff; transform: translateY(-3px); }

.btn-solid {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 27, 61, 0.28);
}
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(13, 27, 61, 0.38); }

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
}

.ceo-block { grid-template-columns: 340px 1fr; }
@media (max-width: 768px) {
  .ceo-block { grid-template-columns: 1fr !important; }
}

.page-hero {
  padding: calc(var(--header-height) + var(--topbar-height) + 64px) 0 68px;
  background:
    radial-gradient(60% 90% at 8% 0%, rgba(220,38,55,0.5) 0%, transparent 60%),
    linear-gradient(120deg, #6b0f1a 0%, #4a1240 30%, #241a4a 55%, #14183a 78%, #0D1B3D 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06);
}
/* Soft drifting dot grid — same signal/network feel as before, now a
   quiet field of points instead of diagonal lines. */
.page-hero-dots {
  position: absolute;
  inset: -20px;
  z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.8;
  pointer-events: none;
  animation: pageHeroDotsDrift 30s linear infinite;
}
@keyframes pageHeroDotsDrift {
  0%   { background-position: 0px 0px; }
  100% { background-position: 260px 180px; }
}

/* Concentric rings, off-centre, slowly rotating in opposite directions —
   a subtle "network / signal" motif rather than floating bubbles. */
.page-hero-rings {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.page-hero-ring {
  position: absolute;
  top: 50%;
  left: 82%;
  border-radius: 50%;
  border: 1px solid rgba(238,208,138,0.22);
  transform: translate(-50%, -50%);
}
.page-hero-ring--1 { width: 220px; height: 220px; animation: pageHeroRingSpin 40s linear infinite; }
.page-hero-ring--2 { width: 340px; height: 340px; border-color: rgba(255,255,255,0.12); animation: pageHeroRingSpin 60s linear infinite reverse; }
.page-hero-ring--3 { width: 460px; height: 460px; border-color: rgba(238,208,138,0.10); animation: pageHeroRingSpin 80s linear infinite; }
@keyframes pageHeroRingSpin {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (max-width: 768px) {
  .page-hero-rings { opacity: 0.6; }
  .page-hero-ring--1 { left: 90%; }
  .page-hero-ring--2 { left: 90%; }
  .page-hero-ring--3 { left: 90%; }
}

/* Small orbiting points tracing one of the rings, like pings on a
   translation network. */
.page-hero-orbit {
  position: absolute;
  top: 50%;
  left: 82%;
  width: 340px;
  height: 340px;
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: pageHeroRingSpin 22s linear infinite;
}
.page-hero-orbit-dot {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EED08A;
  box-shadow: 0 0 8px 2px rgba(238,208,138,0.65);
  transform: translateX(-50%);
  animation: pageHeroOrbitFade 22s linear infinite;
}
@keyframes pageHeroOrbitFade {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.35; }
}
@media (max-width: 768px) {
  .page-hero-orbit { left: 90%; width: 240px; height: 240px; }
}

/* Ambient depth, red + blue glow — pulses gently. */
.page-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
  animation: pageHeroGlowPulse 9s ease-in-out infinite;
}
.page-hero-glow--gold {
  width: 420px; height: 420px;
  top: -14%; right: -6%;
  background: radial-gradient(circle, rgba(255,255,255,0.26), transparent 70%);
}
.page-hero-glow--blue {
  width: 380px; height: 380px;
  bottom: -18%; left: -8%;
  background: radial-gradient(circle, rgba(30,60,140,0.35), transparent 70%);
  animation-delay: 3s;
}
@keyframes pageHeroGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(228,197,119,0.4);
  color: #EED08A;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
}
.page-hero-badge svg { flex-shrink: 0; }

.page-hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.page-hero p {
  opacity: 0.88;
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
  margin: 20px auto 0;
  position: relative;
  z-index: 2;
}

.page-hero-underline {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #C79A3E, #E4C577);
  box-shadow: 0 0 14px rgba(228,197,119,0.55);
  transform-origin: center;
}

/* Same live-language ticker used on the home hero, sized down — a
   consistent signature across every page instead of a decorative divider. */
.page-hero-live {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
.page-hero-live .live-ticker {
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}

@keyframes heroGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 4%) scale(1.08); }
}

@media (max-width: 600px) {
  .page-hero-glow { width: 260px !important; height: 260px !important; }
}

.page-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}
.page-hero-wave svg {
  display: block;
  width: 100%;
  height: 40px;
}
.page-hero-wave path {
  fill: var(--color-bg, #F1F3F7);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============ Global animation utilities ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 31, 58, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(214, 31, 58, 0); }
}

.fade-up { animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both; }
.fade-left { animation: fadeLeft 0.7s cubic-bezier(0.4, 0, 0.2, 1) both; }
.fade-right { animation: fadeRight 0.7s cubic-bezier(0.4, 0, 0.2, 1) both; }
.scale-in { animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both; }
.float-anim { animation: floatY 5s ease-in-out infinite; }
.pulse-glow { animation: pulseGlow 2.4s ease-in-out infinite; }

.card-hover {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(10, 79, 191, 0.28);
}

@media (max-width: 768px) {
  .section { padding: 30px 0; }
  .section-tight { padding: 22px 0; }
  .section-header { margin-bottom: 20px; }
}
@media (max-width: 768px) {
  .about-intro-row {
    grid-template-columns: 1fr !important;
  }
}