/**
 * @file
 * VOATT Theme Styles - Pixel-perfect Figma conversion for Drupal
 */

/* ═══════════════════════════════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --font-size: 16px;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-red-400: #f87171;
  --color-red-500: #ef4444;
  --color-red-600: #dc2626;
  --color-red-700: #b91c1c;
  --color-red-900: #7f1d1d;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-amber-200: #fde68a;
  --color-amber-400: #fbbf24;
  --color-amber-500: #f59e0b;
  --radius: 0.625rem;
  --radius-full: 9999px;
  --z-drops: 0;
  --z-content: 10;
  --z-header: 50;
  --z-overlay: 100;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

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

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  font-family: 'JetBrains Mono', 'Courier New', Consolas, monospace;
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Homepage: fullscreen mode */
.path-frontpage body {
  overflow: hidden;
  height: 100vh;
}

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

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

a:hover,
a:focus,
a:active {
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

ul, ol {
  list-style: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.layout-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.layout-content {
  flex: 1;
  position: relative;
  z-index: var(--z-content);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RED DROPS PARTICLE EFFECT
   ═══════════════════════════════════════════════════════════════════════════ */

#redDropsCanvas,
.voatt-red-drops {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: var(--z-drops);
}

.red-drop {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-red-500);
  filter: blur(1px);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
  pointer-events: none;
  animation: dropFall 1.2s linear forwards;
}

@keyframes dropFall {
  0% {
    opacity: 0.9;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(800px);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */

.voatt-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(127, 29, 29, 0.2);
}

.voatt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  max-width: 100%;
}

@media (min-width: 768px) {
  .voatt-header__inner {
    padding: 0.75rem 1.5rem;
  }
}

@media (min-width: 1280px) {
  .voatt-header__inner {
    padding: 1rem 2.5rem;
  }
}

@media (min-width: 1536px) {
  .voatt-header__inner {
    padding: 1.25rem 3rem;
  }
}

/* Logo - PNG with filters for dark background */
/* Target: white #ffffff, dark red #941822 */
.voatt-logo,
header img,
.voatt-header__logo img,
#mainHeader img {
  filter: invert(1) hue-rotate(180deg) brightness(0.85) saturate(0.5);
  mix-blend-mode: lighten;
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .voatt-header__logo img {
    height: 3rem;
  }
}

@media (min-width: 1280px) {
  .voatt-header__logo img {
    height: 4rem;
  }
}

@media (min-width: 1536px) {
  .voatt-header__logo img {
    height: 5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.voatt-nav {
  display: none;
}

@media (min-width: 1280px) {
  .voatt-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

@media (min-width: 1536px) {
  .voatt-nav {
    gap: 1rem;
  }
}

.voatt-nav .menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1536px) {
  .voatt-nav .menu {
    gap: 0.5rem;
  }
}

.voatt-nav .menu-item a,
.nav-link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none !important;
  transition: color 0.3s ease;
  position: relative;
}

@media (min-width: 1536px) {
  .voatt-nav .menu-item a,
  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}

.voatt-nav .menu-item a:hover,
.nav-link:hover {
  color: var(--color-red-400);
  text-decoration: none !important;
}

.voatt-nav .menu-item.menu-item--active-trail > a,
.voatt-nav .menu-item a.is-active,
.nav-link.active {
  color: var(--color-red-500);
  text-decoration: none !important;
}

.voatt-nav .menu-item.menu-item--active-trail > a::after,
.voatt-nav .menu-item a.is-active::after,
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-red-500);
  border-radius: var(--radius-full);
}

/* Hover underline for non-active nav items */
.voatt-nav .menu-item a:hover::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-red-400);
  border-radius: var(--radius-full);
}

.voatt-nav .menu-item.menu-item--active-trail > a:hover::after,
.voatt-nav .menu-item a.is-active:hover::after,
.nav-link.active:hover::after {
  background-color: var(--color-red-500);
  height: 3px;
  bottom: -2px;
}

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

@media (min-width: 1280px) {
  .voatt-menu-toggle {
    display: none;
  }
}

.voatt-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
}

.voatt-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.voatt-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.voatt-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* Mobile menu toggle z-index when open */
.voatt-menu-toggle[aria-expanded="true"] {
  z-index: 10001;
  position: relative;
}

/* Mobile Menu Overlay */
.voatt-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  padding-top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.voatt-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.voatt-mobile-menu.hidden {
  display: none !important;
}

.voatt-mobile-menu > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.voatt-mobile-menu .menu,
.voatt-mobile-menu ul,
.voatt-mobile-menu nav ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.25rem !important;
  padding: 1rem !important;
  list-style: none !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 20rem !important;
}

.voatt-mobile-menu .menu-item,
.voatt-mobile-menu li {
  list-style: none !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

.voatt-mobile-menu .menu-item a,
.voatt-mobile-menu li a,
.voatt-mobile-menu .nav-link {
  font-family: system-ui, -apple-system, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--color-white) !important;
  text-decoration: none !important;
  padding: 0.875rem 1.5rem !important;
  display: block !important;
  transition: all 0.3s ease !important;
  border-radius: 0.5rem !important;
  white-space: normal !important;
}

.voatt-mobile-menu .menu-item a:hover,
.voatt-mobile-menu li a:hover,
.voatt-mobile-menu .nav-link:hover {
  color: var(--color-red-400) !important;
  background: rgba(220, 38, 38, 0.15) !important;
}

.voatt-mobile-menu .menu-item a.is-active,
.voatt-mobile-menu .menu-item.menu-item--active-trail > a,
.voatt-mobile-menu li a.is-active {
  color: var(--color-red-500) !important;
  background: rgba(220, 38, 38, 0.1) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.voatt-footer {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(127, 29, 29, 0.3);
  padding: 0.5rem 1rem;
  text-align: center;
}

.voatt-footer--fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
}

.voatt-footer__copyright {
  color: var(--color-gray-400);
  font-size: 0.875rem;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn-red,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background-color: var(--color-red-600);
  color: var(--color-white);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-red:hover,
.btn-primary:hover {
  background-color: var(--color-red-700);
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.5);
  text-decoration: none !important;
}

.btn-red svg,
.btn-primary svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-gray,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  backdrop-filter: blur(24px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gray:hover,
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.1);
  text-decoration: none !important;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background-color: var(--color-white);
  color: var(--color-black);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-white:hover {
  background-color: var(--color-gray-200);
  transform: scale(1.05);
}

/* Prevent underline on all action buttons and showcase links */
[data-project-url],
[data-project-url]:hover,
[data-project-casestudy],
[data-project-casestudy]:hover,
[data-showcase-url],
[data-showcase-url]:hover,
[data-showcase-casestudy],
[data-showcase-casestudy]:hover,
.voatt-projects-showcase a,
.voatt-projects-showcase a:hover,
.voatt-projects-showcase button,
.rounded-full[href],
.rounded-full[href]:hover,
.bg-red-600,
.bg-red-600:hover,
.bg-white\/10,
.bg-white\/10:hover {
  text-decoration: none !important;
}

/* Projects showcase: one smooth diffused shadow, no inner box */
/* Ensure the project info container has bottom padding so the counter below the grid stays within the section */
[data-project-info] {
  padding-bottom: 3rem;
}
@media (min-width: 768px)  { [data-project-info] { padding-bottom: 4rem; } }
@media (min-width: 1024px) { [data-project-info] { padding-bottom: 5rem; } }
@media (min-width: 1280px) { [data-project-info] { padding-bottom: 6rem; } }
@media (min-width: 1536px) { [data-project-info] { padding-bottom: 7rem; } }

.voatt-projects-showcase__content-block {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.5) 100%);
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
  .voatt-projects-showcase__content-block {
    padding: 1.5rem 1.75rem;
  }
}

@media (min-width: 1280px) {
  .voatt-projects-showcase__content-block {
    padding: 1.5rem 2rem;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.paragraph--type--hero {
  width: 100%;
  min-height: calc(100vh - 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-top: 3.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .paragraph--type--hero {
    padding: 2rem;
    padding-top: 4rem;
  }
}

@media (min-width: 1536px) {
  .paragraph--type--hero {
    padding: 3rem 4rem;
    padding-top: 6rem;
  }
}

/* Hero title */
.voatt-hero__title,
.paragraph--type--hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
  text-align: center;
  margin: 0 0 1rem;
}

@media (min-width: 640px) {
  .voatt-hero__title,
  .paragraph--type--hero h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .voatt-hero__title,
  .paragraph--type--hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .voatt-hero__title,
  .paragraph--type--hero h1 {
    font-size: 3.75rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 1536px) {
  .voatt-hero__title,
  .paragraph--type--hero h1 {
    font-size: 9rem;
  }
}

/* ── Services page hero override (path /sluzby) ────────────────────────────── */
.path-sluzby .paragraph--type--hero {
  min-height: auto;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.path-sluzby .paragraph--type--hero h1 {
  white-space: nowrap;
  color: var(--color-white);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .path-sluzby .paragraph--type--hero h1 {
    font-size: 2.4rem;
  }
}

@media (min-width: 1280px) {
  .path-sluzby .paragraph--type--hero h1 {
    font-size: 2.6rem;
  }
}

.path-sluzby .paragraph--type--hero h1 br {
  display: none;
}

.path-sluzby .paragraph--type--hero h1 span {
  color: inherit !important;
}

.path-sluzby .voatt-hero__subtitle {
  max-width: 34rem;
  margin: 0 auto;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .path-sluzby .voatt-hero__subtitle {
    font-size: 1rem;
  }
}

/* On /sluzby hide generic hero paragraph so only services header shows */
.path-sluzby .paragraph--type--hero {
  display: none !important;
}

/* Rotating text effect */
.voatt-rotating-text span,
.rotating-text span {
  display: inline-block;
  transition: transform 0.5s ease;
  cursor: default;
}

.voatt-rotating-text span:hover,
.rotating-text span:hover {
  transform: rotate(360deg);
}

/* Hero subtitle */
.voatt-hero__subtitle {
  color: var(--color-gray-300);
  font-size: 0.875rem;
  max-width: 20rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .voatt-hero__subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .voatt-hero__subtitle {
    font-size: 1.125rem;
    max-width: 42rem;
  }
}

@media (min-width: 1024px) {
  .voatt-hero__subtitle {
    font-size: 1.25rem;
    max-width: 48rem;
  }
}

@media (min-width: 1536px) {
  .voatt-hero__subtitle {
    font-size: 1.875rem;
    max-width: 64rem;
  }
}

/* Services page: override hero to match Figma header */
.page-services-showcase .paragraph--type--hero {
  min-height: auto;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.page-services-showcase .paragraph--type--hero h1 {
  white-space: nowrap;
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .page-services-showcase .paragraph--type--hero h1 {
    font-size: 2.2rem;
  }
}

@media (min-width: 1280px) {
  .page-services-showcase .paragraph--type--hero h1 {
    font-size: 2.4rem;
  }
}

.page-services-showcase .paragraph--type--hero h1 span {
  color: inherit !important;
}

.page-services-showcase .voatt-hero__subtitle {
  max-width: 34rem;
  margin: 0 auto;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .page-services-showcase .voatt-hero__subtitle {
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATS GRID
   ═══════════════════════════════════════════════════════════════════════════ */

.voatt-stats-grid,
.paragraph--type--stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 24rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .voatt-stats-grid,
  .paragraph--type--stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 48rem;
  }
}

@media (min-width: 768px) {
  .voatt-stats-grid,
  .paragraph--type--stats-grid {
    gap: 2rem;
    max-width: 56rem;
  }
}

@media (min-width: 1536px) {
  .voatt-stats-grid,
  .paragraph--type--stats-grid {
    gap: 4rem;
    max-width: 72rem;
  }
}

.voatt-stat-item,
.paragraph--type--stats-item {
  text-align: center;
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .voatt-stat-item,
  .paragraph--type--stats-item {
    padding: 1.5rem 0;
  }
}

@media (min-width: 1536px) {
  .voatt-stat-item,
  .paragraph--type--stats-item {
    padding: 3rem 0;
  }
}

.voatt-stat__number,
[data-animate-number] {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-red-500);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .voatt-stat__number,
  [data-animate-number] {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .voatt-stat__number,
  [data-animate-number] {
    font-size: 3.75rem;
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 1536px) {
  .voatt-stat__number,
  [data-animate-number] {
    font-size: 8rem;
    margin-bottom: 1rem;
  }
}

.voatt-stat__number span,
[data-animate-number] span {
  display: inline-block;
  cursor: default;
  transition: transform 0.5s ease;
}

.voatt-stat__number span:hover,
[data-animate-number] span:hover {
  transform: rotate(360deg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL INDICATOR
   ═══════════════════════════════════════════════════════════════════════════ */

.voatt-scroll-indicator,
[data-scroll-to] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .voatt-scroll-indicator,
  [data-scroll-to] {
    gap: 0.75rem;
    padding-top: 1.5rem;
  }
}

@media (min-width: 1536px) {
  .voatt-scroll-indicator,
  [data-scroll-to] {
    gap: 1rem;
    padding-top: 3rem;
  }
}

.voatt-scroll-indicator:hover,
[data-scroll-to]:hover {
  opacity: 0.8;
}

@keyframes customBounce {
  0%, 100% { transform: translateY(0); }
  10% { transform: translateY(-25px); }
  20% { transform: translateY(0); }
  30% { transform: translateY(-12px); }
  40% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  60%, 100% { transform: translateY(0); }
}

.animate-custom-bounce {
  animation: customBounce 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FULLSCREEN SHOWCASE (Projects, Team, Articles)
   ═══════════════════════════════════════════════════════════════════════════ */

.voatt-fullscreen-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 4rem);
  overflow: hidden;
}

/* Showcase background */
.voatt-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  background-size: cover;
  background-position: center;
}

.voatt-showcase__bg.transitioning {
  opacity: 0;
  transform: scale(1.05);
}

.voatt-showcase__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Showcase overlays */
.voatt-showcase__overlay--bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-black), rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
}

.voatt-showcase__overlay--left {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent, rgba(0, 0, 0, 0.4));
  z-index: 1;
}

/* Showcase content */
.voatt-showcase__content {
  position: absolute;
  bottom: 4rem;
  left: 1rem;
  right: 1rem;
  z-index: 10;
  transition: all 0.7s ease;
}

@media (min-width: 768px) {
  .voatt-showcase__content {
    bottom: 5rem;
    left: 2rem;
    right: 2rem;
  }
}

@media (min-width: 1280px) {
  .voatt-showcase__content {
    bottom: 5rem;
    left: 2.5rem;
    right: 2.5rem;
  }
}

@media (min-width: 1536px) {
  .voatt-showcase__content {
    bottom: 8rem;
    left: 4rem;
    right: 4rem;
  }
}

.voatt-showcase__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin: 0.5rem 0;
}

@media (min-width: 640px) {
  .voatt-showcase__title {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .voatt-showcase__title {
    font-size: 2.25rem;
    margin: 0.75rem 0;
  }
}

@media (min-width: 1536px) {
  .voatt-showcase__title {
    font-size: 4.5rem;
  }
}

.voatt-showcase__description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 640px) {
  .voatt-showcase__description {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .voatt-showcase__description {
    font-size: 1.125rem;
  }
}

@media (min-width: 1536px) {
  .voatt-showcase__description {
    font-size: 1.5rem;
  }
}

/* Showcase grid thumbnails */
.voatt-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  max-width: 100%;
}

@media (min-width: 640px) {
  .voatt-showcase__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 32rem;
  }
}

@media (min-width: 1280px) {
  .voatt-showcase__grid {
    gap: 0.5rem;
    max-width: 30rem;
  }
}

@media (min-width: 1536px) {
  .voatt-showcase__grid {
    gap: 0.75rem;
    max-width: 32rem;
  }
}

.voatt-showcase__thumb,
.showcase-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  transition: all 0.3s ease;
}

.voatt-showcase__thumb:hover,
.showcase-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.voatt-showcase__thumb.active,
.showcase-thumb.active {
  outline: 2px solid var(--color-red-500);
  outline-offset: 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 30px rgba(220, 38, 38, 0.3);
  transform: scale(1.05);
  z-index: 10;
}

.voatt-showcase__thumb-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-gray-900);
  width: 100%;
}

@media (min-width: 640px) {
  .voatt-showcase__thumb-img {
    width: 10rem;
  }
}

@media (min-width: 1280px) {
  .voatt-showcase__thumb-img {
    width: 9rem;
  }
}

@media (min-width: 1536px) {
  .voatt-showcase__thumb-img {
    width: 12rem;
  }
}

.voatt-showcase__thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Category filter */
.voatt-category-filter,
.category-filter {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 95vw;
}

@media (min-width: 768px) {
  .voatt-category-filter,
  .category-filter {
    top: 3rem;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
}

@media (min-width: 1536px) {
  .voatt-category-filter,
  .category-filter {
    top: 5rem;
    gap: 0.75rem;
    padding: 1rem 2rem;
  }
}

.voatt-category-filter__btn,
.category-btn {
  padding: 0.375rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .voatt-category-filter__btn,
  .category-btn {
    padding: 0.375rem 0.75rem;
  }
}

@media (min-width: 768px) {
  .voatt-category-filter__btn,
  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}

.voatt-category-filter__btn:hover,
.category-btn:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.voatt-category-filter__btn.active,
.category-btn.active {
  background-color: var(--color-red-600);
  color: var(--color-white);
  box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.5);
}

/* Navigation arrows */
.voatt-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .voatt-nav-arrow {
    width: 3rem;
    height: 3rem;
  }
}

.voatt-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.voatt-nav-arrow--left {
  left: 0.5rem;
}

@media (min-width: 768px) {
  .voatt-nav-arrow--left {
    left: 1rem;
  }
}

.voatt-nav-arrow--right {
  right: 0.5rem;
}

@media (min-width: 768px) {
  .voatt-nav-arrow--right {
    right: 1rem;
  }
}

/* Showcase nav arrows (Čtení, Tým, Naše práce) – size + light gray border */
.voatt-showcase-nav-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(156, 163, 175, 0.55);
}
@media (min-width: 768px) {
  .voatt-showcase-nav-arrow {
    width: 2.75rem;
    height: 2.75rem;
  }
}
@media (min-width: 1024px) {
  .voatt-showcase-nav-arrow {
    width: 3rem;
    height: 3rem;
  }
}

/* Award badge */
.voatt-award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--color-amber-400);
  transition: background 0.3s ease;
}

.voatt-award-badge:hover {
  background: rgba(245, 158, 11, 0.25);
}

.voatt-award-badge svg {
  width: 1rem;
  height: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════════════════ */

.paragraph--type--service-item {
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .paragraph--type--service-item {
    margin-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  .paragraph--type--service-item {
    margin-bottom: 8rem;
  }
}

.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .service-block {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.service-image {
  overflow: hidden;
  border-radius: 1rem;
}

.service-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-image:hover img {
  transform: scale(1.1);
}

.service-content h2 {
  font-weight: 700;
  color: var(--color-white);
}

/* Ensure CTA buttons render correctly on node-specific pages (Tailwind CDN override) */
.service-content a.rounded-full,
.voatt-contact-page a.rounded-full {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .service-content a.rounded-full,
  .voatt-contact-page a.rounded-full {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}
@media (min-width: 1024px) {
  .service-content a.rounded-full,
  .voatt-contact-page a.rounded-full {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
  }
}

/* Scroll dots for services */
.scroll-dot .dot {
  transition: all 0.5s ease;
}

.scroll-dot.active .dot {
  background-color: var(--color-red-600);
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

/* Services page hero – match Figma header */
.voatt-services-hero {
  margin: 0 auto;
  max-width: 52rem;
  text-align: center;
}

.voatt-services-hero__title {
  font-family: 'JetBrains Mono', 'Courier New', Consolas, monospace;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  font-size: 1.9rem;
}

@media (min-width: 768px) {
  .voatt-services-hero__title {
    font-size: 2.1rem;
  }
}

@media (min-width: 1280px) {
  .voatt-services-hero__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1536px) {
  .voatt-services-hero__title {
    font-size: 2.4rem;
  }
}

.voatt-services-hero__subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  max-width: 30rem;
  margin: 0  auto;
}

@media (min-width: 768px) {
  .voatt-services-hero__subtitle {
    font-size: 0.95rem;
    max-width: 32rem;
  }
}

@media (min-width: 1280px) {
  .voatt-services-hero__subtitle {
    font-size: 1rem;
    max-width: 34rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════════════════════════ */

.voatt-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .voatt-team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .voatt-team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .voatt-team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.voatt-team-card,
.paragraph--type--team-member {
  position: relative;
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-black));
  border-radius: 1rem;
  border: 1px solid rgba(127, 29, 29, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.voatt-team-card:hover,
.paragraph--type--team-member:hover {
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.2);
  transform: scale(1.05);
}

.voatt-team-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-gray-800);
}

.voatt-team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

.voatt-team-card:hover .voatt-team-card__image img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.voatt-team-card__content {
  padding: 1rem;
}

.voatt-team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.voatt-team-card__role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-red-500);
}

/* Team detail overlay */
.voatt-team-detail-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(0, 0, 0, 0.95);
}

.voatt-team-detail-overlay.is-open {
  display: flex;
}

/* ═══════════════════════════════════════════════════════════════════════════
   JOB LISTINGS
   ═══════════════════════════════════════════════════════════════════════════ */

.voatt-job-card,
.paragraph--type--job-posting {
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-black));
  border-radius: 1rem;
  border: 1px solid rgba(127, 29, 29, 0.2);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .voatt-job-card,
  .paragraph--type--job-posting {
    padding: 2rem;
  }
}

.voatt-job-card:hover,
.paragraph--type--job-posting:hover {
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.2);
}

.voatt-job-card__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .voatt-job-card__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.voatt-job-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.voatt-job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-gray-400);
}

.voatt-job-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.voatt-job-card__salary {
  color: var(--color-red-500) !important;
  font-weight: 600;
}

/* Job expandable details */
.job-details-toggle {
  cursor: pointer;
}

.job-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.job-details.is-open {
  max-height: 2000px;
}

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

.voatt-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .voatt-contact {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.voatt-contact-form {
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-black));
  border-radius: 1rem;
  border: 1px solid rgba(127, 29, 29, 0.2);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .voatt-contact-form {
    padding: 2rem;
  }
}

.voatt-contact-form__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.voatt-form-group {
  margin-bottom: 1.25rem;
}

.voatt-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-300);
  margin-bottom: 0.5rem;
}

.voatt-form-group input,
.voatt-form-group textarea,
.voatt-form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-gray-700);
  border-radius: 0.5rem;
  color: var(--color-white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

.voatt-form-group input::placeholder,
.voatt-form-group textarea::placeholder {
  color: var(--color-gray-500);
}

.voatt-form-group input:focus,
.voatt-form-group textarea:focus,
.voatt-form-group select:focus {
  outline: none;
  border-color: var(--color-red-500);
}

.voatt-form-group textarea {
  resize: none;
  min-height: 8rem;
}

/* Contact info */
.voatt-contact-info-card {
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-black));
  border-radius: 1rem;
  border: 1px solid rgba(127, 29, 29, 0.2);
  padding: 1.5rem;
}

.voatt-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.voatt-contact-item:last-child {
  margin-bottom: 0;
}

.voatt-contact-item__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.voatt-contact-item__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-red-500);
}

.voatt-contact-item__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.voatt-contact-item__value {
  font-size: 0.875rem;
  color: var(--color-gray-400);
}

.voatt-contact-item__value a {
  color: var(--color-red-500);
  text-decoration: none;
  transition: color 0.3s ease;
}

.voatt-contact-item__value a:hover {
  color: var(--color-red-400);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROCESS STEPS
   ═══════════════════════════════════════════════════════════════════════════ */

.paragraph--type--process-steps {
  padding: 2rem 0;
}

.paragraph--type--process-step {
  position: relative;
  padding-left: 4rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .paragraph--type--process-step {
    padding-left: 5rem;
    padding-bottom: 3rem;
  }
}

.paragraph--type--process-step::before {
  content: attr(data-step-number);
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  background: var(--color-red-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .paragraph--type--process-step::before {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
  }
}

.paragraph--type--process-step::after {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 3rem;
  width: 2px;
  height: calc(100% - 3rem);
  background: var(--color-gray-700);
}

@media (min-width: 768px) {
  .paragraph--type--process-step::after {
    left: 1.75rem;
    top: 3.5rem;
    height: calc(100% - 3.5rem);
  }
}

.paragraph--type--process-step:last-child::after {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.paragraph--type--cta-section {
  text-align: center;
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .paragraph--type--cta-section {
    padding: 4rem 2rem;
  }
}

@media (min-width: 1024px) {
  .paragraph--type--cta-section {
    padding: 5rem 3rem;
  }
}

.paragraph--type--cta-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .paragraph--type--cta-section h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .paragraph--type--cta-section h2 {
    font-size: 3rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARTICLES GRID
   ═══════════════════════════════════════════════════════════════════════════ */

.voatt-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem 1rem;
}

@media (min-width: 768px) {
  .voatt-articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .voatt-articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.voatt-article-card {
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-black));
  border-radius: 1rem;
  border: 1px solid rgba(127, 29, 29, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.voatt-article-card:hover {
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.2);
  transform: scale(1.02);
}

.voatt-article-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-gray-800);
}

.voatt-article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.voatt-article-card:hover .voatt-article-card__image img {
  transform: scale(1.1);
}

.voatt-article-card__content {
  padding: 1.5rem;
}

.voatt-article-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.voatt-article-card__category {
  padding: 0.25rem 0.75rem;
  background: rgba(239, 68, 68, 0.2);
  color: var(--color-red-500);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.voatt-article-card__read-time {
  color: var(--color-gray-500);
}

.voatt-article-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.voatt-article-card:hover .voatt-article-card__title {
  color: var(--color-red-500);
}

.voatt-article-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DRUPAL FEATURES / VERTICAL SLIDER
   ═══════════════════════════════════════════════════════════════════════════ */

.slider-item {
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(127, 29, 29, 0.3);
  box-shadow: 0 20px 25px -5px rgba(127, 29, 29, 0.2);
  transition: all 0.3s ease;
  border-radius: 1rem;
  padding: 1.5rem;
}

.slider-item:hover {
  box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.4);
}

.icon-bounce:hover {
  animation: iconWiggle 0.5s ease-in-out;
}

@keyframes iconWiggle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.2) rotate(-10deg); }
  50% { transform: scale(0.9) rotate(10deg); }
  75% { transform: scale(1.1) rotate(-5deg); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE HEADERS
   ═══════════════════════════════════════════════════════════════════════════ */

.voatt-page-header {
  text-align: center;
  padding: 6rem 1rem 2rem;
}

@media (min-width: 768px) {
  .voatt-page-header {
    padding-top: 7rem;
  }
}

@media (min-width: 1024px) {
  .voatt-page-header {
    padding-top: 8rem;
  }
}

.voatt-page-header__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .voatt-page-header__title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .voatt-page-header__title {
    font-size: 3rem;
  }
}

.voatt-page-header__title-accent {
  color: var(--color-red-500);
}

.voatt-page-header__subtitle {
  font-size: 0.875rem;
  color: var(--color-gray-300);
  max-width: 40rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .voatt-page-header__subtitle {
    font-size: 1rem;
  }
}

/* Careers page header – match Figma */
.voatt-page-header--careers {
  padding-top: 6rem;
  padding-bottom: 3rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .voatt-page-header--careers {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }
}

@media (min-width: 1280px) {
  .voatt-page-header--careers {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
}

.voatt-page-header--careers .voatt-page-header__title {
  font-family: 'JetBrains Mono', 'Courier New', Consolas, monospace;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

@media (min-width: 768px) {
  .voatt-page-header--careers .voatt-page-header__title {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .voatt-page-header--careers .voatt-page-header__title {
    font-size: 3.5rem;
  }
}

.voatt-page-header__title-accent--underline {
  position: relative;
  display: inline-block;
  color: var(--color-red-500);
}

.voatt-page-header__title-accent--underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2em;
  height: 0.18em;
  background-color: var(--color-red-600);
  border-radius: var(--radius-full);
}

.voatt-page-header--careers .voatt-page-header__subtitle {
  max-width: 38rem;
  margin-top: 1.25rem;
}

.voatt-page-header__cta {
  margin-top: 2rem;
}

.voatt-page-header__cta .btn-primary {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Text with red underline - use class "text-underline-red" in content */
.text-underline-red,
.voatt-text-underline-red,
span[style*="color: red"],
span[style*="color:#ef4444"],
span[style*="color: #ef4444"],
strong.text-red,
em.text-red {
  position: relative;
  display: inline-block;
  color: var(--color-red-500) !important;
}

.text-underline-red::after,
.voatt-text-underline-red::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  height: 0.15em;
  background-color: var(--color-red-600);
  border-radius: var(--radius-full);
}

/* Volné pozice page - style red text on second line with underline */
.path-volne-pozice h1 span[style*="color"],
.path-volne-pozice .field--name-title span,
.node--type-landing-page h1 .text-red-500,
.voatt-landing-page h1 span.red-underline {
  position: relative;
  display: inline-block;
  color: var(--color-red-500) !important;
}

.path-volne-pozice h1 span[style*="color"]::after,
.node--type-landing-page h1 .text-red-500::after,
.voatt-landing-page h1 span.red-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  height: 0.15em;
  background-color: var(--color-red-600);
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease forwards;
}

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

.animate-slide-up {
  animation: slideUp 0.6s ease forwards;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DRUPAL ADMIN FIXES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hide admin toolbar padding in frontend */
body.toolbar-fixed {
  padding-top: 0 !important;
}

.toolbar-oriented .toolbar-bar {
  z-index: 1000;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: rgba(239, 68, 68, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(239, 68, 68, 0.7);
}

.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Čtení: right swiper shows exactly 4 items (height ≈ 4 × item) */
.voatt-articles-list {
  max-height: 18rem;
}
@media (min-width: 768px) {
  .voatt-articles-list {
    max-height: 20rem;
  }
}
@media (min-width: 1024px) {
  .voatt-articles-list {
    max-height: 21rem;
  }
}

/* Proč Drupal: three vertical swipers = three stripes, equal width */
.voatt-drupal-features__stripes {
  min-height: 0;
  overflow: hidden;
}
.voatt-drupal-features__stripes > div {
  flex: 1 1 0%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Scroll container must have bounded height so it can scroll (flex + min-height: 0) */
.voatt-drupal-features [data-column-scroll] {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y !important;
}

/* Proč Drupal cards: image 100% width flush to top/sides, no extra padding */
.voatt-drupal-features__card {
  padding: 0;
}
.voatt-drupal-features__card-image {
  margin: 0;
  padding: 0;
  width: 100%;
  flex-shrink: 0;
}
.voatt-drupal-features__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════════ */

.text-red-500 { color: var(--color-red-500); }
.text-red-400 { color: var(--color-red-400); }
.text-gray-300 { color: var(--color-gray-300); }
.text-gray-400 { color: var(--color-gray-400); }
.text-white { color: var(--color-white); }
.text-amber-400 { color: var(--color-amber-400); }

.bg-black { background-color: var(--color-black); }
.bg-red-500 { background-color: var(--color-red-500); }
.bg-red-600 { background-color: var(--color-red-600); }

.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

.grayscale { filter: grayscale(100%); }

.voatt-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .voatt-container {
    padding: 0 2rem;
  }
}

/* Content offset for fixed header/footer */
.voatt-content-offset {
  padding-top: 4rem;
}

@media (min-width: 768px) {
  .voatt-content-offset {
    padding-top: 5rem;
  }
}

@media (min-width: 1280px) {
  .voatt-content-offset {
    padding-top: 6rem;
  }
}

.voatt-footer-offset {
  padding-bottom: 4rem;
}

/* Prose for rich text content */
.prose {
  color: var(--color-gray-300);
  line-height: 1.7;
}

.prose a {
  color: var(--color-red-500);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--color-red-400);
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose li::marker {
  color: var(--color-red-500);
}

/* Focus states */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid rgba(239, 68, 68, 0.5);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FULLSCREEN SHOWCASE PAGES (Team, Projects, Articles)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Prevent scrolling on fullscreen showcase pages (except services and Proč Drupal) */
html.page-fullscreen-showcase:not(.page-services-showcase):not(.page-drupal-showcase),
body.page-fullscreen-showcase:not(.page-services-showcase):not(.page-drupal-showcase) {
  overflow: hidden !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: none;
  position: fixed;
  width: 100%;
}

/* Proč Drupal: allow touch/wheel on body so column scroll works (keep overflow hidden so page doesn’t scroll) */
body.page-drupal-showcase {
  touch-action: auto !important;
}

/* Services page should scroll normally */
html.page-services-showcase,
html.page-services-showcase body {
  overflow-y: auto !important;
  height: auto !important;
  max-height: none !important;
}

/* Hide page title block, hero, and all title elements on fullscreen showcase pages */
.page-fullscreen-showcase .block-page-title-block,
.page-fullscreen-showcase [class*="block-kratos-theme-nazev"],
.page-fullscreen-showcase #block-kratos-theme-nazevstranky,
.page-fullscreen-showcase .block--page-title,
.page-fullscreen-showcase .voatt-drupal-features__header,
.page-fullscreen-showcase .voatt-drupal-features__title,
.page-fullscreen-showcase .voatt-drupal-features__subtitle,
.page-fullscreen-showcase .voatt-page-header,
.page-fullscreen-showcase .field--name-field-features-title,
.page-fullscreen-showcase h1.page-title,
.page-fullscreen-showcase .page-title,
.page-fullscreen-showcase .paragraph--type--hero {
  display: none !important;
}

/* Remove main padding on fullscreen showcase pages */
.page-fullscreen-showcase #mainContent {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
}

/* Make landing page wrapper fullscreen */
.page-fullscreen-showcase .voatt-landing-page {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Layout content for fullscreen pages */
.page-fullscreen-showcase .layout-content {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
}

/* ── Gin Admin Toolbar Compatibility ───────────────────────────────────── */
/* Gin toolbar height varies by breakpoint:
   mobile (<992px):  gin=39 + secondary=48 = 87px (stacked)
   tablet (992-1439px): gin=53 + secondary=60 = 113px (stacked)
   desktop (≥1440px): gin=53 overlaps secondary=60, effective = 60px */
body.gin--horizontal-toolbar .voatt-projects-showcase,
body.gin--horizontal-toolbar .voatt-team-showcase {
  height: calc(100vh - 87px) !important;
  max-height: calc(100vh - 87px) !important;
}
@media (min-width: 992px) {
  body.gin--horizontal-toolbar .voatt-projects-showcase,
  body.gin--horizontal-toolbar .voatt-team-showcase {
    height: calc(100vh - 113px) !important;
    max-height: calc(100vh - 113px) !important;
  }
}
@media (min-width: 1440px) {
  body.gin--horizontal-toolbar .voatt-projects-showcase,
  body.gin--horizontal-toolbar .voatt-team-showcase {
    height: calc(100vh - 60px) !important;
    max-height: calc(100vh - 60px) !important;
  }
}
body.gin--horizontal-toolbar .page-fullscreen-showcase #mainContent,
body.gin--horizontal-toolbar .page-fullscreen-showcase .voatt-landing-page,
body.gin--horizontal-toolbar .page-fullscreen-showcase .layout-content {
  height: calc(100vh - 87px) !important;
  max-height: calc(100vh - 87px) !important;
}
@media (min-width: 992px) {
  body.gin--horizontal-toolbar .page-fullscreen-showcase #mainContent,
  body.gin--horizontal-toolbar .page-fullscreen-showcase .voatt-landing-page,
  body.gin--horizontal-toolbar .page-fullscreen-showcase .layout-content {
    height: calc(100vh - 113px) !important;
    max-height: calc(100vh - 113px) !important;
  }
}
@media (min-width: 1440px) {
  body.gin--horizontal-toolbar .page-fullscreen-showcase #mainContent,
  body.gin--horizontal-toolbar .page-fullscreen-showcase .voatt-landing-page,
  body.gin--horizontal-toolbar .page-fullscreen-showcase .layout-content {
    height: calc(100vh - 60px) !important;
    max-height: calc(100vh - 60px) !important;
  }
}

/* Move site header below the fixed Gin primary toolbar bar (53px) */
body.gin--horizontal-toolbar header.fixed {
  top: 53px !important;
}

/* ── Mobile: Projects & Team Showcase Responsive ────────────────────────── */
/* Hide horizontal scrollbar on filter pills while keeping scroll functionality */
@media (max-width: 767px) {
  [data-project-filter],
  [data-team-filter] {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  [data-project-filter]::-webkit-scrollbar,
  [data-team-filter]::-webkit-scrollbar {
    display: none;
  }
}

/* Team showcase content block – same dark card style as projects */
.voatt-team-showcase__content-block {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.5) 100%);
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
@media (min-width: 768px) {
  .voatt-team-showcase__content-block { padding: 1.5rem 1.75rem; }
}
@media (min-width: 1280px) {
  .voatt-team-showcase__content-block { padding: 1.5rem 2rem; }
}

/* Drupal features: fix admin toolbar offset (same breakpoints as showcase sections) */
body.gin--horizontal-toolbar .voatt-drupal-features {
  top: 87px !important;
  height: calc(100vh - 87px) !important;
}
@media (min-width: 992px) {
  body.gin--horizontal-toolbar .voatt-drupal-features {
    top: 113px !important;
    height: calc(100vh - 113px) !important;
  }
}
@media (min-width: 1440px) {
  body.gin--horizontal-toolbar .voatt-drupal-features {
    top: 60px !important;
    height: calc(100vh - 60px) !important;
  }
}
/* Drupal features: responsive columns (1→2→3) */
@media (max-width: 639px) {
  .voatt-drupal-features__stripes [data-column="1"],
  .voatt-drupal-features__stripes [data-column="2"] {
    display: none;
  }
}
@media (min-width: 640px) and (max-width: 767px) {
  .voatt-drupal-features__stripes [data-column="2"] {
    display: none;
  }
}
