/* ==========================================================================
   Aequitas Group — shared design system
   Visual language ported from design/src/styles.css (Aequitas brand tokens).
   Hand-written, framework-free CSS so the markup can be handed to the
   PHP/Smarty CMS without a Tailwind/Node build step.
   ========================================================================== */

@import url('../fonts/plus-jakarta-sans/plus-jakarta-sans.css');

:root {
  /* Brand palette */
  --navy: #020f22;
  --navy-mid: #11223b;
  --navy-light: #22344f;
  --accent: #4aa3f5;
  --accent-dark: #1d85ed;
  --cream: #f9f8f6;
  --section: #ecf0f3;
  --text: #19202e;
  --text-mid: #5b667b;
  --text-soft: #8a95a6;
  --border: #dbe0e6;
  --white: #ffffff;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --container-w: 1280px;
  --shadow-lg: 0 20px 45px rgba(2, 15, 34, 0.12);
  --shadow-accent: 0 0 28px rgba(74, 163, 245, 0.28);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- Layout helpers ------------------------------------------------------ */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .container { padding: 0 40px; }
}

.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
@media (min-width: 1024px) {
  .section { padding: 112px 0; }
  .section--tight { padding: 64px 0; }
}
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.85); }
.section--cream { background: var(--cream); }
.section--section { background: var(--section); }
.section--white { background: var(--white); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--3-fixed { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3-fixed { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3-fixed { grid-template-columns: 1fr; } }
.grid--4-fixed { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--4-fixed { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4-fixed { grid-template-columns: 1fr; } }
.grid--5-fixed { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .grid--5-fixed { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid--5-fixed { grid-template-columns: repeat(2, 1fr); } }

/* ---- Eyebrow / heading kit ------------------------------------------------ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(2, 15, 34, 0.5);
}
.eyebrow span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(2, 15, 34, 0.5);
}
.section--navy .eyebrow::before { background: var(--accent); }
.section--navy .eyebrow span { color: var(--accent); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(2, 15, 34, 0.5);
}
.section--navy .eyebrow--center::after { background: var(--accent); }

h1, .h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(34px, 4vw, 58px);
  color: var(--navy);
}
h2, .h2 {
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy);
}
h3, .h3 {
  font-weight: 700;
  line-height: 1.3;
  font-size: 20px;
  color: var(--navy);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.lede {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 400;
}
.section--navy .lede { color: rgba(255, 255, 255, 0.65); }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 11px 22px; font-size: 13.5px; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { opacity: 0.9; box-shadow: var(--shadow-accent); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-mid); }
.btn--outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.25); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn--outline-dark { background: transparent; color: var(--navy); border: 1px solid var(--border); }
.btn--outline-dark:hover { border-color: var(--accent); color: var(--accent-dark); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* ---- Cards ------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
a.card, .card--link { transition: all 0.25s ease; }
a.card:hover, .card--link:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--accent); }
.card--flush { padding: 0; overflow: hidden; }

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(2, 15, 34, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.bullet-list { display: flex; flex-direction: column; gap: 12px; }
.bullet-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
}
.bullet-list li::before {
  content: '\2014';
  color: var(--accent-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.stat {
  border-top: 2px solid var(--navy);
  padding-top: 18px;
}
.stat__value { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.stat__value small { font-size: 16px; font-weight: 600; color: var(--accent-dark); }
.stat__label { font-size: 13px; color: var(--text-mid); margin-top: 6px; }
.section--navy .stat { border-top-color: var(--accent); }
.section--navy .stat__value { color: var(--white); }
.section--navy .stat__label { color: rgba(255, 255, 255, 0.5); }

.data-list { border-top: 1px solid var(--border); margin-top: 20px; }
.data-list__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.data-list__row span { color: var(--text-mid); }
.data-list__row strong { color: var(--text); }

.doc-link {
  display: block;
  font-size: 13.5px;
  color: var(--navy);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}
.doc-link:hover { color: var(--accent-dark); }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__content {
  margin-top: 12px;
  color: var(--text-mid);
  line-height: 1.7;
}

.disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ---- Rich text (CMS/texy content) ----------------------------------------- */
.rich-text h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 12px;
}
.rich-text h4:first-child { margin-top: 0; }
.rich-text p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.rich-text strong { color: var(--navy); }

/* ---- Job cards ------------------------------------------------------------ */
.job-card { display: flex; flex-direction: column; gap: 10px; }
.job-card .tag { color: var(--accent-dark); }
.job-card h3 { font-size: 19px; }
.job-card p { font-size: 14px; line-height: 1.7; color: var(--text-mid); }
.disclaimer-box {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-mid);
}

.tag {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.breadcrumb { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.breadcrumb a { color: rgba(255, 255, 255, 0.55); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .current { color: var(--accent); }

/* ---- Navbar --------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
/* Inner pages (no full-bleed hero image behind the header) keep a solid navy bar. */
.navbar--solid,
.navbar.navbar--scrolled {
  background: var(--navy);
  box-shadow: 0 1px 32px rgba(2, 15, 34, 0.32);
}
.navbar .container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__logo { display: flex; align-items: center; line-height: 1; }
.navbar__logo img { height: 34px; width: auto; display: block; }
.footer__brand .navbar__logo img { height: 28px; }
.navbar__links { display: flex; align-items: center; gap: 28px; }
.navbar__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.navbar__links a:hover, .navbar__links a.is-active { color: var(--white); }
.navbar__lang {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
}
.navbar__lang:hover { border-color: rgba(255, 255, 255, 0.6); }
.navbar__actions { display: flex; align-items: center; gap: 12px; }
.navbar__cta { position: relative; }
.navbar__dropdown-wrap { position: relative; }
.navbar__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 12px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
}
.navbar__dropdown-wrap .navbar__dropdown { right: auto; left: 0; }
.navbar__cta:hover .navbar__dropdown,
.navbar__cta:focus-within .navbar__dropdown,
.navbar__dropdown-wrap:hover .navbar__dropdown,
.navbar__dropdown-wrap:focus-within .navbar__dropdown,
.navbar__dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar__dropdown-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  min-width: 230px;
  padding: 8px 0;
}
.navbar__dropdown-inner a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  padding: 10px 20px;
}
.navbar__dropdown-inner a:hover { background: var(--cream); color: var(--navy); }
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 8px;
}
.navbar__mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 24px 24px;
  background: var(--navy);
}
.navbar__mobile.is-open { display: flex; }
.navbar__mobile a {
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar__mobile .btn { margin-top: 16px; text-align: center; }

@media (max-width: 960px) {
  .navbar__links, .navbar__actions { display: none; }
  .navbar__toggle { display: block; }
}

body { padding-top: 80px; }
body.page-home { padding-top: 0; }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  background: linear-gradient(155deg, #01203f 0%, #023878 78%);
  padding: 64px 0 56px;
}
.hero h1 { color: var(--white); margin-top: 16px; max-width: 800px; }
.hero p { color: #ccdaec; margin-top: 18px; max-width: 720px; font-size: 15.5px; line-height: 1.7; }
.hero .breadcrumb { margin-bottom: 0; }
.hero .tag { color: var(--accent); font-size: 12px; letter-spacing: 0.18em; }

/* Homepage hero: full-bleed background photo, dark-to-light gradient overlay
   (readable left, photo visible right), blue glow top-right, oversized headline,
   trust badges, and a glassmorphic stats strip pinned to the bottom of the section. */
.hero--home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(2, 15, 34, 0.97) 0%, rgba(2, 15, 34, 0.88) 38%, rgba(2, 15, 34, 0.60) 62%, rgba(2, 15, 34, 0.30) 100%),
    linear-gradient(to top, rgba(2, 15, 34, 0.7) 0%, transparent 40%);
}
.hero__glow {
  position: absolute;
  top: 0; right: 0;
  width: 50vw; height: 50vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 20%, rgba(74, 163, 245, 0.10) 0%, transparent 65%);
}
.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 128px 0 64px;
}
@media (min-width: 1024px) {
  .hero__content { padding-bottom: 96px; }
}
.hero__eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
@media (min-width: 1024px) { .hero__eyebrow-row { margin-bottom: 40px; } }
.hero__eyebrow-row .rule { width: 40px; height: 1px; background: var(--accent); display: block; }
.hero__eyebrow-row .accent-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.hero__eyebrow-row .muted-label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.3); }
.hero--home h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-top: 0;
  max-width: 920px;
}
.accent-line { color: var(--accent); }
.hero__sub-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px; margin-top: 32px; }
@media (min-width: 1024px) { .hero__sub-row { gap: 64px; } }
.hero__sub-row .lede { color: rgba(255, 255, 255, 0.55); max-width: 576px; font-weight: 300; font-size: 16px; line-height: 1.6; margin-top: 0; }
@media (min-width: 1024px) { .hero__sub-row .lede { font-size: 18px; } }
.hero__cta-group { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; flex-shrink: 0; }
.hero__cta-group .btn--accent { box-shadow: var(--shadow-accent); }
.hero__cta-group .btn--accent:hover { box-shadow: var(--shadow-accent); }
.hero__badges { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
@media (min-width: 1024px) { .hero__badges { margin-top: 48px; } }
.hero__badges .badge { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.hero__badges .badge svg { flex-shrink: 0; color: var(--accent); }
.hero__badges .badge-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.15); }
.hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 15, 34, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) {
  .hero__stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.hero__stats .stat { border-top: none; padding: 28px 16px; }
@media (min-width: 1024px) { .hero__stats .stat { padding: 28px 32px; } }
.hero__stats .stat:not(:first-child) { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.hero__stats .stat__value { font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
@media (min-width: 1024px) { .hero__stats .stat__value { font-size: 30px; } }
.hero__stats .stat--accent .stat__value { color: var(--accent); }
.hero__stats .stat__label { color: rgba(255, 255, 255, 0.4); font-size: 12px; font-weight: 300; margin-top: 6px; line-height: 1.4; }
@media (min-width: 1024px) { .hero__stats .stat__label { font-size: 13.5px; } }

@media (max-width: 640px) {
  .hero__content { padding: 112px 0 40px; }
  .hero__sub-row { align-items: flex-start; }
}

/* ---- Panoramic divider ---------------------------------------------------- */
.divider-image {
  position: relative;
  height: clamp(200px, 35vw, 420px);
  overflow: hidden;
}
.divider-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Trust / "Ověřeno" media section --------------------------------------- */
.trust-section { position: relative; overflow: hidden; }
.trust-section__bg { position: absolute; inset: 0; z-index: 0; }
.trust-section__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.trust-section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(2, 15, 34, 0.92) 0%, rgba(2, 15, 34, 0.7) 100%);
}
.trust-section__content { position: relative; z-index: 1; }
.trust-section .eyebrow::before,
.trust-section .eyebrow::after { background: var(--accent); }
.trust-section .eyebrow span { color: var(--accent); }
.trust-section h2 { color: var(--white); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trust-grid__item {
  padding: 40px 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-grid__item:first-child { border-left: none; }
.trust-grid__value { font-size: clamp(36px, 4vw, 48px); font-weight: 800; letter-spacing: -0.01em; color: var(--accent); margin-bottom: 8px; }
.trust-grid__label { color: var(--white); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.trust-grid__desc { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.5); }
.trust-section .disclaimer { color: rgba(255, 255, 255, 0.35); }
@media (max-width: 767px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid__item { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .trust-grid__item:first-child { border-top: none; }
}
.divider-image::after { content: ''; position: absolute; inset: 0; background: rgba(2, 15, 34, 0.22); }

/* ---- Investujte cards ------------------------------------------------------ */
.invest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 900px) { .invest-grid { grid-template-columns: 1fr; } }
.invest-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--border);
}
.invest-card--dark {
  background: var(--navy);
  border: none;
  position: relative;
  overflow: hidden;
}
.invest-card--dark::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 163, 245, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.invest-card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(2, 15, 34, 0.45); position: relative; z-index: 1; }
.invest-card--dark .invest-card__eyebrow { color: var(--accent); }
.invest-card__title { font-weight: 800; font-size: 24px; line-height: 1.3; color: var(--navy); margin-top: 8px; position: relative; z-index: 1; }
.invest-card--dark .invest-card__title { color: var(--white); }
.invest-check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; position: relative; z-index: 1; }
.invest-check-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.5; color: rgba(2, 15, 34, 0.75); }
.invest-check-list .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 15, 34, 0.08);
  color: var(--navy);
}
.invest-card--dark .invest-check-list li { color: rgba(255, 255, 255, 0.75); }
.invest-card--dark .invest-check-list .check { background: rgba(74, 163, 245, 0.15); color: var(--accent); }
.invest-card .disclaimer { margin-top: 16px; position: relative; z-index: 1; }
.invest-card--dark .disclaimer { color: rgba(255, 255, 255, 0.35); }
.invest-card__footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.invest-card--dark .invest-card__footer { border-top-color: rgba(255, 255, 255, 0.1); }
.invest-card__footer-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(2, 15, 34, 0.45); margin-bottom: 4px; }
.invest-card--dark .invest-card__footer-label { color: rgba(255, 255, 255, 0.45); }
.invest-card__footer-value { font-size: 26px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.invest-card--dark .invest-card__footer-value { color: var(--accent); }
.invest-card__footer-value small { font-size: 14px; font-weight: 500; color: var(--text-mid); }
.invest-card--dark .invest-card__footer-value small { color: rgba(255, 255, 255, 0.45); }

/* ---- "Vaše peníze pracují v horách" media CTA ------------------------------ */
.cta-media { position: relative; overflow: hidden; text-align: center; padding: 96px 0; }
@media (min-width: 1024px) { .cta-media { padding: 160px 0; } }
.cta-media__bg { position: absolute; inset: 0; z-index: 0; }
.cta-media__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta-media__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(2, 15, 34, 0.92) 0%, rgba(2, 15, 34, 0.7) 100%);
}
.cta-media__content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-media__label { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.cta-media h2 { color: var(--white); }
.cta-media .lede { color: rgba(255, 255, 255, 0.6); margin: 20px auto 0; max-width: 580px; }
.cta-media__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }

/* ---- CTA banner ------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(120deg, #023878, #0a4a93);
  padding: 56px 0;
}
.cta-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-banner__title { font-size: 20px; font-weight: 700; color: var(--white); }
.cta-banner__sub { font-size: 14px; color: #c3d2e6; margin-top: 8px; }
.cta-banner .btn--accent { background: var(--accent); }
.cta-banner .btn--accent:hover { background: var(--accent-dark); }

/* ---- News / media cards -------------------------------------------------- */
.news-card img { width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius-sm); }
.news-card__meta { font-size: 12px; color: var(--text-soft); margin-top: 16px; }
.news-card__title { font-size: 17px; font-weight: 700; color: var(--navy); margin-top: 8px; line-height: 1.4; }
.news-card__desc { font-size: 13px; line-height: 1.6; color: var(--text-mid); margin-top: 8px; }
.news-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.news-card__date { font-size: 12px; color: var(--text-mid); }
.badge-pill--neutral { color: var(--navy); background: rgba(2, 15, 34, 0.07); }

/* ---- Portfolio project cards ---------------------------------------------- */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.3s ease;
  display: block;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.project-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__body { padding: 20px; }
.project-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.project-card__title { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.badge-pill { flex-shrink: 0; padding: 2px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge-pill--done { color: #059669; background: #ecfdf5; }
.badge-pill--progress { color: #b45309; background: #fffbeb; }
.badge-pill--planned { color: #0369a1; background: #f0f9ff; }
.project-card__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-mid); flex-wrap: wrap; }
.project-card__meta .loc { display: flex; align-items: center; gap: 4px; }
.project-card__meta .sep { color: var(--border); }

/* ---- Team / people -------------------------------------------------------- */
.person { text-align: left; }
.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.person__name { font-size: 16px; font-weight: 700; color: var(--navy); }
.person__role { font-size: 12.5px; font-weight: 600; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.person__bio { font-size: 13px; line-height: 1.65; color: var(--text-mid); margin-top: 10px; }

.person-profile { grid-template-columns: 2fr 1fr; align-items: start; }
.person-profile .person { order: 2; max-width: 260px; margin-left: auto; }
.person-profile .person__bio { order: 1; margin-top: 0; font-size: 14px; }
@media (max-width: 780px) {
  .person-profile { grid-template-columns: 1fr; }
  .person-profile .person { order: 1; max-width: 220px; margin-left: 0; }
  .person-profile .person__bio { order: 2; }
}

/* ---- Founder portrait (Zakladatel section) --------------------------------- */
.founder-portrait { position: relative; max-width: 380px; }
.founder-portrait__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; }
.founder-portrait__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.founder-portrait__quote {
  position: absolute;
  bottom: -16px;
  right: -16px;
  max-width: 260px;
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.founder-portrait__quote svg { color: var(--accent); opacity: 0.75; margin-bottom: 10px; }
.founder-portrait__quote p { font-size: 14px; line-height: 1.6; font-style: italic; color: rgba(255, 255, 255, 0.85); }
@media (max-width: 640px) { .founder-portrait__quote { right: 0; } }

.pill-fact-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-fact { padding: 6px 14px; border-radius: var(--radius-full); font-size: 12px; font-weight: 700; background: rgba(2, 15, 34, 0.07); color: var(--navy); }

/* ---- Form ------------------------------------------------------------- */
.form-card { background: var(--cream); border-radius: var(--radius-lg); padding: 38px; }
.form-field {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}
.form-field:focus { border-color: var(--accent); }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.6; color: var(--text-mid); }
.form-check input { margin-top: 2px; }
.form-note { font-size: 11.5px; color: var(--text-soft); }

/* ---- Footer ------------------------------------------------------------- */
.footer { background: var(--navy); padding: 64px 0 32px; color: rgba(255, 255, 255, 0.85); }
.footer__grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 56px; }
.footer__brand p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.45); margin-top: 16px; }
.footer__social { display: flex; gap: 14px; margin-top: 20px; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.footer h4 { color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 20px; }
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer a { font-size: 14px; color: rgba(255, 255, 255, 0.45); transition: color 0.2s ease; }
.footer a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}
.footer__legal { max-width: 980px; margin-bottom: 18px; }
.footer__legal a { font-size: inherit; }

/* ---- Utilities ------------------------------------------------------------ */
.text-center { text-align: center; }
.max-w-720 { max-width: 720px; }
.max-w-780 { max-width: 780px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }
.hidden { display: none !important; }
