/* ------------------------------------------------------
   VARIABLES & RESET
------------------------------------------------------ */
:root {
  --navy: #0a1f44;
  --gold: #c9a86a;
  --white: #ffffff;
  --grey-light: #e5e7eb;
  --grey: #6b7280;
  --bg-alt: #f9fafb;
  --radius: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--navy);
  background-color: var(--white);
  padding-top: 120px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

/* ------------------------------------------------------
   HEADER
------------------------------------------------------ */
.topbar {
  position: fixed;
  padding-top: 18px;
  padding-bottom: 12px;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--white);
  border-bottom: none;
  overflow: visible;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: visible;
}

.logo img {
  width: 300px;
  height: auto;
  max-height: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.nav a:hover {
  color: var(--gold);
}

.nav-contact:hover {
  color: var(--navy) !important;
}

.nav-social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: 0.3rem;
}

.social-icon {
  width: 28px;
  height: 28px;
  transition: opacity 0.2s ease;
}

.social-icon:hover {
  opacity: 0.7;
}

/* ------------------------------------------------------
   DROPDOWN MENU
------------------------------------------------------ */
.nav-item {
  position: relative;
}

.nav-item:hover .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 240px;
  z-index: 1000;
  padding: 8px 0;
  border-top: 3px solid var(--gold);
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: var(--navy);
  transition: background 0.2s;
  white-space: nowrap;
}

.dropdown a:hover {
  background: rgba(201,168,106,0.1);
  color: var(--gold);
}
.nav-arrow {
  font-size: 0.6rem;
  color: var(--gold);
  vertical-align: middle;
  margin-left: 2px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Blog tlačítko */
.btn-blog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 24px;
  transition: opacity 0.2s ease;
  margin-right: 0.3rem;
  width: 52px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.btn-blog img {
  width: 52px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.btn-blog:hover {
  opacity: 0.7;
}

/* Dropdown v mobilním menu */
@media (max-width: 1024px) {
  .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    padding: 0;
    margin: 0.5rem 0 0.5rem 1rem;
    background: transparent;
  }

  .nav-item:hover .dropdown,
  .nav-item.open .dropdown {
    display: block;
  }

  .dropdown a {
    font-size: 1rem;
    padding: 8px 14px;
  }
}
/* ------------------------------------------------------
   HAMBURGER
------------------------------------------------------ */

.hamburger {
  display: none;               /* skryté na desktopu */
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 9999;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
}

/* skryj staré čárky */
.hamburger span {
  display: none;
}

/* SVG ikona */
.hamburger img {
  width: 45px;
  height: 45px;
  display: block;
  transition: all 0.25s ease;
  filter: drop-shadow(0 0 4px rgba(201,168,106,0.35));
  border-radius: 6px;
}

/* lesk + jemný glow při hoveru */
.hamburger:hover img {
  filter: drop-shadow(0 0 8px rgba(201,168,106,0.55));
  transform: scale(1.08);
}

/* aktivní stav (menu otevřené) */
.hamburger.active img {
  filter: drop-shadow(0 0 10px rgba(201,168,106,0.65));
  transform: scale(1.12);
}


/* staré animace spanů necháváme, ale jsou neaktivní */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ------------------------------------------------------
   SECTIONS
------------------------------------------------------ */
.section {
  padding: 2.4rem 0;
}

.section-alt {
  background: linear-gradient(
    135deg,
    rgba(170, 142, 90, 0.226) 0%,
    rgba(158, 180, 223, 0.219) 100%
  );
}

.section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

/* ------------------------------------------------------
   SLUZBY
------------------------------------------------------ */
#sluzby {
  background-image: url("pozadi_vodoznak.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--grey-light);
  box-shadow: 0 6px 18px rgba(15,23,42,0.04);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: "Montserrat", sans-serif;
  position: relative;
  padding-bottom: 0.5rem;
}

.card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--gold);
  border-radius: 2px;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
}

.service-icon {
  width: 64px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* ------------------------------------------------------
   NEMOVITOSTI – KARTY
------------------------------------------------------ */
.property-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--grey-light);
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.property-image {
  height: 160px;
  background-color: var(--grey-light);
}

.property-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.property-body {
  padding: 1rem 1.1rem 1.2rem;
}

.property-body h3 {
  margin: 0 0 0.4rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.property-body p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.property-price {
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--navy);
}

.property-btn {
  display: inline-block;
  margin-top: 0.8rem;
}

.property-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.property-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 5;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.property-label.new {
  background-color: var(--gold);
  color: var(--navy);
}

.property-label.prefer {
  background-color: red;
  color: white;
}

.property-label.reserved {
  background-color: #bcd5f5;
  color: var(--navy);
}

.property-label.recommend {
  background-color: #ffc8cd;
  color: var(--navy);
}
.property-label.sale {
  background-color: #4caf50;
  color: var(--navy);
}
.detail-info .property-label {
  position: relative;
  top: auto;
  left: auto;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1rem;
  padding: 0.4rem 1rem;
}

.property-label.sold-label {
  background-color: #444;
  color: white;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.property-detail .property-label {
  position: relative;
  top: auto;
  left: auto;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1rem;
  padding: 0.4rem 1rem;
}

.property-card.sold {
  opacity: 0.55;
  filter: grayscale(40%);
  pointer-events: none;
}

.properties-wrapper {
  display: block !important;
  overflow: visible !important;
}

.properties-list {
  display: grid !important;
  gap: 2rem;
  padding: 10px 0;
}

#moreProperties {
  display: grid;
  gap: 2rem;
  padding: 10px 0;
  margin-top: 2rem;
}

.properties-list::-webkit-scrollbar {
  display: none;
}

/* ------------------------------------------------------
   GALERIE ŠIPKY
------------------------------------------------------ */
.properties-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.6rem 0.9rem;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
}

.properties-arrow:hover { background: white; }
.properties-arrow.left { left: 10px; }
.properties-arrow.right { right: 10px; }

/* ------------------------------------------------------
   REFERENCE
------------------------------------------------------ */
.ref-name {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--grey);
}

.star {
  color: var(--gold);
  font-size: 1.3rem;
  margin-right: 4px;
}

#ref-hidden {
  margin-top: 2rem;
}

#reference .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ------------------------------------------------------
   KONTAKT
------------------------------------------------------ */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-left {
  max-width: 260px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.contact-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.contact-form {
  background-color: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--grey-light);
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 6px;
  border: 1px solid var(--grey-light);
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.qr-image {
  width: 180px;
  display: block;
  margin: 1.5rem auto 0;
}

/* ------------------------------------------------------
   GDPR CHECKBOX — FINÁLNÍ FUNKČNÍ VERZE
------------------------------------------------------ */
.contact-form .gdpr-checkbox {
  display: flex !important;       /* přebije grid */
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--grey-dark);
}

.gdpr-checkbox input {
  margin-top: 0.2rem;             /* zarovnání checkboxu s textem */
}

.gdpr-checkbox a {
  color: var(--navy);
  text-decoration: underline;
}
.gdpr-checkbox span {
  display: block;
}
.gdpr-text span {
  display: block;
}

/* ------------------------------------------------------
   FOOTER
------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--grey-light);
  padding: 2rem 0;
  background-color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-main p {
  margin: 0.2rem 0;
  color: var(--grey);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

/* ------------------------------------------------------
   BUTTONS
------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold);
  color: var(--gold);
  background-color: transparent;
  box-shadow: 0 0 12px rgba(201,168,106,0.35);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.btn:hover::after { left: 120%; }

.btn:hover {
  background-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 18px rgba(201,168,106,0.55);
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
}

.btn-secondary {
  background: linear-gradient(135deg, #d8b878 0%, #c9a86a 40%, #b8945a 100%);
  color: var(--navy);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }

.btn-more-ref,
#showMore,
#showMoreRef {
  display: block !important;
  margin: 2rem auto 0 auto;
  text-align: center;
  max-width: 240px;
  background: rgba(201, 168, 106, 0.12);
  color: var(--navy);
  border: 1px solid rgba(201, 168, 106, 0.4);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  box-shadow: none;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-more-ref:hover,
#showMore:hover,
#showMoreRef:hover {
  background: rgba(201, 168, 106, 0.22);
  border-color: rgba(201, 168, 106, 0.6);
}

/* ------------------------------------------------------
   HERO
------------------------------------------------------ */
.hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(135deg, #264372ff 0%, #032f4d 40%, #b0c5eb 100%);
  color: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero p {
  max-width: 34rem;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 1rem;
  color: #d1d5db;
}

.hero-meta span {
  background-color: rgba(255,255,255,0.12);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.18);
}

.hero-photo {
  display: flex;
  align-items: center;
}

.hero-photo img {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

@keyframes fadeInZoom {
  to { opacity: 1; transform: scale(1); }
}

/* ------------------------------------------------------
   GALERIE NEMOVITOSTI
------------------------------------------------------ */
.detail-gallery { 
  margin-bottom: 2rem; 
}

.gallery-main { 
  position: relative; 
}

.gallery-main img {
  width: auto;              /* aby se fotky na výšku neroztahovaly */
  max-width: 100%;          /* aby se fotky na šířku vešly do layoutu */
  max-height: 80vh;         /* omezení výšky – můžeš dát 70vh nebo 60vh */
  object-fit: contain;      /* žádné ořezávání */
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.6rem 0.9rem;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.gallery-arrow:hover { 
  background: white; 
}

.gallery-arrow.left { 
  left: 10px; 
}

.gallery-arrow.right { 
  right: 10px; 
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
  overflow-x: auto;
}

.gallery-thumbs img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.gallery-thumbs img:hover { 
  opacity: 1; 
}

/* ------------------------------------------------------
   MAPA
------------------------------------------------------ */
.map-container {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.map-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* ------------------------------------------------------
   CENA + TLAČÍTKO
------------------------------------------------------ */
.price-and-call {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  margin: 2rem 0;
}

.call-agent-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  white-space: nowrap;
}

.call-agent-inline .call-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.detail-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
  padding: 0.8rem 1.2rem;
  background: rgba(201, 168, 106, 0.12);
  border-left: 6px solid var(--gold);
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ------------------------------------------------------
   FORMULÁŘ U NEMOVITOSTI
------------------------------------------------------ */
.contact-property-box {
  margin-top: 2.5rem;
  padding: 1.8rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--grey-light);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.contact-property-box h2 {
  font-family: "Montserrat", sans-serif;
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.contact-property-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.contact-property-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.contact-property-form input,
.contact-property-form textarea {
  border-radius: 6px;
  border: 1px solid var(--grey-light);
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-property-form input:focus,
.contact-property-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.submit-btn .email-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
/* GDPR checkbox – property form */
.gdpr-checkbox-property {
  display: flex !important;   /* přepíše display: grid */
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--grey-dark);
  margin-top: 0.5rem;
}

.gdpr-checkbox-property input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.gdpr-checkbox-property .gdpr-text span {
  display: block;
}

.gdpr-checkbox-property a {
  color: var(--navy);
  text-decoration: underline;
}

/* ------------------------------------------------------
   COOKIE LIŠTA
------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -6px 22px rgba(0,0,0,0.12);
  padding: 1.5rem 0;
  z-index: 9999;
  display: none;
  animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.cookie-text h3 {
  margin: 0 0 0.4rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  color: var(--navy);
}

.cookie-text p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--navy);
  max-width: 700px;
}

.cookie-buttons {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cookie-settings {
  display: none;
  background-color: var(--bg-alt);
  border: 1px solid var(--grey-light);
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.cookie-with-icon {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.cookie-icon {
  width: 60px;
  height: auto;
  flex-shrink: 0;
}

.cookie-text-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cookie-settings.open { display: block; }

/* ------------------------------------------------------
   MODAL
------------------------------------------------------ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.is-visible { display: flex !important; }

.modal-content {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-top: 5px solid #c5a059;
  animation: popIn 0.3s ease-out;
}

.modal-content h3 {
  font-size: 1.8rem;
  color: #001f3f;
  margin-bottom: 1rem;
}

.modal-content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* ------------------------------------------------------
   O NÁS
------------------------------------------------------ */
#onas .onas-grid-3 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

#onas .onas-text p {
  line-height: 1.65;
  font-size: 1rem;
}

#onas .onas-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left !important;
}

#onas .onas-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  text-align: left !important;
}

#onas .onas-list li::before {
  content: "★";
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ------------------------------------------------------
   HIDDEN
------------------------------------------------------ */
.hidden { display: none !important; }

/* ------------------------------------------------------
   RESPONSIVE – MOBIL (max 768px)
------------------------------------------------------ */
@media (max-width: 768px) {
  body { padding-top: 80px; }

  .topbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .container {
    width: min(100% - 1.2rem, 1120px);
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }

  section { scroll-margin-top: 60px; }

  .logo img { width: 300px; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { text-align: center; }

  .hero-photo {
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
  }

  .hero-photo img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
  }

  .hero-meta span {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .hamburger span {
    width: 20px;
    height: 2.5px;
    margin: 4px 0;
  }
  .property-btn {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0.8rem auto 0;
  }

  #sluzby .grid-3 { grid-template-columns: 1fr !important; }

  #sluzby .card { text-align: center; }

  #sluzby .card h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .service-icon { margin: 0 auto 1rem; }

  .grid-3 { grid-template-columns: 1fr !important; }

  .properties-list,
  #moreProperties {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    overflow: visible;
  }

  .property-card { width: 100%; }

  #propertiesList > .property-card:nth-child(n+7),
  #propertiesList > .property-link:nth-child(n+7) { display: none !important; }

  .qr-image { width: 150px; }

  h1, h2, h3, h4, h5, h6 { text-align: center !important; }
  p { text-align: center !important; }
  ul, li { text-align: center !important; }

  ul {
    padding-left: 1.2rem;
    margin-left: 0;
  }

  ul li {
    list-style-position: inside;
    padding-left: 0;
  }

  .contact-list li { justify-content: flex-start !important; }

  .contact-property-box,
  .contact-property-box p,
  .contact-property-box label {
    text-align: center !important;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
  }

  .footer-main p {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center !important;
  }

  .footer-small { font-size: 0.8rem; }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: center !important;
  }

  .footer-links a { font-size: 0.9rem; }

  .footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    text-align: center !important;
  }

  .footer-social img {
    width: 26px;
    height: 26px;
  }
  .footer-social .btn-blog img {
  width: 52px;
  height: 26px;
}

  .map-note { text-align: center !important; }

  .cookie-with-icon {
    flex-direction: column;
    text-align: center;
  }

  .cookie-icon { width: 80px; }
}


/* ------------------------------------------------------
   RESPONSIVE – HAMBURGER (max 1024px)
------------------------------------------------------ */
@media (max-width: 1024px) {

  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo img {
    max-width: 250px;
    height: auto;
  }

  .hamburger {
    display: flex;
    position: relative;
    right: 0;
    top: 0;
    margin-left: auto;
    padding: 0.5rem;
    z-index: 9999;
  }

  .nav {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 0;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--white);
    align-items: center;
    justify-content: center;
    z-index: 998;
    text-align: center;
    border-bottom: 1px solid var(--grey-light);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    
  }
  .nav.open { display: flex; }
}

@media (max-width: 1024px) {

  .nav a {
    font-size: 1.3rem !important;
    font-weight: 600;
  }

}

/* ------------------------------------------------------
   RESPONSIVE – KONTAKT (max 900px)
------------------------------------------------------ */
@media (max-width: 900px) {
  .contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem;
    text-align: center;
  }

  .contact-left,
  .contact-form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
  }

  .contact-list li { justify-content: center; }

  .price-and-call {
    flex-direction: column;
    align-items: stretch;
  }

  .call-agent-inline {
    width: 100%;
    text-align: center;
  }

  #onas .onas-grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .contact-left { order: 1; }
  .contact-qr { order: 2; margin: 0 auto; }
  .contact-form { order: 3; margin: 0 auto; }

  .qr-image {
    width: 160px;
    margin: 1rem auto;
  }

  .nav { display: none !important; }
  .nav.open { display: flex !important; }
  .hamburger { display: flex !important; }
}

/* ------------------------------------------------------
   RESPONSIVE – DESKTOP
------------------------------------------------------ */
@media (min-width: 768px) {
  .logo img {
    width: 500px;
    max-height: none;
  }
}

@media (min-width: 769px) {
  #onas .onas-list { padding-top: 6.4em; }

  .contact-qr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (min-width: 900px) {
  #propertiesList > .property-card:nth-child(n+7),
  #propertiesList > .property-link:nth-child(n+7) { display: none !important; }

  .properties-list {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
  }

  #moreProperties {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
  }

  .contact-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 2.5rem !important;
    align-items: start !important;
    text-align: left !important;
  }

  .contact-left,
  .contact-qr,
  .contact-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .contact-qr {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .qr-image {
    width: 180px !important;
    margin: 0 auto !important;
  }
}



.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}