/* ==========================================================================
   PEMA ESTATE – HOMEPAGE.CSS
   finální verze pro template-homepage-clean.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --green:         #00604c;
  --green-card:    #0a6551;
  --green-usp:     #27674a;
  --green-deep:    #0d5e49;
  --green-border:  rgba(107,162,151,0.30);
  --green-border2: rgba(107,162,151,0.14);
  --orange:        #f68d2e;
  --orange-dark:   #e07a1e;
  --white:         #ffffff;
  --white-90:      rgba(255,255,255,0.90);
  --white-70:      rgba(255,255,255,0.70);
  --white-50:      rgba(255,255,255,0.50);
  --white-20:      rgba(255,255,255,0.20);
  --white-10:      rgba(255,255,255,0.10);
  --white-06:      rgba(255,255,255,0.06);

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --radius-full:   999px;

  --shadow-card:   0 4px 28px rgba(0,0,0,0.28);
  --shadow-hover:  0 10px 44px rgba(0,0,0,0.38);

  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --transition:    0.30s ease;
  --transition-f:  0.18s ease;

  --container:     1180px;
  --gutter:        clamp(18px, 4vw, 44px);
}

/* ==========================================================================
   PEMA FIX — NAPOJENÍ TEMPLATE-HOMEPAGE-CLEAN.PHP NA AKTUÁLNÍ CSS
   ========================================================================== */

/* 1) ZÁKLAD */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Divi wrapper reset — zabrání fixní šířce Divi */
#page-container,
#et-main-area,
#et-boc,
.et-boc {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Divi záhlaví vypnout na homepage clean šabloně */
#main-header,
#top-header,
.et-fixed-header {
  display: none !important;
}

body,
body p,
body li,
body a,
body input,
body textarea,
body button {
  font-family: 'Darker Grotesque', sans-serif;
}

body {
  background: var(--green);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
}

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

body ul,
body ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

body button {
  font-family: inherit;
}

/* 2) CONTAINER */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 44px);
}

/* 3) HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  border-radius: 0 0 18px 18px;
}

.site-header.scrolled {
  background: rgba(0, 46, 36, 0.94);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
}

.logo-accent {
  color: #fff;
}

.main-nav {
  margin-inline: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.main-nav a:hover {
  background: transparent;
  color: var(--orange);
}

.nav-home-icon {
  width: 42px;
  height: 42px;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(107,162,151,0.30);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  border: none;
  background: var(--orange);
  color: #fff;
  transition: background .18s ease, transform .18s ease;
  flex-shrink: 0;
}

.header-icon-btn:hover {
  background: #e07a1f;
  transform: scale(1.05);
}

.hamburger {
  display: none;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  background: rgba(0,40,30,0.97);
  backdrop-filter: blur(18px);
}

@media (max-width: 1024px) {
  .mobile-menu {
    display: block;
  }
  .mobile-menu.is-open {
    max-height: 700px;
  }
}

.mobile-menu nav,
.mobile-menu-social {
  padding-inline: clamp(18px, 4vw, 44px);
}

.mobile-menu nav {
  padding-top: 14px;
  padding-bottom: 18px;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .18s ease;
}

.mobile-menu nav a::after {
  content: '›';
  font-size: 22px;
  line-height: 1;
  color: var(--orange);
  flex-shrink: 0;
}

.mobile-menu nav a:hover {
  color: var(--orange);
}

.mobile-menu-cta {
  margin: 0 clamp(18px, 4vw, 44px) 18px;
  width: calc(100% - (2 * clamp(18px, 4vw, 44px)));
  justify-content: center;
}

.mobile-menu-social {
  padding-bottom: 24px;
  padding-inline: clamp(18px, 4vw, 44px);
  text-align: center;
}

.mobile-social-label {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

.mobile-social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.mobile-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--orange);
  margin-right: 0;
  transition: background .18s ease;
}

.mobile-social-btn:hover {
  background: rgba(246,141,46,0.15);
}

/* 4) BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  border: 2px solid transparent;
}

.btn-orange:hover {
  background: #e07a1f;
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: #fff;
  transform: scale(1.05);
}

.btn-pill {
  border-radius: 999px;
}

/* 5) HERO — Figma desktop: 1440×645px, padding:50px 78px, flex space-between
   Ruler: nav výška = 119px → padding-top = 119 (nav) + 50 (Figma) = 169px */
.hero {
  position: relative;
  min-height: 0;
  height: 645px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 109px 178px 50px;
  overflow: hidden;
  background: var(--green);
}

/* flex-grow:0 — scroll-row je vně hero-inner jako sibling */
.hero > .container.hero-inner {
  max-width: 100%;
  padding-inline: 0;
  margin: 0;
  flex-grow: 0;
  flex-shrink: 0;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: space-between;
  gap: 0;
}

/* Figma: Title Section 770px / content 1284px = 60%; mapa 452px ≈ 35% */
.hero-content { flex: 0 1 60%; min-width: 0; }
.hero-map-panel { flex: 0 1 36%; align-self: flex-start; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(246,141,46,0.45);
  background: rgba(246,141,46,0.08);
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(246,141,46,0.7);
  display: inline-block;
}

.btn-dot,
.header-cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  display: inline-block;
  opacity: 0.8;
}

/* H1 — plynulé škálování přes všechna zařízení bez skoků na breakpointech
   clamp(min, vw, max): 1440px→90px | 1280px→80px | 1024px→64px | 768px→48px | 608px→38px */
.hero h1 {
  font-size: clamp(38px, 6.25vw, 90px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: #fff;
}

/* Subtitle — plynulé škálování: 1440px→24px | 1024px→17px | 767px→15px (floor) */
.hero-subtitle {
  font-size: clamp(15px, 1.67vw, 24px);
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin: 0 0 36px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-map-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

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

.hero-scroll-row {
  display: flex;
  justify-content: center;
  padding-bottom: 32px;
  margin-top: 0;
  padding-top: 28px;
}

.scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.scroll-btn:hover {
  opacity: 1;
}

.scroll-mouse {
  width: 30px;
  height: 48px;
  border: 2px solid rgba(246,141,46,0.75);
  border-radius: 15px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
}

.scroll-wheel {
  width: 4px;
  height: 9px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  animation: pemaScrollWheel 2s ease-in-out infinite;
}

@keyframes pemaScrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  75%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* 6) SECTION SPACING */
.usps-section,
.properties-section,
.contact-section,
.why-section,
.testimonials-section,
.faq-section,
.cta-banner-section,
.blog-section {
  position: relative;
  padding-block: 88px;
  background: var(--green);
}

@media (max-width: 1024px) {
  .properties-section,
  .contact-section,
  .why-section,
  .testimonials-section,
  .faq-section,
  .cta-banner-section,
  .blog-section { padding-block: 64px; }
}

@media (max-width: 767px) {
  .properties-section,
  .contact-section,
  .why-section,
  .testimonials-section,
  .faq-section,
  .cta-banner-section,
  .blog-section { padding-block: 48px; }
}

/* 7) SECTION HEADERS */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: #fff;
}

.section-subtitle {
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.6;
}

/* PROPERTIES — vlastní velikosti nadpisu a subtitle (liší se od globálního section-header) */
.properties-section .section-header h2 {
  font-size: clamp(32px, 4.44vw, 64px); /* 1440px→64px | 1024px→45px | 720px→32px */
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.properties-section .section-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

@media (max-width: 1024px) {
  .properties-section .section-subtitle {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .properties-section .section-header h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
  }
  .properties-section .section-subtitle {
    font-size: 20px;
    font-weight: 600;
  }
}

.text-orange {
  color: var(--orange);
}

.text-white {
  color: #fff;
}

/* 8) USP DECO — potlačení rozházených levých ikon */
.hero-icons,
.left-icons,
.benefits-icons {
  display: none !important;
}

/* vypnutí rušivých pseudo vrstev */
.hero::before,
.hero::after,
body section::before,
body section::after {
  display: none !important;
}

/* 9) USPS SECTION — viz sekce 28 pro kompletní pravidla */

.usp-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: 16px;
  padding: 16px 18px;
  max-width: 420px;
}

.usp-avatar {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.usp-avatar-ring {
  display: none;
}

.usp-avatar-dot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--orange);
}

.usp-pill-body strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.usp-desc {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.65;
}

/* 10) PROPERTIES */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.property-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 56px 36px 52px;
  background: var(--green-card);
  border: 1px solid rgba(107,162,151,0.30);
  border-radius: 24px;
  text-align: center;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--orange);
}

.property-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.property-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.property-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* 11) CONTACT */
.contact-section {
  background: var(--green) !important;
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,162,151,0.30), transparent);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.contact-info h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.44vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

.contact-sub {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin: 0 0 32px;
}

.contact-pills {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.contact-pill-orange {
  background: var(--orange);
  color: #fff;
  border: 2px solid transparent;
}

.contact-pill-orange:hover {
  background: #e07a1f;
  transform: scale(1.05);
}

.contact-pill-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
}

.contact-pill-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: #fff;
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .contact-info h2 { font-size: 32px; font-weight: 700; }
  .contact-sub { font-size: 20px; font-weight: 600; }
  .contact-pills { flex-direction: column; }
  .contact-pill { width: 100%; justify-content: center; box-sizing: border-box; }
}

.contact-form-card {
  background: var(--green-card);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 32px;
  padding: 38px;
}

.form-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-card-header h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(107,162,151,0.30);
  border-radius: 10px;
  color: #fff;
  font-size: 14.5px;
  outline: none;
  transition: border-color .18s ease, background .18s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(107,162,151,0.65);
  background: rgba(255,255,255,0.11);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0.075) inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  border-color: rgba(107,162,151,0.30) !important;
  transition: background-color 99999s ease-in-out 0s;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-consent {
  margin: 0;
  color: rgba(255,255,255,0.55);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}

/* CF7 — integrace do contact-form layoutu */
.contact-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form .wpcf7-form p {
  margin: 0;
}
/* CF7 inputs — stejný styl jako .form-group input */
.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(107,162,151,0.30);
  border-radius: 10px;
  color: #fff;
  font-size: 14.5px;
  outline: none;
  transition: border-color .18s ease, background .18s ease;
  box-sizing: border-box;
}
.contact-form .wpcf7-form input[type="text"]:focus,
.contact-form .wpcf7-form input[type="email"]:focus,
.contact-form .wpcf7-form input[type="tel"]:focus,
.contact-form .wpcf7-form textarea:focus {
  border-color: rgba(107,162,151,0.65);
  background: rgba(255,255,255,0.11);
}
.contact-form .wpcf7-form input::placeholder,
.contact-form .wpcf7-form textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.contact-form .wpcf7-form input:-webkit-autofill,
.contact-form .wpcf7-form input:-webkit-autofill:hover,
.contact-form .wpcf7-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0.075) inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  border-color: rgba(107,162,151,0.30) !important;
  transition: background-color 99999s ease-in-out 0s;
}
.contact-form .wpcf7-form textarea {
  resize: vertical;
  min-height: 110px;
}
/* CF7 submit button — stejný styl jako btn btn-orange btn-pill */
.contact-form .wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  background: var(--orange);
  color: #fff;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.contact-form .wpcf7-form input[type="submit"]:hover {
  background: #e07a1f;
  transform: scale(1.05);
}
/* CF7 validace */
.contact-form .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
}
.contact-form .wpcf7-response-output {
  margin: 0;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  border: none;
}
.contact-form .wpcf7-mail-sent-ok {
  background: rgba(107,162,151,0.20);
  color: #6ba297;
}
.contact-form .wpcf7-validation-errors,
.contact-form .wpcf7-mail-sent-ng {
  background: rgba(255,107,107,0.15);
  color: #ff6b6b;
}

/* 12) WHY */
.why-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.why-watermark svg {
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52%;
  max-width: 680px;
  height: auto;
  opacity: 1;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 64px;
  align-items: start;
}

.why-left h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4.44vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

.why-desc {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0 0 32px;
}

.why-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(242,120,33,0.18) 0%, rgba(255,255,255,0.10) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 20px;
}

.why-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
}

.why-card-body p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* 13) TESTIMONIALS */

/* Nadpis sekce — 64px semibold desktop, 32px mobile */
.testimonials-section .section-header h2 {
  font-size: clamp(32px, 4.44vw, 64px);
  font-weight: 600;
  line-height: 1.1;
}

@media (max-width: 767px) {
  .testimonials-section .section-header {
    text-align: center;
  }
  .testimonials-section .section-header h2 {
    font-size: 32px;
    font-weight: 600;
  }
}

.testimonials-grid {
  columns: 4;
  column-gap: 20px;
}

.testimonial-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 20px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(246,141,46,0.10) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(246,141,46,0.55);
  border-radius: 20px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.testimonial-name {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 800;
}

.testimonial-stars {
  color: var(--orange);
}

.testimonial-card p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
}

/* 14) FAQ */
/* FAQ — nadpis a subtitle vlastní velikosti */
.faq-section .section-header {
  text-align: center;
}
.faq-section .section-header h2 {
  font-size: clamp(32px, 4.44vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}
.faq-section .section-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  max-width: 680px;
}
/* FAQ open state */
.faq-item.open {
  border-color: rgba(246,141,46,0.50);
}
.faq-item.open .faq-question {
  color: #F68D2E;
}
/* FAQ ikona: zavřeno=chevron, otevřeno=rohová šipka ⌐ */
.faq-icon .icon-open { display: none; }
.faq-item.open .faq-icon .icon-closed { display: none; }
.faq-item.open .faq-icon .icon-open { display: inline-flex; }
.faq-question[aria-expanded="true"] .faq-icon { transform: none; }
@media (max-width: 767px) {
  .faq-section .section-header h2 { font-size: 32px; font-weight: 600; }
  .faq-section .section-subtitle { font-size: 14px; font-weight: 600; }
  .faq-question { font-size: 14px; padding: 16px 18px; }
  .faq-answer.open { padding: 0 18px 16px; }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--green-card);
  border: 1px solid rgba(107,162,151,0.30);
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.3s ease;
  padding: 0 24px;
}

.faq-answer.open {
  max-height: 400px;
  padding: 0 24px 20px;
}

.faq-answer p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}

.faq-item.open {
  border-color: rgba(107,162,151,0.55);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

/* 15) CTA */
.cta-banner {
  text-align: center;
  padding: 64px 48px;
  background: linear-gradient(135deg, rgba(246,141,46,0.10) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(246,141,46,0.55);
  border-radius: 20px;
}

.cta-banner h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.33vw, 48px);
  font-weight: 700;
  line-height: 1.1;
}

.cta-banner p {
  margin: 0 0 28px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
}

/* 16) BLOG */
/* Blog heading — 64px bold orange desktop, 32px mobile centered */
.blog-section .section-header h2 {
  font-size: clamp(32px, 4.44vw, 64px);
  font-weight: 700;
  color: #F68D2E;
  line-height: 1.1;
}
.blog-section .section-subtitle {
  font-size: 16px;
  font-weight: 600;
}
@media (max-width: 767px) {
  .blog-section .section-header { text-align: center; }
  .blog-section .section-header h2 { font-size: 32px; font-weight: 700; }
  .blog-section .section-subtitle { font-size: 14px; font-weight: 600; }
}

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

.blog-card {
  background: linear-gradient(135deg, rgba(246,141,46,0.10) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.blog-card:hover {
  border-color: rgba(246,141,46,0.55);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  min-height: 190px;
}

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

.blog-card-body {
  padding: 24px;
}

.blog-card-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #F68D2E;
}

.blog-card-body p {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.blog-read-more {
  color: var(--orange);
  font-weight: 700;
}

/* 17) FOOTER */
.site-footer {
  background: var(--green);
  border-top: 1px solid rgba(107,162,151,0.30);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 64px 48px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
  color: #F68D2E;
}

.footer-address,
.footer-links a {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-address {
  font-style: normal;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(107,162,151,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  text-align: center;
  padding-bottom: 24px;
}

.footer-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-copy {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin: 0;
}

/* 18) REVEAL */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.75s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.reveal       { transform: translateY(36px); }
.reveal-left  { transform: translateX(-56px); }
.reveal-right { transform: translateX(56px); }
.reveal-scale { transform: scale(0.90); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* 19) RESPONSIVE */
@media (max-width: 1024px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 540px;
    padding: 100px 44px 50px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 24px;
    align-content: flex-start;
  }

  .hero-content { flex: 1 1 auto; width: 100%; }
  .hero-map-panel { flex: 0 1 auto; max-width: 440px; align-self: center; }
  .hero-scroll-row { display: none; }
  /* H1 + subtitle: clamp() v base pravidle zajišťuje plynulé škálování — žádný přepis nutný */
  .hero h1 { line-height: 1.07; }
  .hero-subtitle { margin-bottom: 28px; }
  /* Map panel: skrytý na tabletu — eliminuje přílišnou výšku hero v column layoutu */
  .hero-map-panel { display: none; }
  /* Tlačítka na tabletu: vedle sebe, stejná šířka, bez wrapu */
  .hero-buttons { flex-wrap: nowrap; gap: 12px; align-items: stretch; }
  .btn-hero-primary, .btn-hero-secondary { flex: 1 1 0; min-width: 0; padding: 14px 20px; justify-content: center; text-align: center; }

  .contact-inner,
  .why-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .map-pins-svg {
    max-width: 420px;
    margin-inline: auto;
  }

  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    columns: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-block: 48px 40px;
  }
}

@media (max-width: 767px) {
  /* height:510px — USP začíná od 510px; overflow:hidden zabraňuje vizuálnímu přetékání do USP;
     position:relative + z-index:2 zajišťuje správné stacking pořadí nad usps-section */
  .hero {
    margin-top: 0;
    height: auto;
    min-height: 440px;
    padding: 107px 24px 40px;
    overflow: hidden;
    position: relative;
    z-index: 2;
  }

  .hero > .container.hero-inner {
    max-width: 100%;
    padding-inline: 0;
    margin: 0;
    flex-grow: 0;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    height: auto;
  }

  .hero-content {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }

  /* Badge: align-self center — vystředěný, nestahuje se na celou šířku */
  .hero-badge { align-self: center; margin-bottom: 14px; }

  /* H1 = 38px, zalamuje na 2 řádky */
  .hero h1 {
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  /* Subtitle = 15px, přirozené zalamování */
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  /* Tlačítka: stejná šířka vedle sebe — flex: 1 1 0 */
  .hero-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: stretch;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    flex: 1 1 0;
    padding: 12px 8px;
    font-size: 14px;
    min-height: 48px;
    min-width: 0;
    text-align: center;
    justify-content: center;
  }

  .hero-map-panel { display: none; }
  .hero-scroll-row { display: none; }

  .footer-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-contact-btn {
    justify-content: center;
  }

  .properties-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
    margin-inline: auto;
  }

  .properties-grid .property-card {
    padding: 64px 32px;
    gap: 14px;
  }

  .blog-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 24px;
    padding-block: 40px 32px;
  }

  .footer-col-brand {
    text-align: center;
  }
  .footer-col-brand .footer-logo {
    justify-content: center;
  }
  .footer-col-brand .footer-social {
    justify-content: center;
  }

  .testimonials-grid {
    columns: 1;
  }

  .cta-banner {
    padding: 32px 24px;
    text-align: center;
    max-width: none;
    margin-inline: 0;
  }
  .cta-banner h2 {
    font-size: 24px;
    font-weight: 700;
  }
  .cta-banner p {
    font-size: 14px;
    font-weight: 600;
  }
  .contact-form-card {
    padding: 24px 18px;
  }

  /* Contact section mobile — centrování textu, tlačítka vedle sebe */
  .contact-info {
    text-align: center;
  }
  .contact-info h2 {
    font-size: clamp(28px, 7vw, 38px);
  }
  .contact-sub {
    margin-bottom: 24px;
  }
  .contact-pills {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .contact-pill {
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* ==========================================================================
   20) PROCESS STEPS — "Jak to probíhá"
   ========================================================================== */

.process-section {
  position: relative;
  padding-block: 100px;
  background: var(--green);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0 20px;
  align-items: start;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.process-step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
}

.process-step-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--green-card);
  border: 1px solid rgba(107,162,151,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.process-step p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  font-size: 14.5px;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px; /* align with icon center */
  opacity: 0.6;
}

/* ==========================================================================
   21) BLOG PLACEHOLDER IMAGE
   ========================================================================== */

.blog-card-image--placeholder {
  background: linear-gradient(135deg, var(--green-card) 0%, rgba(107,162,151,0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
}

.blog-card-image--placeholder::after {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ==========================================================================
   22) PROCESS RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: 1fr auto 1fr;
    row-gap: 40px;
  }

  .process-arrow:nth-child(4) {
    display: none; /* skryjeme 2. šipku — na tabletu máme 2+2 layout */
  }

  .process-step:nth-child(7) {
    grid-column: 1 / -1;
    max-width: 280px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .process-section {
    padding-block: 60px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
    gap: 0;
  }

  .process-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    padding-block: 8px;
  }

  .process-step:nth-child(7) {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }
}

/* ==========================================================================
   23) USP CARDS — nový čistý grid (bez dekorativních elementů)
   ========================================================================== */

.usps-section {
  padding-block: 100px 80px;
}

.usps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.usp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 44px 36px 40px;
  background: rgba(10,101,81,0.55);
  border: 1px solid rgba(107,162,151,0.28);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.usp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
  border-radius: 4px 0 0 4px;
}

.usp-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(246,141,46,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.32);
  border-color: rgba(107,162,151,0.50);
}

.usp-card-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--orange);
  opacity: 0.8;
}

.usp-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(246,141,46,0.15);
  border: 1px solid rgba(246,141,46,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usp-card h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.usp-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

@media (max-width: 900px) {
  .usps-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 599px) {
  .usps-section {
    padding-block: 60px 48px;
  }
  .usp-card {
    padding: 32px 28px;
  }
}

/* ==========================================================================
   24) WHY SECTION — přímé selektory (záloha pro případ body-class výpadku)
   ========================================================================== */

.why-section {
  position: relative;
  overflow: hidden;
  padding-block: 100px;
  background: var(--green);
}

.why-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.why-watermark svg {
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  max-width: 700px;
  height: auto;
  opacity: 0.35;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-left h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4.44vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

.why-line1 {
  display: block;
}

.why-line2 {
  display: block;
}

.why-desc {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0 0 32px;
}

.why-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(242,120,33,0.18) 0%, rgba(255,255,255,0.10) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateX(4px);
  border-color: rgba(107,162,151,0.52);
}

.why-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--orange);
}

.why-card-body p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  font-size: 14px;
}

@media (max-width: 900px) {
  .why-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-watermark svg {
    width: 70%;
    opacity: 0.18;
  }
}

@media (max-width: 599px) {
  .why-section {
    padding-block: 60px;
  }
}

/* Why-section mobile — centrování textu a full-width tlačítko */
@media (max-width: 767px) {
  .why-left {
    text-align: center;
  }
  .why-left h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
  }
  .why-desc {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
  }
  .why-left .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
  .why-watermark svg {
    width: 90%;
    opacity: 0.12;
  }
}

/* ==========================================================================
   25) MAP PIN ANIMATIONS
   ========================================================================== */

/* Float animation for full pin groups */
.map-pin { animation: pinFloat 3s ease-in-out infinite; }
.map-pin:nth-child(2) { animation-delay: 0.5s; }
.map-pin:nth-child(3) { animation-delay: 0.9s; }
.map-pin:nth-child(4) { animation-delay: 1.3s; }
.map-pin:nth-child(5) { animation-delay: 0.7s; }
.map-pin:nth-child(6) { animation-delay: 1.1s; }
.map-pin:nth-child(7) { animation-delay: 0.3s; }

@keyframes pinFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Pulse animation */

.pin-ring {
  animation: pinRingPulse 3.5s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

/* Stagger delays — každý pin pulzuje jinak */
.map-pins-svg > rect.pin-ring:nth-of-type(1) { animation-delay: 0s; }
.map-pins-svg > rect.pin-ring:nth-of-type(2) { animation-delay: 0.6s; }
.map-pins-svg > rect.pin-ring:nth-of-type(3) { animation-delay: 1.2s; }
.map-pins-svg > rect.pin-ring:nth-of-type(4) { animation-delay: 0.4s; }
.map-pins-svg > rect.pin-ring:nth-of-type(5) { animation-delay: 1.8s; }
.map-pins-svg > rect.pin-ring:nth-of-type(6) { animation-delay: 1.0s; }
.map-pins-svg > rect.pin-ring:nth-of-type(7) { animation-delay: 2.4s; }

/* hero-map-panel reveal — plynulý nájezd zprava */
@keyframes mapReveal {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-map-panel { animation: mapReveal 0.9s cubic-bezier(0.25,0.8,0.25,1) 0.25s both; }

@keyframes pinRingPulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  60%  { transform: scale(1.38); opacity: 0.12; }
  100% { transform: scale(1.38); opacity: 0; }
}

/* ==========================================================================
   26) WHY SECTION — z-index fix pro watermark
   ========================================================================== */

.why-section {
  overflow: hidden;
}

.why-inner {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   27) PROPERTY CARDS — icon bigger, no text
   ========================================================================== */

.property-icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.property-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
}

/* ==========================================================================
   28) USPS ORB SECTION — orb rings + floating nodes + pill cards
   ========================================================================== */

.usps-section {
  display: block !important;
  position: relative !important;
  height: 1111px !important;
  overflow: hidden !important;
  background: var(--green) !important;
  padding-block: 0 !important;
  margin-top: 0 !important;
}

.usps-deco {
  display: block !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.usps-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,210,150,0.50) 0%, rgba(0,160,110,0.22) 38%, rgba(10,60,35,0.10) 60%, transparent 75%);
  filter: blur(48px);
}

.usps-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.13);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.usps-ring-1 { width: 280px;  height: 280px; }
.usps-ring-2 { width: 440px;  height: 440px; }
.usps-ring-3 { width: 624px;  height: 624px; }
.usps-ring-4 { width: 808px;  height: 808px; }

@keyframes nodeFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px);  }
  50%       { transform: translate(-50%, -50%) translateY(calc(var(--float-amp, -8px))); }
}

/* Plynulý float pro pill karty — mírně odlišný od nodeFloat (bez translate centering) */
@keyframes pillFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(var(--pill-amp, -7px)); }
}

.usps-node {
  position: absolute;
  left: var(--nx, 50%);
  top: var(--ny, 50%);
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(246,141,46,0.40);
  z-index: 2;
  animation: nodeFloat var(--float-dur, 4s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

/* Desktop: wrapper kryje celou sekci, items se pozicují absolutně uvnitř */
.usp-items-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.usp-item {
  position: absolute;
  pointer-events: all;
  z-index: 3;
  width: 300px;
  animation: pillFloat var(--pill-dur, 4.5s) ease-in-out infinite;
  animation-delay: var(--pill-delay, 0s);
}

/* Staggered float timing pro každou pill — různé amplitudy a zpoždění */
.usp-item-1 { --pill-dur: 4.5s; --pill-delay:  0.0s; --pill-amp: -7px; }
.usp-item-2 { --pill-dur: 5.2s; --pill-delay: -1.8s; --pill-amp: -9px; }
.usp-item-3 { --pill-dur: 3.9s; --pill-delay: -0.9s; --pill-amp: -6px; }

/* Pozice podle nákresu:
   pill-1 (Peníze) u hrany ring-3 kde byl File-edit (ny:34%) → left:56%, top:27%
   pill-2 (Papírování) vlevo u user-check nodu (ny:50%)       → left:2%, top:43%
   pill-3 (Výkup) vpravo dole u shield nodu (ny:55%)          → right:2%, top:57% */
/* Desktop — Figma: sekce 1440×1111px. pill-1(x=739,y=164) pill-2(x=230,y=470) pill-3(x=851,y=651) */
.usp-item-1 { right: 27%; top: 8%; left: auto; }
.usp-item-2 { left: 16%;  top: 42%; }
.usp-item-3 { right: 16%; top: 59%; left: auto; }

.usp-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(242,120,33,0.18) 0%, rgba(255,255,255,0.10) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 18px;
  padding: 14px 18px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.usp-avatar {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.usp-avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(246,141,46,0.55);
}

.usp-avatar-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(246,141,46,0.40);
}

.usp-pill-body strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.usp-desc {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  padding-inline: 4px;
  margin: 0;
  text-align: center;
}

/* ── TABLET ≤1100px ── */
@media (max-width: 1100px) {
  .usps-section { height: 740px; }
  .usps-ring-1 { width: 210px; height: 210px; }
  .usps-ring-2 { width: 340px; height: 340px; }
  .usps-ring-3 { width: 490px; height: 490px; }
  .usps-ring-4 { width: 640px; height: 640px; }
  .usps-glow   { width: 580px; height: 580px; }
  .usp-item-1 { right: 20%; top: 16%; left: auto; }
  .usp-item-2 { left: 12%;  top: 40%; }
  .usp-item-3 { right: 14%; top: 60%; left: auto; }
  .usp-pill   { padding: 12px 14px; gap: 10px; }
  .usp-avatar { width: 44px; height: 44px; }
  .usp-avatar-dot { width: 44px; height: 44px; border-radius: 50%; }
  .usp-pill-body strong { font-size: 13px; }
  .usp-item { max-width: 230px; }
}

/* ── TABLET malý ≤880px — přechod mezi tabletem a mobilem ── */
@media (max-width: 880px) {
  .usps-section { height: 580px; }
  .usps-ring-1 { width: 165px; height: 165px; }
  .usps-ring-2 { width: 280px; height: 280px; }
  .usps-ring-3 { width: 410px; height: 410px; }
  .usps-ring-4 { width: 540px; height: 540px; }
  .usps-glow   { width: 460px; height: 460px; }
  .usp-item-1 { right: 16%; top: 12%; left: auto; }
  .usp-item-2 { left:  9%; top: 38%; }
  .usp-item-3 { right: 12%; top: 62%; left: auto; }
  .usp-pill   { padding: 10px 12px; gap: 9px; border-radius: 14px; }
  .usp-avatar { width: 38px; height: 38px; }
  .usp-avatar-dot { width: 38px; height: 38px; }
  .usp-pill-body strong { font-size: 12px; }
  .usp-desc   { font-size: 11.5px; }
  .usp-item   { max-width: 210px; }
  .usps-node  { width: 44px; height: 44px; border-radius: 12px; }
}

/* ── MOBIL ≤767px — fixní výška, abs. pozice, nodes viditelné, pills 40% menší ── */
@media (max-width: 767px) {
  /* Figma mobile USP = 390×409px */
  .usps-section {
    height: 409px;
    min-height: 0;
    padding-block: 0;
    overflow: hidden;
    margin-top: 0;
    position: relative;
    z-index: 1;
  }
  .usps-deco {
    position: absolute;
    inset: 0;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
  }
  .usps-ring-1 { width: 100px;  height: 100px; }
  .usps-ring-2 { width: 180px;  height: 180px; }
  .usps-ring-3 { width: 270px;  height: 270px; }
  .usps-ring-4 { display: none; }
  .usps-glow   { width: 240px; height: 240px; filter: blur(40px); opacity: 0.75; }
  /* Nodes: viditelné, 36px, za pills (z-index:1) */
  .usps-node {
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    z-index: 1;
  }
  /* Pills wrapper — absolutní, stejně jako desktop */
  .usp-items-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
  }
  /* Items: absolutní, 175px wide (40% menší než 300px) */
  .usp-item { position: absolute; width: 175px; }
  /* Přepočítáno pro sekci 380×390px (Figma: 367px). Ověřeno: 0 překryvů s pill oblastmi */
  .usp-item-1 { left: 56%; right: auto; top:  4%; }
  .usp-item-2 { left:  6%; right: auto; top: 40%; }
  .usp-item-3 { left: 56%; right: auto; top: 69%; }
  .usps-node-dollar   { left: 40%; top: 15%; }
  .usps-node-clock    { left: 48%; top: 30%; }
  .usps-node-user     { left: 30%; top: 30%; }
  .usps-node-file     { left: 70%; top: 33%; }
  .usps-node-building { left: 57%; top: 53%; }
  .usps-node-house    { left: 76%; top: 52%; }
  .usps-node-shield   { left: 43%; top: 68%; }
  .usps-node-mountain { left: 44%; top: 84%; }
  .usps-node-edit     { left: 27%; top: 72%; }
  /* Pill: compact */
  .usp-pill   { padding: 7px 10px; gap: 8px; border-radius: 12px; margin-bottom: 0; }
  .usp-avatar { width: 30px; height: 30px; flex-shrink: 0; }
  .usp-avatar-dot { width: 30px; height: 30px; }
  .usp-avatar-dot svg { transform: scale(0.7); }
  .usp-avatar-ring { inset: -3px; }
  .usp-pill-body strong { font-size: 11.5px; line-height: 1.25; }
  .usp-desc   { font-size: 10.5px; padding-inline: 0; margin-top: 3px; }
}