/* ==========================================================================
   VBD INVEST — CORPORATE ATELIER DESIGN
   Executive real estate development & project finance design system.
   ========================================================================== */

:root {
  /* Typography */
  --font-heading: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --font-serif: 'PT Serif', Georgia, serif;

  /* Palette — Corporate tri-tone blues */
  --blue-light: #42b3e5;
  --blue: #0384ce;
  --blue-dark: #3156a3;
  --blue-deep: #23417e;
  --blue-night: #1a3263;

  --white: #ffffff;
  --gray-bg: #edf2f7;
  --gray-soft: #f7fafc;
  --border: #dbe2ea;
  --border-strong: #c8d3e0;

  --text: #555555;
  --text-muted: #8892a0;
  --heading: #1c2533;

  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-lift: 0 10px 25px rgba(26, 50, 99, 0.09);

  --ease: 0.25s ease;

  --container-max: 1200px;
  --container-pad: clamp(18px, 3.5vw, 30px);
  /* Left offset that aligns full-bleed content with the centered container */
  --edge: max(var(--container-pad), calc((100% - var(--container-max)) / 2 + var(--container-pad)));
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  font-size: 16px;
}

#top,
#top-header {
  scroll-margin-top: 0 !important;
}

body.editorial-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.71;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--ease);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

strong {
  color: var(--heading);
}

::selection {
  background: var(--blue);
  color: var(--white);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 10px 18px;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--ease);
}
.skip-link:focus {
  top: 16px;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-solid,
.btn-outline,
.btn-submit-editorial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border: 1px solid transparent;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-solid,
.btn-submit-editorial {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.btn-solid:hover,
.btn-submit-editorial:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--heading);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-glyph {
  font-size: 1rem;
  line-height: 1;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.atelier-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: var(--container-max);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-symbol {
  height: 46px;
  width: auto;
}
.brand-vertical-line {
  width: 1px;
  height: 34px;
  background: var(--border);
}
.brand-tagline {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-firm-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.5px;
}
.brand-firm-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--blue);
  white-space: nowrap;
}

/* The geo line does not fit the clean header — hidden. */
.header-status-indicator {
  display: none;
}

.atelier-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  margin-left: auto;
}
.nav-item {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  white-space: nowrap;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}
.nav-num {
  display: none;
}
.nav-item:hover {
  color: var(--blue);
}
.nav-item.active {
  color: var(--blue);
  border-top-color: var(--blue);
}

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px 10px;
  background: var(--gray-soft);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.lang-btn {
  color: var(--text-muted);
  text-decoration: none;
  padding: 2px 4px;
  transition: color var(--ease);
}
.lang-btn:hover {
  color: var(--blue);
}
.lang-btn.active {
  color: var(--blue-night);
  font-weight: 700;
  cursor: default;
}
.lang-divider {
  color: var(--border-strong);
  font-size: 11px;
  user-select: none;
}

.atelier-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--blue);
  color: var(--white);
  transition: background-color var(--ease);
}
.atelier-btn:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.atelier-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--blue);
}
.atelier-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
}

/* ==========================================================================
   HERO — full-width photo with blue caption box
   ========================================================================== */
.monograph-hero {
  position: relative;
  background: var(--blue-night);
}

/* Thin info bar above the hero photo */
.hero-top-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 10px var(--edge);
  background: var(--gray-bg);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.strip-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.strip-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}
.strip-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--heading);
}
.quote-strip {
  justify-content: center;
}
.strip-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--blue-dark);
}
.strip-author {
  font-size: 12px;
  color: var(--text-muted);
}
.strip-right {
  justify-content: flex-end;
}

.hero-editorial-grid {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 56px 0 120px;
}

.hero-viewport-column {
  position: absolute;
  inset: 0;
}
.viewport-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--blue-night);
}
.viewport-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}
.viewport-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.viewport-photo.fallback-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Soft darkening on the left so the caption box reads well */
.viewport-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 50, 99, 0.45) 0%, rgba(26, 50, 99, 0.1) 55%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-title-column {
  position: relative;
  z-index: 2;
  width: min(580px, calc(100% - 2 * var(--container-pad)));
  margin-left: var(--edge);
  padding: 36px 40px 32px;
  background: rgba(49, 86, 163, 0.94);
  color: var(--white);
  box-shadow: var(--shadow-lift);
}

.dossier-index {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.monumental-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}
.accent-title {
  font-weight: 700;
  color: var(--white);
}

.hero-mission-lead {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
}

.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-title-column .btn-solid {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue-dark);
}
.hero-title-column .btn-solid:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--white);
}
.hero-title-column .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.hero-title-column .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.hero-project-selector {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.selector-heading {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}
.project-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.pill-btn:hover {
  border-color: var(--white);
}
.pill-btn.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue-dark);
}

/* Project caption — bottom right of the photo */
.viewport-meta-overlay {
  position: absolute;
  right: var(--edge);
  bottom: 100px;
  z-index: 3;
  width: min(340px, 40%);
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border-left: 3px solid var(--blue-light);
}
.overlay-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--blue-light);
  margin-bottom: 4px;
}
.overlay-project-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}
.overlay-project-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.viewport-corner-badge {
  position: absolute;
  top: 28px;
  right: var(--edge);
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  background: var(--blue-light);
  color: var(--white);
}
.badge-number {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.badge-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ==========================================================================
   DATASHEET TILES (overlapping metrics strip)
   ========================================================================== */
.datasheet-strip {
  position: relative;
  z-index: 5;
  margin-top: -70px;
}
.datasheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.data-cell {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  color: var(--white);
  background: var(--blue-light);
}
.data-cell:nth-child(2) { background: var(--blue); }
.data-cell:nth-child(3) { background: var(--blue-dark); }
.data-cell:nth-child(4) { background: var(--blue-deep); }

.cell-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}
.cell-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.cell-num {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.3vw, 2.1rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
}
.cell-symbol {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}
.cell-desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   SECTIONS — common
   ========================================================================== */
.atelier-section {
  padding: 48px 0;
}

.editorial-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading);
}
/* Corporate accent bar under headings */
.editorial-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  margin-top: 14px;
  background: var(--blue);
}
.accent-text {
  font-weight: 600;
  color: var(--blue);
}

.section-title-strip {
  margin-bottom: 28px;
}
.section-caption {
  max-width: 640px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

/* ==========================================================================
   01 — O NÁS
   ========================================================================== */
.section-about {
  background: var(--white);
  padding: 56px 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.quote-card {
  margin-top: 30px;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--blue);
}
.quote-body {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--blue-dark);
}
.quote-author-tag {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.body-paragraph {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ==========================================================================
   01B — KĽÚČOVÉ PREDNOSTI
   ========================================================================== */
.section-advantages {
  background: var(--gray-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.section-advantages .section-title-strip {
  margin-bottom: 34px;
}

.atouts-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.atouts-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}
.atout-row {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  box-shadow: var(--shadow-card);
  align-items: flex-start;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.atout-row:nth-child(2) { border-left-color: var(--blue-light); }
.atout-row:nth-child(3) { border-left-color: var(--blue-dark); }
.atout-row:nth-child(4) { border-left-color: var(--blue); }
.atout-row:nth-child(5) { border-left-color: var(--blue-deep); }
.atout-row:nth-child(6) { border-left-color: var(--blue-night); }

.atout-row:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.atout-index {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  transition: background-color var(--ease), transform var(--ease);
}
.atout-row:hover .atout-index {
  background: var(--blue-dark);
  transform: scale(1.05);
}
.atout-info h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
}
.atout-info p {
  font-size: 13.5px;
  line-height: 1.6;
}

/* ==========================================================================
   02 — VEDENIE
   ========================================================================== */
.section-team {
  background: var(--white);
  padding: 56px 0;
}

.masthead-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.masthead-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-bottom: 3px solid transparent;
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}
.masthead-card:hover {
  background: var(--white);
  border-bottom-color: var(--blue);
  box-shadow: var(--shadow-lift);
}
.masthead-card.leader-card {
  border-bottom-color: var(--blue);
}

.card-corner-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.masthead-name {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 4px;
}
.masthead-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
}
.masthead-bio {
  flex-grow: 1;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.masthead-competencies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.masthead-competencies span {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--gray-bg);
  color: var(--text);
}

.masthead-footer-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 20px 26px;
  background: var(--white);
  border-left: 3px solid var(--blue-light);
}
.note-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.masthead-footer-note p {
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   03 — SLUŽBY
   ========================================================================== */
.section-services {
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.blueprint-matrix {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.matrix-row {
  display: grid;
  grid-template-columns: 70px 1.1fr 1.6fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-light);
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.matrix-row:nth-child(2) { border-left-color: var(--blue); }
.matrix-row:nth-child(3) { border-left-color: var(--blue-dark); }
.matrix-row:nth-child(4) { border-left-color: var(--blue-deep); }
.matrix-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.matrix-col-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.matrix-num {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--blue);
}
.matrix-phase {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.matrix-col-title h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 6px;
}
.matrix-col-title p {
  font-size: 13px;
  line-height: 1.6;
}

.matrix-col-deliverables ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}
.matrix-col-deliverables li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.55;
}
.matrix-col-deliverables li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--blue);
}

.btn-inspect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--blue);
  border: 1px solid var(--blue);
  transition: background-color var(--ease), color var(--ease);
}
.btn-inspect:hover {
  background: var(--blue);
  color: var(--white);
}

.standards-dossier {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--blue-dark);
  color: var(--white);
}
.dossier-badge {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--blue-light);
  margin-bottom: 6px;
}
.standards-dossier-inner h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 8px;
}
.standards-dossier-inner p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   04 — PORTFÓLIO (grid of cards)
   ========================================================================== */
.section-portfolio {
  background: var(--gray-bg);
}

.portfolio-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 36px;
}

.editorial-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.filter-tab {
  padding: 9px 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
  color: var(--heading);
  transition: background-color var(--ease), color var(--ease);
}
.filter-tab:hover {
  color: var(--blue);
}
.filter-tab.active {
  background: var(--blue);
  color: var(--white);
}

.works-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* JS toggles display:grid / none on .work-entry, so it stays a grid. */
.work-entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  background: var(--white);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow var(--ease), transform var(--ease);
}
.work-entry:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.work-index-col {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 12px;
  background: var(--blue);
  color: var(--white);
}
.work-num {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.work-cat-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

.work-image-frame {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--border);
}
.work-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-entry:hover .work-photo {
  transform: scale(1.05);
}
.work-photo-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(3, 132, 206, 0.6);
  opacity: 0;
  transition: opacity var(--ease);
}
.work-entry:hover .work-photo-overlay {
  opacity: 1;
}
.work-view-action {
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  border: 1px solid var(--white);
}

.work-data-col {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.work-top-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.work-location {
  color: var(--text-muted);
}
.work-status {
  color: var(--blue);
  text-align: right;
}
.work-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 8px;
}
.work-description {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.work-specs-table {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.spec-cell {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.spec-cell span {
  color: var(--text-muted);
}
.spec-cell strong {
  font-weight: 600;
  text-align: right;
}

.btn-inspect-work {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.btn-inspect-work:hover {
  color: var(--blue-dark);
}

/* ==========================================================================
   05 — METODIKA
   ========================================================================== */
.section-methodology {
  background: var(--white);
  padding: 56px 0;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.roadmap-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue-light);
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease);
}
.roadmap-card:nth-child(2) { border-top-color: var(--blue); }
.roadmap-card:nth-child(3) { border-top-color: var(--blue-dark); }
.roadmap-card:nth-child(4) { border-top-color: var(--blue-deep); }
.roadmap-card:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.card-step {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--blue);
  margin-bottom: 10px;
}
.roadmap-card h4 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 8px;
}
.roadmap-card p {
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   06 — PRE KOHO SÚ SLUŽBY / KLIENTI
   ========================================================================== */
.section-clients {
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.clients-dossier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 24px;
}
.client-dossier-box {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}
.client-dossier-box:nth-child(2) { border-top-color: var(--blue-dark); }
.client-dossier-box:nth-child(3) { border-top-color: var(--blue-light); }
.client-dossier-box:nth-child(4) { border-top-color: var(--blue-deep); }
.client-dossier-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.dossier-cat {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--blue);
  margin-bottom: 8px;
}
.client-dossier-box h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 8px;
}
.client-dossier-box p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

/* ==========================================================================
   07 — KONTAKT
   ========================================================================== */
.section-contact {
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.entities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 24px;
}
@media (max-width: 860px) {
  .entities-grid {
    grid-template-columns: 1fr;
  }
}

.entity-stationery {
  display: flex;
  flex-direction: column;
  padding: 28px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}
.entity-stationery:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.entity-stationery + .entity-stationery {
  border-top-color: var(--blue-dark);
}
.entity-hdr {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.entity-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 8px;
  background: var(--blue);
  color: var(--white);
}
.entity-stationery + .entity-stationery .entity-badge {
  background: var(--blue-dark);
}
.entity-hdr h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: var(--heading);
}

.entity-fields {
  display: flex;
  flex-direction: column;
}
.entity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.entity-row:last-child {
  border-bottom: none;
}
.entity-row .lbl {
  color: var(--text-muted);
}
.entity-row .val {
  font-weight: 600;
  color: var(--heading);
  text-align: right;
}
.entity-address-row {
  align-items: flex-start;
  padding: 10px 0;
}
.entity-address-row .lbl {
  padding-top: 1px;
  flex-shrink: 0;
  min-width: 55px;
}
.address-val {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  text-align: right;
  flex-grow: 1;
}
.address-text-link {
  font-weight: 600;
  color: var(--heading);
  line-height: 1.35;
  transition: color var(--ease);
}
.address-text-link:hover {
  color: var(--blue);
  text-decoration: underline;
}
.map-link-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--blue);
  background: var(--gray-soft);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all var(--ease);
  white-space: nowrap;
}
.map-link-inline:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

@media (min-width: 540px) {
  .address-val {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }
}
.entity-row .val-link {
  font-weight: 600;
  color: var(--blue);
}
.entity-row .val-link:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.iban-box {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--gray-soft);
  border: 1px solid var(--border);
}
.iban-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.iban-digits {
  font-size: 13px;
  letter-spacing: 0.5px;
}
.btn-copy-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  border: 1px solid var(--blue);
  background: var(--white);
  transition: background-color var(--ease), color var(--ease);
}
.btn-copy-chip:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-copy-chip.copied {
  background: #3a9d5d;
  border-color: #3a9d5d;
  color: var(--white);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.atelier-footer {
  background: var(--blue-night);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 0;
}

.footer-primary-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  padding-bottom: 40px;
}
.footer-brand-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-logo-line {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo-line img {
  height: 46px;
  width: auto;
  background: transparent;
}
.footer-bata-quote {
  margin-top: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 2px solid var(--blue-light);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.footer-bata-quote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--blue-light);
  text-transform: uppercase;
}

.footer-links-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.col-head {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--white);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-link-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-link-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-link-col a:hover {
  color: var(--blue-light);
}

.footer-colophon-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px var(--edge);
  margin: 0 calc(-1 * var(--container-pad));
  background: rgba(0, 0, 0, 0.2);
  font-size: 12px;
}
.atelier-footer > .section-container {
  max-width: none;
  padding: 0;
}
.footer-primary-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.footer-colophon-bottom {
  margin: 0;
}
.colophon-left {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.colophon-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ext-source-link {
  color: rgba(255, 255, 255, 0.7);
}
.ext-source-link:hover {
  color: var(--blue-light);
}
.btn-top-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--white);
  background: var(--blue);
  cursor: pointer;
  transition: background-color var(--ease);
}
.btn-top-anchor:hover {
  background: var(--blue-light);
  color: var(--white);
}

.floating-top-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 990;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color var(--ease);
}
.floating-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-top-btn:hover {
  background: var(--blue-dark);
}

/* ==========================================================================
   DIALOG
   ========================================================================== */
.atelier-dialog {
  width: min(700px, calc(100% - 32px));
  max-height: 85vh;
  margin: auto;
  padding: 0;
  border: none;
  border-top: 4px solid var(--blue);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.atelier-dialog::backdrop {
  background: rgba(26, 50, 99, 0.55);
}
.dialog-inner {
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 40px);
}
.dialog-close-trigger {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 15px;
  background: var(--gray-bg);
  transition: background-color var(--ease), color var(--ease);
}
.dialog-close-trigger:hover {
  background: var(--blue);
  color: var(--white);
}
.dialog-kicker {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 8px;
}
.dialog-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 14px;
  padding-right: 40px;
}
.dialog-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.dialog-meta-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--gray-bg);
  color: var(--heading);
}
.dialog-abstract {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.dialog-checklist-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.checklist-bullet {
  color: var(--blue);
}
.dialog-checklist-header h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--heading);
}
.dialog-checklist-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.dialog-checklist-items li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.65;
}
.dialog-checklist-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--blue);
}
.dialog-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   MOBILE ACCORDIONS & COLLAPSIBLE SYSTEM (Desktop defaults: fully open, toggles hidden)
   ========================================================================== */
.matrix-collapse-wrap {
  display: contents;
}
.accordion-chevron,
.matrix-mobile-toggle,
.masthead-mobile-toggle,
.standards-mobile-toggle {
  display: none !important;
}
.atout-header-row,
.roadmap-title-row,
.client-dossier-header,
.standards-header-row {
  display: block;
}
.mobile-collapse-content,
.masthead-collapse-content {
  display: block;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-item {
    padding: 0 11px;
  }
  .brand-vertical-line,
  .brand-tagline {
    display: none;
  }
  .hero-top-strip {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: left;
  }
  .quote-strip,
  .strip-right {
    justify-content: flex-start;
  }
  .matrix-row {
    grid-template-columns: 60px 1fr;
    gap: 16px 22px;
  }
  .matrix-col-deliverables,
  .matrix-col-action {
    grid-column: 2;
  }
  .works-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
  .datasheet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-grid,
  .clients-dossier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .hero-editorial-grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }
  .hero-viewport-column {
    position: relative;
    inset: auto;
    order: -1;
    height: 300px;
  }
  .hero-title-column {
    width: 100%;
    margin: 0;
    padding: 30px var(--container-pad) 90px;
    box-shadow: none;
    background: var(--blue-dark);
  }
  .viewport-meta-overlay {
    left: var(--container-pad);
    right: var(--container-pad);
    bottom: 16px;
    width: auto;
  }
  .viewport-corner-badge {
    top: 16px;
    right: var(--container-pad);
  }
  .manifesto-grid,
  .masthead-grid,
  .contact-editorial-layout,
  .footer-primary-grid {
    grid-template-columns: 1fr;
  }
  .footer-links-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .atelier-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    z-index: 999;
  }
  .atelier-nav.open {
    display: flex;
  }
  .nav-item {
    padding: 14px var(--container-pad);
    font-size: 17px;
    border-top: none;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
  }
  .nav-item.active {
    border-left-color: var(--blue);
    background: var(--gray-soft);
  }
  .atelier-burger {
    display: flex;
  }
  .header-cta-wrap .atelier-btn {
    display: none;
  }
}

/* ==========================================================================
   MOBILE ACCORDIONS & COLLAPSIBLE SYSTEM (Screens <= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Section padding optimization */
  .atelier-section {
    padding: 38px 0;
  }
  .section-title-strip {
    margin-bottom: 20px;
  }
  .editorial-heading {
    font-size: 1.65rem;
  }
  .editorial-heading::after {
    margin-top: 10px;
  }

  /* Hero Action Buttons Side by Side on Mobile */
  .hero-action-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .hero-action-row .btn-solid,
  .hero-action-row .btn-outline {
    width: 100% !important;
    min-width: 0 !important;
    padding: 12px 6px !important;
    font-size: clamp(11.5px, 2.95vw, 13px) !important;
    letter-spacing: -0.25px !important;
    gap: 4px !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .hero-action-row .btn-glyph {
    font-size: 11px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
  }

  /* Accordion Chevrons */
  .accordion-chevron {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gray-soft);
    color: var(--blue);
    flex-shrink: 0;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, color 0.2s ease;
  }

  /* 01B: KĽÚČOVÉ PREDNOSTI */
  .section-advantages {
    padding: 40px 0;
  }
  .atouts-list {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    border-top: none;
    gap: 8px;
  }
  .atout-row.mobile-accordion-item {
    cursor: pointer;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
    transition: background-color var(--ease), border-color var(--ease);
    border-radius: 2px;
    gap: 12px;
    align-items: flex-start;
  }
  .atout-row.mobile-accordion-item:hover,
  .atout-row.mobile-accordion-item:focus-visible {
    background: #f8fafc;
    border-color: var(--blue-light);
  }
  .atout-row.mobile-accordion-item.is-open {
    background: #f8fafc;
    border-color: var(--blue);
  }
  .atout-row .atout-index {
    width: 34px;
    height: 34px;
    font-size: 13px;
    margin-top: 2px;
  }
  .atout-row .atout-info {
    flex-grow: 1;
    min-width: 0;
  }
  .atout-header-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .atout-header-row h4 {
    font-size: 15px;
    margin-bottom: 0;
  }
  .atout-row .mobile-collapse-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin-top 0.25s ease;
  }
  .atout-row.is-open .mobile-collapse-content {
    max-height: 250px;
    opacity: 1;
    margin-top: 8px;
  }
  .atout-row.is-open .accordion-chevron {
    transform: rotate(180deg);
    background: var(--blue);
    color: var(--white);
  }

  /* 02: SLUŽBY (Blueprint Matrix) */
  .blueprint-matrix {
    gap: 12px;
  }
  .matrix-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px;
    padding: 16px 16px;
    grid-template-columns: none;
  }
  .matrix-col-index {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
  }
  .matrix-num {
    font-size: 26px;
  }
  .matrix-col-title h3 {
    font-size: 17px;
    margin-bottom: 4px;
  }
  .matrix-col-title p {
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.5;
  }
  .matrix-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--blue);
    background: var(--gray-soft);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--ease);
  }
  .matrix-mobile-toggle:hover {
    background: #e2e8f0;
  }
  .matrix-row.is-open .matrix-mobile-toggle {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
  }
  .matrix-row.is-open .matrix-mobile-toggle .accordion-chevron {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
  }
  .matrix-collapse-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  }
  .matrix-row.is-open .matrix-collapse-wrap {
    max-height: 800px;
    opacity: 1;
    margin-top: 8px;
  }
  .matrix-col-deliverables {
    grid-column: auto !important;
  }
  .matrix-col-deliverables ul {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .matrix-col-action {
    grid-column: auto !important;
  }
  .matrix-col-action .btn-inspect {
    width: 100%;
    justify-content: center;
    padding: 11px;
  }

  /* Standards footnote on mobile */
  .standards-dossier {
    margin-top: 20px;
    padding: 18px 20px;
  }
  .standards-header-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
  }
  .standards-header-row h4 {
    margin-bottom: 0;
    font-size: 15px;
  }
  .standards-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .standards-dossier .accordion-chevron {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
  }
  .standards-dossier.is-open .accordion-chevron {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.35);
  }
  .standards-dossier .mobile-collapse-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  }
  .standards-dossier.is-open .mobile-collapse-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 10px;
  }

  /* 03: METODIKA (Roadmap) */
  .roadmap-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    grid-template-columns: none !important;
  }
  .roadmap-card.mobile-accordion-item {
    cursor: pointer;
    padding: 16px 18px;
    transition: all var(--ease);
  }
  .roadmap-title-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .roadmap-title-row h4 {
    margin: 0;
    font-size: 16px;
  }
  .roadmap-card .card-step {
    margin-bottom: 4px;
  }
  .roadmap-card .mobile-collapse-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  }
  .roadmap-card.is-open .mobile-collapse-content {
    max-height: 250px;
    opacity: 1;
    margin-top: 8px;
  }
  .roadmap-card.is-open .accordion-chevron {
    transform: rotate(180deg);
    background: var(--blue);
    color: var(--white);
  }

  /* 04: PRE KOHO SÚ SLUŽBY (Clients Dossier) */
  .clients-dossier-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    grid-template-columns: none !important;
    margin-top: 16px;
  }
  .client-dossier-box.mobile-accordion-item {
    cursor: pointer;
    padding: 16px 18px;
    transition: all var(--ease);
  }
  .client-dossier-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .client-dossier-header h3 {
    margin: 0;
    font-size: 16px;
  }
  .client-dossier-box .dossier-cat {
    margin-bottom: 4px;
  }
  .client-dossier-box .mobile-collapse-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  }
  .client-dossier-box.is-open .mobile-collapse-content {
    max-height: 250px;
    opacity: 1;
    margin-top: 8px;
  }
  .client-dossier-box.is-open .accordion-chevron {
    transform: rotate(180deg);
    background: var(--blue);
    color: var(--white);
  }

  /* 05: VEDENIE (Masthead) */
  .masthead-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    grid-template-columns: none !important;
  }
  .masthead-card {
    padding: 18px 18px;
  }
  .masthead-name {
    font-size: 18px;
  }
  .masthead-role {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .masthead-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--blue);
    background: var(--white);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--ease);
  }
  .masthead-mobile-toggle:hover {
    background: #e2e8f0;
  }
  .masthead-card.is-open .masthead-mobile-toggle {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
  }
  .masthead-card.is-open .masthead-mobile-toggle .accordion-chevron {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
  }
  .masthead-collapse-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  }
  .masthead-card.is-open .masthead-collapse-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 12px;
  }
  .masthead-bio {
    margin-bottom: 12px;
  }

  /* Datasheet Grid: 2x2 grid on mobile screens (cuts height dramatically) */
  .datasheet-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3px !important;
    padding: 0 12px !important;
  }
  .data-cell {
    padding: 16px 14px 14px;
  }
  .cell-label {
    font-size: 10px;
    margin-bottom: 4px;
  }
  .cell-num {
    font-size: 1.5rem;
  }
  .cell-desc {
    font-size: 11.5px;
    line-height: 1.45;
  }
}

@media (max-width: 640px) {
  .works-catalog,
  .footer-links-columns,
  .form-split {
    grid-template-columns: 1fr;
  }
  .portfolio-header-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-title-column {
    padding-left: 16px;
    padding-right: 16px;
  }
  .map-access-bar {
    flex-wrap: wrap;
  }
  .entity-stationery {
    padding: 22px 18px;
  }
}
