/* ==========================================================================
   frontpage.css – Homepage-only styles (XEVOS Cyber Security Center)
   Figma design: dark navy bg, Montserrat headings, Sora body, magenta CTA
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. Body pattern overlay (homepage only)
   -------------------------------------------------------------------------- */
body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/pattern.png");
  background-size: 50%;
  background-repeat: repeat;
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
}


/* --------------------------------------------------------------------------
   0b. Main gradient (starts visually from services section down)
   -------------------------------------------------------------------------- */
body.home .xevos-main {
  /* Figma Rectangle 20: 1920×940 gradient from #010129 → transparent */
  background: linear-gradient(180deg, #010129 0%, rgba(1, 1, 41, 0) 100%);
  background-size: 100% 940px;
  background-repeat: no-repeat;
}


/* --------------------------------------------------------------------------
   0c. HP glow blobs – Figma Ellipse 21-25 overrides
   Ellipse 22/23/25 = 2095px, lighten | Ellipse 21 = 1755px, lighten
   Ellipse 24 = 1755px, multiply (dark overlay near hero)
   HP frame is 1920×8248. Positions are relative to each glow-wrap.
   -------------------------------------------------------------------------- */
body.home .xevos-glow-blob {
  width: 2095px;
  height: 2095px;
  background: radial-gradient(circle, rgba(45, 0, 144, 0.5) 0%, transparent 70%);
}

/* Ellipse 22: x=910, y=577 → right side, below hero */
body.home .xevos-glow-blob--right {
  right: -400px;
  z-index: 2;
}

/* Ellipse 23: x=-781, y=2133 → left side, center ~267px from left edge */
body.home .xevos-glow-blob--left {
  left: -781px;
}

/* Ellipse 21/24 medium variant (1755px) */
body.home .xevos-glow-blob--md {
  width: 1755px;
  height: 1755px;
}

/* Ellipse 24 multiply blend (dark overlay) */
body.home .xevos-glow-blob--multiply {
  mix-blend-mode: multiply;
}

/* First glow-wrap contains hero — needs clip only on x-axis */
.xevos-glow-wrap--hero {
  overflow-x: clip;
  overflow-y: visible;
}


/* --------------------------------------------------------------------------
   1. Hero – full viewport, centered, world-map bg
   -------------------------------------------------------------------------- */
.xevos-hero {
  position: relative;
  min-height: 100vh;
  margin-block: -80px 80px;

  padding-top: 80px;
  display: flex;
  overflow: hidden;
  color: var(--color-white);
  background: var(--bg-primary);
}

.xevos-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.xevos-hero__bg img,
.xevos-hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xevos-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(74, 108, 247, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74, 108, 247, 0.25) 1px, transparent 1px);
  background-size: 60px 80px;
  pointer-events: none;
}

.xevos-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,
      rgba(10, 14, 39, 0.3) 0%,
      rgba(10, 14, 39, 0.7) 60%,
      var(--bg-primary) 100%);
}

/* Eclipse overlays */
.xevos-hero__eclipse {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #000000 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.xevos-hero__eclipse:nth-child(2) {
  width: 60%;
  height: 60%;
  top: 10%;
  left: 5%;
}

.xevos-hero__eclipse:nth-child(3) {
  width: 50%;
  height: 50%;
  bottom: 5%;
  right: 0;
}

.xevos-hero__eclipse:nth-child(4) {
  width: 40%;
  height: 40%;
  top: 30%;
  right: 20%;
}

/* Hero glow blobs – Figma Ellipse 21 (left, lighten) & Ellipse 24 (center, multiply) */
.xevos-hero__glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 0, 144, 0.5) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Ellipse 21: 1755×1755, center at ~(-25, 335) within hero */
.xevos-hero__glow--left {
  width: 1755px;
  height: 1755px;
  top: -50%;
  left: -50%;
  mix-blend-mode: lighten;
}

/* Ellipse 24: 1755×1755, center at ~(960, -15), multiply */
.xevos-hero__glow--center {
  width: 1755px;
  height: 1755px;
  top: -90%;
  left: 50%;
  transform: translateX(-50%);
  mix-blend-mode: multiply;
}

.xevos-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 3rem var(--gutter);
}

/* Figma: "GARANCE" white + "KYBERNETICKÉ ODOLNOSTI" magenta */
.xevos-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.xevos-hero__title span {
  color: var(--color-accent);
  display: block;
}

@media (min-width: 768px) {
  .xevos-hero__title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .xevos-hero__title {
    font-size: 5rem;
    max-width: 800px;
    margin-inline: auto;

  }

  .xevos-hero__content {
    padding: 185px var(--gutter) 0;
  }
}

/* Figma: "Bez strašení. S jistotou" – Montserrat Bold, white */
.xevos-hero__subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .xevos-hero__subtitle {
    font-size: 2.5rem;
  }
}

/* Figma: description – Sora Regular, muted */
.xevos-hero__desc {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: #EEEEEE;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .xevos-hero__desc {
    font-size: 24px;
    max-width: 690px;
  }
}

/* Emergency badge – floats to the right on desktop */
.xevos-hero .xevos-section__container {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.xevos-hero__emergency {
  position: absolute;
  right: 35px;
  bottom: 20px;
  z-index: 2;
  pointer-events: auto;
}

@media (max-width: 1023px) {
  .xevos-hero__emergency {
    display: none;
  }
}

.xevos-emergency-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #F527AA33;
  border: 1px solid var(--color-border-light);
  border-radius: 0;
  padding: 0rem 28px;
  text-decoration: none;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

.xevos-emergency-badge:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.xevos-emergency-badge__icon {
  width: 149px;
  height: 156px;
  object-fit: contain;
  flex-shrink: 0;
}

.xevos-emergency-badge__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -2%;
  color: var(--color-white);
}

.xevos-emergency-badge__title strong {
  font-size: 32px;
  color: var(--color-accent);
  font-weight: 700;
}

.xevos-emergency-badge__sub {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -2%;
  color: var(--color-white);
}


/* --------------------------------------------------------------------------
   2. Services – 4 numbered cards (01–04)
   Figma: 4-column grid, dark card bg, large number, title, desc
   -------------------------------------------------------------------------- */
.xevos-services {
  background: transparent;
  padding-top: 0;
}

.xevos-services__container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.xevos-services__swiper {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.xevos-services__swiper .swiper-slide {
  height: auto;
}

.xevos-services__nav {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem !important;
  height: 2.5rem !important;
  margin: 0;
  border: 1px solid #00BBFF33;
  border-radius: 100%;
  background: #00BBFF33;
  cursor: pointer;
  position: relative;
}

.xevos-services__nav--prev {
  left: -24px;
}

.xevos-services__nav--next {
  right: -24px;
}

.xevos-services__nav::after {
  content: '' !important;
  display: block;
  width: 12px;
  height: 20px;
  background: url('../img/global/slider-arrow.svg') no-repeat center / contain;
}

.xevos-services__nav--prev::after {
  transform: rotate(180deg);
}

.xevos-services__nav.swiper-button-disabled {
  opacity: 0.25;
  cursor: default;
}

.xevos-services__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(0, 187, 255, 0.20);
  backdrop-filter: blur(25px);
  border: 1px solid #7474749e;
  padding: 2rem 1.5rem;
  transition: all var(--transition-base);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.xevos-services__card:hover {
  background: var(--bg-card-hover);
  border-color: var(--color-border-light);
}

.xevos-services__card-number {
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 2.5rem;
  color: #ECECEC;
  line-height: 1;
  margin-bottom: 0.625rem;
}

@media (min-width: 1024px) {
  .xevos-services__card-number {
    font-size: 3.25rem;
  }
}

.xevos-services__card-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -2%;
  color: #ECECEC;
  margin-bottom: 1.5rem;
  text-transform: none;
}

.xevos-services__card-text {
  font-family: var(--font-body);
  font-size: 16px;
  color: #ECECEC;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.xevos-services__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--transition-base);
}

.xevos-services__card-arrow {
  width: 76px;
  height: auto;
  transition: transform var(--transition-base);
}

.xevos-services__card:hover .xevos-services__card-arrow {
  transform: translateX(6px);
}


/* --------------------------------------------------------------------------
   3. Eventy – Figma node 231-13212
   Two-column: event list (left) | image-bg CTA (right)
   Figma: 1600px container, cols ~43%/57%, gap 80px
   -------------------------------------------------------------------------- */
.xevos-eventy {
  background: transparent;
}

/* Main grid: scrollbar + left + right */
.xevos-eventy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .xevos-eventy__grid {
    grid-template-columns: 1fr 1.33fr;
    gap: 0;
    column-gap: 75px;
  }
}

/* List + scrollbar wrapper — flex row */
.xevos-eventy__list-wrap {
  display: flex;
  flex: 1;
  min-height: 0;
  max-height: 720px;
  gap: 12px;
}

/* Scrollbar — sits right of the event list */
.xevos-eventy__scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .xevos-eventy__scrollbar {
    display: block;
    position: relative;
    width: 6px;
    flex-shrink: 0;
    border-radius: 999px;
    overflow: hidden;
  }

  .xevos-eventy__scrollbar-track {
    position: absolute;
    inset: 0;
    background: rgba(217, 217, 217, 0.2);
    border-radius: 999px;
  }

  .xevos-eventy__scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 18.7%;
    background: rgb(87, 24, 244);
    border-radius: 999px;
  }
}

/* --- LEFT COLUMN --- */
.xevos-eventy__left {
  padding-block: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.xevos-eventy__header {
  margin-bottom: 2.5rem;
}

.xevos-eventy__header h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.75rem, 3.25vw, 3.25rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.625rem;
}

/* Figma: Sora 24px, first part full opacity, rest 60% */
.xevos-eventy__desc {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.5vw, 1.5rem);
  line-height: 1.6;
  color: rgba(236, 236, 236, 0.6);
  margin-bottom: 0;
}

.xevos-eventy__desc strong {
  color: var(--color-text);
  font-weight: 400;
}


/* Event list */
.xevos-eventy__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.xevos-eventy__list::-webkit-scrollbar {
  display: none;
}

/* Single event item */
.xevos-eventy__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(116, 116, 116, 1);
}

.xevos-eventy__item--first {
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(116, 116, 116, 1);
}

/* Date — Figma: Space Mono Bold 32px, slash Sora SemiBold 40px cyan */
.xevos-eventy__date {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  min-width: 76px;
}

.xevos-eventy__date-month,
.xevos-eventy__date-day {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1;
}

.xevos-eventy__date-slash {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 600;
  color: var(--color-cyan);
  line-height: 1;
}

/* Event content */
.xevos-eventy__content {
  flex: 1;
  min-width: 0;
}

/* Figma: H3-mix — Montserrat Medium 32px, keyword=Black 40px UPPER cyan */
.xevos-eventy__title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 24px;
  text-transform: none;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

/* Keyword emphasis in title — add <strong> in WP title */
.xevos-eventy__title strong {
  display: block;
  font-weight: 900;
  font-size: clamp(1.25rem, 2.5vw, 2.5rem);
  text-transform: uppercase;
  color: var(--color-cyan);
}

/* Meta row: seats + type — Figma: Sora 18px, capacity 14px 50% opacity */
.xevos-eventy__meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.xevos-eventy__meta-seats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.125vw, 1.125rem);
  color: var(--color-text);
}

.xevos-eventy__meta-seats svg {
  color: var(--color-cyan);
  flex-shrink: 0;
}

.xevos-eventy__meta-capacity {
  font-size: clamp(0.625rem, 0.875vw, 0.875rem);
  opacity: 0.5;
}

/* Type badge with colored dot — Figma: Sora 18px */
.xevos-eventy__meta-type {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.125vw, 1.125rem);
  letter-spacing: 0.36px;
  color: var(--color-text);
  margin-left: auto;
}

.xevos-eventy__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.xevos-eventy__meta-type--green .xevos-eventy__dot {
  background: #4CFF00;
}

.xevos-eventy__meta-type--orange .xevos-eventy__dot {
  background: #FFD900;
}

.xevos-eventy__meta-type--blue .xevos-eventy__dot {
  background: var(--color-blue);
}

/* Register button — Figma: Montserrat Bold 16px, magenta outline, padding 12px 40px */
.xevos-eventy__register-btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 0.75rem 2.5rem;
  transition: all var(--transition-fast);
}

.xevos-eventy__register-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* "ZOBRAZIT VŠECHNY ŠKOLENÍ" link — Figma: Montserrat Bold 16px uppercase magenta */
.xevos-eventy__all-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  margin-top: 1.5rem;
}

.xevos-eventy__all-link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* --- RIGHT COLUMN: CTA with image background --- */
/* Figma: multiply gradient + screen image + base image */
.xevos-eventy__cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

/* Obrázek — z-index 0 */
.xevos-eventy__cta-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Glass overlay — z-index 1, mezi obrázkem a textem */
.xevos-eventy__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.xevos-eventy__cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .xevos-eventy__cta {
    min-height: 100%;
  }
}

/* Gradient je součástí background — žádný extra overlay */

/* Chevron arrow — Figma: Group 16, absolutely positioned left side */
.xevos-eventy__cta-arrow {
  display: none;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(116, 116, 116, 1);
  color: rgba(116, 116, 116, 1);
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: none;
  transition: all var(--transition-fast);
}

.xevos-eventy__cta-arrow:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
}

/* CTA content — Figma: glass panel at bottom of image */
.xevos-eventy__cta-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* CTA title — Figma: Montserrat Black 52px uppercase white */
.xevos-eventy__cta-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.25vw, 3.25rem);
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: 0.01em;
  margin-bottom: 0.625rem;
}

/* Figma: Body-1, first part full white, rest 70% opacity */
.xevos-eventy__cta-text p {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.5vw, 1.5rem);
  line-height: 1.6;
  color: rgba(236, 236, 236, 0.7);
}

.xevos-eventy__cta-text p strong {
  color: var(--color-text);
  font-weight: 400;
}

/* CTA buttons — Figma: horizontal, gap 24px */
.xevos-eventy__cta-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Primary button — Figma: magenta bg, white border, 88px tall, icon + text */
.xevos-eventy__cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 1.5vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  background: var(--color-accent);
  border: 1px solid var(--color-white);
  padding: 0.5rem 1.5rem;
  transition: all var(--transition-fast);
}

.xevos-eventy__cta-btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-glow);
}

.xevos-eventy__cta-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.5rem, 4.5vw, 4.5rem);
  height: clamp(2.5rem, 4.5vw, 4.5rem);
}

.xevos-eventy__cta-btn-icon svg {
  width: clamp(2.5rem, 4.5vw, 4.5rem);
  height: clamp(2.5rem, 4.5vw, 4.5rem);
}

/* Secondary button — Figma: magenta outline, transparent bg, 88px tall */
.xevos-eventy__cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 1.5rem 1.5rem;
  align-self: stretch;
  transition: all var(--transition-fast);
}

.xevos-eventy__cta-btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}


/* --------------------------------------------------------------------------
   4. Kybernetické testování – Figma node 231-13626
   Centered heading, image with cyan glow, overlay content panel right
   -------------------------------------------------------------------------- */
/* Kyber test + kyber politika styles moved to kyber-testovani.css */


/* --------------------------------------------------------------------------
   5. Statistiky – Figma nodes 849:25 + 850:141
   Feature heading row with stat graphic + 3 stat cards grid
   -------------------------------------------------------------------------- */
.xevos-statistiky {
  background: transparent;
  padding-top: 20px;
}

/* Feature heading row */
.xevos-statistiky__feature {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.xevos-statistiky__feature-graphic {
  flex-shrink: 0;
  width: 350px;
}

.xevos-statistiky__feature-graphic img {
  width: 100%;
  height: auto;
}

.xevos-statistiky__feature-text h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.75rem, 3.25vw, 3.25rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.625rem;
}

.xevos-statistiky__feature-text p {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.5vw, 1.5rem);
  line-height: 1.6;
  color: var(--color-text);
}

/* 3 stat cards — flex, equal spacing */
.xevos-statistiky__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .xevos-statistiky__grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

.xevos-statistiky__card {
  flex: 1;
  text-align: center;
  padding: 1rem;
}

@media (min-width: 768px) {
  .xevos-statistiky__card {
    padding: 0;
    max-width: 380px
  }
}

/* Figma: shield graphic already contains "až 40%" text */
.xevos-statistiky__card-graphic {
  width: 100%;
  max-width: 351px;
  margin: 0 auto 1.5rem;
}

.xevos-statistiky__card-graphic img {
  width: 100%;
  height: auto;
}

.xevos-statistiky__card-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.25rem, 2vw, 2rem);
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: 0.32px
}

@media (max-width: 767px) {
  .xevos-statistiky__feature {
    flex-direction: column;
    text-align: center;
  }

  .xevos-statistiky__feature-graphic {
    width: 150px;
  }
}


/* Kyber politika styles moved to kyber-testovani.css */

/* CTA button */
.xevos-kyber-politika__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 1.5vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  background: var(--color-accent);
  border: 1px solid var(--color-white);
  padding: 0.5rem 1.5rem;
  transition: all var(--transition-fast);
}

.xevos-kyber-politika__cta-btn:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-glow);
}

.xevos-kyber-politika__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.5rem, 4.5vw, 4.5rem);
  height: clamp(2.5rem, 4.5vw, 4.5rem);
}


/* Aktuality, Recenze, Nav arrows — moved to main.css (shared across pages) */


/* --------------------------------------------------------------------------
   9. Partners bar 
   -------------------------------------------------------------------------- */

.xevos-partners__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.xevos-partners__inner img {
  height: 28px;
  width: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition-base);
}

.xevos-partners__inner img:hover {
  opacity: 0.9;
}

.xevos-partners__placeholder {
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-dim);
  opacity: 0.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .xevos-partners__inner {
    gap: 4rem;
  }

  .xevos-partners__inner img {
    height: 80px;
  }
}


/* --------------------------------------------------------------------------
   10. CTA section – gradient box
   -------------------------------------------------------------------------- */
.xevos-cta-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(74, 108, 247, 0.12) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.xevos-cta-section__title {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--color-white);
  text-transform: uppercase;
}

.xevos-cta-section__text {
  font-family: var(--font-body);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}


/* (Section 11 merged into section 7 above) */


/* --------------------------------------------------------------------------
   12. Card – article card (dark glass, rounded, hover lift)
   -------------------------------------------------------------------------- */
.xevos-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.xevos-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.xevos-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.xevos-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.xevos-card:hover .xevos-card__image img {
  transform: scale(1.05);
}

.xevos-card__body {
  padding: 1.5rem;
}

.xevos-card__badge {
  display: inline-block;
  padding: 3px 8px;
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.xevos-card__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
  text-transform: none;
}

.xevos-card__title a {
  color: var(--color-white);
}

.xevos-card__title a:hover {
  color: var(--color-accent);
}

.xevos-card__excerpt {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.xevos-card__meta {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
}


/* --------------------------------------------------------------------------
   13. Mobile adjustments (frontpage specific)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .xevos-hero__content {
    padding: 2rem var(--gutter);
  }

  .xevos-services__card {
    padding: 1.5rem 1.25rem;
  }

  .xevos-eventy__item {
    gap: 0.75rem;
    padding: 1rem 0.75rem;
  }

  .xevos-eventy__left {
    padding: 0;
  }

  .xevos-eventy__cta {
    min-height: 400px;
  }

  .xevos-eventy__cta-buttons {
    flex-direction: column;
  }

  .xevos-recenze-card {
    padding: 1.5rem;
  }

  .xevos-recenze-card::before {
    font-size: 3rem;
  }

  .xevos-partners__inner {
    gap: 1.5rem;
  }

  .xevos-partners__inner img {
    height: 20px;
  }

  /* Figma mobile: 328px content, single column cards */
  .xevos-eventy__grid {
    grid-template-columns: 1fr;
  }

  .xevos-eventy__scrollbar {
    display: none;
  }

  /* Kyber test/politika mobile overrides moved to kyber-testovani.css */

  .xevos-statistiky__feature {
    flex-direction: column;
    text-align: center;
  }

  .xevos-statistiky__feature-graphic {
    width: 150px;
  }

  .xevos-statistiky__grid {
    grid-template-columns: 1fr;
  }

  /* Aktuality mobile overrides moved to main.css */

  .xevos-hp-recenze__carousel {
    flex-direction: column;
  }

  /* Mobile: two-col heroes stack */
  .xevos-kontakt-hero__grid,
  .xevos-blog-hero__grid {
    grid-template-columns: 1fr;
  }

  /* Mobile: service cards single column */
  .xevos-services__card {
    min-width: 280px;
  }

  /* Mobile: eventy CTA full width */
  .xevos-eventy__cta-btn-primary,
  .xevos-eventy__cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Mobile: hide nav arrows */
  .xevos-eventy__cta-arrow {
    display: none;
  }

  /* Mobile: checklist overrides moved to kyber-testovani.css */

  /* Mobile: footer partners smaller */
  .xevos-partners__inner img {
    height: 40px;
    width: 100px;
  }

  /* Mobile: section padding reduction */
  .xevos-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Mobile: hero video/bg */
  .xevos-hero__video {
    display: none;
  }

  /* Mobile: date column in events */
  .xevos-eventy__date {
    min-width: 50px;
    font-size: 1.25rem;
  }

  .xevos-eventy__title {
    font-size: 1rem;
  }

  .xevos-eventy__register-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .xevos-eventy__meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .xevos-eventy__all-link {
    font-size: 0.875rem;
  }
}

@media (max-width: 479px) {
  .xevos-hero__title {
    font-size: 2rem;
  }

  .xevos-hero__subtitle {
    font-size: 1.125rem;
  }

  .xevos-services__card-number {
    font-size: 3rem;
  }

  .xevos-services__card-title {
    font-size: 1.25rem;
  }

  .xevos-eventy__item {
    padding: 0.75rem 0.5rem;
  }

  .xevos-statistiky__card-value {
    font-size: 2rem;
  }

  .xevos-recenze-card__text {
    font-size: 0.875rem;
  }
}