/*
Theme Name: DWBS
Theme URI: https://dwbs.cz
Author: DWBS
Author URI: https://dwbs.cz
Description: Prezentační šablona pro DWBS – Bezpečnostní služby
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
License: Proprietary
Text Domain: dwbs
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --color-black:   #080c12;
  --color-dark:    #0d1118;
  --color-surface: #111620;
  --color-rose:    #e02e74;
  --color-rose-d:  #b8245e;
  --color-white:   #e8eef5;
  --color-off:     #d4dde8;
  --color-amber:   #e8923a;
  --color-border:  rgba(80, 120, 200, 0.1);

  /* Light BG tones (about section) */
  --color-light-bg:  #d4dde8;
  --color-light-bg2: #dde5f0;
  --color-text-dark: #3a4a5a;
  --color-text-mid:  #0d1a2a;

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Outfit', sans-serif;

  /* Spacing */
  --space-section-v: 88px;
  --space-section-h: 56px;
  --space-section-v-sm: 60px;
  --space-section-h-sm: 24px;

  /* Transitions */
  --transition-fast:   .15s ease;
  --transition-normal: .2s ease;
  --transition-slow:   .3s ease;
  --transition-reveal: .7s ease;

  /* Borders */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-pill: 40px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}

@media (max-width: 768px) {
  body {
    cursor: default;
  }
}

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

a {
  cursor: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-black); }
::-webkit-scrollbar-thumb { background: var(--color-rose); border-radius: 3px; }
::selection { background: rgba(224, 46, 116, .32); color: var(--color-white); }

/* ============================================================
   CURSOR  (Block: cursor)
   ============================================================ */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--color-rose);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .18s, height .18s;
}

.cursor--ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(224, 46, 116, .4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}

.cursor--hover       { width: 13px; height: 13px; }
.cursor--ring-hover  { width: 46px; height: 46px; border-color: rgba(224, 46, 116, .7); }

/* Hide custom cursor on touch / mobile devices */
@media (hover: none), (max-width: 768px) {
  .cursor, .cursor--ring { display: none !important; }
}

/* ============================================================
   HAMBURGER MENU (Block: hamburger)
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
  z-index: 201;
}

.hamburger__line {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  display: block;
}

.hamburger--active .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger--active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger--active .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   NAVIGATION  (Block: nav)
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-section-h);
  height: 72px;
  background: rgba(8, 12, 18, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(80, 120, 200, .12);
  transition: background var(--transition-normal);
}

.nav--transparent {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: absolute;
  padding-top: 28px;
  height: auto;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: .04em;
  line-height: 1;
}

.nav__logo-accent { color: var(--color-rose); }

.nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav__link {
  color: rgba(180, 210, 245, .55);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color var(--transition-normal);
  cursor: none;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-white);
}

.nav__link--cta {
  border: 1.5px solid var(--color-rose);
  color: var(--color-rose) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-normal), color var(--transition-normal) !important;
}

.nav__link--cta:hover {
  background: var(--color-rose);
  color: #fff !important;
}

/* ── Dropdown ─────────────────────────────────────────────── */
.nav__item--has-dropdown {
  position: relative;
}

.nav__link--has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__dropdown-arrow {
  transition: transform var(--transition-normal);
  opacity: .6;
}

.nav__item--has-dropdown:hover .nav__dropdown-arrow,
.nav__item--has-dropdown:focus-within .nav__dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav__item--has-dropdown {
  position: relative;
}

/* Invisible bridge filling the gap so hover doesn't break */
.nav__item--has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  min-width: 480px;
  max-width: 730px;
  background: rgba(10, 15, 24, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(80, 120, 200, .15);
  border-radius: var(--radius-sm);
  list-style: none;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 300;
}

.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(10, 15, 24, .97);
  border-left: 1px solid rgba(80, 120, 200, .15);
  border-top: 1px solid rgba(80, 120, 200, .15);
}

.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown > li {
  display: contents; /* link fills the grid cell directly */
}

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: rgba(180, 210, 245, .6);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: color var(--transition-normal), background var(--transition-normal);
  cursor: none;
}

.nav__dropdown-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, .05);
}

.nav__dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--color-rose);
  transition: background var(--transition-normal), color var(--transition-normal);
}

.nav__dropdown-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

/* ── Nav overlay / page darkening backdrop ──────────────── */
.nav__overlay {
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  pointer-events: none;
}

.nav__overlay--active {
  opacity: 1;
  visibility: visible;
}

/* ── Drawer submenu (mobile accordion) ───────────────────── */
.nav__drawer-toggle {
  background: none;
  border: none;
  width: 100%;
  display: block;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(180, 210, 245, .6);
  text-align: center;
  cursor: none;
  transition: color var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav__drawer-toggle[aria-expanded="true"] { color: var(--color-white); }
.nav__drawer-toggle[aria-expanded="true"] .nav__dropdown-arrow { transform: rotate(180deg); }

.nav__drawer-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(80, 120, 200, .1);
  background: rgba(255, 255, 255, .02);
}

.nav__drawer-submenu-link {
  display: block;
  padding: 14px 24px;
  color: rgba(180, 210, 245, .5);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: color var(--transition-normal);
  border-bottom: 1px solid rgba(80, 120, 200, .07);
}

.nav__drawer-submenu-link:hover { color: var(--color-rose); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 18, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.nav__drawer--open { display: flex; }

.nav__drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.nav__drawer-list li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(80, 120, 200, .1);
}

.nav__drawer-list li:first-child {
  border-top: 1px solid rgba(80, 120, 200, .1);
}

.nav__drawer .nav__link {
  display: block;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(180, 210, 245, .6);
  text-decoration: none;
  transition: color var(--transition-normal), background var(--transition-normal);
}

.nav__drawer .nav__link:hover,
.nav__drawer .nav__link--active { color: var(--color-white); background: rgba(255,255,255,.03); }

.nav__drawer .nav__link--cta {
  display: inline-flex;
  margin-top: 32px;
  padding: 13px 36px;
  border: 1.5px solid var(--color-rose);
  border-radius: var(--radius-pill);
  color: var(--color-rose);
  font-size: .78rem;
  background: transparent;
  transition: background var(--transition-normal), color var(--transition-normal);
}

.nav__drawer .nav__link--cta:hover {
  background: var(--color-rose);
  color: #fff;
}

.nav__drawer-list li:has(.nav__link--cta) {
  border: none;
  background: transparent;
}

/* ============================================================
   BUTTONS  (Block: btn)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-normal), background var(--transition-normal);
}

.btn:hover { transform: translateY(-2px); }

/* Pill shape */
.btn--pill {
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
}

/* Square shape */
.btn--square {
  padding: 15px 38px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Modifiers */
.btn--rose {
  background: var(--color-rose);
  color: #fff;
  box-shadow: 0 4px 20px rgba(224, 46, 116, .3);
}
.btn--rose:hover {
  background: var(--color-rose-d);
  box-shadow: 0 8px 28px rgba(224, 46, 116, .4);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, .6);
}
.btn--ghost:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, .08);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-rose-d);
}
.btn--white:hover { background: var(--color-off); }

/* ============================================================
   SECTION SHARED  (Block: section)
   ============================================================ */
.section__tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section__tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-rose);
  flex-shrink: 0;
}

.section__tag--center { justify-content: center; }
.section__tag--center::before { display: none; }
.section__tag--center::after { content: ''; width: 24px; height: 1px; background: var(--color-rose); flex-shrink: 0; }

.section__tag--dark { color: var(--color-rose-d); }
.section__tag--dark::before { background: var(--color-rose-d); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: var(--color-white);
  line-height: 1;
  letter-spacing: .02em;
}

.section__title em {
  color: var(--color-rose);
  font-style: normal;
}

.section__title--dark { color: var(--color-text-mid); }
.section__title--center { text-align: center; }

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 32px;
}

/* ============================================================
   REVEAL  (utility)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--d1 { transition-delay: .1s; }
.reveal--d2 { transition-delay: .2s; }
.reveal--d3 { transition-delay: .3s; }
.reveal--d4 { transition-delay: .4s; }

/* ============================================================
   HERO  (Block: hero)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('./assets/images/hero-bg.jpg') center / cover no-repeat;
  will-change: transform;
}

.hero__fog {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 12, 18, .55) 0%,
    rgba(8, 12, 18, .18) 30%,
    rgba(8, 12, 18, .18) 55%,
    rgba(8, 12, 18, .75) 80%,
    rgba(8, 12, 18, 1) 100%
  );
}

.hero__rain {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    175deg,
    transparent 0px, transparent 2px,
    rgba(120, 165, 230, .018) 2px, rgba(120, 165, 230, .018) 3px,
    transparent 3px, transparent 28px
  );
  animation: rainMove 2.4s linear infinite;
  pointer-events: none;
}

.hero__logo-bg {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(18vw, 28vw, 36rem);
  color: rgba(255, 255, 255, .022);
  line-height: .9;
  letter-spacing: -.02em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero__center {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  width: 100%;
  padding: 0 32px;
}

.hero__tag {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp .7s .3s forwards;
}

.hero__tagline {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 36px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
  opacity: 0;
  animation: fadeUp .8s .5s forwards;
}

.hero__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp .8s .75s forwards;
}

.hero__stats {
  position: absolute;
  bottom: 42px;
  right: 56px;
  z-index: 10;
  display: flex;
  gap: 12px;
  opacity: 0;
  animation: fadeUp .8s 1.1s forwards;
}

.hero__stat {
  background: rgba(5, 10, 20, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(80, 120, 200, .15);
  border-radius: 5px;
  padding: 14px 20px;
  text-align: center;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--color-white);
  line-height: 1;
}

.hero__stat-num em {
  color: var(--color-rose);
  font-style: normal;
}

.hero__stat-label {
  font-size: .73rem;
  color: rgba(180, 210, 240, .47);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 3px;
}

.hero__scroll {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(220, 232, 245, .6);
  animation: scrollPulse 2s ease infinite;
  text-decoration: none;
  cursor: none;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(224, 46, 116, .6), transparent);
}

/* ============================================================
   MINI-HERO (sub-pages)  (Block: mini-hero)
   ============================================================ */
.mini-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-hero__bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-bg.jpg') center / cover no-repeat;
}

.mini-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 12, 18, .55) 0%,
    rgba(8, 12, 18, .2) 40%,
    rgba(8, 12, 18, .7) 80%,
    rgba(8, 12, 18, 1) 100%
  );
}

.mini-hero__rain {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    175deg,
    transparent 0px, transparent 2px,
    rgba(120, 165, 230, .018) 2px, rgba(120, 165, 230, .018) 3px,
    transparent 3px, transparent 28px
  );
  animation: rainMove 2.4s linear infinite;
  pointer-events: none;
}

.mini-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0 24px;
}

.mini-hero__tag {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mini-hero__tag::before,
.mini-hero__tag::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--color-rose);
}

.mini-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--color-white);
  max-width: 75%;
  margin: auto;
  letter-spacing: .04em;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}

.mini-hero__title em {
  color: var(--color-rose);
  font-style: normal;
}

/* ============================================================
   MARQUEE  (Block: marquee)
   ============================================================ */
.marquee {
  background: linear-gradient(90deg, var(--color-rose-d) 0%, var(--color-rose) 40%, var(--color-rose-d) 100%);
  overflow: hidden;
  white-space: nowrap;
  padding: 13px 0;
}

.marquee__track {
  display: inline-flex;
  animation: marquee 24s linear infinite;
}

.marquee__item {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.marquee__item::after {
  content: '—';
  color: rgba(255, 255, 255, .3);
}

/* ============================================================
   SERVICES SECTION  (Block: services)
   ============================================================ */
.services {
  background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-black) 100%);
  padding: var(--space-section-v) var(--space-section-h);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(60, 100, 180, .08);
  border: 1px solid rgba(60, 100, 180, .08);
}

/* nth-child reveal delays — pattern: 0, d1, d2, d1, d2, d3 */
.services__grid .svc-card:nth-child(3n+2) { transition-delay: .1s; }
.services__grid .svc-card:nth-child(3n+3) { transition-delay: .2s; }
/* ============================================================
   SERVICE CARD  (Block: svc-card)
   ============================================================ */
.svc-card {
  background: var(--color-dark);
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-slow);
  text-decoration: none;
  display: block;
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.svc-card:hover { background: #0d1520; }
.svc-card:hover::after { transform: scaleX(1); }

.svc-card__num {
  font-family: var(--font-display);
  font-size: .85rem;
  color: var(--color-rose);
  letter-spacing: .1em;
  margin-bottom: 16px;
  opacity: .5;
}

.svc-card__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  opacity: .6;
  transition: opacity var(--transition-normal);
}

.svc-card:hover .svc-card__icon { opacity: 1; }

.svc-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-rose);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(224, 46, 116, .3));
}

.svc-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(220, 232, 245, .5);
  text-decoration: none;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color var(--transition-normal), gap var(--transition-normal);
  cursor: none;
}

.svc-card:hover .svc-card__link {
  color: var(--color-rose);
  gap: 14px;
}

.svc-card__desc {
  font-size: .9rem;
  color: rgba(220, 232, 245, .53);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 20px;
}

/* ── Services swiper (mobile) ────────────────────────────── */
.services__swiper-wrap {
  position: relative;
}

.services__dots {
  display: none; /* shown via JS on mobile */
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.services__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(180, 210, 245, .25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.services__dot--active {
  background: var(--color-rose);
  transform: scale(1.4);
}

/* ============================================================
   RAIN DIVIDER  (Block: rain-divider)
   ============================================================ */
.rain-divider {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.rain-divider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--color-dark) 0%,
    rgba(5, 8, 16, .2) 35%,
    rgba(5, 8, 16, .2) 65%,
    var(--color-surface) 100%
  );
}

.rain-divider__rain {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    175deg,
    transparent 0px, transparent 2px,
    rgba(120, 165, 230, .04) 2px, rgba(120, 165, 230, .04) 3px,
    transparent 3px, transparent 18px
  );
  animation: rainMove .55s linear infinite;
  pointer-events: none;
}

.rain-divider__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rain-divider__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: .04em;
  color: var(--color-white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
  line-height: 1;
}

.rain-divider__title em {
  color: var(--color-rose);
  font-style: normal;
}

.rain-divider__sub {
  color: rgba(220, 232, 245, .45);
  font-size: .88rem;
  margin-top: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT BAND  (Block: contact-band)
   ============================================================ */
.contact-band {
  background: linear-gradient(135deg, var(--color-rose-d) 0%, var(--color-rose) 50%, #a02050 100%);
  padding: 60px var(--space-section-h);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.contact-band::before {
  content: '24/7';
  position: absolute;
  right: 180px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 13rem;
  line-height: 1;
  color: rgba(0, 0, 0, .07);
  pointer-events: none;
}

.contact-band__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: #fff;
  line-height: 1;
  letter-spacing: .02em;
}

.contact-band__text {
  color: rgba(255, 255, 255, .65);
  font-size: .92rem;
  margin-top: 8px;
  font-weight: 300;
}

/* ============================================================
   ABOUT SECTION  (Block: about)
   ============================================================ */
.about {
  background: linear-gradient(135deg, var(--color-light-bg) 0%, var(--color-light-bg2) 60%, #d4dce8 100%);
  padding: var(--space-section-v) var(--space-section-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about__text .section__tag { color: var(--color-rose-d); }
.about__text .section__tag::before { background: var(--color-rose-d); }

.about__desc {
  color: var(--color-text-dark);
  font-size: .95rem;
  line-height: 1.85;
  margin-top: 20px;
  font-weight: 300;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid rgba(30, 60, 100, .12);
}

.about__feature {
  padding: 14px 0;
  border-bottom: 1px solid rgba(30, 60, 100, .1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  color: var(--color-text-mid);
  font-weight: 500;
}

.about__feature:nth-child(odd) {
  padding-right: 20px;
  border-right: 1px solid rgba(30, 60, 100, .1);
}

.about__feature:nth-child(even) { padding-left: 20px; }

.about__feature-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-rose);
  flex-shrink: 0;
}

.about__visual { position: relative; }

.about__img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
  border-radius: var(--radius-sm);
}

.about__img-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(10%);
  border: 5px solid var(--color-light-bg2);
  border-radius: var(--radius-sm);
}

.about__badge {
  position: absolute;
  top: 28px;
  right: -14px;
  background: var(--color-rose);
  color: #fff;
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 8px 24px rgba(224, 46, 116, .35);
}

.about__badge-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  display: block;
}

.about__badge-label {
  font-size: .63rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
  margin-top: 3px;
  display: block;
}

/* ============================================================
   WHY SECTION  (Block: why)
   ============================================================ */
.why {
  background: linear-gradient(180deg, var(--color-black) 0%, var(--color-dark) 100%);
  padding: var(--space-section-v) var(--space-section-h);
}

.why__top {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 60px;
}

.why__top p { color: rgba(220, 232, 245, .35); margin-top: 14px; font-size: .9rem; font-weight: 300; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Why swiper (mobile) ─────────────────────────────────── */
.why__swiper-wrap {
  position: relative;
}

.why__dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

/* ============================================================
   WHY CARD  (Block: why-card)
   ============================================================ */
.why-card {
  background: var(--color-surface);
  border: 1px solid rgba(60, 100, 180, .1);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-slow), transform var(--transition-normal);
}

.why-card:hover {
  border-color: rgba(224, 46, 116, .3);
  transform: translateY(-4px);
}

.why-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #5080c0, var(--color-rose), transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.why-card:hover::after { opacity: 1; }

.why-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255, 255, 255, .17);
  line-height: 1;
  margin-bottom: 12px;
  transition: color var(--transition-slow);
}

.why-card:hover .why-card__num { color: var(--color-rose); }

.why-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.why-card__text {
  font-size: .9rem;
  color: rgba(220, 232, 245, .53);
  line-height: 1.75;
  font-weight: 300;
}

/* ============================================================
   STATS BAND  (Block: stats-band)
   ============================================================ */
.stats-band {
  background: var(--color-surface);
  padding: 60px var(--space-section-h);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: transparent;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-band__item {
  background: transparent;
  padding: 36px 28px;
  text-align: center;
}

.stats-band__num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 4rem);
  color: var(--color-white);
  line-height: 1;
}

.stats-band__num em { color: var(--color-rose); font-style: normal; }

.stats-band__label {
  font-size: .75rem;
  color: rgba(180, 210, 240, .47);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ============================================================
   BLOG GRID  (Block: blog)
   ============================================================ */
.blog-section {
  background: var(--color-black);
  padding: var(--space-section-v) var(--space-section-h);
}

.blog-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.blog-section__grid--featured { grid-template-columns: 2fr 1fr; gap: 24px; }

/* ============================================================
   BLOG CARD  (Block: blog-card)
   ============================================================ */
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color var(--transition-slow), transform var(--transition-normal);
}

.blog-card:hover {
  border-color: rgba(224, 46, 116, .3);
  transform: translateY(-4px);
}

.blog-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--transition-slow);
}

.blog-card:hover .blog-card__thumb { filter: grayscale(0); }

.blog-card__body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__cat {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: 10px;
}

.blog-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-card__excerpt {
  font-size: .87rem;
  color: rgba(220, 232, 245, .45);
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: .73rem;
  color: rgba(220, 232, 245, .3);
}

.blog-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-rose);
}

/* ============================================================
   BLOG DETAIL  (Block: blog-detail)
   ============================================================ */
.blog-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px var(--space-section-h);
}

.blog-detail__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-size: .75rem;
  color: rgba(220, 232, 245, .35);
  flex-wrap: wrap;
}

.blog-detail__cat {
  color: var(--color-rose);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.blog-detail__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: .02em;
  margin-bottom: 32px;
}

.blog-detail__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  filter: grayscale(10%);
}

.blog-detail__content {
  font-size: 1rem;
  color: rgba(220, 232, 245, .75);
  line-height: 1.9;
  font-weight: 300;
}

.blog-detail__content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-white);
  margin: 40px 0 16px;
  letter-spacing: .02em;
}

.blog-detail__content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 28px 0 12px;
}

.blog-detail__content p { margin-bottom: 20px; }

.blog-detail__content a,
.service-detail__text a { color: var(--color-white); font-weight: 700; text-decoration: underline; cursor: none; transition: text-decoration .2s; }
.blog-detail__content a:hover,
.service-detail__text a:hover { text-decoration: none; }

.blog-detail__content ul,
.blog-detail__content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.blog-detail__content li { margin-bottom: 8px; }

.blog-detail__content blockquote {
  border-left: 3px solid var(--color-rose);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(224, 46, 116, .05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: rgba(220, 232, 245, .65);
}

/* ============================================================
   SERVICE DETAIL  (Block: service-detail)
   ============================================================ */
.service-detail {
  padding: var(--space-section-v) var(--space-section-h);
  background: var(--color-black);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-detail__content .section__title { margin-bottom: 24px; }

.service-detail__text {
  font-size: .95rem;
  color: rgba(220, 232, 245, .65);
  line-height: 1.85;
  font-weight: 300;
}

.service-detail__text p { margin-bottom: 20px; }

.service-detail__list {
  list-style: none;
  margin: 28px 0;
}

.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .9rem;
  color: rgba(220, 232, 245, .65);
}

.service-detail__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-rose);
  flex-shrink: 0;
  margin-top: 7px;
}

.service-detail__sidebar {
  position: sticky;
  top: 88px;
}

.service-detail__box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  margin-bottom: 20px;
}

.service-detail__box h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-white);
  letter-spacing: .04em;
  margin-bottom: 18px;
}

.service-detail__box ul { list-style: none; }

.service-detail__box li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .87rem;
  color: rgba(220, 232, 245, .55);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: none;
  transition: color var(--transition-normal);
}

.service-detail__box li a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.service-detail__box li:hover,
.service-detail__box li a:hover { color: var(--color-rose); }

.service-detail__box li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-rose);
  flex-shrink: 0;
}

.service-detail__box li:last-child { border-bottom: none; }

/* ============================================================
   JOB DETAIL  (Block: job-detail)
   ============================================================ */
.job-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(220, 232, 245, .45);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color var(--transition-normal);
}

.job-detail__back:hover { color: var(--color-rose); }

.job-detail__back--bottom { margin-top: 40px; margin-bottom: 0; }

.job-detail__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* ============================================================
   CAREER  (Block: career)
   ============================================================ */
.career {
  background: var(--color-black);
  padding: var(--space-section-v) var(--space-section-h);
}

.career__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}

/* ============================================================
   JOB CARD  (Block: job-card)
   ============================================================ */
.job-card {
  color: var(--color-white);
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition-slow), transform var(--transition-normal);
}

.job-card:hover {
  border-color: rgba(224, 46, 116, .3);
  transform: translateY(-3px);
}

.job-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }

.job-card__type {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-rose);
  background: rgba(224, 46, 116, .1);
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.job-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
}

.job-card__desc {
  font-size: .88rem;
  color: rgba(220, 232, 245, .45);
  line-height: 1.7;
  font-weight: 300;
}

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-card__tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(220, 232, 245, .45);
  border: 1px solid rgba(220, 232, 245, .12);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ============================================================
   ABOUT PAGE  (Block: about-page)
   ============================================================ */
.about-page {
  background: var(--color-black);
  padding: var(--space-section-v) var(--space-section-h);
}

.about-page__intro {
  max-width: 700px;
  margin-bottom: 72px;
}

.about-page__intro p {
  font-size: 1.05rem;
  color: rgba(220, 232, 245, .6);
  line-height: 1.85;
  font-weight: 300;
  margin-top: 20px;
}

.about-page__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.about-page__team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}

/* ============================================================
   TEAM CARD  (Block: team-card)
   ============================================================ */
.team-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  transition: filter var(--transition-slow);
}

.team-card:hover .team-card__img { filter: grayscale(0); }

.team-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
}

.team-card__role {
  font-size: .75rem;
  color: var(--color-rose);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================================================
   CONTACT PAGE  (Block: contact-page)
   ============================================================ */
.contact-page {
  background: var(--color-black);
  padding: var(--space-section-v) var(--space-section-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-page__info .section__title { margin-bottom: 24px; }

.contact-info__list { list-style: none; margin-top: 32px; }

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info__item:first-child { border-top: 1px solid var(--color-border); }

.contact-info__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(224, 46, 116, .1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-rose);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(220, 232, 245, .3);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: .95rem;
  color: var(--color-white);
  font-weight: 400;
  text-decoration: none;
  transition: color var(--transition-normal);
  cursor: none;
}

.contact-info__value:hover { color: var(--color-rose); }

/* ============================================================
   CONTACT FORM  (Block: contact-form)
   ============================================================ */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-white);
  letter-spacing: .04em;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(220, 232, 245, .5);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--color-white);
  transition: border-color var(--transition-normal);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(224, 46, 116, .5);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option { background: var(--color-surface); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   FOOTER  (Block: footer)
   ============================================================ */
.footer {
  background: #03050a;
  border-top: 1px solid rgba(80, 120, 200, .08);
  padding: 60px var(--space-section-h) 26px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(80, 120, 200, .07);
  margin-bottom: 22px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: .04em;
  display: block;
  margin-bottom: 12px;
}

.footer__logo-accent { color: var(--color-rose); }

.footer__brand-text {
  font-size: .82rem;
  color: rgba(180, 210, 240, .42);
  line-height: 1.75;
  font-weight: 300;
  max-width: 230px;
}

.footer__col-title {
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer__col-list { list-style: none; }

.footer__col-list li { margin-bottom: 10px; }

.footer__col-list a {
  color: rgba(220, 232, 245, .38);
  text-decoration: none;
  font-size: .92rem;
  transition: color var(--transition-normal);
  cursor: none;
}

.footer__col-list a:hover { color: var(--color-rose); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .73rem;
  color: rgba(255, 255, 255, .16);
  flex-wrap: wrap;
  gap: 10px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, .26);
  text-decoration: none;
  transition: color var(--transition-normal);
  cursor: none;
}

.footer__bottom a:hover { color: var(--color-rose); }

/* ============================================================
   BREADCRUMB  (Block: breadcrumb)
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  color: rgba(220, 232, 245, .3);
  letter-spacing: .08em;
  padding: 16px 0;
}

.breadcrumb a { color: rgba(220, 232, 245, .4); text-decoration: none; cursor: none; transition: color var(--transition-normal); }
.breadcrumb a:hover { color: var(--color-rose); }
.breadcrumb__sep { color: rgba(224, 46, 116, .5); }
.breadcrumb__current { color: rgba(220, 232, 245, .6); }

/* ============================================================
   PAGINATION  (Block: pagination)
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.pagination__item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  color: rgba(220, 232, 245, .45);
  text-decoration: none;
  cursor: none;
  transition: border-color var(--transition-normal), color var(--transition-normal), background var(--transition-normal);
}

.pagination__item:hover,
.pagination__item--active {
  border-color: var(--color-rose);
  color: var(--color-white);
  background: rgba(224, 46, 116, .1);
}

/* ============================================================
   POSTS ARCHIVE  (Block: posts)
   ============================================================ */
.posts {
  background: var(--color-black);
  padding: var(--space-section-v) var(--space-section-h);
}

.posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

/* ============================================================
   404 PAGE  (Block: not-found)
   ============================================================ */
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-section-h);
  background: var(--color-black);
}

.not-found__code {
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 18rem);
  color: rgba(255, 255, 255, .04);
  line-height: 1;
  position: absolute;
}

.not-found__content { position: relative; z-index: 2; }

.not-found__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  color: var(--color-white);
  letter-spacing: .04em;
  margin-bottom: 16px;
}

.not-found__title em { color: var(--color-rose); font-style: normal; }

.not-found__text {
  font-size: .95rem;
  color: rgba(220, 232, 245, .4);
  max-width: 400px;
  margin: 0 auto 36px;
  font-weight: 300;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: .25; }
  50%       { opacity: 1; }
}

@keyframes rainMove {
  from { background-position: 0 0; }
  to   { background-position: -10px 120px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --space-section-v: 72px;
    --space-section-h: 36px;
  }

  .about-page__team-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail__grid { grid-template-columns: 1fr; }
  .service-detail__sidebar { position: static; }
}

@media (max-width: 768px) {
  :root {
    --space-section-v: var(--space-section-v-sm);
    --space-section-h: var(--space-section-h-sm);
  }

  /* Nav */
  .nav { padding: 0 var(--space-section-h-sm); }
  .nav__list { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero__stats { right: 24px; bottom: 24px; gap: 8px; }
  .hero__stat { padding: 10px 14px; }
  .hero__logo-bg { display: none; }

  /* Grids → 1 column */
  .services__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* Firefox */
    gap: 0;
    background: rgba(60, 100, 180, .08);
    border: 1px solid rgba(60, 100, 180, .08);
  }
  .services__grid::-webkit-scrollbar { display: none; }
  .services__grid .svc-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    border-right: 1px solid rgba(60, 100, 180, .08);
  }
  .services__grid .svc-card:last-child { border-right: none; }
  .services__dots { display: flex; }
  .why__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding-bottom: 4px;
  }
  .why__grid::-webkit-scrollbar { display: none; }
  .why__grid .why-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
  .why__dots { display: flex; }
  .about               { grid-template-columns: 1fr; }
  .about__img-accent   { display: none; }
  .about__badge        { right: 0; }
  .blog-section__grid          { grid-template-columns: 1fr; }
  .blog-section__grid--featured{ grid-template-columns: 1fr; }
  .posts__grid         { grid-template-columns: 1fr; }
  .career__grid        { grid-template-columns: 1fr; }
  .about-page__values  { grid-template-columns: 1fr; }
  .about-page__team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band          { grid-template-columns: repeat(2, 1fr); }
  .contact-page        { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* Contact band */
  .contact-band { grid-template-columns: 1fr; }
  .contact-band::before { display: none; }

  /* Section header */
  .section__header { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* Blog detail */
  .blog-detail { padding: 40px var(--space-section-h-sm); }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__btns { flex-direction: column; align-items: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { position: relative; bottom: auto; right: auto; flex-wrap: wrap; justify-content: center; margin-top: 20px; padding: 0 24px; }
}

/* WordPress body classes */
.home .nav--homepage-hidden { display: none; }

/* ============================================================
   CONTACT FORM 7 — overrides  (wpcf7)
   ============================================================ */

/* Wrapper reset */
.wpcf7 form,
.wpcf7 { margin: 0; }

/* Každé pole CF7 = náš .form-group */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 20px;
}

/* Input, textarea, select */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--color-white);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: rgba(224, 46, 116, .5);
  box-shadow: 0 0 0 3px rgba(224, 46, 116, .08);
}

.wpcf7 textarea {
  resize: vertical;
  min-height: 130px;
}

.wpcf7 select option {
  background: var(--color-surface);
  color: var(--color-white);
}

/* Placeholder barva */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: rgba(220, 232, 245, .25);
}

/* Label styl (CF7 nevytváří label automaticky — ale pro jistotu) */
.wpcf7 label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(220, 232, 245, .5);
  margin-bottom: 8px;
}

/* Oddělovač pro dvojici polí vedle sebe (pokud jsou labely s <br>) */
.wpcf7 br { display: none; }

/* Submit tlačítko */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 38px;
  background: var(--color-rose);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: none;
  box-shadow: 0 4px 20px rgba(224, 46, 116, .3);
  transition: transform var(--transition-fast), box-shadow var(--transition-normal), background var(--transition-normal);
  margin-top: 8px;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  background: var(--color-rose-d);
  box-shadow: 0 8px 28px rgba(224, 46, 116, .4);
  transform: translateY(-2px);
}

.wpcf7 input[type="submit"]:disabled,
.wpcf7 .wpcf7-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* Spinner (loading stav) */
.wpcf7 .wpcf7-spinner {
  display: none;
}

/* Validační hlášky */
.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  font-size: .72rem;
  color: var(--color-rose);
  margin-top: 6px;
  letter-spacing: .04em;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid {
  border-color: rgba(224, 46, 116, .6);
  box-shadow: 0 0 0 3px rgba(224, 46, 116, .1);
}

/* Response output (success / error zpráva) */
.wpcf7 .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(34, 197, 94, .1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, .25);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: rgba(224, 46, 116, .08);
  color: var(--color-rose);
  border: 1px solid rgba(224, 46, 116, .2);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  background: rgba(232, 146, 58, .08);
  color: var(--color-amber);
  border: 1px solid rgba(232, 146, 58, .2);
}
