/*
Theme Name: H-Park
Theme URI: https://hpark.eu
Author: H-Park
Author URI: https://hpark.eu
Description: Šablona pro H-Park Heršpice Brno - retailový areál s obchody, službami a kancelářskými prostory
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: h-park
*/

/* =========================================================
   =0 ROOT PROMĚNNÉ & FONTY
   ========================================================= */

:root {
  --hp-black: #000000;
  --hp-white: #ffffff;

  /* firemní červená */
  --hp-red: #e02020;

  /* neutrální šedé */
  --hp-gray-50: #fafafa;
  --hp-gray-100: #f7f7f7;
  --hp-gray-200: #eeeeee;
  --hp-gray-300: #dddddd;
  --hp-gray-400: #bcbcbc;
  --hp-gray-600: #666666;
  --hp-gray-800: #333333;

  /* maximální šířka webu jako originál */
  --hp-max-width: 1920px;

  /* ✅ sjednocená výška loga (řeší bliknutí a skoky) */
  --hp-header-logo-height-desktop: 40px;
  --hp-header-logo-height-mobile: 32px;

  /* Font proměnné dle původního projektu */
  --font-lexend: "Lexend", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-lexend-exa: "Lexend Exa", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-poppins: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/* =========================================================
   =1 BASE / RESET
   ========================================================= */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-lexend);
  font-size: 16px;
  line-height: 1.55;
  color: var(--hp-black);
  background-color: var(--hp-white); /* bílé okraje kolem 1920px sloupce */
  overflow-x: hidden;
}

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

/* Wrapper pro celý web (obepíná header + main + footer) */
.hp-site-wrapper {
  max-width: var(--hp-max-width);
  margin: 0 auto;
  background-color: var(--hp-white);
}

.hp-main {
  overflow: hidden;
}

/* =========================================================
   =2 TYPOGRAFIE
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-poppins);
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--hp-black);
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
}

h3 {
  font-size: clamp(24px, 3vw, 32px);
}

p {
  margin: 0 0 20px;
}

strong {
  font-weight: 700;
}

/* Alternativní textový styl (Poppins) */
.hp-text-alt {
  font-family: var(--font-poppins);
}

/* =========================================================
   =3 ODKAZY
   ========================================================= */

a {
  color: var(--hp-black);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--hp-red);
}

/* =========================================================
   =4 LAYOUT & UTILITY
   ========================================================= */

/* Globální kontejner s max šířkou webu */
.hp-container {
  width: 100%;
  max-width: var(--hp-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Sekce (obecný vertikální spacing) */
.hp-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .hp-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* Utility – text, mezery, flex, barvy */
.text-center {
  text-align: center;
}

/* Horní mezera */
.mt-40 {
  margin-top: 40px;
}
.mt-60 {
  margin-top: 60px;
}

/* Dolní mezera */
.mb-40 {
  margin-bottom: 40px;
}
.mb-60 {
  margin-bottom: 60px;
}

/* Flex helpery */
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Barevné utility */
.text-white {
  color: var(--hp-white);
}
.text-black {
  color: var(--hp-black);
}
.bg-black {
  background-color: var(--hp-black);
}
.bg-gray {
  background-color: var(--hp-gray-100);
}

/* =========================================================
   =5 TLAČÍTKA
   ========================================================= */

/* Obecný styl pro tlačítka */
.hp-btn,
.roundedButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

/* Černé tlačítko */
.hp-btn-black {
  background-color: var(--hp-black);
  color: var(--hp-white);
  border: 2px solid var(--hp-black);
}

.hp-btn-black:hover {
  background-color: var(--hp-white);
  color: var(--hp-black);
}

/* Bílé tlačítko – použitelné třeba v hero */
.hp-btn-white,
.roundedButton-white {
  background-color: var(--hp-white);
  color: var(--hp-black);
  border: 2px solid var(--hp-white);
}

.hp-btn-white:hover,
.roundedButton-white:hover {
  background-color: transparent;
  color: var(--hp-white);
}

/* Outline varianta */
.hp-btn-outline {
  background-color: transparent;
  color: var(--hp-black);
  border: 2px solid var(--hp-black);
}

.hp-btn-outline:hover {
  background-color: var(--hp-black);
  color: var(--hp-white);
}

/* =========================================================
   =6 HEADER (✅ kompletně opravený)
   ========================================================= */

/* WRAPPER – header nad obsahem */
.hp-header-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 50;
  background-color: transparent;
}

/* Vnitřní kontejner headeru */
.hp-header-inner {
  max-width: var(--hp-max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 52px;
  display: flex;
  align-items: center;
  position: relative;
}

/* Obal headeru */
.hp-header {
  width: 100%;
}

/* Logo vlevo */
.hp-header-logo {
  display: flex;
  align-items: center;
}

/* ✅ sjednocená výška loga (desktop) */
.hp-header-logo img {
  height: var(--hp-header-logo-height-desktop);
  width: auto;
  display: block;
}

/* === LOGO SWITCH (black vs white) === */
.hp-header-logo-black { display: block !important; }
.hp-header-logo-white { display: none !important; }

.hp-header--white .hp-header-logo-black { display: none !important; }
.hp-header--white .hp-header-logo-white { display: block !important; }

/* Toggler (burger) – desktop defaultně skrytý */
.hp-header-toggler {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
}

.hp-header-toggler svg path {
  fill: var(--hp-black);
}

/* ✅ bílý burger ve white variantě */
.hp-header--white .hp-header-toggler svg path {
  fill: var(--hp-white);
}

/* Navigace – vpravo */
.hp-header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.hp-header-menu {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  gap: 48px;
}

.hp-header-menu li {
  display: flex;
  align-items: center;
}

.hp-header-menu a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1;
  color: var(--hp-black);
  transition: color 0.2s ease;
}

.hp-header-menu a:hover {
  color: var(--hp-red);
}

/* ✅ bílé menu při bílém logu */
.hp-header--white .hp-header-menu a { color: var(--hp-white); }
.hp-header--white .hp-header-menu a:hover { color: var(--hp-red); }

/* Sociální ikony úplně vpravo */
.hp-header-socials {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0 0 0 48px;
  padding: 0;
}

.hp-header-socials img {
  height: 20px;
  width: 20px;
}

/* Přepínání ikon podle barvy headeru */
/* Defaultně (světlé stránky, černý header) = černé ikony */
.hp-header-social-white { display: none !important; }
.hp-header-social-black { display: block !important; }

/* Na stránkách s bílým headerem (frontpage, kontakty) = bílé ikony */
.hp-header--white .hp-header-social-white { display: block !important; }
.hp-header--white .hp-header-social-black { display: none !important; }

/* Skryté věci, které používá mobilní menu */
.hp-header-mobile-head {
  display: none;
}

/* =========================================================
   =7 HERO / ÚVODNÍ SEKCE
   ========================================================= */

.hp-hero {
  position: relative;
  min-height: 912px;
  color: var(--hp-white);
  overflow: hidden;
}

.hp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-hero-image-desktop { display: block; }
.hp-hero-image-mobile { display: none; }

.hp-hero-inner {
  position: relative;
  z-index: 1;
  padding: 250px 0 120px;
}

.hp-hero-title {
  font-family: var(--font-poppins);
  font-size: clamp(64px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 500;
  color: var(--hp-white);
  margin-bottom: 32px;
}

.hp-hero-title span.hp-hero-keyword {
  color: var(--hp-red);
}

/* Hero varianta pro stránku Obchody a služby */
/* Univerzální hero sekce pro stránky (retails, blog, mapa areálu, atd.) */
.hp-hero-page,
.hp-hero-retails,
.hp-hero-blog {
  min-height: 576px;
  color: var(--hp-black);
}

.hp-hero-rental {
  min-height: 400px;
  max-height: 500px;
  color: var(--hp-black);
}

.hp-hero-page .hp-hero-bg,
.hp-hero-retails .hp-hero-bg,
.hp-hero-blog .hp-hero-bg,
.hp-hero-rental .hp-hero-bg {
  background-color: #b3b5b7;
}

/* Hero varianta pro kontaktní stránku - černé pozadí */
.hp-hero-contact {
  height: 968px;
  background-color: var(--hp-black);
  position: relative;

  color: var(--hp-white);
}

.hp-hero-contact .hp-hero-bg {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.hp-hero-contact .hp-hero-bg img,
.hp-hero-contact .hp-hero-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  display: block;
}

.hp-hero-contact .hp-hero-inner {
  z-index: 2;
  position: relative;
  padding: 0;
}

.hp-hero-contact .hp-hero-inner .container {
  width: 100%;
}

.hp-contact-header-content {
  padding-top: 176px;
  padding-bottom: 56px;
  border-bottom: 2px solid #2b2b2b;
  z-index: 2;
}

.hp-contact-header-content .hp-section-kicker {
  text-transform: uppercase;
  color: var(--hp-red);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.92px;
  margin-bottom: 0;
}

.hp-contact-header-content .hp-hero-title {
  margin-top: 24px;
  font-family: var(--font-poppins);
  font-size: 48px;
  line-height: 56px;
  font-weight: 500;
  color: var(--hp-white);
  margin-bottom: 0;
}

.hp-contact-cols {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 90px;
}

.hp-contact-col {
  width: 33%;
}

.hp-contact-col span {
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 1.92px;
  color: var(--hp-white);
  display: block;
}

.hp-contact-col div {
  margin-top: 16px;
  font-size: 32px;
  line-height: 40px;
  color: var(--hp-white);
  letter-spacing: 0;
  font-family: var(--font-lexend-exa);
}

.hp-contact-col div a {
  color: currentColor;
}

.hp-contact-col div a:hover {
  color: var(--hp-red);
}

.hp-hero-contact-map {
  background-color: var(--hp-gray-100);
  padding: 0;
  margin-top: -150px;
  margin-bottom: 0;
}

.hp-hero-contact-map .container {
  padding: 0;
}

.hp-contact-map-container {
  margin-top: 0;
  background-color: var(--hp-white);
  height: 504px;
  width: 100%;
  position: relative;
}

.hp-contact-map-container > div {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hp-contact-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

.hp-contact-billing {
  background-color: var(--hp-gray-100);
  padding: 80px 11px 77px;
  text-align: center;
}

.hp-contact-billing-content {
  max-width: 100%;
}

.hp-contact-billing-title {
  font-family: var(--font-poppins);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.92px;
  color: var(--hp-gray-600);
  margin: 0 0 24px;
}

.hp-contact-billing-big {
  color: var(--hp-black);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0;
  margin: 0 0 24px;
  font-weight: 600;
  font-family: var(--font-poppins);
}

.hp-contact-billing-small {
  font-size: 16px;
  line-height: 24px;
  color: var(--hp-gray-600);
  margin: 0;
  font-family: var(--font-lexend);
}

@media screen and (max-width: 1048px) {
  .hp-hero-contact {
    height: auto;
  margin-bottom: 0;
}
}

@media (max-width: 991px) {
  .hp-contact-header-content .hp-section-kicker {
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 1.6px;
}

  .hp-contact-cols .hp-contact-col span {
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 1.6px;
  }

  .hp-contact-cols .hp-contact-col div {
    margin-top: 8px;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
  }
}

.hp-hero-page .hp-hero-bg img,
.hp-hero-retails .hp-hero-bg img,
.hp-hero-blog .hp-hero-bg img,
.hp-hero-rental .hp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hp-hero-page .hp-hero-bg svg,
.hp-hero-retails .hp-hero-bg svg,
.hp-hero-blog .hp-hero-bg svg,
.hp-hero-rental .hp-hero-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hp-hero-page .hp-hero-inner,
.hp-hero-retails .hp-hero-inner,
.hp-hero-blog .hp-hero-inner {
  padding: 0;
  display: flex;
  align-items: center;
  min-height: 576px;
}

.hp-hero-rental .hp-hero-inner {
  padding: 0;
  display: flex;
  align-items: center;
  min-height: 400px;
  max-height: 500px;
}

.hp-hero-page .hp-hero-inner .container,
.hp-hero-retails .hp-hero-inner .container,
.hp-hero-blog .hp-hero-inner .container,
.hp-hero-rental .hp-hero-inner .container {
  width: 100%;
}

.hp-hero-page .hp-hero-title,
.hp-hero-retails .hp-hero-title,
.hp-hero-blog .hp-hero-title,
.hp-hero-rental .hp-hero-title {
  color: var(--hp-black);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  margin-bottom: 0;
}

.hp-hero-page .hp-section-kicker,
.hp-hero-retails .hp-section-kicker,
.hp-hero-blog .hp-section-kicker,
.hp-hero-rental .hp-section-kicker {
  margin-bottom: 16px;
}

/* ================================
   HERO – MOBILE: vertikální centrování obsahu
   ================================ */
@media (max-width: 992px) {

  /* hero jako flex kontejner */
  .hp-hero {
    min-height: 560px;
    display: flex;
    align-items: center;       /* ✅ vertikální střed */
    justify-content: flex-start;
  }

  .hp-hero-title {
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.45);
  }

  /* pozadí zůstává absolutní */
  .hp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* fill + ořez */
    object-position: top center;
  }

  /* obsah nad pozadím */
  .hp-hero-inner {
    position: relative;
    z-index: 1;
    padding: 0;                /* ❌ zrušíme paddingy, které dělaly posun */
    width: 100%;
  }


  /* obrázek jako "fill" – už máš object-fit: cover, jen dodáme pozici */
  .hp-hero-bg img {
    object-fit: cover;
    object-position: top center;  /* ✅ drží nahoře a ořezává spodek */
  }

  /* zmenšíme top padding, aby text neležel moc dole */
  .hp-hero-inner {
    padding: 120px 0 60px;  /* ✅ uprav si podle výšky headeru + kompozice */
  }

  /* Hero pro stránku Obchody a služby - mobil */
  /* Univerzální hero sekce pro stránky - mobil */
  .hp-hero-page,
  .hp-hero-retails,
  .hp-hero-blog {
    min-height: 400px;
  }

  .hp-hero-rental {
    min-height: 300px;
    max-height: none;
  }

  .hp-hero-contact {
    height: auto;
    margin-bottom: 0;
  }

  .hp-hero-page .hp-hero-inner,
  .hp-hero-retails .hp-hero-inner,
  .hp-hero-blog .hp-hero-inner {
    min-height: 400px;
    padding: 0;
  }

  .hp-hero-rental .hp-hero-inner {
    min-height: 300px;
    max-height: none;
    padding: 0;
  }

  .hp-hero-page .hp-hero-title,
  .hp-hero-retails .hp-hero-title,
  .hp-hero-blog .hp-hero-title,
  .hp-hero-rental .hp-hero-title {
    text-shadow: none;
  }

  .hp-rental-contact {
    padding: 60px 0;
  }

  .hp-rental-contact-text {
    font-size: 16px;
  }

  .hp-rental-contact-info {
    font-size: 16px;
  }

  

  .hp-contact-header-content {
    padding-top: 152px;
    padding-bottom: 32px;
  }

  .hp-contact-header-content .hp-section-kicker {
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .hp-contact-header-content .hp-hero-title {
    font-size: 28px;
    line-height: 32px;
    margin-top: 16px;
  }

  .hp-contact-cols {
    margin-top: 30px;
    gap: 24px;
    flex-direction: column;
  }

  .hp-contact-col {
    width: 100%;
  }

  .hp-contact-col span {
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 1.6px;
  }

  .hp-contact-col div {
    margin-top: 8px;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
  }

  .hp-contact-map-container {
    margin-top: 0;
    height: 376px;
  }
}

@media (max-width: 767px) {
  .hp-contact-map-container {
    margin-top: 0;
    height: 376px;
  }

  .hp-contact-billing {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hp-contact-billing-big {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
  }

  .hp-contact-billing-small {
    font-size: 14px;
    line-height: 20px;
  }

  .hp-contact-billing-small br {
    display: none;
  }
}

@media (max-width: 767px) {
  .hp-contact-header-content {
    padding-top: 152px;
    padding-bottom: 32px;
  }

  .hp-contact-header-content .hp-section-kicker {
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .hp-contact-header-content .hp-hero-title {
    font-size: 28px;
    line-height: 32px;
    margin-top: 16px;
  }

  .hp-contact-cols {
    margin-top: 30px;
    gap: 24px;
    flex-direction: column;
  }

  .hp-contact-col span {
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 1.6px;
  }

  .hp-contact-col div {
    margin-top: 8px;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
  }

  /* Blog grid - mobil */
  .hp-blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Single post - mobil */
  .hp-post-hero {
    min-height: 400px;
  }

  .hp-post-hero-content {
    padding: 60px 0 40px;
  }

  .hp-post-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .hp-post-content {
    padding: 60px 0;
  }

  .hp-post-body {
    font-size: 16px;
  }

  .hp-post-body h2 {
    font-size: 24px;
    margin: 32px 0 16px;
  }

  .hp-post-body h3 {
    font-size: 20px;
    margin: 28px 0 16px;
  }
}

/* ještě menší telefony */
@media (max-width: 575.98px) {
  .hp-hero {
    min-height: 560px; /* nech stejné, nebo třeba 520px */
  }

  .hp-hero-inner {
    padding: 105px 0 50px;
  }
}

/* =========================================================
   =8 HOMEPAGE – OBCHODY & SLUŽBY
   ========================================================= */

.hp-home-retails {
  padding: 80px 0 40px;
}

.hp-home-retails .contentRow {
  margin-bottom: 40px;
}

.hp-retails {
  padding: 80px 0;
}

/* Volné prostory - kontaktní sekce (černá) */
.hp-rental-contact {
  background-color: var(--hp-black);
  padding: 80px 0;
  color: var(--hp-white);
}

.hp-rental-contact-content {
  text-align: left;
  max-width: 100%;
  margin: 0;
}

.hp-rental-contact-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--hp-white);
  margin: 0 0 24px;
}

.hp-rental-contact-info {
  font-size: 18px;
  line-height: 1.6;
  color: var(--hp-white);
  margin: 0;
}

.hp-rental-contact-info a {
  color: var(--hp-white);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.hp-rental-contact-info a:hover {
  color: var(--hp-red);
}

/* Volné prostory - obsah stránky */
.hp-rental-content {
  background-color: var(--hp-white);
}

.hp-rental-content .container {
  max-width: 1200px;
}

/* Univerzální třída pro šedé pozadí */
.hp-bg-gray {
  background-color: var(--hp-gray-50);
}

.hp-retails .hp-section-kicker {
  margin-bottom: 16px;
}

.hp-retails .hp-retails-title {
  margin-bottom: 60px;
}

.hp-retails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.hp-retail-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 16px;
  border: 1px solid var(--hp-gray-200);
  padding: 24px 16px;
  text-align: center;
  background-color: var(--hp-white);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.hp-retail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
  border-color: var(--hp-gray-300);
  text-decoration: none;
}

.hp-retail-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-retail-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hp-retail-text p {
  margin: 0;
  font-size: 14px;
  color: var(--hp-gray-800);
}

.hp-retails-cta {
  margin-bottom: 8px;
}

.hp-retails-cta-mobile {
  display: block;
  margin: 16px auto 0;
  text-align: center;
}

/* =========================================================
   =9 HOMEPAGE – FOTO SEKCE "O PROJEKTU"
   ========================================================= */

.hp-home-photo {
  position: relative;
  padding: 80px 0 0;
}

.hp-home-photo .container {
  position: relative;
  z-index: 2;
}

.hp-home-photo-image {
  position: relative;
  width: 100%;
}

.hp-home-photo-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
}

.hp-home-photo-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hp-home-photo-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 40px 0;
  max-width: 680px;
  color: var(--hp-white);
}

.hp-home-photo-text .sectionSmallTitle {
  color: var(--hp-white);
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hp-home-photo-text .sectionTitle {
  color: var(--hp-white);
  margin: 0;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.3;
  font-weight: 500;
}

/* =========================================================
   =10 HOMEPAGE – USP / ČÍSLA
   ========================================================= */

.hp-home-usp {
  padding: 80px 0;
  background-color: var(--hp-gray-100);
}

.hp-usp-top-line {
  width: 100%;
  height: 1px;
  background-color: var(--hp-gray-300);
  margin-left: auto;
  margin-right: auto;
}

.hp-usp-items {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
}

.hp-usp-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 32px;
  margin-left: 32px;
}

.hp-usp-icon {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.hp-usp-icon img {
  width: auto;
  height: 44px;
  display: block;
}

.hp-usp-number {
  font-family: var(--font-poppins);
  font-size: 64px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--hp-black);
  line-height: 1.2;
}

.hp-usp-number span {
  font-family: var(--font-poppins);
  font-size: 64px;
  font-weight: 400;
}

.hp-usp-number sup {
  font-size: 24px;
  vertical-align: super;
}

.hp-usp-desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--hp-black);
  line-height: 1.4;
}

.hp-usp-separator {
  width: 1px;
  background-color: var(--hp-gray-300);
  align-self: stretch;

  min-height: 100px;
}

.hp-usp-bottom {
  margin-top: 60px;
  text-align: center;
}

/* =========================================================
   =11 FOOTER
   ========================================================= */

.hp-footer {
  padding: 60px 0 40px;
  background-color: var(--hp-white);
  margin-top: 0;
}

.hp-footer-top {
  align-items: flex-start;
  margin-bottom: 48px;
}

.hp-footer-logo {
  display: flex;
  align-items: flex-start;
}

.hp-footer-logo-link {
  text-decoration: none;
  display: inline-block;
}

.hp-footer-logo-link img {
  display: block;
  height: auto;
  width: auto;
  max-width: 200px;
}

.hp-footer-backtotop-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.hp-footer-backtotop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--hp-gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hp-footer-backtotop:hover {
  color: var(--hp-black);
}

.hp-footer-backtotop-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.hp-footer-links {
  row-gap: 40px;
  margin-bottom: 40px;
}

.hp-footer-main-text {
  font-size: 14px;
  color: var(--hp-black);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hp-footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 0;
}

.hp-footer-socials a {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.hp-footer-socials a:hover {
  opacity: 0.7;
}

.hp-footer-socials img {
  display: block;
  width: 20px;
  height: 20px;
}

.hp-footer-column {
  font-size: 14px;
  color: var(--hp-black);
}

.hp-footer-column-title {
  display: block;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.hp-footer-column p {
  margin: 0 0 16px;
  line-height: 1.6;
  font-size: 14px;
}

.hp-footer-column a {
  color: var(--hp-black);
  text-decoration: none;
}

.hp-footer-column a:hover {
  text-decoration: underline;
}

.hp-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-footer-list li {
  margin: 0;
}

.hp-footer-list li + li {
  margin-top: 8px;
}

.hp-footer-list a {
  color: var(--hp-black);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  display: inline-block;
}

.hp-footer-list a:hover {
  text-decoration: underline;
}

/* WordPress menu v footeru */
.hp-footer-column .hp-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-footer-column .hp-footer-list li {
  margin: 0;
  padding: 0;
}

.hp-footer-column .hp-footer-list li + li {
  margin-top: 8px;
}

.hp-footer-bottom {
  border-top: 1px solid var(--hp-gray-200);
  padding-top: 24px;
  margin-top: 0;
}

.hp-footer-copy {
  font-size: 13px;
  color: var(--hp-gray-600);
  text-align: center;
}

/* Mobilní zobrazení footeru - 2 sloupce vedle sebe */
.hp-footer-mobile-columns {
  display: none;
}

.hp-footer-desktop-columns {
  display: contents;
}

.hp-footer-desktop-only {
  display: block;
}

.hp-footer-contacts-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.hp-footer-contacts-wrapper .hp-footer-column {
  flex: 1;
  min-width: 0;
}

/* =========================================================
   =12 RESPONSIVE BREAKPOINTS (✅ mobilní header/overlay oprava)
   ========================================================= */

@media (max-width: 992px) {
  .hp-header-wrapper {
    height: 72px;
  }

  .hp-header-inner {
    justify-content: center;
    padding: 0 16px;
  }

  .hp-header-logo {
    margin: 0 auto;
  }

  /* ✅ sjednocená výška loga (mobil) — header i overlay */
  .hp-header-logo img,
  .hp-header-mobile-head img {
    height: var(--hp-header-logo-height-mobile);
    width: auto;
  }

  .hp-header-toggler {
    display: flex;
    align-items: center;
    position: absolute;
    left: 16px;
    z-index: 60;
  }

  /* Desktop nav pryč */
  .hp-header-nav {
    display: none;
  }

  /* ✅ Overlay nav: žádné negativní marginy, žádný skok o pixely */
  .hp-header-nav.open {
    display: block;
    position: fixed;
    inset: 0;
    background-color: var(--hp-black);
    padding: 0;              /* bylo 16px 11px → dělalo posun */
    z-index: 999;
  }

  /* Hlavička overlay menu (stejná výška jako header) */
  .hp-header-mobile-head {
    display: flex;
    position: relative;
    align-items: center;
    height: 72px;
    padding: 0 16px;
  }

  /* ✅ Křížek přesně na místě hamburgeru */
  .hp-header-close {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
  }

  /* X ikonka (pokud máš SVG se stroke) */
  .hp-header-close svg path {
    stroke: var(--hp-white);
  }

  /* Logo uprostřed overlay head */
  .hp-header-mobile-head img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  /* Vlastní obsah menu v overlay */
  .hp-header-nav.open .hp-header-menu {
    flex-direction: column;
    gap: 32px;
    margin: 0;
    padding: 40px 16px 0;   /* tady je spacing místo paddingu overlay */
  }

  .hp-header-menu a {
    color: var(--hp-white);
    font-size: 18px;
  }

  .hp-header-nav.open .hp-header-socials {
    margin: 32px 0 0;
    padding: 0 16px;
  }

  /* ✅ Když je menu otevřené, schovej burger (aby “nebyl pod X”) */
  body.hp-nav-open .hp-header-toggler {
    opacity: 0;
    pointer-events: none;
  }

  body.hp-nav-open {
    overflow: hidden;
  }

  .hp-hero-inner {
    padding: 110px 0 80px;
  }

  .hp-hero-title {
    font-size: clamp(26px, 6vw, 34px);
  }

  .hp-footer-top {
    text-align: left;
  }

  .hp-footer-backtotop-wrap {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .hp-footer-links {
    margin-top: 0;
  }

  .hp-footer-main-text {
    max-width: 100%;
  }

  /* Mobilní zobrazení footeru - 2 sloupce vedle sebe */
  .hp-footer-desktop-columns {
    display: none;
  }

  .hp-footer-mobile-columns {
    display: flex;
    width: 100%;
    gap: 32px;
    flex-wrap: nowrap;
    margin-left: 0;
    margin-right: 0;
  }

  .hp-footer-desktop-only {
    display: none;
  }

  .hp-footer-links-col {
    flex: 0 0 auto;
    width: auto;
    min-width: 140px;
    max-width: 180px;
    padding-left: 0;
    padding-right: 15px;
  }

  .hp-footer-contacts-col {
    flex: 1;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .hp-footer-contacts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hp-footer-contacts-wrapper .hp-footer-column {
    margin-bottom: 24px;
  }

  .hp-footer-contacts-wrapper .hp-footer-column:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 991.98px) {
  .hp-home-photo {
    padding-top: 56px;
  }

  .hp-home-photo-text {
    padding: 24px 0;
    max-width: 100%;
  }

  .hp-usp-top-line {
    max-width: 100%;
  }

  .hp-usp-items {
    flex-direction: column;
    max-width: 100%;
  }

  .hp-usp-item {
    padding: 32px 0;
    width: 100%;
  }

  .hp-usp-separator {
    width: 100%;
    height: 1px;
    margin: 0;
    min-height: 1px;
  }

  .hp-usp-number {
    font-size: 40px;
  }

  .hp-usp-number span {
    font-size: 40px;
  }
}

@media (max-width: 575.98px) {
  .hp-retails-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Menší mezera mezi sloupci na velmi malých obrazovkách */
  .hp-footer-mobile-columns {
    gap: 20px;
  }

  .hp-footer-links-col {
    min-width: 120px;
    max-width: 150px;
  }
}

@media (max-width: 1399px) {
  .hp-header-menu {
    gap: 35px;
  }

  .hp-header-menu a {
    font-size: 13px;
  }

  .hp-header-socials {
    margin-left: 32px;
  }
}

@media (max-width: 1199px) {
  .hp-header-menu {
    gap: 18px;
  }

  .hp-header-menu a {
    font-size: 12px;
    letter-spacing: 0.3px;
  }

  .hp-header-socials {
    margin-left: 24px;
    gap: 12px;
  }

  .hp-header-logo img {
    height: 32px;
  }
}

/* =========================================================
   =DYNAMIC HERO TEXT
   ========================================================= */

.hp-hero-dynamic {
  display: inline-flex;
  align-items: baseline;
}

/* celý text defaultně bílý */
.hp-hero-dynamic-text {
  display: inline-block;
  color: var(--hp-white);
}

/* poslední slovo barevné */
.hp-hero-dynamic-text .hp-hero-keyword {
  color: var(--hp-red);
}

/* Blikající kurzor – vždy bílý */
.hp-hero-cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--hp-white);
  font-weight: 300;
  animation: heroCursorBlink 1s steps(2, start) infinite;
}

@keyframes heroCursorBlink {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== Headline block (8/4) ===== */
.hp-retails-head {
  row-gap: 18px;
  margin-bottom: 80px;
}

.hp-section-kicker {
  font-family: var(--font-lexend-exa);
  text-transform: uppercase;
  font-size: 12px;
  color: var(--hp-red);
  margin-bottom: 14px;
  font-weight: 700;
}

.hp-kicker{

    margin-top: 50px;
  margin-bottom: 12px;
  color: var(--hp-gray-600);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.hp-retails-title {
  font-size: clamp(18px, 3.0vw, 30px);
  line-height: 1.18;
  margin: 0;
  max-width: 860px;
}

.hp-gallery-title {
  font-weight: 500;
  font-size: 32px;
  color: var(--hp-black);
  margin: 0 0 24px;
}

/* =========================================================
   =SINGLE POST / DETAIL PŘÍSPĚVKU
   ========================================================= */

.hp-post-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--hp-white);
}

.hp-post-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-post-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hp-post-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0 60px;
}

.hp-post-hero-content .col-lg-10.offset-lg-1 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hp-post-meta {
  margin-bottom: 16px;
}

.hp-post-date {
  font-size: 12px;
  color: var(--hp-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.hp-post-title {
  font-family: var(--font-poppins);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--hp-white);
  margin: 0;
}

.hp-post-content {
  padding: 80px 0;
}

.hp-post-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--hp-black);
  max-width: 700px;
  margin: 0 auto;
}

.hp-post-body p {
  margin-bottom: 24px;
}

.hp-post-body h2 {
  font-family: var(--font-poppins);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  margin: 48px 0 24px;
  color: var(--hp-black);
}

.hp-post-body h3 {
  font-family: var(--font-poppins);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  margin: 40px 0 20px;
  color: var(--hp-black);
}

.hp-post-body img {
  max-width: 100%;
  height: auto;
  margin: 32px 0;
  display: block;
}

.hp-post-body a {
  color: var(--hp-red);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.hp-post-body a:hover {
  color: var(--hp-black);
}

.hp-post-body ul,
.hp-post-body ol {
  margin: 24px 0;
  padding-left: 32px;
}

.hp-post-body li {
  margin-bottom: 12px;
}

.hp-post-navigation {
  padding: 40px 0 80px;
  border-top: 1px solid var(--hp-gray-200);
}

.hp-post-back {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--hp-black);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hp-post-back:hover {
  color: var(--hp-red);
}

/* =========================================================
   =BLOG / NOVINKY A AKCE
   ========================================================= */

.hp-blog {
  padding: 80px 0;
}

.hp-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.hp-blog-card {
  background-color: var(--hp-white);
  overflow: hidden;
  border: 1px solid var(--hp-gray-200);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
}

.hp-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
  border-color: var(--hp-gray-300);
}

.hp-blog-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: var(--hp-gray-100);
}

.hp-blog-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.hp-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hp-blog-card-date {
  font-size: 12px;
  color: var(--hp-gray-600);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hp-blog-card-title {
  font-family: var(--font-poppins);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 16px;
}

.hp-blog-card-title a {
  color: var(--hp-black);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hp-blog-card-title a:hover {
  color: var(--hp-red);
}

.hp-blog-card-excerpt {
  font-size: 14px;
  color: var(--hp-gray-800);
  line-height: 1.6;
  margin: 0 0 20px;
  flex: 1;
}

.hp-blog-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--hp-black);
  border: 2px solid var(--hp-black);
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.hp-blog-card-button:hover {
  background-color: var(--hp-black);
  color: var(--hp-white);
}

.hp-blog-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--hp-gray-600);
}

/* Paginace */
.hp-blog .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}

.hp-blog .page-numbers li {
  margin: 0;
}

.hp-blog .page-numbers a,
.hp-blog .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--hp-gray-300);
  border-radius: 8px;
  text-decoration: none;
  color: var(--hp-black);
  font-size: 14px;
  transition: all 0.2s ease;
}

.hp-blog .page-numbers a:hover {
  background-color: var(--hp-gray-100);
  border-color: var(--hp-gray-400);
}

.hp-blog .page-numbers .current {
  background-color: var(--hp-black);
  color: var(--hp-white);
  border-color: var(--hp-black);
}

/* =========================================================
   =OBCHODY A SLUŽBY – STRÁNKA
   ========================================================= */

.hp-retails-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ===== Better button ===== */
.hp-btn-lg {
  padding: 16px 34px;
  font-size: 13px;
  letter-spacing: 1.2px;
  border-width: 2px;
  gap: 10px;
}

.hp-btn-arrow {
  display: inline-flex;
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

.hp-btn-outline.hp-btn-lg:hover .hp-btn-arrow {
  transform: translate(4px, -1px);
}

.hp-btn-outline.hp-btn-lg:hover {
  background-color: var(--hp-black);
  color: var(--hp-white);
  border-color: var(--hp-black);
}

.hp-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.12);
}

@media (max-width: 991.98px) {
  .hp-retails {
    padding: 40px 0;
  }

  .hp-retails .hp-retails-title {
    margin-bottom: 40px;
  }

  .hp-retails-title {
    max-width: 100%;
  }

  .hp-retails-cta-wrap {
    justify-content: flex-start;
  }
}

/* =========================================================
   =13 NÁJEMCE (NEW: bg blok + negativní marginy) – OPTIMAL
   ========================================================= */

g#stitek_najemce.is-active text { font-weight: 800; }
g#stitek_najemce.is-active { opacity: 1; }

/* ---- Tunables (ladění na 1 místě) ---- */
.hp-tenant-hero{
  --tenant-hero-top: 200px;   /* 80px menu + 100px card overlap + 20px design */
  --logo-pull: -75px;         /* logo nahoru */
  --card-pull: -100px;        /* černý panel nahoru */
  --content-bottom: 80px;     /* „dojezd“ pod odstavcem */

  --logo-size: 150px;
  --card-pad-y: 44px;
  --card-pad-x: 42px;

  padding-top: var(--tenant-hero-top);
  padding-bottom: 0; /* rytmus řeší bg */
}

/* šedý blok */
.hp-tenant-bg{
  background: var(--hp-gray-100);
  position: relative;
  overflow: visible;
  padding-bottom: 0px; /* prostor pro černý box, který přesahuje */
}

/* grid */
.hp-tenant-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 84px;
  align-items: start;
  position: relative;
}

/* ---------- LEFT ---------- */

.hp-tenant-logoWrap{
  margin-top: var(--logo-pull);
}

/* logo circle */
.hp-tenant-logo{
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 999px;
  background: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 22px 55px rgba(0,0,0,.12);
}

.hp-tenant-logo img{
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* claim */
.hp-tenant-claim{
  margin-top: 50px;
  margin-bottom: 12px;
  color: var(--hp-red);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

/* title */
.hp-tenant-title{
  margin: 0 0 22px;
  font-family: var(--font-lexend-exa);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 35px;
  line-height: 1.06;
}

/* text */
.hp-tenant-content{
  max-width: 560px;
  color: #1f1f1f;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: var(--content-bottom);
}

.hp-tenant-content p{ margin: 0 0 18px; }

/* ---------- RIGHT (BLACK CARD) ---------- */

.hp-tenant-right{ 
  position: relative;
  align-self: start;
}

.hp-tenant-card{
  position: relative;
  top: var(--card-pull);
  background: #000;
  color: #fff;
  padding: var(--card-pad-y) var(--card-pad-x);
  box-shadow: 0 26px 70px rgba(0,0,0,.18);
  min-height: auto; /* jistota */
}

/* card rows */
.hp-card-row{
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.hp-card-row:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

.hp-card-label{
  margin-bottom: 8px;
  opacity: .55;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hp-card-value{
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  word-break: break-word;
}

.hp-card-value a{
  color:#fff;
  text-decoration:none;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.hp-card-value a:hover{ border-bottom-color:#fff; }

.hp-hours-line{
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.hp-card-item{
  margin-bottom: 8px;
}
.hp-card-item:last-child{
  margin-bottom: 0;
}

/* socials */
.hp-social{
  display:flex;
  gap: 12px;
  margin-top: 14px;
}
.hp-social a{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  opacity: .92;
}
.hp-social a:hover{
  border-color:#fff;
  opacity: 1;
}
.hp-social a img{
  width: 20px;
  height: 20px;
  display: block;
}
.hp-social-ic{
  font-family: var(--font-lexend-exa);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- MOBILE ---------- */

@media (max-width: 992px){

  .hp-tenant-hero{
    --tenant-hero-top: 150px;
    --logo-pull: -64px;
    --card-pull: 0px;          /* zachovávám tvoje chování – panel už neoverlapuje */
    --content-bottom: 0px;     /* zachovávám tvoje chování */

    --logo-size: 128px;
    --card-pad-y: 34px;
    --card-pad-x: 26px;

    padding-top: var(--tenant-hero-top);
  }

  .hp-tenant-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hp-tenant-logoWrap{
    margin-bottom: 10px;
  }

  .hp-tenant-claim{
    margin-top: 30px;
  }

  .hp-tenant-title{
    font-size: 24px;
    letter-spacing: .14em;
  }
}






/* =========================
   HP MAP LABELS (from index.html)
   ========================= */
/* UNITS - už nejsou klikatelné, jen vizuální */
.clickable-unit { cursor: default; pointer-events: none; }
.clickable-unit .unit-shape { fill: #e1e2e1; transition: fill 0.15s ease; }
.clickable-unit.is-active .unit-shape { fill: #e53935; }

/* Vrstvy NAD unitami jsou průchozí */
#vstvy-nad, #vstvy-nad * { pointer-events: none; }

/* Labels jsou nyní klikatelné */
#unit-labels { pointer-events: auto; }
#unit-labels .unit-label { 
  pointer-events: auto !important; 
  cursor: pointer; 
}
/* Aktivní label (aktuální nájemce) není klikací */
#unit-labels .unit-label.is-active { 
  cursor: default; 
}


/* žlutý obdélník - musí být viditelný */
#unit-labels .label-bg { 
  fill: #F6ED17 !important; 
  shape-rendering: crispEdges; 
  transition: fill 0.15s ease;
  opacity: 1 !important;
  stroke: none;
}

/* text štítku */
#unit-labels .label-text { font-size: 16px; font-family: ArialMT, Arial; fill: #000; transition: fill 0.15s ease; }

/* animace zvětšení štítku (škáluje se .label-inner) */
#unit-labels .label-inner { transition: transform 0.15s ease; }
#unit-labels .label-text.is-bold { font-weight: 700; }

/* Hover efekt na label - zvětšení + změna barvy */
#unit-labels .unit-label:hover .label-bg { fill: #e53935; }
#unit-labels .unit-label:hover .label-text { fill: #000; }

/* Active stav na label - když je zobrazen detail nájemce */
#unit-labels .unit-label.is-active .label-bg { fill: #e53935; }
#unit-labels .unit-label.is-active .label-text { fill: #000; }

/* =========================
   MAPA AREÁLU STRÁNKA
   ========================= */

.hp-map-section {
  padding: 80px 0;
  background-color: var(--hp-white);
}

.hp-tenant-map {
  padding: 80px 0;
  background-color: var(--hp-white);
}

.hp-map-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background-color: var(--hp-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hp-map-svg {
  width: 100%;
  position: relative;
}

.hp-map-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Seznam nájemců */
.hp-tenants-list {
  padding: 80px 0;
  background-color: var(--hp-gray-50);
}

.hp-tenants-list-title {
  font-family: var(--font-poppins);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--hp-black);
  text-align: center;
}

.hp-tenants-list-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--hp-gray-700);
  text-align: center;
  margin: 0 0 60px;
}

.hp-tenants-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hp-tenant-item {
  background-color: var(--hp-white);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--hp-gray-200);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.hp-tenant-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--hp-gray-300);
}

.hp-tenant-item-title {
  font-family: var(--font-poppins);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--hp-black);
}

.hp-tenant-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hp-tenant-item-title a:hover {
  color: var(--hp-primary);
}

.hp-tenant-item-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.hp-tenant-item-row:last-child {
  margin-bottom: 0;
}

.hp-tenant-item-label {
  font-weight: 600;
  color: var(--hp-gray-600);
  min-width: 24px;
}

.hp-tenant-item-value {
  color: var(--hp-gray-800);
  text-decoration: none;
  transition: color 0.15s ease;
}

.hp-tenant-item-value:hover {
  color: var(--hp-primary);
}

.hp-tenant-item-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hp-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.hp-tenant-item-link:hover {
  color: var(--hp-black);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 992px) {
  .hp-map-section {
    padding: 40px 0;
  }

  .hp-tenant-map {
    padding: 40px 0;
  }

  .hp-tenants-list {
    padding: 40px 0;
  }

  .hp-tenants-list-title {
    font-size: 24px;
  }

  .hp-tenants-list-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .hp-tenants-list-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hp-tenant-item {
    padding: 20px;
  }
}

/* =========================
   O PROJEKTU STRÁNKA
   ========================= */


.hp-about-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--hp-black);
}

.hp-about-text p {
  margin-bottom: 24px;
}

.hp-about-text h2 {
  font-family: var(--font-poppins);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  margin: 48px 0 24px;
  color: var(--hp-black);
}

.hp-about-content-image {
  background-color: var(--hp-black);
  padding: 80px 0;
}

.hp-about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 76px;
  gap: 76px;
  align-items: center;
}

.hp-about-content-image-left {
  height: 100%;
}

.hp-about-content-image-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-about-content-text {
  color: var(--hp-white);
}

.hp-about-content-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 32px;
  color: var(--hp-white);
}

.hp-about-moved-text {
  margin-left: -164px;
  letter-spacing: -2.56px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hp-about-moved-text h2 {
  font-family: var(--font-poppins);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  color: var(--hp-white);
}

.hp-about-stats {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: 932px;
}

.hp-about-stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-about-stats-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-about-stats-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
}

.hp-about-stats .container {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hp-about-stats-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 0px;
  height: 100%;
}

.hp-about-stats-box {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px 60px;
  background-color: rgba(0, 0, 0, 0.85);
}

.hp-stat-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 20px 0;
}

.hp-stat-item {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--hp-white);
}

.hp-stat-icon {
  flex-shrink: 0;
}

.hp-stat-icon img {
  width: 45px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.hp-stat-text {
  flex: 1;
}

.hp-stat-number {
  font-family: var(--font-poppins);
  font-size: 72px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--hp-white);
  margin-bottom: 8px;
}

.hp-stat-number span {
  font-size: 0.7em;
}

.hp-stat-number sup {
  font-size: 0.4em;
  vertical-align: super;
}

.hp-stat-label {
  font-size: 18px;
  line-height: 1.5;
  color: var(--hp-white);
  margin: 0;
  opacity: 0.9;
}

.hp-about-cta {
  margin-top: 80px;
  padding: 80px 0;
  background-color: var(--hp-gray-100);
}

.hp-about-cta .row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 0;
}

.hp-about-cta-panel {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  margin-bottom: 0;
}

.hp-about-cta-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  z-index: 1;
}

.hp-about-cta-panel-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hp-about-cta-title {
  font-family: var(--font-poppins);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 32px;
  color: var(--hp-white);
}

.hp-about-cta-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: transparent;
  color: var(--hp-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid var(--hp-white);
  border-radius: 50px;
  transition: background-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.hp-about-cta-button:hover {
  background-color: var(--hp-white);
  color: var(--hp-black);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Responsive breakpoints for hp-about-content-wrapper */
@media (min-width: 1900px) {
  .hp-about-content-wrapper {
    margin-left: -192px;
  }
}

@media (min-width: 1450px) and (max-width: 1900px) {
  .hp-about-content-wrapper {
    margin-left: -120px;
  }
}

@media (min-width: 991px) and (max-width: 1450px) {
  .hp-about-content-wrapper {
    margin-left: -12px;
  }
}

@media (min-width: 767px) and (max-width: 991px) {
  .hp-about-content-wrapper {
    grid-template-columns: 1fr 2fr;
    margin-left: -12px;
  }

  .hp-about-content-text br {
    display: none;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hp-about-content {
    padding: 40px 0;
  }

  .hp-about-text {
    font-size: 16px;
  }

  .hp-about-text h2 {
    font-size: 24px;
  }

  .hp-about-content-image {
    padding-top: 48px;
    padding-bottom: 11px;
  }

  .hp-about-content-image .container {
    padding-left: 0;
    padding-right: 0;
  }

  .hp-about-content-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 15px;
  }

  .hp-about-content-image-left {
    order: 2;
    margin-left: auto;
    width: calc(100% + 60px);
    max-width: calc(100% + 60px);
    margin-right: -30px;
    overflow: hidden;
  }

  .hp-about-content-image-left img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: right center;
    display: block;
  }

  .hp-about-content-text {
    order: 1;
  }

  .hp-about-content-text p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 24px;
  }

  .hp-about-moved-text {
    margin-left: 0;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hp-about-moved-text br {
    display: none;
  }

  .hp-about-moved-text h2 {
    font-size: 24px;

  }

  .hp-about-stats {
    min-height: 400px;
    height: auto;
  }

  .hp-about-stats-wrapper {
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hp-about-stats-box {
    padding: 30px 20px;
    max-width: 100%;
  }

  .hp-stat-divider {
    margin: 20px 0;
  }

  .hp-stat-item {
    gap: 20px;
  }

  .hp-stat-icon img {
    width: 38px;
  }

  .hp-stat-number {
    font-size: 56px;
  }

  .hp-stat-label {
    font-size: 16px;
  }

  .hp-about-cta {
    padding: 40px 0;
  }

  .hp-about-cta .row > [class*="col-"] {
    margin-bottom: 24px;
  }

  .hp-about-cta .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }

  .hp-about-cta-panel {
    min-height: 400px;
    padding: 32px 24px;
  }

  .hp-about-cta-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .hp-about-cta-button {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* =========================================================
   =404 ERROR PAGE
   ========================================================= */

.hp-hero-404 {
  min-height: 576px;
  color: var(--hp-black);
}

.hp-hero-404 .hp-hero-bg {
  background-color: #b3b5b7;
}

.hp-404-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--hp-gray-800);
  margin-top: 24px;
  max-width: 600px;
}

.hp-404-content {
  padding: 80px 0;
  background-color: var(--hp-white);
}

.hp-404-actions {
  text-align: center;
  margin-bottom: 60px;
}

.hp-404-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  background-color: var(--hp-black);
  color: var(--hp-white);
  border: 2px solid var(--hp-black);
  text-decoration: none;
  transition: all 0.2s ease;
}

.hp-404-button:hover {
  background-color: var(--hp-white);
  color: var(--hp-black);
}

.hp-404-suggestions {
  max-width: 800px;
  margin: 0 auto;
}

.hp-404-suggestions-title {
  font-family: var(--font-poppins);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 32px;
  color: var(--hp-black);
  text-align: center;
}

.hp-404-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-404-links li {
  margin: 0;
}

.hp-404-links a {
  display: block;
  padding: 16px 24px;
  font-size: 16px;
  color: var(--hp-black);
  text-decoration: none;
  border: 1px solid var(--hp-gray-200);
  border-radius: 8px;
  transition: all 0.2s ease;
  background-color: var(--hp-white);
}

.hp-404-links a:hover {
  background-color: var(--hp-gray-50);
  border-color: var(--hp-gray-300);
  color: var(--hp-red);
  transform: translateX(4px);
}

/* Mobile */
@media (max-width: 992px) {
  .hp-404-content {
    padding: 60px 0;
  }

  .hp-404-description {
    font-size: 16px;
  }

  .hp-404-suggestions-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .hp-404-links {
    gap: 12px;
  }

  .hp-404-links a {
    padding: 14px 20px;
    font-size: 15px;
  }
}
