/* =========================================================
   NEO BUILDER — REALIZACE PAGE + SINGLE PROJECT DETAIL
   CLEAN FINAL
========================================================= */

:root {
  --blue: #4076FF;
  --main-blue: #184EC5;
  --dark: #1C1C1E;
  --muted: #6B7280;
  --line: #DDE3EC;
  --bg: #F4F6F9;
  --white: #FFFFFF;
}

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

html,
body {
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  box-sizing: border-box;
}

/* =========================================================
   UNIVERSAL
========================================================= */

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px 0;
  font-family: "SF Pro", "SF Pro Display", sans-serif;
  font-weight: 510;
  font-size: 12px;
  line-height: 20.8px;
  letter-spacing: 1.82px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom:18px;
}

.section-kicker::before {
  content: "";
  display: block;
  width: 30px;
  height: 1.5px;
  border-radius: 20px;
  background: var(--blue);
  flex: 0 0 30px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: "SF Pro", "SF Pro Display", sans-serif;
  font-weight: 510;
  font-size: 13px;
  line-height: 19.5px;
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}

.section-link i {
  font-style: normal;
  font-size: 22px;
  line-height: 1;
}

/* =========================================================
   REALIZACE HERO — CENTERED FINAL
========================================================= */

.realizace-hero {
  position: relative;
  width: 100%;
  height: 809px;
  overflow: hidden;
  background: #111827;
}

.realizace-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.realizace-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(3, 8, 18, .62) 0%,
      rgba(3, 8, 18, .48) 42%,
      rgba(3, 8, 18, .28) 74%,
      rgba(3, 8, 18, .42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 8, 18, .25) 0%,
      rgba(3, 8, 18, .12) 44%,
      rgba(3, 8, 18, .58) 100%
    );
}

.realizace-hero-layout {
  position: relative;
  z-index: 2;
  width: 1202px;
  max-width: calc(100% - 80px);
  height: 809px;
  margin: 0 auto;
}

.realizace-hero-content {
  position: absolute;
  top: 300px;
  left: 0;
  z-index: 5;
  width: 971px;
  max-width: calc(100% - 260px);
  height: auto;
}

.realizace-hero .section-kicker {
  color: var(--blue);
}

.realizace-hero .section-kicker::before {
  background: var(--blue);
}

.realizace-hero-title {
  margin: 0 0 28px 0;
  font-family: "SF Pro", "SF Pro Display", sans-serif;
  font-weight: 590;
  font-size: 112px;
  line-height: 110px;
  letter-spacing: -4.99px;
  color: #ffffff;
}

.realizace-hero-text {
  margin: 0 0 25px 0;
  max-width: 707px;
  font-family: "SF Pro Rounded", "SF Pro", "Onest", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25.6px;
  color: #ffffff;
}

.realizace-hero-text:last-of-type {
  margin-bottom: 0;
}

.realizace-hero-text-mobile {
  display: none;
}

.realizace-hero-cta {
  position: absolute;
  top: 641px;
  right: 0;
  z-index: 5;
  width: 183px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 100px;
  background: var(--blue);
  font-family: "Onest", sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: .15px;
  color: #ffffff;
}

.realizace-hero-cta span,
.realizace-hero-mobile-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  line-height: 1;
}

.realizace-hero-cta span img,
.realizace-hero-mobile-btn span img {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
}

.realizace-hero-mobile-actions {
  display: none;
}

.realizace-hero-mobile-btn {
  width: 171px;
  height: 45px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 33554400px;
  font-family: "Onest", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: .15px;
  color: #ffffff;
  white-space: nowrap;
}

.realizace-hero-mobile-btn-primary {
  background: var(--blue);
}

.realizace-hero-mobile-btn-secondary {
  border: 1px solid #ffffff;
  background: transparent;
}

/* =========================================================
   PROJECTS PAGE
========================================================= */

.projects-page-section {
  width: 100%;
  background: #ffffff;
  padding: 119px 0 138px;
}

.projects-page-container {
  width: 1202px;
  margin: 0 auto;
}

.projects-mobile-head {
  display: block;
  width: 1202px;
  margin: 0 auto 48px;
}

.projects-mobile-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px 0;
  font-family: "SF Pro", "SF Pro Display", sans-serif;
  font-weight: 510;
  font-size: 12px;
  line-height: 20.8px;
  letter-spacing: 1.82px;
  text-transform: uppercase;
  color: var(--blue);
}

.projects-mobile-kicker::before {
  content: "";
  display: block;
  width: 30px;
  height: 1.5px;
  background: var(--blue);
  border-radius: 20px;
  flex: 0 0 30px;
}

.projects-mobile-title {
  width: 520px;
  margin: 0;
  font-family: "SF Pro", "SF Pro Display", sans-serif;
  font-weight: 590;
  font-size: 64px;
  line-height: 71.81px;
  letter-spacing: -2.11px;
  color: var(--dark);
}

.projects-page-grid {
  width: 1202px;
  display: grid;
  grid-template-columns: repeat(3, 395px);
  gap: 24px 8.5px;
}

.projects-all-mobile-link {
  width: 360px;
  min-height: 39px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: "SF Pro", "SF Pro Display", sans-serif;
  font-weight: 510;
  font-size: 13px;
  line-height: 19.5px;
  letter-spacing: 1.68px;
  text-align: center;
  text-transform: uppercase;
  color: var(--blue);
}

.projects-all-mobile-link i {
  font-style: normal;
  font-size: 22px;
  line-height: 1;
}

/* =========================================================
   PROJECT CARD
========================================================= */

.project-card {
  display: block;
  width: 395px;
  height: 429px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
}

.project-card:hover {
  color: inherit;
  text-decoration: none;
}

.project-image-wrap {
  position: relative;
  width: 392px;
  height: 269.17px;
  margin: 0 auto;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.project-image {
  width: 392px;
  height: 269.17px;
  object-fit: cover;
}

.project-icon {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-body {
  padding: 22px 24px 20px;
}

.project-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.project-title {
  width: 255px;
  margin: 0;
  font-family: "SF Pro", "SF Pro Display", sans-serif;
  font-weight: 510;
  font-size: 24px;
  line-height: 29.12px;
  letter-spacing: -0.56px;
  color: var(--dark);
}

.round-arrow,
.project-arrow {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: #1C1C1E;
  pointer-events: none;
}

.round-arrow span,
.project-arrow span {
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.round-arrow svg,
.project-arrow svg {
  display: block;
  width: 16px;
  height: 16px;
}

.project-meta {
  display: grid;
  grid-template-columns: 54px 54px 86px;
  column-gap: 18px;
}

.project-meta span {
  display: block;
  font-family: "SF Pro", "SF Pro Display", sans-serif;
  font-weight: 500;
  font-size: 12.7px;
  line-height: 23.04px;
  color: var(--dark);
}

.project-meta strong {
  display: block;
  font-family: "SF Pro", "SF Pro Display", sans-serif;
  font-weight: 500;
  font-size: 14.8px;
  line-height: 26.11px;
  color: var(--main-blue);
  white-space: nowrap;
}

/* =========================================================
   SINGLE PROJECT DETAIL PAGE
========================================================= */

.project-detail-page {
  width: 100%;
  padding: 76px 0 112px;
  background: #ffffff;
}

.project-detail-container {
  width: 1202px;
  margin: 0 auto;
}

.project-detail-head {
  width: 1202px;
  display: grid;
  grid-template-columns: 590px 590px;
  column-gap: 22px;
  margin: 0 0 47px;
  align-items: start;
}

.project-detail-title-side {
  width: 590px;
}

.project-detail-title {
  width: 590px;
  margin: 0;
  font-family: "SF Pro Display", "SF Pro", sans-serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 71.81px;
  letter-spacing: -2.11px;
  color: var(--dark);
}

.project-detail-desc {
  width: 590px;
  margin: 58px 0 0;
  font-family: "SF Pro Rounded", "SF Pro", "Onest", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25.6px;
  text-align: right;
  color: var(--muted);
}

/* =========================================================
   SINGLE PROJECT GALLERY
========================================================= */

.project-gallery {
  width: 1202px;
  display: grid;
  grid-template-columns: 596px 596px;
  gap: 8px;
}

.project-gallery-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  margin: 0;
}

.project-gallery-open {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery-large {
  grid-column: 1 / -1;
  width: 1201px;
  height: 630px;
}

.project-gallery-half {
  width: 596px;
  height: 350px;
}

.project-gallery-bottom {
  grid-column: 1 / -1;
  width: 1201px;
  height: 630px;
}

/* =========================================================
   PROJECT LIGHTBOX
========================================================= */

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

body.project-lightbox-open {
  overflow: hidden;
}

body.project-lightbox-open .project-lightbox {
  display: block;
}

.project-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, .88);
}

.project-lightbox-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 42px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1180px;
  max-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-lightbox-slide {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.project-lightbox-slide.is-active {
  display: flex;
}

.project-lightbox-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.project-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #1C1C1E;
  font-size: 34px;
  line-height: 42px;
  cursor: pointer;
}

.project-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #1C1C1E;
  font-size: 42px;
  line-height: 48px;
  cursor: pointer;
}

.project-lightbox-prev {
  left: 24px;
}

.project-lightbox-next {
  right: 24px;
}

.project-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-family: "Inter", "Onest", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
}

/* =========================================================
   RELATED PROJECTS ON SINGLE PROJECT
========================================================= */

.projects-section {
  width: 100%;
  background: #ffffff;
  padding: 119px 0 119px;
}

.projects-container {
  width: 1202px;
  margin: 0 auto;
}

.projects-layout {
  width: 1202px;
  display: grid;
  grid-template-columns: 340px 806px;
  column-gap: 56px;
  align-items: start;
}

.projects-intro {
  width: 340px;
}

.projects-title {
  width: 340px;
  margin: 0 0 18px;
  font-family: "SF Pro", "SF Pro Display", sans-serif;
  font-weight: 510;
  font-size: 64px;
  line-height: 71.81px;
  letter-spacing: -2.11px;
  color: var(--dark);
}

.projects-desc {
  width: 340px;
  margin: 0 0 28px;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: var(--muted);
}

.projects-link-mobile {
  display: none;
}

.projects-main-grid {
  width: 806px;
  display: grid;
  grid-template-columns: repeat(2, 395px);
  gap: 16px;
}

.projects-main-grid .project-card {
  width: 395px;
}

.projects-main-grid .project-image-wrap {
  width: 392px;
}

.projects-main-grid .project-image {
  width: 392px;
}

/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
  width: 100%;
  background: #ffffff;
  padding: 119px 0 119px;
}

.contact-container {
  width: 1202px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-left {
  width: 572px;
  padding-top: 7px;
}

.contact-kicker {
  margin-bottom: 24px;
}

.contact-title {
  margin: 0 0 24px;
  font-family: "SF Pro", sans-serif;
  font-weight: 510;
  font-size: 64px;
  line-height: 71.81px;
  letter-spacing: -2.11px;
  color: var(--dark);
}

.contact-desc {
  margin: 0 0 54px;
  max-width: 520px;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: var(--muted);
}

.contact-list {
  width: 572px;
}

.contact-item {
  width: 572px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: #DCEBFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info span {
  display: block;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 19.2px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info strong {
  display: block;
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 27.2px;
  color: var(--dark);
}

.contact-form {
  width: 572px;
  height: 747.99px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, .14);
}

.form-head h3 {
  margin: 0 0 6px;
  font-family: "SF Pro", sans-serif;
  font-weight: 510;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.6px;
  color: var(--dark);
}

.form-head p {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
}

.form-group {
  width: 490px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-group label {
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 20.8px;
  color: var(--dark);
}

.form-row {
  width: 490px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.form-group-half {
  width: 237px;
}

.form-group input,
.form-group select {
  width: 490px;
  height: 59px;
  padding: 16px 17px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: var(--dark);
}

.form-group-half input {
  width: 237px;
  height: 59px;
}

.form-group select {
  height: 60px;
  appearance: none;
  cursor: pointer;
}

.select-wrap {
  position: relative;
  width: 490px;
}

.select-wrap::after {
  content: "⌄";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-54%);
  font-size: 18px;
  color: var(--muted);
  pointer-events: none;
}

.form-group textarea {
  width: 490px;
  height: 138px;
  padding: 16px 17px 24px;
  resize: none;
  outline: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7C8594;
}

.contact-submit {
  width: 490px;
  height: 48px;
  border: none;
  border-radius: 33554400px;
  background: var(--blue);
  box-shadow: 0px 10px 15px 0px #2563EB47;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Onest", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 20.8px;
  color: #ffffff;
  cursor: pointer;
  padding: 18px;
}

.form-note {
  margin: -7px 0 0;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 20.8px;
  text-align: center;
  color: #8A94A6;
}

/* =========================================================
   SINGLE PROJECT HEADER — BLACK MENU ONLY
========================================================= */

@media (min-width: 576px) {
  body.single-neo_project .neo-header-nav a,
  body.single-neo_project .neo-header-menu a,
  body.single-neo_project .neo-header-menu li a,
  body.single-neo_project .site-nav a,
  body.single-neo_project .site-menu a,
  body.single-neo_project .site-menu li a {
    color: #1C1C1E !important;
  }

  body.single-neo_project .neo-header-nav a:hover,
  body.single-neo_project .neo-header-menu a:hover,
  body.single-neo_project .neo-header-menu li a:hover,
  body.single-neo_project .site-nav a:hover,
  body.single-neo_project .site-menu a:hover,
  body.single-neo_project .site-menu li a:hover {
    color: var(--blue) !important;
  }

  body.single-neo_project .neo-header-logo img,
  body.single-neo_project .site-logo img {
    filter: none !important;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1300px) {
  .realizace-hero-layout,
  .projects-page-container,
  .projects-page-grid,
  .projects-mobile-head,
  .project-detail-container,
  .project-detail-head,
  .project-gallery,
  .projects-container,
  .projects-layout,
  .contact-container {
    width: calc(100% - 80px);
  }

  .realizace-hero-content {
    width: 820px;
    max-width: calc(100% - 230px);
  }

  .projects-page-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .project-card,
  .project-image-wrap,
  .project-image {
    width: 100%;
  }

  .contact-container {
    gap: 40px;
  }

  .contact-left,
  .contact-form {
    width: calc(50% - 20px);
  }

  .contact-list,
  .contact-item,
  .form-group,
  .form-row,
  .select-wrap,
  .form-group input,
  .form-group select,
  .form-group textarea,
  .contact-submit {
    width: 100%;
  }

  .form-group-half {
    width: calc(50% - 8px);
    flex: 0 0 calc(50% - 8px);
  }

  .form-group-half input {
    width: 100%;
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-gallery-large,
  .project-gallery-bottom,
  .project-gallery-half {
    width: 100%;
  }

  .projects-layout {
    grid-template-columns: 340px 1fr;
  }

  .projects-main-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-main-grid .project-card,
  .projects-main-grid .project-image-wrap,
  body.single-neo_project .projects-main-grid-overlap .project-image {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .realizace-hero-title {
    font-size: 76px;
    line-height: 78px;
    letter-spacing: -3.8px;
  }

  .realizace-hero-content {
    width: 100%;
    max-width: 100%;
  }

  .realizace-hero-cta {
    display: none;
  }

  .realizace-hero-mobile-actions {
    display: flex;
  }

  .projects-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-container {
    display: block;
  }

  .contact-left,
  .contact-form {
    width: 100%;
  }

  .contact-left {
    margin-bottom: 42px;
  }
}

@media (max-width: 575px) {
  .section-kicker {
    margin: 0 0 18px 0;
    font-weight: 510;
    font-size: 11px;
    line-height: 16.5px;
    letter-spacing: 1.82px;
  }

  .realizace-hero,
  .realizace-hero-layout {
    height: 586.19px;
  }

  .realizace-hero-layout {
    width: 100%;
    max-width: 100%;
  }

  .realizace-hero-bg {
    object-position: center center;
  }

  .realizace-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 8, 18, .24) 0%,
        rgba(3, 8, 18, .34) 24%,
        rgba(3, 8, 18, .58) 64%,
        rgba(3, 8, 18, .75) 100%
      );
  }

  .realizace-hero-content {
    top: 129px;
    left: 20px;
    right: auto;
    width: 340px;
    max-width: calc(100% - 40px);
    height: auto;
    text-align: left;
  }

  .realizace-hero .section-kicker {
    margin-bottom: 28px;
  }

  .realizace-hero-title {
    width: 315px;
    max-width: 100%;
    margin: 0 0 24px;
    font-family: "SF Pro", "SF Pro Display", sans-serif;
    font-weight: 590;
    font-size: 44px;
    line-height: 46.2px;
    letter-spacing: -2px;
  }

  .realizace-hero-text {
    display: none;
  }

  .realizace-hero-text-mobile {
    display: block;
    width: 340px;
    max-width: 100%;
    margin: 0;
    font-family: "SF Pro Display", "SF Pro", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
  }

  .realizace-hero-cta {
    display: none;
  }

  .realizace-hero-mobile-actions {
    position: absolute;
    top: 365px;
    left: 20px;
    z-index: 6;
    width: 171px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .realizace-hero-mobile-btn {
    width: 171px;
    height: 45px;
    padding: 12px 28px;
  }

  .projects-page-section {
    padding: 36px 0 52px;
  }

  .projects-page-container {
    width: calc(100% - 9px);
    margin: 0 auto;
  }

  .projects-mobile-head {
    width: 100%;
    margin: 0 auto 24px;
  }

  .projects-mobile-kicker {
    margin: 0 0 14px 0;
    font-size: 11px;
    line-height: 16.5px;
    letter-spacing: 1.82px;
  }

  .projects-mobile-title {
    width: 100%;
    font-size: 27.5px;
    line-height: 32.2px;
    letter-spacing: -0.7px;
  }

  .projects-page-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card {
    width: 100%;
    min-height: 342.5px;
    height: auto;
    border-radius: 16px;
  }

  .project-image-wrap {
    width: 100%;
    height: 217.5px;
    margin: 0;
  }

  .project-image {
    width: 100%;
    height: 217.5px;
    object-fit: cover;
  }

  .project-icon {
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .project-body {
    padding: 16px 18px 18px;
  }

  .project-head {
    margin-bottom: 12px;
  }

  .project-title {
    width: calc(100% - 58px);
    font-size: 18px;
    line-height: 22.5px;
    letter-spacing: -0.45px;
  }

  .project-meta {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 6px;
  }

  .project-meta span {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 15.13px;
  }

  .project-meta strong {
    font-weight: 510;
    font-size: 13px;
    line-height: 17.88px;
    color: var(--blue);
    white-space: normal;
  }

  .projects-all-mobile-link {
    width: 243.1px;
    min-height: 39px;
    margin: 24px 4px 0;
    gap: 24px;
    font-size: 13px;
    line-height: 19.5px;
    letter-spacing: 1.68px;
  }

  .project-detail-page {
    padding: 36px 0 5px;
  }

  .project-detail-container {
    width: calc(100% - 30px);
    margin: 0 auto;
  }

  .project-detail-head {
    width: 100%;
    display: block;
    margin: 0 0 22px;
  }

  .project-detail-title-side,
  .project-detail-title {
    width: 100%;
  }

  .project-detail-title {
    margin: 0 0 14px;
    font-family: "SF Pro Display", "SF Pro", sans-serif;
    font-weight: 500;
    font-size: 27px;
    line-height: 46.2px;
    letter-spacing: -2px;
  }

  .project-detail-desc {
    width: 100%;
    margin: 0;
    font-family: "Inter", "Onest", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24.38px;
    text-align: left;
    color: var(--muted);
  }

  .project-gallery {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-gallery-large,
  .project-gallery-half,
  .project-gallery-bottom {
    width: 100%;
    height: 247px;
    border-radius: 16px;
    grid-column: auto;
  }

  .project-lightbox-inner {
    padding: 64px 16px 56px;
  }

  .project-lightbox-stage {
    max-width: 100%;
    max-height: 100%;
  }

  .project-lightbox-slide img {
    border-radius: 12px;
  }

  .project-lightbox-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 30px;
    line-height: 34px;
  }

  .project-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 34px;
    line-height: 36px;
  }

  .project-lightbox-prev {
    left: 12px;
  }

  .project-lightbox-next {
    right: 12px;
  }

  .project-lightbox-counter {
    bottom: 16px;
  }

  .projects-section {
    padding: 36px 0 38px;
  }

  .projects-container {
    width: calc(100% - 30px);
  }

  .projects-layout {
    width: 100%;
    display: block;
  }

  .projects-intro {
    width: 100%;
    margin-bottom: 20px;
  }

  .projects-title {
    width: 100%;
    margin: 0 0 18px;
    font-size: 27.5px;
    line-height: 32.2px;
    letter-spacing: -0.7px;
  }

  .projects-desc,
  .projects-link-desktop {
    display: none;
  }

  .projects-main-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .projects-main-grid .project-card,
  .projects-main-grid .project-image-wrap,
  .projects-main-grid .project-image {
    width: 100%;
  }

  .projects-link-mobile {
    width: 260px;
    min-height: 39px;
    margin: 24px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    font-family: "SF Pro", "SF Pro Display", sans-serif;
    font-weight: 510;
    font-size: 13px;
    line-height: 19.5px;
    letter-spacing: 1.68px;
    text-align: center;
    text-transform: uppercase;
    color: var(--blue);
  }

  .contact-section {
    padding: 36px 0 38px;
  }

  .contact-container {
    width: calc(100% - 30px);
    margin: 0 auto;
    display: block;
  }

  .contact-left {
    width: 100%;
    margin-bottom: 9px;
    padding-top: 0;
  }

  .contact-kicker {
    margin: 0 0 14px 0;
    font-size: 11px;
    line-height: 16.5px;
    letter-spacing: 1.82px;
  }

  .contact-title {
    margin: 0 0 14px 0;
    font-weight: 590;
    font-size: 27.5px;
    line-height: 32.2px;
    letter-spacing: -0.7px;
  }

  .contact-desc {
    margin: 0 0 26px;
    max-width: 362px;
    font-family: "Inter", "Onest", sans-serif;
    font-size: 15px;
    line-height: 24.38px;
  }

  .contact-list,
  .contact-item {
    width: 100%;
  }

  .contact-form {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 26px 18px 20px;
    gap: 18px;
    border-radius: 24px;
  }

  .form-head h3 {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -0.5px;
  }

  .form-head p {
    font-family: "Inter", "Onest", sans-serif;
    font-size: 14px;
    line-height: 21px;
  }

  .form-group {
    width: 100%;
    gap: 7px;
  }

  .form-row {
    width: 100%;
    display: flex;
    gap: 12px;
  }

  .form-group-half {
    width: calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
  }

  .form-group input,
  .form-group select,
  .form-group-half input {
    width: 100%;
    height: 53.5px;
    padding: 16px 16px 14px;
    border-radius: 14px;
  }

  .select-wrap {
    width: 100%;
  }

  .form-group textarea {
    width: 100%;
    height: 126px;
    padding: 14px 16px 20px;
    border-radius: 14px;
  }

  .contact-submit {
    width: 100%;
    height: 47.5px;
    padding: 0 18px;
  }

  .form-note {
    margin: -4px 0 0;
    font-family: "Inter", "Onest", sans-serif;
    font-size: 14px;
    line-height: 21px;
  }
}

/* =========================================================
   CONTACT FORM 7 — FINAL CLEAN FIX
========================================================= */

.contact-section .wpcf7 {
  width: 572px;
}

.contact-section .wpcf7 form {
  width: 572px;
  height: 747.99px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff !important;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

.contact-section .wpcf7 form > p {
  margin: 0;
  padding: 0;
}

.contact-section .wpcf7 br {
  display: none;
}

.contact-form .form-head {
  margin: 0;
}

.contact-form .form-head h3 {
  margin: 0 0 6px;
  font-family: "SF Pro", sans-serif;
  font-weight: 510;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.6px;
  color: var(--dark);
}

.contact-form .form-head p {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
}

.contact-form .form-group {
  width: 490px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
}

.contact-form .form-row {
  width: 490px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
}

.contact-form .form-group-half {
  width: 237px;
}

.contact-form label {
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 20.8px;
  color: var(--dark);
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form input.contact-input,
.contact-form select.contact-select {
  width: 490px;
  height: 59px;
  padding: 16px 17px 18px;
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  outline: none;
  box-shadow: none !important;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: var(--dark);
}

.contact-form .form-group-half input.contact-input {
  width: 237px;
}

.contact-form .select-wrap {
  position: relative;
  width: 490px;
}

.contact-form .select-wrap::after {
  content: "⌄";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-54%);
  font-size: 18px;
  color: var(--muted);
  pointer-events: none;
}

.contact-form select.contact-select {
  appearance: none;
  cursor: pointer;
}

.contact-form textarea.contact-textarea {
  width: 490px;
  height: 138px;
  padding: 16px 17px 24px;
  resize: none;
  outline: none;
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--dark);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7C8594;
}

.contact-form input.contact-submit {
  width: 490px;
  height: 48px;
  margin: 0;
  padding: 0 18px;
  border: none !important;
  border-radius: 33554400px !important;
  background: var(--blue) !important;
  box-shadow: 0px 10px 15px 0px #2563EB47 !important;
  font-family: "Onest", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 20.8px;
  color: #ffffff !important;
  cursor: pointer;
}

.contact-form .form-note {
  margin: -7px 0 0;
  padding: 0;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 20.8px;
  text-align: center;
  color: #8A94A6;
}

.contact-form .wpcf7-spinner {
  display: none !important;
}

.contact-form .wpcf7-response-output {
  margin: 0 !important;
  padding: 12px 16px !important;
  border-radius: 12px;
  font-family: "Onest", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 1300px) {
  .contact-section .wpcf7,
  .contact-section .wpcf7 form {
    width: 100%;
  }

  .contact-form .form-group,
  .contact-form .form-row,
  .contact-form .select-wrap,
  .contact-form input.contact-input,
  .contact-form select.contact-select,
  .contact-form textarea.contact-textarea,
  .contact-form input.contact-submit {
    width: 100%;
  }

  .contact-form .form-group-half {
    width: calc(50% - 8px);
    flex: 0 0 calc(50% - 8px);
  }

  .contact-form .form-group-half input.contact-input {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .contact-section .wpcf7 form {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 26px 18px 20px;
    gap: 18px;
    border-radius: 24px;
    background: #ffffff !important;
  }

  .contact-form .form-group {
    width: 100%;
    gap: 7px;
  }

  .contact-form .form-row {
    width: 100%;
    display: flex;
    gap: 12px;
  }

  .contact-form .form-group-half {
    width: calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
  }

  .contact-form input.contact-input,
  .contact-form select.contact-select,
  .contact-form .form-group-half input.contact-input {
    width: 100%;
    height: 53.5px;
    padding: 16px 16px 14px;
    border-radius: 14px !important;
  }

  .contact-form .select-wrap {
    width: 100%;
  }

  .contact-form textarea.contact-textarea {
    width: 100%;
    height: 126px;
    padding: 14px 16px 20px;
    border-radius: 14px !important;
  }

  .contact-form input.contact-submit {
    width: 100%;
    height: 47.5px;
    padding: 0 18px;
    border-radius: 33554400px !important;
  }

  .contact-form .form-note {
    margin: -4px 0 0;
    font-family: "Inter", "Onest", sans-serif;
    font-size: 14px;
    line-height: 21px;
  }
}

/* =========================================================
   REALIZACE HERO — FINAL ALIGN LIKE HOME PAGE
   Text + CTA aligned by bottom
========================================================= */

.realizace-hero {
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
}

.realizace-hero-layout {
  width: 1439px !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
  margin: 0 auto !important;
}

.realizace-hero-bg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.realizace-hero-content {
  position: absolute !important;
  top: 220px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  width: 1202px !important;
  max-width: calc(100% - 80px) !important;
  height: auto !important;
  z-index: 5 !important;
}

.realizace-hero-title {
  margin: 0 0 28px 0 !important;
}

.realizace-hero-text {
  max-width: 707px !important;
  margin: 0 0 20px 0 !important;
}

.realizace-hero-text:last-of-type {
  margin-bottom: 0 !important;
}

.realizace-hero-cta {
  position: absolute !important;
  top: 536px !important;
  right: calc((100% - 1202px) / 2) !important;
  bottom: auto !important;
  z-index: 5 !important;
}

/* screens under 1300px */
@media (max-width: 1300px) {
  .realizace-hero-content {
    top: 210px !important;
    width: calc(100% - 80px) !important;
    max-width: calc(100% - 80px) !important;
  }

  .realizace-hero-cta {
    top: 526px !important;
    right: 40px !important;
  }
}

/* tablet */

/* mobile */
@media (max-width: 575px) {
  .realizace-hero,
  .realizace-hero-layout {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: 100vh !important;
    height: 100svh !important;
  }

  .realizace-hero-layout {
    width: 100% !important;
    max-width: 100% !important;
  }

  .realizace-hero-bg {
    object-position: center center !important;
  }

  .realizace-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 8, 18, .24) 0%,
        rgba(3, 8, 18, .34) 24%,
        rgba(3, 8, 18, .58) 64%,
        rgba(3, 8, 18, .75) 100%
      ) !important;
  }

  .realizace-hero-content {
    position: absolute !important;
    top: 105px !important;
    left: 20px !important;
    right: auto !important;
    transform: none !important;

    width: 340px !important;
    max-width: calc(100% - 40px) !important;
    height: auto !important;
    text-align: left !important;
  }

  .realizace-hero .section-kicker {
    margin-bottom: 18px !important;
  }

  .realizace-hero-title {
    width: 315px !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;

    font-size: 44px !important;
    line-height: 46.2px !important;
    letter-spacing: -2px !important;
    color: #ffffff !important;
  }

  .realizace-hero-text {
    display: none !important;
  }

  .realizace-hero-text-mobile {
    display: block !important;
    width: 340px !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;

    font-size: 18px !important;
    line-height: 24px !important;
    color: #ffffff !important;
  }

  .realizace-hero-cta {
    display: none !important;
  }

  .realizace-hero-mobile-actions {
    position: absolute !important;
    top: auto !important;
    left: 20px !important;
    bottom: 42px !important;
    z-index: 6 !important;

    width: 171px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .realizace-hero-mobile-btn {
    width: 171px !important;
    height: 45px !important;
    padding: 12px 28px !important;
  }
} 
/* =========================================================
   REALIZACE PAGE — FINAL OVERRIDE
   Hero like home page + 4 meta fields + no form contact
========================================================= */

/* ---------- HERO STRUCTURE ---------- */
.realizace-hero {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
  overflow: hidden !important;
  background: #111827 !important;
}

.realizace-hero-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.realizace-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.realizace-hero-layout {
  position: relative !important;
  z-index: 2 !important;

  width: 1202px !important;
  max-width: calc(100% - 80px) !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
  margin: 0 auto !important;

  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 60px !important;

  padding-bottom: 114px !important;
}

.realizace-hero-content {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;

  width: 820px !important;
  max-width: calc(100% - 260px) !important;
  height: auto !important;
  z-index: 5 !important;
}

.realizace-hero .section-kicker {
  margin: 0 0 24px 0 !important;
  color: var(--blue) !important;
}

.realizace-hero .section-kicker::before {
  background: var(--blue) !important;
}

.realizace-hero-title {
  margin: 0 0 28px 0 !important;
}

.realizace-hero-text {
  max-width: 707px !important;
  margin: 0 0 20px 0 !important;
}

.realizace-hero-text:last-of-type {
  margin-bottom: 0 !important;
}

.realizace-hero-cta {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  flex: 0 0 auto !important;
  align-self: flex-end !important;
  margin: 0 !important;
  z-index: 5 !important;
}

.realizace-hero-mobile-actions {
  display: none !important;
}

/* ---------- PROJECT CARDS: 4 META FIELDS ---------- */
.project-meta,
.projects-page-grid .project-meta,
.projects-main-grid .project-meta {
  display: grid !important;
  grid-template-columns: 54px 54px 86px 1fr !important;
  column-gap: 18px !important;
  align-items: start !important;
}

/* ---------- PROJECTS PAGE SIMPLE GRID ---------- */
.projects-page-section {
  width: 100% !important;
  background: #ffffff !important;
  padding: 119px 0 138px !important;
}

.projects-page-container {
  width: 1202px !important;
  max-width: 1202px !important;
  margin: 0 auto !important;
  display: block !important;
}

.projects-page-grid {
  width: 1202px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 395px) !important;
  gap: 24px 8.5px !important;
}

.projects-page-grid .project-card {
  width: 395px !important;
  height: 429px !important;
}

.projects-page-grid .project-image-wrap {
  width: 392px !important;
}

.projects-page-grid .project-image {
  width: 392px !important;
}

/* ---------- CONTACT WITHOUT FORM ---------- */
.contact-container {
  width: 1202px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 58px !important;
}

.contact-left {
  width: 572px !important;
  padding-top: 7px !important;
}

.contact-list-right {
  width: 572px !important;
  padding-top: 5px !important;
}

.contact-list-right .contact-item {
  width: 572px !important;
}

.contact-list-right .contact-info a {
  color: inherit !important;
  text-decoration: none !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1300px) {
  .realizace-hero-layout,
  .projects-page-container,
  .projects-page-grid,
  .contact-container {
    width: calc(100% - 80px) !important;
    max-width: calc(100% - 80px) !important;
  }

  .realizace-hero-content {
    width: calc(100% - 260px) !important;
    max-width: calc(100% - 260px) !important;
  }

  .projects-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .projects-page-grid .project-card,
  .projects-page-grid .project-image-wrap,
  .projects-page-grid .project-image {
    width: 100% !important;
  }

  .contact-container {
    gap: 40px !important;
  }

  .contact-left,
  .contact-list-right {
    width: calc(50% - 20px) !important;
  }

  .contact-list-right .contact-item {
    width: 100% !important;
  }
}


@media (max-width: 575px) {
  .realizace-hero,
  .realizace-hero-layout {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: 100vh !important;
    height: 100svh !important;
  }

  .realizace-hero-layout {
    width: calc(100% - 40px) !important;
    max-width: 340px !important;
    margin: 0 auto !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    gap: 24px !important;

    padding-bottom: 42px !important;
  }

  .realizace-hero-bg {
    object-position: center center !important;
  }

  .realizace-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 8, 18, .24) 0%,
        rgba(3, 8, 18, .34) 24%,
        rgba(3, 8, 18, .58) 64%,
        rgba(3, 8, 18, .75) 100%
      ) !important;
  }

  .realizace-hero-content {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    text-align: left !important;
  }

  .realizace-hero .section-kicker {
    margin: 0 0 18px 0 !important;
  }

  .realizace-hero-title {
    width: 315px !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;
    font-size: 44px !important;
    line-height: 46.2px !important;
    letter-spacing: -2px !important;
    color: #ffffff !important;
  }

  .realizace-hero-text {
    display: none !important;
  }

  .realizace-hero-text-mobile {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 24px !important;
    color: #ffffff !important;
  }

  .realizace-hero-cta {
    display: none !important;
  }

  .realizace-hero-mobile-actions {
    position: static !important;
    width: 171px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    z-index: 6 !important;
  }

  .realizace-hero-mobile-btn {
    width: 171px !important;
    height: 45px !important;
    padding: 12px 28px !important;
  }

  .projects-page-section {
    padding: 36px 0 52px !important;
  }

  .projects-page-container,
  .projects-page-grid {
    width: calc(100% - 9px) !important;
    max-width: 401px !important;
    margin: 0 auto !important;
  }

  .projects-page-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .projects-page-grid .project-card {
    width: 100% !important;
    height: auto !important;
    min-height: 342.5px !important;
    border-radius: 16px !important;
  }

  .projects-page-grid .project-image-wrap,
  .projects-page-grid .project-image {
    width: 100% !important;
    height: 217.5px !important;
  }

  .project-meta,
  .projects-page-grid .project-meta,
  body.single-neo_project .projects-main-grid-overlap .project-meta {
    grid-template-columns: repeat(4, 1fr) !important;
    column-gap: 6px !important;
  }

  .contact-container {
    width: calc(100% - 30px) !important;
    max-width: 362px !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .contact-left {
    width: 100% !important;
    margin-bottom: 26px !important;
    padding-top: 0 !important;
  }

  .contact-list-right {
    width: 100% !important;
    padding-top: 0 !important;
  }

  .contact-list-right .contact-item {
    width: 100% !important;
  }
}


/* =========================================================
   REALIZACE — FINAL FIX V2
   Mobile one CTA, higher hero content, safe project meta,
   light motion and hovers.
========================================================= */

:root {
  --neo-ease: cubic-bezier(.22, 1, .36, 1);
  --neo-motion: 680ms;
}

/* ---------- HERO DESKTOP: one bottom line like home ---------- */
.realizace-hero {
  position: relative !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
  overflow: hidden !important;
}

.realizace-hero-layout {
  position: relative !important;
  z-index: 2 !important;
  width: 1202px !important;
  max-width: calc(100% - 80px) !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
  margin: 0 auto !important;

  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 60px !important;
  padding-bottom: 112px !important;
}

.realizace-hero-content {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 850px !important;
  max-width: calc(100% - 260px) !important;
  height: auto !important;
  z-index: 5 !important;
}

.realizace-hero .section-kicker {
  margin: 0 0 24px 0 !important;
}

.realizace-hero-title {
  margin: 0 0 28px 0 !important;
}

.realizace-hero-text {
  max-width: 707px !important;
  margin: 0 0 20px 0 !important;
}

.realizace-hero-text:last-of-type {
  margin-bottom: 0 !important;
}

.realizace-hero-cta {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: inline-flex !important;
  flex: 0 0 183px !important;
  align-self: flex-end !important;
  margin: 0 !important;
  z-index: 5 !important;
}

/* ---------- PROJECT CARDS: long values cannot overlap ---------- */
.projects-page-grid .project-card,
.projects-main-grid .project-card,
.project-card {
  height: auto !important;
  min-height: 455px !important;
}

.projects-page-grid .project-image-wrap,
.projects-page-grid .project-image,
.projects-main-grid .project-image-wrap,
.projects-main-grid .project-image {
  height: 252px !important;
}

.projects-page-grid .project-body,
.projects-main-grid .project-body,
.project-body {
  padding: 18px 22px 20px !important;
}

.projects-page-grid .project-title,
.projects-main-grid .project-title,
.project-title {
  width: calc(100% - 58px) !important;
  max-width: calc(100% - 58px) !important;
}

.projects-page-grid .project-meta,
.projects-main-grid .project-meta,
.project-meta {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 14px !important;
  row-gap: 10px !important;
  align-items: start !important;
}

.projects-page-grid .project-meta div,
.projects-main-grid .project-meta div,
.project-meta div {
  min-width: 0 !important;
}

.projects-page-grid .project-meta span,
.projects-main-grid .project-meta span,
.project-meta span {
  display: block !important;
  margin: 0 0 2px 0 !important;
  white-space: nowrap !important;
}

.projects-page-grid .project-meta strong,
.projects-main-grid .project-meta strong,
.project-meta strong {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 18.6px !important;
}

/* ---------- LIFE / MOTION ---------- */
.realizace-hero .section-kicker,
.realizace-hero-title,
.realizace-hero-text,
.realizace-hero-text-mobile,
.realizace-hero-cta,
.realizace-hero-mobile-actions {
  animation: realizaceFadeUp 780ms var(--neo-ease) both;
}

.realizace-hero-title {
  animation-delay: 90ms;
}

.realizace-hero-text,
.realizace-hero-text-mobile {
  animation-delay: 170ms;
}

.realizace-hero-cta,
.realizace-hero-mobile-actions {
  animation-delay: 250ms;
}

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

.neo-reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity var(--neo-motion) var(--neo-ease),
    transform var(--neo-motion) var(--neo-ease);
  transition-delay: var(--neo-delay, 0ms);
  will-change: opacity, transform;
}

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

.project-card,
.contact-item,
.realizace-hero-cta,
.realizace-hero-mobile-btn {
  transition:
    transform 300ms var(--neo-ease),
    box-shadow 300ms var(--neo-ease),
    border-color 300ms var(--neo-ease),
    background-color 300ms var(--neo-ease) !important;
}

.project-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(64, 118, 255, .42) !important;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .13) !important;
}

.project-image {
  transition: transform 680ms var(--neo-ease), filter 680ms var(--neo-ease) !important;
}

.project-card:hover .project-image {
  transform: scale(1.045) !important;
}

.project-arrow,
.round-arrow {
  transition:
    transform 300ms var(--neo-ease),
    background-color 300ms var(--neo-ease),
    border-color 300ms var(--neo-ease),
    color 300ms var(--neo-ease) !important;
}

.project-card:hover .project-arrow,
.project-card:hover .round-arrow {
  transform: translate(3px, -3px) !important;
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #ffffff !important;
}

.realizace-hero-cta:hover,
.realizace-hero-mobile-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 34px rgba(37, 99, 235, .28) !important;
}

.contact-item:hover {
  transform: translateX(5px) !important;
}

/* ---------- TABLET ---------- */

/* ---------- MOBILE: content higher + only one CTA ---------- */
@media (max-width: 575px) {
  .realizace-hero,
  .realizace-hero-layout {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: 100vh !important;
    height: 100svh !important;
  }

  .realizace-hero-layout {
    width: calc(100% - 40px) !important;
    max-width: 340px !important;
    margin: 0 auto !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 22px !important;

    padding-top: 104px !important;
    padding-bottom: 0 !important;
  }

  .realizace-hero-content {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .realizace-hero .section-kicker {
    margin: 0 0 16px 0 !important;
  }

  .realizace-hero-title {
    width: 315px !important;
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
    font-size: 44px !important;
    line-height: 46.2px !important;
    letter-spacing: -2px !important;
  }

  .realizace-hero-text {
    display: none !important;
  }

  .realizace-hero-text-mobile {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 24px !important;
    color: #ffffff !important;
  }

  .realizace-hero-cta {
    display: none !important;
  }

  .realizace-hero-mobile-actions {
    position: static !important;
    width: 171px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    z-index: 6 !important;
  }

  .realizace-hero-mobile-btn {
    width: 171px !important;
    height: 45px !important;
    padding: 12px 22px !important;
  }

  .realizace-hero-mobile-btn-secondary {
    display: none !important;
  }

  .projects-page-grid .project-card,
  .projects-main-grid .project-card,
  .project-card {
    min-height: 392px !important;
  }

  .projects-page-grid .project-image-wrap,
  .projects-page-grid .project-image,
  .projects-main-grid .project-image-wrap,
  .projects-main-grid .project-image {
    height: 205px !important;
  }

  .projects-page-grid .project-meta,
  .projects-main-grid .project-meta,
  .project-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 9px !important;
  }

  .projects-page-grid .project-meta strong,
  .projects-main-grid .project-meta strong,
  .project-meta strong {
    font-size: 13px !important;
    line-height: 18px !important;
  }

  .project-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .project-card:hover .project-image {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .neo-reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* =========================================================
   REALIZACE HERO — V3 CENTERED ON DESKTOP + MOBILE
   Stable layout: one centered content block, CTA aligned with text bottom
========================================================= */

.realizace-hero {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
  overflow: hidden !important;
  background: #111827 !important;
}

.realizace-hero-layout {
  position: relative !important;
  z-index: 2 !important;
  width: 1202px !important;
  max-width: calc(100% - 80px) !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
  margin: 0 auto !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
}

.realizace-hero-main {
  position: relative !important;
  z-index: 5 !important;
  width: 100% !important;
  max-width: 1202px !important;
  margin: 0 auto !important;
  transform: translateY(18px) !important;
}

.realizace-hero-content {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;

  width: 100% !important;
  max-width: 971px !important;
  height: auto !important;
  margin: 0 0 28px 0 !important;
  z-index: 5 !important;
}

.realizace-hero .section-kicker {
  margin: 0 0 24px 0 !important;
}

.realizace-hero-title {
  margin: 0 !important;
}

.realizace-hero-bottom {
  width: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 60px !important;
}

.realizace-hero-copy {
  width: 707px !important;
  max-width: 707px !important;
  flex: 0 1 707px !important;
}

.realizace-hero-text {
  display: block !important;
  width: 100% !important;
  max-width: 707px !important;
  margin: 0 0 20px 0 !important;
}

.realizace-hero-text:last-of-type {
  margin-bottom: 0 !important;
}

.realizace-hero-text-mobile {
  display: none !important;
}

.realizace-hero-cta {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;

  width: 183px !important;
  height: 41px !important;
  flex: 0 0 183px !important;
  align-self: flex-end !important;
  margin: 0 !important;
  z-index: 5 !important;
}

.realizace-hero-mobile-actions {
  display: none !important;
}

/* stronger project-card meta protection for long values */
.projects-page-grid .project-card,
.projects-main-grid .project-card,
.project-card {
  height: auto !important;
  min-height: 429px !important;
}

.projects-page-grid .project-body,
.projects-main-grid .project-body,
.project-body {
  padding: 18px 22px 20px !important;
}

.projects-page-grid .project-meta,
.projects-main-grid .project-meta,
.project-meta {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 14px !important;
  row-gap: 10px !important;
}

.projects-page-grid .project-meta div,
.projects-main-grid .project-meta div,
.project-meta div {
  min-width: 0 !important;
}

.projects-page-grid .project-meta span,
.projects-main-grid .project-meta span,
.project-meta span {
  display: block !important;
  white-space: nowrap !important;
}

.projects-page-grid .project-meta strong,
.projects-main-grid .project-meta strong,
.project-meta strong {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 18.6px !important;
}

@media (max-width: 1300px) {
  .realizace-hero-layout {
    width: calc(100% - 80px) !important;
    max-width: calc(100% - 80px) !important;
  }

  .realizace-hero-main {
    max-width: 100% !important;
  }
}

/* tablet */

/* mobile */
@media (max-width: 575px) {
  .realizace-hero,
  .realizace-hero-layout {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: 100vh !important;
    height: 100svh !important;
  }

  .realizace-hero-layout {
    width: calc(100% - 40px) !important;
    max-width: 340px !important;
    margin: 0 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .realizace-hero-main {
    width: 100% !important;
    max-width: 340px !important;
    transform: translateY(-18px) !important;
  }

  .realizace-hero-content {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;
    text-align: left !important;
  }

  .realizace-hero .section-kicker {
    justify-content: flex-start !important;
    margin: 0 0 18px 0 !important;
  }

  .realizace-hero-title {
    width: 315px !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 44px !important;
    line-height: 46.2px !important;
    letter-spacing: -2px !important;
    text-align: left !important;
  }

  .realizace-hero-bottom {
    display: block !important;
    width: 100% !important;
  }

  .realizace-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .realizace-hero-text {
    display: none !important;
  }

  .realizace-hero-text-mobile {
    display: block !important;
    width: 100% !important;
    max-width: 310px !important;
    margin: 0 0 20px 0 !important;
    font-size: 18px !important;
    line-height: 24px !important;
    text-align: left !important;
    color: #ffffff !important;
  }

  .realizace-hero-cta {
    display: none !important;
  }

  .realizace-hero-mobile-actions {
    position: static !important;
    width: 171px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  .realizace-hero-mobile-btn {
    width: 171px !important;
    height: 45px !important;
    padding: 12px 22px !important;
  }

  .realizace-hero-mobile-btn-secondary {
    display: none !important;
  }

  .projects-page-grid .project-card,
  .projects-main-grid .project-card,
  .project-card {
    min-height: 392px !important;
  }
}

/* =========================================================
   REALIZACE — ACTIVE LOCATION
========================================================= */

.projects-location-filter {
  width: 100%;
  margin: 0 0 48px;
  padding: 0;

  display: block;

  background: transparent;
  border: 0;
  border-radius: 0;
}

.projects-location-filter-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom:18px
}

.projects-location-filter-text > span {
  font-family: "SF Pro", "SF Pro Display", "Onest", sans-serif;
  font-weight: 510;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: #4076FF;
}

.projects-location-filter-text > strong {
  display: block;

  font-family: "SF Pro Display", "SF Pro", "Onest", sans-serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 71.81px;
  letter-spacing: -2.11px;

  color: #1C1C1E;
}

.projects-location-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 18px;

  margin-top: 12px;

  font-family: "SF Pro", "SF Pro Display", "Onest", sans-serif;
  font-weight: 510;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1.68px;
  text-transform: uppercase;

  color: #4076FF;
  text-decoration: none;
  white-space: nowrap;
}

.projects-location-filter-reset::after {
  content: "→";
  display: inline-block;

  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;

  transition: transform 0.2s ease;
}

.projects-location-filter-reset:hover::after {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .projects-location-filter {
    margin-bottom: 32px;
  }

  .projects-location-filter-text {
    gap: 2px;
  }

  .projects-location-filter-text > span {
    font-size: 11px;
    line-height: 18px;
    letter-spacing: 1.5px;
  }

  .projects-location-filter-text > strong {
    font-size: 36px;
    line-height: 40px;
    letter-spacing: -1.2px;
  }

  .projects-location-filter-reset {
    margin-top: 10px;
    gap: 10px;

    font-size: 10px;
    line-height: 18px;
    letter-spacing: 1.3px;
  }

  .projects-location-filter-reset::after {
    font-size: 16px;
  }
}

/* =========================================================
   REALIZACE — FINAL DESKTOP HERO + PROJECT CARD META
========================================================= */

@media (min-width: 992px) {

  /* Hero займає всю висоту екрана */
  .realizace-hero,
  .realizace-hero-layout {
    height: 100vh !important;
    height: 100svh !important;
    min-height: 700px !important;
  }

  /*
   * Весь контентний блок hero:
   * не по центру, а 140px від нижнього краю екрана
   */
  .realizace-hero-layout {
    display: block !important;
    position: relative !important;
    padding: 0 !important;
  }

  .realizace-hero-main {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 200px !important;

    width: 100% !important;
    max-width: 1202px !important;
    margin: 0 auto !important;

    transform: none !important;
  }

  .realizace-hero-content {
    position: static !important;
    width: 100% !important;
    max-width: 971px !important;
    margin: 0 0 28px !important;
    transform: none !important;
  }

  .realizace-hero-bottom {
    width: 100% !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 60px !important;
  }

  .realizace-hero-copy {
    width: 707px !important;
    max-width: 707px !important;
  }

  .realizace-hero-cta {
    position: static !important;
    flex: 0 0 183px !important;
    margin: 0 !important;
    transform: none !important;
  }


  /* =======================================================
     PROJECT CARD — desktop parameters like mobile
  ======================================================= */

  .projects-page-grid .project-card,
  .projects-main-grid .project-card,
  .project-card {
    height: auto !important;
    min-height: 0 !important;
  }

  .projects-page-grid .project-body,
  .projects-main-grid .project-body,
  .project-body {
    padding: 22px 24px 24px !important;
  }

  .projects-page-grid .project-head,
  .projects-main-grid .project-head,
  .project-head {
    margin-bottom: 18px !important;
  }

  .projects-page-grid .project-meta,
  .projects-main-grid .project-meta,
  .project-meta {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    column-gap: 34px !important;
    row-gap: 14px !important;
  }

  .projects-page-grid .project-meta > div,
  .projects-main-grid .project-meta > div,
  .project-meta > div {
    min-width: 0 !important;
  }

  .projects-page-grid .project-meta span,
  .projects-main-grid .project-meta span,
  .project-meta span {
    display: block !important;
    margin: 0 0 2px !important;

    font-size: 11px !important;
    line-height: 16px !important;
    font-weight: 500 !important;

    color: #1c1c1e !important;
    white-space: nowrap !important;
  }

  .projects-page-grid .project-meta strong,
  .projects-main-grid .project-meta strong,
  .project-meta strong {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    font-size: 15px !important;
    line-height: 21px !important;
    font-weight: 500 !important;

    color: #4076ff !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* =========================================================
   SINGLE PROJECT — RELATED PROJECT CARDS FINAL
========================================================= */

@media (min-width: 992px) {

  .projects-section .projects-main-grid {
    align-items: stretch !important;
  }

  .projects-section .projects-main-grid .project-card {
    width: 100% !important;
    height: auto !important;
    min-height: 475px !important;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden !important;
  }

  .projects-section .projects-main-grid .project-image-wrap {
    width: 100% !important;
    height: 269px !important;
    min-height: 269px !important;
    flex: 0 0 269px !important;

    margin: 0 !important;
  }

  .projects-section .projects-main-grid .project-image {
    width: 100% !important;
    height: 269px !important;
    object-fit: cover !important;
  }

  .projects-section .projects-main-grid .project-body {
    width: 100% !important;
    height: auto !important;
    flex: 1 1 auto !important;

    padding: 20px 22px 24px !important;
  }

  .projects-section .projects-main-grid .project-head {
    width: 100% !important;
    min-height: 58px !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;

    gap: 16px !important;
    margin: 0 0 18px !important;
  }

  .projects-section .projects-main-grid .project-title {
    width: calc(100% - 58px) !important;
    max-width: calc(100% - 58px) !important;

    margin: 0 !important;

    font-size: 22px !important;
    line-height: 26px !important;
    letter-spacing: -0.5px !important;

    overflow-wrap: anywhere !important;
  }

  .projects-section .projects-main-grid .round-arrow,
  .projects-section .projects-main-grid .project-arrow {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }

  .projects-section .projects-main-grid .project-meta {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    column-gap: 28px !important;
    row-gap: 14px !important;

    align-items: start !important;
  }

  .projects-section .projects-main-grid .project-meta > div {
    width: 100% !important;
    min-width: 0 !important;
  }

  .projects-section .projects-main-grid .project-meta span {
    display: block !important;
    margin: 0 0 3px !important;

    font-size: 11px !important;
    line-height: 15px !important;
    font-weight: 500 !important;

    color: #1c1c1e !important;
    white-space: nowrap !important;
  }

  .projects-section .projects-main-grid .project-meta strong {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;

    font-size: 15px !important;
    line-height: 20px !important;
    font-weight: 500 !important;

    color: #4076ff !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
} 

/* =========================================================
   REALIZACE HERO — MOBILE FINAL FIX
========================================================= */

@media (max-width: 575px) {

  body .realizace-hero,
  body .realizace-hero-layout {
    position: relative !important;
    width: 100% !important;

    height: 100vh !important;
    height: 100svh !important;
    min-height: 640px !important;
  }

  body .realizace-hero {
    overflow: hidden !important;
  }

  body .realizace-hero-layout {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 20px 115px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
  }

  /* Заголовок + опис */
  body .realizace-hero-content {
    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: 100% !important;
    max-width: 340px !important;
    height: auto !important;

    margin: 0 0 24px !important;
    padding: 0 !important;

    transform: none !important;
    text-align: left !important;
  }

  body .realizace-hero .section-kicker {
    margin: 0 0 14px !important;
  }

  body .realizace-hero-title {
    width: 100% !important;
    max-width: 315px !important;

    margin: 0 0 18px !important;

    font-size: 44px !important;
    line-height: 46.2px !important;
    letter-spacing: -2px !important;
  }

  body .realizace-hero-text {
    display: none !important;
  }

  body .realizace-hero-text-mobile {
    display: block !important;

    width: 100% !important;
    max-width: 340px !important;

    margin: 0 !important;

    font-size: 16px !important;
    line-height: 24px !important;
    color: #ffffff !important;
  }

  /* Кнопки після опису */
  body .realizace-hero-mobile-actions {
    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: 171px !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 14px !important;
    margin: 0 !important;

    transform: none !important;
  }

  body .realizace-hero-cta {
    display: none !important;
  }
}

.project-review-section {
      width: 100%;
      padding: 0 0 96px;
      background: #ffffff;
    }

    .project-review-container {
      width: 1202px;
      max-width: calc(100% - 80px);
      margin: 0 auto;
    }

    .project-review-head {
      margin-bottom: 32px;
    }

    .project-review-title {
      margin: 12px 0 0;
      max-width: 680px;
      font-family: "SF Pro Display", "SF Pro", "Inter", sans-serif;
      font-weight: 510;
      font-size: 52px;
      line-height: 1.08;
      letter-spacing: -0.03em;
      color: #1C1C1E;
    }

    .project-review-wrap {
      width: 760px;
      max-width: 100%;
    }

    .project-review-card {
      width: 100%;
      min-height: 330px;
      padding: 34px 34px 30px;
      border: 1px solid #DDE3EC;
      border-radius: 24px;
      background: #ffffff;
      box-shadow: 0 18px 60px rgba(15, 23, 42, .06);
      display: flex;
      flex-direction: column;
      cursor: pointer;
      box-sizing: border-box;
      overflow: hidden;
    }

    .project-review-card:focus-visible {
      outline: 2px solid #4076FF;
      outline-offset: 4px;
    }

    .project-review-quote {
      width: 28px;
      height: 28px;
      margin-bottom: 24px;
    }

    .project-review-quote img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .project-review-text {
      margin: 0;
      min-height: 112px;
      max-height: 160px;
      font-family: "Onest", "Inter", sans-serif;
      font-weight: 400;
      font-size: 20px;
      line-height: 32px;
      color: #1C1C1E;
      overflow: hidden;
    }

    .project-review-line {
      width: 100%;
      height: 1px;
      min-height: 1px;
      margin: 28px 0 22px;
      background: #DDE3EC;
    }

    .project-review-author {
      margin-top: auto;
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .project-review-photo {
      display: block;
      width: 56px;
      height: 56px;
      min-width: 56px;
      flex: 0 0 56px;
      border-radius: 50%;
      object-fit: cover;
      object-position: center;
      background: #F4F6F9;
    }

    .project-review-author-info {
      min-width: 0;
    }

    .project-review-author-info h3 {
      margin: 0 0 4px;
      font-family: "Onest", "Inter", sans-serif;
      font-weight: 700;
      font-size: 17px;
      line-height: 23px;
      color: #1C1C1E;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .project-review-author-info p {
      margin: 0 0 3px;
      font-family: "Onest", "Inter", sans-serif;
      font-size: 14px;
      line-height: 20px;
      color: #667085;
    }

    .project-review-author-info span {
      display: block;
      font-family: "Onest", "Inter", sans-serif;
      font-weight: 700;
      font-size: 12px;
      line-height: 17px;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: #184EC5;
    }

    .project-review-modal-open {
      overflow: hidden;
    }

    .project-review-modal {
      position: fixed;
      inset: 0;
      z-index: 999999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .project-review-modal.is-open {
      display: flex;
    }

    .project-review-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(3, 8, 18, .62);
      backdrop-filter: blur(10px);
    }

    .project-review-modal-dialog {
      position: relative;
      z-index: 2;
      width: 640px;
      max-width: calc(100vw - 48px);
      max-height: calc(100svh - 48px);
      overflow-y: auto;
      padding: 42px 42px 38px;
      border-radius: 24px;
      border: 1px solid #DDE3EC;
      background: #ffffff;
      box-shadow: 0 30px 90px rgba(15, 23, 42, .28);
    }

    .project-review-modal-close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 42px;
      height: 42px;
      border: 1px solid #DDE3EC;
      border-radius: 999px;
      background: #ffffff;
      cursor: pointer;
    }

    .project-review-modal-close span {
      position: absolute;
      left: 12px;
      top: 20px;
      width: 18px;
      height: 2px;
      border-radius: 20px;
      background: #1C1C1E;
    }

    .project-review-modal-close span:first-child {
      transform: rotate(45deg);
    }

    .project-review-modal-close span:last-child {
      transform: rotate(-45deg);
    }

    .project-review-modal-quote {
      width: 32px;
      height: 32px;
      margin: 0 0 26px;
    }

    .project-review-modal-quote img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .project-review-modal-text {
      margin: 0;
      font-family: "Onest", "Inter", sans-serif;
      font-weight: 400;
      font-size: 20px;
      line-height: 34px;
      color: #1C1C1E;
    }

    .project-review-modal-line {
      width: 100%;
      height: 1px;
      min-height: 1px;
      margin: 34px 0 28px;
      background: #DDE3EC;
    }

    .project-review-modal-author {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .project-review-modal-photo {
      width: 64px;
      height: 64px;
      min-width: 64px;
      flex: 0 0 64px;
      border-radius: 50%;
      object-fit: cover;
      background: #F4F6F9;
    }

    .project-review-modal-author-info h3 {
      margin: 0 0 4px;
      font-family: "Onest", "Inter", sans-serif;
      font-weight: 700;
      font-size: 18px;
      line-height: 24px;
      color: #1C1C1E;
    }

    .project-review-modal-author-info p {
      margin: 0 0 4px;
      font-family: "Onest", "Inter", sans-serif;
      font-size: 14px;
      line-height: 20px;
      color: #667085;
    }

    .project-review-modal-author-info span {
      font-family: "Onest", "Inter", sans-serif;
      font-weight: 700;
      font-size: 13px;
      line-height: 18px;
      letter-spacing: 1.44px;
      text-transform: uppercase;
      color: #184EC5;
    }

    @media (max-width: 575px) {
      .project-review-section {
        padding: 0 0 64px;
      }

      .project-review-container {
        width: calc(100% - 30px);
        max-width: calc(100% - 30px);
      }

      .project-review-head {
        margin-bottom: 22px;
      }

      .project-review-title {
        font-size: 27.5px;
        line-height: 32.2px;
        letter-spacing: -0.7px;
      }

      .project-review-wrap {
        width: 100%;
      }

      .project-review-card {
        min-height: 360px;
        padding: 28px 24px 26px;
        border-radius: 20px;
      }

      .project-review-text {
        min-height: 150px;
        max-height: 162px;
        font-size: 16px;
        line-height: 27px;
      }

      .project-review-photo {
        width: 52px;
        height: 52px;
        min-width: 52px;
        flex-basis: 52px;
      }

      .project-review-modal {
        padding: 16px;
      }

      .project-review-modal-dialog {
        max-width: calc(100vw - 32px);
        max-height: calc(100svh - 32px);
        padding: 34px 22px 26px;
        border-radius: 18px;
      }

      .project-review-modal-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
      }

      .project-review-modal-close span {
        left: 10px;
        top: 18px;
      }

      .project-review-modal-text {
        font-size: 16px;
        line-height: 27px;
      }

      .project-review-modal-author {
        align-items: flex-start;
      }

      .project-review-modal-photo {
        width: 52px;
        height: 52px;
        min-width: 52px;
        flex-basis: 52px;
      }
    }

/* =========================================================
   PROJECT REVIEW MODAL FIX
========================================================= */

body.project-review-modal-open {
  overflow: hidden !important;
}

.project-review-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
}

.project-review-modal.is-open,
body.project-review-modal-open .project-review-modal {
  display: flex !important;
}

.project-review-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(3, 8, 18, .62) !important;
  backdrop-filter: blur(10px) !important;
}

.project-review-modal-dialog {
  position: relative !important;
  z-index: 2 !important;
  width: 640px !important;
  max-width: calc(100vw - 48px) !important;
  max-height: calc(100svh - 48px) !important;
  overflow-y: auto !important;
  padding: 42px 42px 38px !important;
  border-radius: 24px !important;
  border: 1px solid #DDE3EC !important;
  background: #ffffff !important;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .28) !important;
}

@media (max-width: 575px) {
  .project-review-modal {
    padding: 16px !important;
  }

  .project-review-modal-dialog {
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100svh - 32px) !important;
    padding: 34px 22px 26px !important;
    border-radius: 18px !important;
  }
}

/* =========================================================
   SINGLE PROJECT — RELATED PROJECTS FINAL STABLE LAYOUT
   Cards overlap title area correctly, no narrow cards
========================================================= */

body.single-neo_project .projects-section {
  width: 100% !important;
  padding: 119px 0 119px !important;
  background: #ffffff !important;
  overflow: visible !important;
}

body.single-neo_project .projects-container {
  width: 1202px !important;
  max-width: 1202px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

body.single-neo_project .projects-layout-overlap {
  position: relative !important;
  width: 1202px !important;
  max-width: 1202px !important;
  display: block !important;
  overflow: visible !important;
}

body.single-neo_project .projects-layout-overlap .projects-intro {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  z-index: 5 !important;
  width: 340px !important;
  max-width: 340px !important;
  pointer-events: auto !important;
}

body.single-neo_project .projects-layout-overlap .projects-title {
  width: 340px !important;
}

body.single-neo_project .projects-layout-overlap .projects-desc {
  width: 340px !important;
}

body.single-neo_project .projects-main-grid-overlap {
  width: 1202px !important;
  max-width: 1202px !important;
  display: grid !important;
  grid-template-columns: 395px 395px 395px !important;
  grid-auto-columns: 395px !important;
  gap: 16px !important;
  align-items: start !important;
  justify-content: start !important;
  overflow: visible !important;
}

/* 1st row: cards start from column 2, so they go under/right of title */
body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(1) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(2) {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

/* 2nd row: full 3 cards */
body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(3) {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(4) {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(5) {
  grid-column: 3 !important;
  grid-row: 2 !important;
}

body.single-neo_project .projects-main-grid-overlap .project-card {
  display: block !important;
  width: 395px !important;
  min-width: 395px !important;
  max-width: 395px !important;
  height: 429px !important;
  min-height: 429px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
}

body.single-neo_project .projects-main-grid-overlap .project-image-wrap {
  width: 392px !important;
  height: 269.17px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

body.single-neo_project .projects-main-grid-overlap .project-image {
  width: 392px !important;
  height: 269.17px !important;
  object-fit: cover !important;
}

body.single-neo_project .projects-main-grid-overlap .project-body {
  padding: 22px 24px 20px !important;
}

body.single-neo_project .projects-main-grid-overlap .project-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 14px !important;
}

body.single-neo_project .projects-main-grid-overlap .project-title {
  width: 255px !important;
  max-width: 255px !important;
  margin: 0 !important;
  font-family: "SF Pro", "SF Pro Display", sans-serif !important;
  font-weight: 510 !important;
  font-size: 24px !important;
  line-height: 29.12px !important;
  letter-spacing: -0.56px !important;
  color: var(--dark) !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

/* project-meta exactly like card design: 2x2 */
body.single-neo_project .projects-main-grid-overlap .project-meta {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 34px !important;
  row-gap: 14px !important;
}

body.single-neo_project .projects-main-grid-overlap .project-meta div {
  min-width: 0 !important;
}

body.single-neo_project .projects-main-grid-overlap .project-meta span {
  display: block !important;
  margin: 0 0 4px !important;
  font-family: "SF Pro", "SF Pro Display", sans-serif !important;
  font-weight: 500 !important;
  font-size: 12.7px !important;
  line-height: 23.04px !important;
  color: var(--dark) !important;
  white-space: nowrap !important;
}

body.single-neo_project .projects-main-grid-overlap .project-meta strong {
  display: block !important;
  font-family: "SF Pro", "SF Pro Display", sans-serif !important;
  font-weight: 500 !important;
  font-size: 14.8px !important;
  line-height: 26.11px !important;
  color: var(--blue) !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* Responsive: only switch layout when screen really cannot fit */
@media (max-width: 1270px) {
  body.single-neo_project .projects-container,
  body.single-neo_project .projects-layout-overlap,
  body.single-neo_project .projects-main-grid-overlap {
    width: calc(100vw - 80px) !important;
    max-width: calc(100vw - 80px) !important;
  }

  body.single-neo_project .projects-main-grid-overlap {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-image-wrap,
  body.single-neo_project .projects-main-grid-overlap .project-image {
    width: 100% !important;
  }
}

@media (max-width: 991px) {
  body.single-neo_project .projects-layout-overlap .projects-intro {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 28px !important;
  }

  body.single-neo_project .projects-layout-overlap .projects-title,
  body.single-neo_project .projects-layout-overlap .projects-desc {
    width: 100% !important;
  }

  body.single-neo_project .projects-main-grid-overlap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-card {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (max-width: 575px) {
  body.single-neo_project .projects-section {
    padding: 36px 0 38px !important;
  }

  body.single-neo_project .projects-container,
  body.single-neo_project .projects-layout-overlap,
  body.single-neo_project .projects-main-grid-overlap {
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single-neo_project .projects-layout-overlap .projects-intro {
    margin-bottom: 20px !important;
  }

  body.single-neo_project .projects-main-grid-overlap {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-card {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 342.5px !important;
    border-radius: 16px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-image-wrap,
  body.single-neo_project .projects-main-grid-overlap .project-image {
    width: 100% !important;
    height: 217.5px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-body {
    padding: 16px 18px 18px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-title {
    width: calc(100% - 58px) !important;
    max-width: none !important;
    font-size: 18px !important;
    line-height: 22.5px !important;
    letter-spacing: -0.45px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 28px !important;
    row-gap: 12px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta span {
    font-family: "Inter", sans-serif !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    line-height: 15.13px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta strong {
    font-weight: 510 !important;
    font-size: 13px !important;
    line-height: 17.88px !important;
  }
}

/* =========================================================
   SINGLE PROJECT — RELATED CARDS HEIGHT FIX
   Show full project-meta: Lokalita / Rok / Plocha / Cena
========================================================= */

body.single-neo_project .projects-main-grid-overlap .project-card {
  height: 500px !important;
  min-height: 500px !important;
  overflow: hidden !important;
}

body.single-neo_project .projects-main-grid-overlap .project-image-wrap {
  height: 269px !important;
  flex: 0 0 269px !important;
}

body.single-neo_project .projects-main-grid-overlap .project-image {
  height: 269px !important;
}

body.single-neo_project .projects-main-grid-overlap .project-body {
  min-height: 231px !important;
  padding: 24px 24px 24px !important;
  display: flex !important;
  flex-direction: column !important;
}

body.single-neo_project .projects-main-grid-overlap .project-head {
  flex: 0 0 auto !important;
  margin-bottom: 18px !important;
}

body.single-neo_project .projects-main-grid-overlap .project-title {
  min-height: 58px !important;
}

body.single-neo_project .projects-main-grid-overlap .project-meta {
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 34px !important;
  row-gap: 14px !important;
}

body.single-neo_project .projects-main-grid-overlap .project-meta span {
  margin-bottom: 4px !important;
}

body.single-neo_project .projects-main-grid-overlap .project-meta strong {
  line-height: 22px !important;
}

@media (max-width: 575px) {
  body.single-neo_project .projects-main-grid-overlap .project-card {
    height: auto !important;
    min-height: 420px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-image-wrap,
  body.single-neo_project .projects-main-grid-overlap .project-image {
    height: 217.5px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-body {
    min-height: 202px !important;
    padding: 18px 18px 20px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-title {
    min-height: 45px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 28px !important;
    row-gap: 12px !important;
  }
}

/* =========================================================
   SINGLE PROJECT — MOBILE RELATED PROJECTS FINAL FIX
   Mobile: no overlap, normal 1 column
========================================================= */

@media (max-width: 575px) {
  body.single-neo_project .projects-section {
    padding: 36px 0 38px !important;
    overflow: hidden !important;
  }

  body.single-neo_project .projects-container,
  body.single-neo_project .projects-layout-overlap,
  body.single-neo_project .projects-main-grid-overlap {
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }

  body.single-neo_project .projects-layout-overlap {
    position: static !important;
    display: block !important;
  }

  body.single-neo_project .projects-layout-overlap .projects-intro {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
  }

  body.single-neo_project .projects-layout-overlap .projects-title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    font-size: 27.5px !important;
    line-height: 32.2px !important;
    letter-spacing: -0.7px !important;
  }

  body.single-neo_project .projects-layout-overlap .projects-desc,
  body.single-neo_project .projects-layout-overlap .projects-link-desktop {
    display: none !important;
  }

  body.single-neo_project .projects-main-grid-overlap {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: start !important;
    justify-content: stretch !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-card,
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(1),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(2),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(3),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(4),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(5) {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 430px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: 217.5px !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 217.5px !important;
    object-fit: cover !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-body {
    width: 100% !important;
    min-height: 212px !important;
    padding: 18px 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 0 14px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-title {
    width: calc(100% - 56px) !important;
    max-width: calc(100% - 56px) !important;
    min-height: auto !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 22.5px !important;
    letter-spacing: -0.45px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.single-neo_project .projects-main-grid-overlap .round-arrow {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta {
    margin-top: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 26px !important;
    row-gap: 12px !important;
    width: 100% !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta div {
    min-width: 0 !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta span {
    display: block !important;
    margin: 0 0 4px !important;
    font-family: "Inter", "Onest", sans-serif !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    line-height: 15.13px !important;
    color: var(--dark) !important;
    white-space: nowrap !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta strong {
    display: block !important;
    font-family: "SF Pro", "SF Pro Display", sans-serif !important;
    font-weight: 510 !important;
    font-size: 13px !important;
    line-height: 17.88px !important;
    color: var(--blue) !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.single-neo_project .projects-link-mobile {
    width: 260px !important;
    min-height: 39px !important;
    margin: 24px auto 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 26px !important;
    font-family: "SF Pro", "SF Pro Display", sans-serif !important;
    font-weight: 510 !important;
    font-size: 13px !important;
    line-height: 19.5px !important;
    letter-spacing: 1.68px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    color: var(--blue) !important;
  }
}

/* =========================================================
   SINGLE PROJECT — MOBILE RELATED PROJECTS WIDTH FIX
   Cards must stay inside viewport
========================================================= */

@media (max-width: 575px) {
  body.single-neo_project .projects-section {
    width: 100% !important;
    padding: 36px 0 38px !important;
    overflow: hidden !important;
  }

  body.single-neo_project .projects-container {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.single-neo_project .projects-layout-overlap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: static !important;
    overflow: visible !important;
  }

  body.single-neo_project .projects-layout-overlap .projects-intro {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
  }

  body.single-neo_project .projects-main-grid-overlap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    overflow: visible !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-card,
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(1),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(2),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(3),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(4),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(5) {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 430px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: 217.5px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 217.5px !important;
    object-fit: cover !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-body {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 212px !important;
    padding: 18px 18px 20px !important;
    box-sizing: border-box !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-title {
    width: calc(100% - 56px) !important;
    max-width: calc(100% - 56px) !important;
    min-height: auto !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 26px !important;
    row-gap: 12px !important;
    box-sizing: border-box !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta div {
    min-width: 0 !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta strong {
    overflow-wrap: anywhere !important;
  }
}
/* =========================================================
   REALIZACE PAGE — TABLET FINAL (576px–991px)
   Keeps cards inside viewport and creates a proper tablet layout.
========================================================= */

@media (min-width: 576px) and (max-width: 720px) {
  .projects-page-container,
  .contact-container,
  .realizace-hero-layout {
    width: calc(100% - 40px) !important;
  }

  .projects-page-grid {
    grid-template-columns: 1fr !important;
  }

  .projects-page-grid .project-card {
    min-height: 430px !important;
  }

  .projects-page-grid .project-image-wrap,
  .projects-page-grid .project-image {
    height: 270px !important;
  }

  .contact-container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* =========================================================
   REALIZACE — CLEAN TABLET FINAL
   Tablet: 576px–991px
   This block must stay at the absolute end of the file.
========================================================= */

@media screen and (min-width: 576px) and (max-width: 991px) {

  /* ---------- HERO STANDARD POSITION ---------- */

  html body .realizace-hero,
  html body .realizace-hero-layout {
    position: relative !important;
    width: 100% !important;
    height: 1024px !important;
    min-height: 1024px !important;
    max-height: none !important;
  }

  html body .realizace-hero-layout {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 24px !important;
    display: block !important;
  }

  html body .realizace-hero-main {
    position: absolute !important;
    top: calc(50% + 130px) !important;
    right: 24px !important;
    bottom: auto !important;
    left: 24px !important;

    width: auto !important;
    max-width: 944px !important;
    margin: 0 auto !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;
  }

  html body .realizace-hero-content {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 0 18px !important;
    transform: none !important;
  }

  html body .realizace-hero-title {
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 !important;
    font-size: clamp(52px, 7.2vw, 68px) !important;
    line-height: .98 !important;
    letter-spacing: -2.8px !important;
  }

  html body .realizace-hero-bottom {
    position: static !important;
    width: 100% !important;
    display: block !important;
  }

  html body .realizace-hero-copy {
    width: 100% !important;
    max-width: 700px !important;
    margin: 0 0 18px !important;
  }

  html body .realizace-hero-text {
    display: block !important;
    width: 100% !important;
    max-width: 700px !important;
    margin: 0 0 10px !important;
    font-size: 14px !important;
    line-height: 22px !important;
  }

  html body .realizace-hero-text-mobile {
    display: none !important;
  }

  html body .realizace-hero-cta {
    display: none !important;
  }

  html body .realizace-hero-mobile-actions {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    margin: 0 !important;
    display: flex !important;
  }

  html body .realizace-hero-mobile-btn {
    width: 164px !important;
    height: 42px !important;
    padding: 0 20px !important;
    font-size: 13px !important;
  }

  html body .realizace-hero-mobile-btn span img,
  html body .realizace-hero-cta span img {
    transform: rotate(0deg) !important;
  }

  /* ---------- PROJECTS: STRICTLY TWO CARDS PER ROW ---------- */

  html body .projects-page-section {
    width: 100% !important;
    padding: 64px 0 72px !important;
    overflow: hidden !important;
  }

  html body .projects-page-container {
    width: calc(100% - 48px) !important;
    max-width: 944px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  html body .projects-page-grid,
  html body main .projects-page-section .projects-page-container .projects-page-grid {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-columns: auto !important;
    grid-auto-rows: auto !important;
    grid-auto-flow: row !important;

    gap: 16px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
  }

  html body .projects-page-grid > .project-card,
  html body main .projects-page-grid > a.project-card,
  html body .projects-page-grid .project-card {
    position: relative !important;

    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 410px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 18px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html body .projects-page-grid > .project-card:nth-child(n) {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
  }

  html body .projects-page-grid .project-image-wrap,
  html body .projects-page-grid .project-image {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 246px !important;
    margin: 0 !important;
  }

  html body .projects-page-grid .project-image {
    object-fit: cover !important;
  }

  html body .projects-page-grid .project-body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 164px !important;
    padding: 18px 20px 20px !important;

    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  html body .projects-page-grid .project-head {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 0 12px !important;
    gap: 12px !important;
  }

  html body .projects-page-grid .project-title {
    width: calc(100% - 48px) !important;
    min-width: 0 !important;
    max-width: calc(100% - 48px) !important;
    margin: 0 !important;

    font-size: 18px !important;
    line-height: 22px !important;
    letter-spacing: -.4px !important;

    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  html body .projects-page-grid .round-arrow,
  html body .projects-page-grid .project-arrow {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
  }

  html body .projects-page-grid .project-meta {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: auto 0 0 !important;

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 8px !important;
  }

  html body .projects-page-grid .project-meta > div {
    grid-column: auto !important;
    grid-row: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body .projects-page-grid .project-meta span {
    display: block !important;
    margin: 0 0 3px !important;
    font-size: 10px !important;
    line-height: 15px !important;
    white-space: nowrap !important;
  }

  html body .projects-page-grid .project-meta strong {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 16px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  /* ---------- CONTACT ---------- */

  html body .contact-section {
    padding: 64px 0 72px !important;
  }

  html body .contact-section .contact-container {
    width: calc(100% - 48px) !important;
    max-width: 944px !important;
    margin: 0 auto !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .84fr) !important;
    gap: 56px !important;
    align-items: start !important;
  }

  html body .contact-section .contact-left,
  html body .contact-section .contact-list,
  html body .contact-section .contact-list-right,
  html body .contact-section .contact-item {
    width: 100% !important;
  }
}

/* =========================================================
   PROJECT CARDS — PARAMETERS 2 × 2 EVERYWHERE
   Applies to all project cards on all pages and breakpoints.
   Keep this block at the absolute end of the CSS file.
========================================================= */

html body .project-card .project-meta,
html body .projects-page-grid .project-meta,
html body .projects-main-grid .project-meta,
html body .home-projects-grid .project-meta,
html body .related-projects .project-meta {
  width: 100% !important;
  max-width: 100% !important;
  margin: auto 0 0 !important;

  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, auto) !important;
  grid-auto-flow: row !important;

  column-gap: 28px !important;
  row-gap: 14px !important;

  align-items: start !important;
}

html body .project-card .project-meta > div,
html body .projects-page-grid .project-meta > div,
html body .projects-main-grid .project-meta > div,
html body .home-projects-grid .project-meta > div,
html body .related-projects .project-meta > div {
  grid-column: auto !important;
  grid-row: auto !important;

  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html body .project-card .project-meta span,
html body .projects-page-grid .project-meta span,
html body .projects-main-grid .project-meta span,
html body .home-projects-grid .project-meta span,
html body .related-projects .project-meta span {
  display: block !important;
  margin: 0 0 5px !important;

  font-size: 12px !important;
  line-height: 17px !important;
  font-weight: 400 !important;

  color: #1C1C1E !important;
  white-space: nowrap !important;
}

html body .project-card .project-meta strong,
html body .projects-page-grid .project-meta strong,
html body .projects-main-grid .project-meta strong,
html body .home-projects-grid .project-meta strong,
html body .related-projects .project-meta strong {
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;

  font-size: 15px !important;
  line-height: 21px !important;
  font-weight: 500 !important;

  color: #4076FF !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

/* Give the card body enough room for two parameter rows */
html body .project-card .project-body,
html body .projects-page-grid .project-body,
html body .projects-main-grid .project-body,
html body .home-projects-grid .project-body,
html body .related-projects .project-body {
  height: auto !important;
  min-height: 205px !important;
}

/* Tablet cards */
@media screen and (min-width: 576px) and (max-width: 991px) {
  html body .projects-page-grid .project-card,
  html body .projects-main-grid .project-card,
  html body .home-projects-grid .project-card,
  html body .related-projects .project-card {
    min-height: 450px !important;
  }

  html body .projects-page-grid .project-body,
  html body .projects-main-grid .project-body,
  html body .home-projects-grid .project-body,
  html body .related-projects .project-body {
    min-height: 204px !important;
    padding: 18px 20px 22px !important;
  }
}

/* Mobile spacing */
@media screen and (max-width: 575px) {
  html body .project-card .project-meta,
  html body .projects-page-grid .project-meta,
  html body .projects-main-grid .project-meta,
  html body .home-projects-grid .project-meta,
  html body .related-projects .project-meta {
    column-gap: 22px !important;
    row-gap: 12px !important;
  }

  html body .project-card .project-meta span,
  html body .projects-page-grid .project-meta span,
  html body .projects-main-grid .project-meta span,
  html body .home-projects-grid .project-meta span,
  html body .related-projects .project-meta span {
    font-size: 11px !important;
    line-height: 16px !important;
  }

  html body .project-card .project-meta strong,
  html body .projects-page-grid .project-meta strong,
  html body .projects-main-grid .project-meta strong,
  html body .home-projects-grid .project-meta strong,
  html body .related-projects .project-meta strong {
    font-size: 13px !important;
    line-height: 18px !important;
  }
}

/* =========================================================
   REALIZACE HERO BUTTON — ARROW RIGHT FINAL
========================================================= */

@media screen and (min-width: 576px) and (max-width: 991px) {
  html body .realizace-hero-mobile-btn span img,
  html body .realizace-hero-cta span img {
    transform: rotate(180deg) !important;
    transform-origin: center !important;
  }
}

/* =========================================================
   SINGLE PROJECT — TABLET
   Only 576px–991px. Desktop and mobile remain unchanged.
========================================================= */

@media (min-width: 576px) and (max-width: 991px) {

  /* ---------- COMMON CONTAINERS ---------- */

  .project-detail-container,
  .projects-container,
  .contact-container,
  .project-review-container {
    width: calc(100% - 48px) !important;
    max-width: 944px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ---------- PROJECT DETAIL HEADER ---------- */

  .project-detail-page {
    padding: 72px 0 88px !important;
  }

  .project-detail-head {
    width: 100% !important;
    margin: 0 0 34px !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr) !important;
    column-gap: 42px !important;
    align-items: start !important;
  }

  .project-detail-title-side,
  .project-detail-title {
    width: 100% !important;
  }

  .project-detail-title {
    margin: 0 !important;

    font-size: 44px !important;
    line-height: 48px !important;
    letter-spacing: -1.45px !important;
  }

  .project-detail-desc {
    width: 100% !important;
    max-width: 420px !important;
    margin: 42px 0 0 auto !important;

    font-size: 14px !important;
    line-height: 23px !important;
    text-align: right !important;
  }

  /* ---------- PROJECT GALLERY ---------- */

  .project-gallery {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .project-gallery-item {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 20px !important;
  }

  .project-gallery-large,
  .project-gallery-bottom {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: clamp(430px, 63vw, 600px) !important;
  }

  .project-gallery-half {
    width: 100% !important;
    height: clamp(260px, 34vw, 340px) !important;
  }

  .project-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* ---------- RELATED PROJECTS ---------- */

  .projects-section {
    padding: 72px 0 !important;
  }

  .projects-layout,
  .projects-layout-overlap {
    width: 100% !important;

    display: block !important;
    grid-template-columns: none !important;
    column-gap: 0 !important;
  }

  .projects-intro {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
  }

  .projects-title {
    width: 100% !important;
    margin-bottom: 14px !important;

    font-size: 44px !important;
    line-height: 48px !important;
    letter-spacing: -1.45px !important;
  }

  .projects-desc {
    width: 100% !important;
    max-width: 620px !important;
    margin-bottom: 18px !important;

    font-size: 15px !important;
    line-height: 24px !important;
  }

  .projects-link-desktop {
    display: inline-flex !important;
  }

  .projects-link-mobile {
    display: none !important;
  }

  body.single-neo_project .projects-main-grid,
  body.single-neo_project .projects-main-grid-overlap {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    gap: 16px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-card,
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(1),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(2),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(3),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(4),
  body.single-neo_project .projects-main-grid-overlap .project-card:nth-child(5) {
    position: relative !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: 510px !important;

    margin: 0 !important;
    overflow: hidden !important;

    background: #ffffff !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-image-wrap {
    width: 100% !important;
    height: 286px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .projects-main-grid .project-image {
    width: 100% !important;
    height: 286px !important;
    object-fit: cover !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-body {
    width: 100% !important;
    min-height: 224px !important;
    padding: 24px 24px 26px !important;

    display: flex !important;
    flex-direction: column !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-head {
    width: 100% !important;
    min-height: 62px !important;
    margin: 0 0 22px !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-title {
    width: calc(100% - 56px) !important;
    max-width: calc(100% - 56px) !important;
    margin: 0 !important;

    font-size: 21px !important;
    line-height: 26px !important;
    letter-spacing: -.48px !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.single-neo_project .projects-main-grid-overlap .round-arrow,
  body.single-neo_project .projects-main-grid-overlap .project-arrow {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
  }

  .projects-main-grid .project-meta {
    width: 100% !important;
    margin: auto 0 0 !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, auto) !important;
    column-gap: 34px !important;
    row-gap: 16px !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta > div {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta span {
    display: block !important;
    margin: 0 0 6px !important;

    font-size: 12px !important;
    line-height: 17px !important;
    font-weight: 400 !important;

    white-space: nowrap !important;
  }

  body.single-neo_project .projects-main-grid-overlap .project-meta strong {
    display: block !important;
    max-width: 100% !important;

    font-size: 16px !important;
    line-height: 22px !important;
    font-weight: 500 !important;

    color: var(--blue) !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  /* ---------- REVIEW ---------- */

  .project-review-section {
    padding: 0 0 72px !important;
  }

  .project-review-wrap {
    width: 100% !important;
    max-width: 760px !important;
  }

  .project-review-card {
    min-height: 310px !important;
    padding: 30px !important;
    border-radius: 20px !important;
  }

  .project-review-title {
    font-size: 44px !important;
    line-height: 48px !important;
  }

  .project-review-text {
    min-height: 100px !important;
    max-height: 150px !important;

    font-size: 18px !important;
    line-height: 29px !important;
  }

  /* ---------- CONTACT ---------- */

  .contact-section {
    padding: 64px 0 72px !important;
  }

  .contact-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .88fr) !important;
    column-gap: 52px !important;
    align-items: start !important;
  }

  .contact-left,
  .contact-list,
  .contact-item {
    width: 100% !important;
  }

  .contact-left {
    margin: 0 !important;
    padding: 0 !important;
  }

  .contact-title {
    margin-bottom: 14px !important;

    font-size: 44px !important;
    line-height: 48px !important;
    letter-spacing: -1.45px !important;
  }

  .contact-desc {
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 !important;

    font-size: 14px !important;
    line-height: 23px !important;
  }

  .contact-list {
    padding-top: 48px !important;
  }

  .contact-item {
    gap: 14px !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
  }

  .contact-icon {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
  }

  .contact-info span {
    font-size: 10px !important;
    line-height: 16px !important;
  }

  .contact-info strong {
    font-size: 14px !important;
    line-height: 21px !important;
  }
}

/* =========================================================
   REALIZACE — HERO FINAL DESKTOP FIX
   Має стояти В САМОМУ КІНЦІ CSS-ФАЙЛУ.
   Виправляє фінальний блок, який обрізав hero до 809px.
========================================================= */

@media (min-width: 992px) {
  html body .realizace-hero {
    position: relative !important;
    width: 100% !important;

    height: 100vh !important;
    min-height: 100vh !important;
    max-height: none !important;

    height: 100dvh !important;
    min-height: 100dvh !important;

    overflow: hidden !important;
  }

  html body .realizace-hero-bg,
  html body .realizace-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
  }

  html body .realizace-hero-bg {
    object-fit: cover !important;
    object-position: center center !important;
  }

  html body .realizace-hero-layout {
    position: relative !important;
    z-index: 2 !important;

    width: 1202px !important;
    max-width: calc(100% - 80px) !important;

    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;

    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  html body .realizace-hero-main {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;

    top: auto !important;
    bottom: 118px !important;

    width: 100% !important;
    max-width: 1202px !important;

    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  html body .realizace-hero-content {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    transform: none !important;
  }

  html body .realizace-hero-title {
    margin: 0 0 28px 0 !important;
  }

  html body .realizace-hero-bottom {
    position: relative !important;
    width: 100% !important;
    min-height: 132px !important;

    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  html body .realizace-hero-copy {
    width: 707px !important;
    max-width: 707px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    transform: none !important;
  }

  html body .realizace-hero-text {
    max-width: 707px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body .realizace-hero-cta {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    top: auto !important;

    margin: 0 !important;
    transform: none !important;
    z-index: 5 !important;
  }
}

/* 27" / 2K — контент не падає занадто низько */
@media (min-width: 1440px) and (min-height: 1000px) {
  html body .realizace-hero-main {
    top: 565px !important;
    bottom: auto !important;
  }
}

/* =========================================================
   END REALIZACE — HERO FINAL DESKTOP FIX
========================================================= */

/* =========================================================
   REALIZACE — NORMAL DESKTOP HERO HEIGHT LIKE SLUZBY
   Для звичайного desktop піднімаємо hero-контент вище,
   щоб висота була як на Služby.
   Великі 27"/2K правила нижче залишаються окремо.
========================================================= */

@media (min-width: 992px) and (max-height: 999px) {
  html body .realizace-hero-main {
    top: auto !important;
    bottom: 170px !important;
  }
}

/* END REALIZACE — NORMAL DESKTOP HERO HEIGHT LIKE SLUZBY
========================================================= */

