/* =====================================================================
   JCL Real Estate — app.css
   Všechny styly projektu. Načítat na každé stránce.
   Pořadí sekcí: Base → Footer → Homepage → Detail nemovitosti
   ===================================================================== */


/* ─────────────────────────────────────────────────────────────────────
   1. BASE — Reset, tokeny, utility, tlačítka, navigace
   ───────────────────────────────────────────────────────────────────── */

/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  color: #2A2A2A;
  background: #F7F5F0;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── DESIGN TOKENS ────────────────────────────────── */
:root {
  --charcoal:    #1A1A1A;
  --charcoal-80: #333333;
  --gold:        #C4A265;
  --gold-light:  #D4B87A;
  --gold-pale:   #F0E8D5;
  --cream:       #F7F5F0;
  --beige:       #EDE8DF;
  --beige-dark:  #DDD6C8;
  --white:       #FFFFFF;
  --muted:       #9A9A8E;
  --text:        #2A2A2A;
  --text-light:  #6B6B60;

  --nav-h:        80px;
  --section-pad:  clamp(60px, 8vw, 120px);
  --container:    1280px;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --trans:        0.3s ease;
}

/* ─── UTILITY ──────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }
.section-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.2;
}
.section-title--white { color: var(--white); }
.divider-gold {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 20px 0;
}

/* ─── TLAČÍTKA ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--charcoal);
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--trans), color var(--trans);
}
.btn-primary:hover { background: var(--gold); color: var(--white); }

.btn-dark { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: var(--charcoal); color: var(--white); font-family: 'Josefin Sans', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; transition: opacity var(--trans); }
.btn-dark:hover { opacity: .85; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all var(--trans);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }

.btn-ghost {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--trans);
}
.btn-ghost:hover { gap: 14px; }
.btn-ghost svg { transition: transform var(--trans); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--trans);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-white-outline {
  padding: 14px 34px;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all var(--trans);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-white-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── NAVIGACE ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 162, 101, 0.15);
  transition: box-shadow var(--trans);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(26,26,26,0.08); }
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav__logo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.nav__logo-jcl {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.06em;
}
.nav__logo-line {
  width: 100%;
  height: 1px;
  background: var(--gold);
  margin: 3px 0;
}
.nav__logo-sub {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
}
.nav__links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-80);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--trans);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--trans);
}
.nav__links a:hover { color: var(--charcoal); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--charcoal);
  transition: all var(--trans);
  flex-shrink: 0;
}
.nav__cta:hover { background: var(--gold); color: var(--white); }


/* ─────────────────────────────────────────────────────────────────────
   2. FOOTER — sdílený pro všechny stránky
   ───────────────────────────────────────────────────────────────────── */

.footer {
  background: var(--charcoal);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand {}
.footer__logo-jcl {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
}
.footer__logo-line {
  width: 100%;
  height: 1px;
  background: var(--gold);
  margin: 4px 0;
  max-width: 112px;
}
.footer__logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  max-width: 112px;
}
.footer__tagline {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-top: 20px;
  max-width: 280px;
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
}
.footer__social a:hover { border-color: var(--gold); background: rgba(196,162,101,0.12); }
.footer__col-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links li a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  transition: color var(--trans);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__links li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: all var(--trans);
  flex-shrink: 0;
}
.footer__links li a:hover { color: rgba(255,255,255,0.85); }
.footer__links li a:hover::before { opacity: 1; width: 16px; }
.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color var(--trans);
}
.footer__legal a:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}


/* ─────────────────────────────────────────────────────────────────────
   3. HOMEPAGE
   ───────────────────────────────────────────────────────────────────── */

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,26,26,0.62) 0%,
    rgba(26,26,26,0.35) 55%,
    rgba(26,26,26,0.10) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s ease forwards;
}
.hero__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.12;
  max-width: 680px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s ease forwards;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 440px;
  margin: 20px 0 36px;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s ease forwards;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.0s ease forwards;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  right: clamp(20px, 5vw, 60px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.4s ease forwards;
}
.hero__scroll-hint span {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(196,162,101,0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* PAGE HERO */
.page-hero { position: relative; height: 340px; margin-top: var(--nav-h); overflow: hidden; display: flex; align-items: center; }
.page-hero .container { width: 100%; }
.page-hero__bg { position: absolute; inset: 0; background-image: url('../img/vizual-2.jpg'); background-size: cover; background-position: center 40%; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,26,26,.88) 0%, rgba(26,26,26,.55) 60%, rgba(26,26,26,.3) 100%); }
.page-hero__content { position: relative; z-index: 2; width: 100%; }
.page-hero__label { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 14px; }
.page-hero__title { font-family: 'Cinzel', serif; font-size: clamp(28px,4vw,52px); font-weight: 500; color: var(--white); line-height: 1.15; }
.page-hero__divider { width: 48px; height: 1px; background: var(--gold); margin: 20px 0; }
.page-hero__sub { font-size: 15px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.7); max-width: 480px; letter-spacing: .02em; }

    /* CONTACT MAIN */
    .contact-main { padding: clamp(60px,8vw,100px) 0; background: var(--white); }
    .contact-main__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,90px); }

    /* INFO COLUMN */
    .contact-info { display: flex; flex-direction: column; gap: 48px; }
    .contact-info__block {}
    .contact-info__block-title { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 500; color: var(--charcoal); letter-spacing: .04em; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--beige); }
    .contact-info__items { display: flex; flex-direction: column; gap: 16px; }
    .contact-info__item { display: flex; align-items: flex-start; gap: 16px; }
    .contact-info__item-icon { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--beige); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-top: 2px; }
    .contact-info__item-label { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; display: block; }
    .contact-info__item-value { font-size: 15px; color: var(--charcoal); font-weight: 400; line-height: 1.5; }
    .contact-info__item-value a { color: var(--charcoal); transition: color var(--trans); }
    .contact-info__item-value a:hover { color: var(--gold); }
    .contact-info__item-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }

    /* LEGAL INFO */
    .contact-info__legal { background: var(--cream); padding: 24px; }
    .contact-info__legal p { font-size: 13px; line-height: 1.8; color: var(--text-light); font-weight: 300; margin-bottom: 8px; }
    .contact-info__legal p:last-child { margin-bottom: 0; }
    .contact-info__legal strong { color: var(--charcoal); font-weight: 500; }

    /* FORM */
    .contact-form { background: var(--cream); padding: 48px; }
    .contact-form__title { font-family: 'Cinzel', serif; font-size: 20px; font-weight: 500; color: var(--charcoal); margin-bottom: 8px; }
    .contact-form__sub { font-size: 14px; color: var(--text-light); font-weight: 300; margin-bottom: 32px; line-height: 1.6; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
    .form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
    .form-field--full { grid-column: 1 / -1; }
    .form-field label { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
    .form-field input,
    .form-field select,
    .form-field textarea { font-family: 'Josefin Sans', sans-serif; font-size: 14px; font-weight: 400; color: var(--charcoal); background: var(--white); border: 1px solid var(--beige); padding: 13px 16px; outline: none; transition: border-color var(--trans); width: 100%; }
    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus { border-color: var(--gold); }
    .form-field textarea { resize: vertical; min-height: 120px; }
    .form-field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%239A9A8E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
    .form-consent { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0 24px; }
    .form-consent input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--charcoal); cursor: pointer; }
    .form-consent label { font-size: 12px; color: var(--text-light); line-height: 1.6; cursor: pointer; }
    .form-consent label a { color: var(--gold); }

    /* AGENTS CONTACT */
    .agents-contact { padding: clamp(60px,7vw,90px) 0; background: var(--cream); }
    .agents-contact__head { margin-bottom: 52px; }
    .agents-contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
    .agent-mini { background: var(--white); overflow: hidden; }
    .agent-mini__photo { height: 260px; overflow: hidden; }
    .agent-mini__photo img { height: 100%; transition: transform .5s ease; }
    .agent-mini:hover .agent-mini__photo img { transform: scale(1.04); }
    .agent-mini__body { padding: 28px; }
    .agent-mini__name { font-family: 'Cinzel', serif; font-size: 16px; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; }
    .agent-mini__role { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
    .agent-mini__divider { width: 32px; height: 1px; background: var(--beige); margin-bottom: 18px; }
    .agent-mini__contact { display: flex; flex-direction: column; gap: 10px; }
    .agent-mini__contact-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-light); font-weight: 300; }
    .agent-mini__contact-item svg { color: var(--gold); flex-shrink: 0; }
    .agent-mini__contact-item a { color: var(--charcoal); transition: color var(--trans); }
    .agent-mini__contact-item a:hover { color: var(--gold); }

    /* CONTENT */
    .content {padding: clamp(60px,8vw,100px) 0; background: var(--white); }
    .content__inner {}
    .content__inner p { font-size: 15px; line-height: 1.85; color: var(--text-light); font-weight: 300; margin-bottom: 18px; }

    /* INTRO */
    .intro { padding: clamp(60px,8vw,100px) 0; background: var(--white); }
    .intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,90px); align-items: center; }
    .intro__text p { font-size: 15px; line-height: 1.85; color: var(--text-light); font-weight: 300; margin-bottom: 18px; }
    .intro__text p:last-of-type { margin-bottom: 0; }
    .intro__text strong { color: var(--charcoal); font-weight: 500; }
    .intro__image { position: relative; }
    .intro__image img { height: 480px; object-fit: cover; }
    .intro__image-badge { position: absolute; bottom: -20px; left: -20px; background: var(--charcoal); padding: 24px 28px; text-align: center; }
    .intro__image-badge-num { font-family: 'Cinzel', serif; font-size: 36px; font-weight: 600; color: var(--gold); line-height: 1; }
    .intro__image-badge-label { font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 4px; display: block; }
    .intro__actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

    /* STATS */
    .stats-bar { background: var(--charcoal); padding: 52px 0; }
    .stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
    .stat { text-align: center; padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.08); }
    .stat:last-child { border-right: none; }
    .stat__number { font-family: 'Cinzel', serif; font-size: clamp(28px,3vw,44px); font-weight: 600; color: var(--gold); line-height: 1; }
    .stat__suffix { font-family: 'Cinzel', serif; font-size: clamp(18px,2vw,28px); font-weight: 400; color: var(--gold-light); }
    .stat__label { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 8px; display: block; }

    /* VALUES */
    .values { padding: clamp(60px,8vw,100px) 0; background: var(--cream); }
    .values__head { text-align: center; max-width: 600px; margin: 0 auto 60px; }
    .values__head .divider-gold { margin: 18px auto; }
    .values__head p { font-size: 15px; line-height: 1.8; color: var(--text-light); font-weight: 300; }
    .values__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
    .value-card { background: var(--white); padding: 40px 28px; text-align: center; transition: background var(--trans); }
    .value-card:hover { background: var(--charcoal); }
    .value-card:hover .value-card__icon { color: var(--gold); border-color: rgba(196,162,101,.2); }
    .value-card:hover .value-card__title { color: var(--white); }
    .value-card:hover .value-card__text { color: rgba(255,255,255,.5); }
    .value-card__icon { width: 56px; height: 56px; border: 1px solid var(--beige); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--charcoal-80); transition: color var(--trans), border-color var(--trans); }
    .value-card__title { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 500; color: var(--charcoal); letter-spacing: .04em; margin-bottom: 14px; transition: color var(--trans); }
    .value-card__text { font-size: 13px; line-height: 1.75; color: var(--text-light); font-weight: 300; transition: color var(--trans); }

    /* PARTNERSHIP */
    .partnership { padding: clamp(60px,8vw,100px) 0; background: var(--charcoal); position: relative; overflow: hidden; }
    .partnership::before { content: 'AEQUITAS'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-family: 'Cinzel', serif; font-size: clamp(80px,12vw,160px); font-weight: 700; color: rgba(255,255,255,.03); letter-spacing: .1em; pointer-events: none; }
    .partnership__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,90px); align-items: center; }
    .partnership__image img { height: 420px; object-fit: cover; }
    .partnership__content .section-label { color: var(--gold); }
    .partnership__content p { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.55); font-weight: 300; margin-bottom: 18px; }
    .partnership__projects { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
    .project-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); transition: border-color var(--trans); }
    .project-item:hover { border-color: rgba(196,162,101,.3); }
    .project-item__icon { width: 40px; height: 40px; flex-shrink: 0; color: var(--gold); display: flex; align-items: center; justify-content: center; }
    .project-item__info { flex: 1; }
    .project-item__name { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
    .project-item__location { font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: .06em; }
    .project-item__tag { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border: 1px solid rgba(196,162,101,.4); color: var(--gold); }

    /* TEAM */
    .team { padding: clamp(60px,8vw,100px) 0; background: var(--white); }
    .team__head { margin-bottom: 54px; }
    .team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
    .agent-card { background: var(--cream); overflow: hidden; transition: box-shadow var(--trans); }
    .agent-card:hover { box-shadow: 0 12px 40px rgba(26,26,26,.1); }
    .agent-card__photo { height: 300px; overflow: hidden; }
    .agent-card__photo img { height: 100%; transition: transform .5s ease; }
    .agent-card:hover .agent-card__photo img { transform: scale(1.04); }
    .agent-card__body { padding: 24px; }
    .agent-card__name { font-family: 'Cinzel', serif; font-size: 15px; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; }
    .agent-card__role { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
    .agent-card__contact { display: flex; flex-direction: column; gap: 8px; }
    .agent-card__contact-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-light); font-weight: 300; }
    .agent-card__contact-item svg { color: var(--gold); flex-shrink: 0; }

    /* INTRO */
    .services-intro { padding: clamp(60px,7vw,90px) 0; background: var(--white); }
    .services-intro__inner { max-width: 760px; }
    .services-intro__inner p { font-size: 16px; line-height: 1.9; color: var(--text-light); font-weight: 300; margin-top: 18px; }

    /* SERVICES GRID */
    .services { padding: clamp(60px,7vw,90px) 0; background: var(--cream); }
    .services__head { margin-bottom: 54px; }
    .services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
    .service-card { background: var(--white); padding: 40px 36px; transition: background var(--trans), transform var(--trans); }
    .service-card:hover { background: var(--charcoal); }
    .service-card:hover .service-card__icon { color: var(--gold); border-color: rgba(196,162,101,.25); }
    .service-card:hover .service-card__num { color: rgba(196,162,101,.15); }
    .service-card:hover .service-card__title { color: var(--white); }
    .service-card:hover .service-card__text { color: rgba(255,255,255,.5); }
    .service-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
    .service-card__icon { width: 52px; height: 52px; border: 1px solid var(--beige); display: flex; align-items: center; justify-content: center; color: var(--charcoal-80); flex-shrink: 0; transition: color var(--trans), border-color var(--trans); }
    .service-card__num { font-family: 'Cinzel', serif; font-size: 42px; font-weight: 700; color: rgba(26,26,26,.05); line-height: 1; transition: color var(--trans); }
    .service-card__title { font-family: 'Cinzel', serif; font-size: 16px; font-weight: 500; color: var(--charcoal); margin-bottom: 14px; transition: color var(--trans); }
    .service-card__text { font-size: 13px; line-height: 1.8; color: var(--text-light); font-weight: 300; transition: color var(--trans); }

    /* PARTNERS */
    .partners { padding: clamp(60px,7vw,90px) 0; background: var(--white); }
    .partners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 48px; }
    .partner-card { background: var(--cream); padding: 40px; display: flex; gap: 28px; align-items: flex-start; }
    .partner-card__icon { width: 56px; height: 56px; flex-shrink: 0; border: 1px solid var(--beige); display: flex; align-items: center; justify-content: center; color: var(--gold); }
    .partner-card__title { font-family: 'Cinzel', serif; font-size: 17px; font-weight: 500; color: var(--charcoal); margin-bottom: 6px; }
    .partner-card__sub { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
    .partner-card__text { font-size: 14px; line-height: 1.8; color: var(--text-light); font-weight: 300; }

    /* PROCESS */
    .process { padding: clamp(60px,7vw,90px) 0; background: var(--charcoal); }
    .process__head { margin-bottom: 54px; }
    .process__head .section-label { color: var(--gold); }
    .process__head .section-title { color: var(--white); }
    .process__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
    .process__steps::before { content: ''; position: absolute; top: 36px; left: calc(10% + 28px); right: calc(10% + 28px); height: 1px; background: rgba(196,162,101,.2); }
    .process-step { text-align: center; padding: 0 20px; }
    .process-step__circle { width: 72px; height: 72px; border: 1px solid rgba(196,162,101,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--gold); background: var(--charcoal); position: relative; z-index: 1; transition: background var(--trans), border-color var(--trans); }
    .process-step:hover .process-step__circle { background: rgba(196,162,101,.1); border-color: var(--gold); }
    .process-step__num { font-family: 'Cinzel', serif; font-size: 11px; font-weight: 600; color: rgba(196,162,101,.4); letter-spacing: .1em; margin-bottom: 8px; }
    .process-step__title { font-family: 'Cinzel', serif; font-size: 13px; font-weight: 500; color: var(--white); margin-bottom: 10px; }
    .process-step__text { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.4); font-weight: 300; }

    /* CTA BAND */
    .cta-band { background: var(--gold); padding: 64px 0; }
    .cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
    .cta-band__text .section-label { color: rgba(26,26,26,.6); }
    .cta-band__text .section-title { color: var(--charcoal); }
    .cta-band__text p { font-size: 15px; color: rgba(26,26,26,.65); font-weight: 300; margin-top: 12px; line-height: 1.7; }
    .cta-band__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── STATS BAR ────────────────────────────────────── */
.stats-bar {
  background: var(--charcoal);
  padding: 0;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-bar__item {
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__num {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.stats-bar__label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

/* ─── SEARCH PANEL ─────────────────────────────────── */
.search-panel {
  background: var(--white);
  border-bottom: 1px solid var(--beige-dark);
  padding: 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}
.search-panel__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--beige);
  padding: 0 clamp(20px, 5vw, 60px);
  overflow-x: auto;
  scrollbar-width: none;
}
.search-panel__tabs::-webkit-scrollbar { display: none; }
.search-tab {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 20px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--trans);
  cursor: pointer;
}
.search-tab:hover { color: var(--charcoal); }
.search-tab.active { color: var(--charcoal); border-bottom-color: var(--gold); }
.search-panel__form {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px clamp(20px, 5vw, 60px);
}
.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 24px;
  border-right: 1px solid var(--beige-dark);
}
.search-field:first-child { padding-left: 0; }
.search-field label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-field input, .search-field select {
  border: none;
  outline: none;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  background: transparent;
  padding: 0;
}
.search-field select { cursor: pointer; }
.search-btn {
  margin-left: 24px;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--trans);
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-btn:hover { background: var(--charcoal); }

/* ─── FEATURED PROPERTIES ──────────────────────────── */
.featured {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.featured__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prop-card {
  background: var(--white);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.prop-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,26,26,0.10); }
.prop-card__img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  display: block;
}
.prop-card__img-wrap img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.prop-card:hover .prop-card__img-wrap img { transform: scale(1.04); }
.prop-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.badge-new  { background: var(--gold); color: var(--white); }
.badge-excl { background: var(--charcoal); color: var(--white); }
.badge-sold { background: rgba(26,26,26,0.6); color: rgba(255,255,255,0.7); }
.prop-card__fav {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}
.prop-card__fav:hover { background: var(--white); }
.prop-card__body { padding: 24px; }
.prop-card__type {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.prop-card__name {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 6px;
}
.prop-card__loc {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
}
.prop-card__specs {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
  margin-bottom: 16px;
}
.prop-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
}
.prop-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prop-card__price {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
}
.prop-card__price span {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

/* ─── LIFESTYLE SECTION ────────────────────────────── */
.lifestyle {
  padding: var(--section-pad) 0;
  background: var(--beige);
}
.lifestyle__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 56px;
}
.lifestyle__item {
  position: relative;
  overflow: hidden;
  height: 420px;
}
.lifestyle__item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.lifestyle__item:hover img { transform: scale(1.04); }
.lifestyle__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.65) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.lifestyle__item-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.lifestyle__item-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}
.lifestyle__item-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--trans), gap var(--trans);
}
.lifestyle__item-link:hover { color: var(--gold); gap: 14px; }

/* ─── NEWS SECTION ─────────────────────────────────── */
.news {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-card__img { height: 200px; overflow: hidden; }
.news-card__img img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__body {
  padding: 24px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--beige-dark);
}
.news-card__cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.news-card__title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}
.news-card__meta { font-size: 12px; color: var(--muted); }

/* ─── ABOUT SECTION ────────────────────────────────── */
.about {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}
.about__img-wrap { position: relative; }
.about__img-main { height: 520px; object-fit: cover; }
.about__img-accent {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 200px; height: 160px;
  object-fit: cover;
  border: 6px solid var(--cream);
  box-shadow: 0 8px 32px rgba(26,26,26,0.12);
}
.about__body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 24px;
}
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 40px;
}
.about__value { display: flex; flex-direction: column; gap: 6px; }
.about__value-icon {
  width: 32px; height: 32px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.about__value-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
}
.about__value-desc { font-size: 12px; color: var(--text-light); line-height: 1.6; }

/* ─── CTA BAND ─────────────────────────────────────── */

.cta-band-home {
  background: var(--charcoal);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band-home::before {
  content: 'JCL';
  position: absolute;
  right: -2%; top: 50%;
  transform: translateY(-50%);
  font-family: 'Cinzel', serif;
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 700;
  color: rgba(196,162,101,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.cta-band-home__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-home__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 500;
  color: var(--white);
  max-width: 560px;
  line-height: 1.25;
}
.cta-band-home__title em { font-style: italic; color: var(--gold); }
.cta-band-home__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── AGENTS SECTION ───────────────────────────────── */
.agents {
  padding: var(--section-pad) 0;
  background: var(--beige);
}
.agents__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.agent-card {
  background: var(--white);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.agent-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,26,26,0.09); }
.agent-card__img { height: 260px; overflow: hidden; }
.agent-card__img img { height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.agent-card:hover .agent-card__img img { transform: scale(1.04); }
.agent-card__body { padding: 20px 22px 24px; }
.agent-card__name {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.agent-card__role {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.agent-card__info {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

/* ─── HOMEPAGE RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .props-grid  { grid-template-columns: repeat(2, 1fr); }
  .news-grid   { grid-template-columns: repeat(2, 1fr); }
  .agents__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; }
  .about__img-main { height: 360px; }
  .about__img-accent { display: none; }
}

/* ── Hamburger button ─────────────────────────────── */
.nav__burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu panel ────────────────────────────── */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--beige);
  box-shadow: 0 8px 24px rgba(26,26,26,.12);
  z-index: 899;
  padding: 24px var(--side-pad) 32px;
  flex-direction: column;
}
.nav__mobile.open { display: flex; }
.nav__mobile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.nav__mobile ul li a {
  display: block; padding: 14px 0;
  font-family: var(--font-head); font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--charcoal); border-bottom: 1px solid var(--beige);
  transition: color .2s;
}
.nav__mobile ul li a:hover,
.nav__mobile ul li a.act { color: var(--gold); }

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .lifestyle__grid { grid-template-columns: 1fr; }
  .props-grid  { grid-template-columns: 1fr; }
  .news-grid   { grid-template-columns: 1fr; }
  .agents__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .search-panel__form { flex-wrap: wrap; }
  .search-field { width: 45%; padding: 8px 12px; border-right: none; border-bottom: 1px solid var(--beige-dark); }
  .search-btn { width: 100%; justify-content: center; margin-left: 0; margin-top: 8px; }
}
@media (max-width: 480px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .agents__grid { grid-template-columns: 1fr; }
  .about__values { grid-template-columns: 1fr; }
}

/* SUCCESS STATE */
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success__icon { width: 64px; height: 64px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--gold); }
.form-success__title { font-family: 'Cinzel', serif; font-size: 20px; color: var(--charcoal); margin-bottom: 12px; }
.form-success__text { font-size: 14px; color: var(--text-light); line-height: 1.7; font-weight: 300; }

@media (max-width: 1024px) {
  .contact-main__grid { grid-template-columns: 1fr; }
  .agents-contact__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .agents-contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}


/* ─────────────────────────────────────────────────────────────────────
   4. DETAIL NEMOVITOSTI
   ───────────────────────────────────────────────────────────────────── */

/* ─── BREADCRUMB ───────────────────────────────────── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--beige);
  padding: 14px 0;
  /*margin-top: var(--nav-h);*/
}
.breadcrumb__inner {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted);
}
.breadcrumb__item { display: flex; align-items: center; gap: 8px; }
.breadcrumb__item a { color: var(--muted); transition: color var(--trans); }
.breadcrumb__item a:hover { color: var(--gold); }
.breadcrumb__item.active { color: var(--charcoal); font-weight: 500; }
.breadcrumb__sep { color: var(--beige-dark); }

/* ─── GALLERY ──────────────────────────────────────── */
.gallery { background: var(--charcoal); }
.gallery__main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 420px;
  gap: 3px;
}
.gallery__hero { grid-row: 1; position: relative; overflow: hidden; cursor: pointer; }
.gallery__hero img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__hero:hover img { transform: scale(1.03); }
.gallery__side { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; }
.gallery__thumb { position: relative; overflow: hidden; cursor: pointer; }
.gallery__thumb img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__thumb:hover img { transform: scale(1.04); }
.gallery__thumb:last-child { position: relative; }
.gallery__more-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,.55);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; cursor: pointer;
  transition: background var(--trans);
}
.gallery__more-overlay:hover { background: rgba(26,26,26,.4); }
.gallery__more-num {
  font-family: 'Cinzel', serif; font-size: 32px;
  font-weight: 600; color: var(--white); line-height: 1;
}
.gallery__more-label {
  font-size: 10px; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
}
.gallery__actions {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 10px 12px; background: var(--charcoal);
}
.gallery__btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7); font-size: 11px;
  font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  transition: all var(--trans);
}
.gallery__btn:hover { border-color: var(--gold); color: var(--gold); }

/* ─── ANCHOR NAV ───────────────────────────────────── */
.anchor-nav {
  position: sticky; top: var(--nav-h); z-index: 90;
  background: var(--white); border-bottom: 1px solid var(--beige);
}
.anchor-nav__inner {
  display: flex; align-items: center; gap: 0;
  padding: 0 clamp(20px,5vw,60px);
  overflow-x: auto; scrollbar-width: none;
}
.anchor-nav__inner::-webkit-scrollbar { display: none; }
.anchor-tab {
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  padding: 16px 22px; border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all var(--trans); cursor: pointer;
}
.anchor-tab:hover { color: var(--charcoal); }
.anchor-tab.active { color: var(--charcoal); border-bottom-color: var(--gold); }

/* ─── MAIN LAYOUT ──────────────────────────────────── */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 48px 0 80px;
  align-items: start;
}

/* ─── PROPERTY HEADER ──────────────────────────────── */
.prop-header { margin-bottom: 36px; }
.prop-header__badges {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px;
}
.badge {
  padding: 4px 12px; font-size: 10px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
}
.badge-type { background: var(--beige); color: var(--charcoal-80); }
.prop-header__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px,3vw,38px);
  font-weight: 500; color: var(--charcoal);
  line-height: 1.2; margin-bottom: 10px;
}
.prop-header__loc {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--text-light); margin-bottom: 20px;
}
.prop-header__specs {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--beige);
  border-left: 1px solid var(--beige);
}
.prop-spec-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 24px;
  border-right: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}
.prop-spec-item__label {
  font-size: 9px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.prop-spec-item__val {
  font-family: 'Cinzel', serif; font-size: 17px;
  font-weight: 500; color: var(--charcoal);
}
.prop-spec-item__unit {
  font-family: 'Josefin Sans', sans-serif; font-size: 12px;
  font-weight: 400; color: var(--muted);
}

/* ─── DESCRIPTION ──────────────────────────────────── */
.desc-section { margin-bottom: 48px; }
.desc-body {
  font-size: 15px; font-weight: 300; line-height: 1.85;
  color: var(--text-light);
}
.desc-body p + p { margin-top: 16px; }
.desc-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  transition: gap var(--trans);
}
.desc-toggle:hover { gap: 14px; }

/* ─── PARAMETERS TABLE ─────────────────────────────── */
.params-section { margin-bottom: 48px; }
.params-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--beige);
  border-left: 1px solid var(--beige);
}
.param-row { display: contents; }
.param-key, .param-val {
  padding: 13px 18px;
  border-right: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
  font-size: 13px; line-height: 1.4;
}
.param-key {
  font-weight: 500; color: var(--muted);
  background: var(--cream);
  font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase;
}
.param-val { color: var(--charcoal); font-weight: 400; }
.param-val strong { font-weight: 600; }
.energy-badge {
  display: inline-block; padding: 2px 10px;
  font-size: 12px; font-weight: 700; color: var(--white);
  background: #4CAF50;
}

/* ─── FLOOR PLAN ───────────────────────────────────── */
.floorplan-section { margin-bottom: 48px; }
.floorplan-tabs {
  display: flex; gap: 0; margin-bottom: 20px;
  border-bottom: 1px solid var(--beige-dark);
}
.fp-tab {
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  padding: 12px 20px; border-bottom: 2px solid transparent;
  cursor: pointer; transition: all var(--trans);
}
.fp-tab.active { color: var(--charcoal); border-bottom-color: var(--gold); }
.floorplan-img {
  background: var(--beige);
  height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.floorplan-img img { height: 100%; object-fit: contain; background: var(--white); }
.floorplan-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; opacity: .4;
}

/* ─── MAP ──────────────────────────────────────────── */
.map-section { margin-bottom: 48px; }
.map-placeholder {
  height: 340px;
  background: linear-gradient(135deg, #e8e4dd 0%, #d8d2c6 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.map-placeholder__label {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.map-placeholder__label span {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.map-pin {
  width: 40px; height: 40px;
  background: var(--gold); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(196,162,101,.4);
}
.map-pin::after {
  content: '';
  width: 16px; height: 16px;
  background: var(--white); border-radius: 50%;
}
.map-address {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--white); padding: 10px 16px;
  font-size: 13px; color: var(--charcoal);
  box-shadow: 0 4px 16px rgba(26,26,26,.1);
}

/* ─── GALLERY FULL ─────────────────────────────────── */
.gallery-full-section { margin-bottom: 48px; }
.gallery-full-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.gallery-full-grid img { height: 180px; cursor: pointer; transition: opacity var(--trans); }
.gallery-full-grid img:hover { opacity: .88; }

/* ─── SIMILAR PROPS ────────────────────────────────── */
.similar-section { padding: 80px 0; background: var(--beige); }
.similar__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; gap: 16px; flex-wrap: wrap;
}
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sim-card {
  background: var(--white); overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.sim-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(26,26,26,.10); }
.sim-card__img { height: 200px; overflow: hidden; }
.sim-card__img img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.sim-card:hover .sim-card__img img { transform: scale(1.04); }
.sim-card__body { padding: 20px; }
.sim-card__type {
  font-size: 10px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.sim-card__name {
  font-family: 'Cinzel', serif; font-size: 16px;
  font-weight: 500; color: var(--charcoal); margin-bottom: 6px; line-height: 1.3;
}
.sim-card__loc {
  font-size: 12px; color: var(--text-light);
  display: flex; align-items: center; gap: 4px; margin-bottom: 14px;
}
.sim-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--beige);
}
.sim-card__price {
  font-family: 'Cinzel', serif; font-size: 18px;
  font-weight: 500; color: var(--charcoal);
}

/* ─── SIDEBAR ──────────────────────────────────────── */
.sidebar { position: sticky; top: calc(var(--nav-h) + 60px); }
.price-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  margin-bottom: 16px;
}
.price-card__top { background: var(--charcoal); padding: 24px 28px; }
.price-card__label {
  font-size: 10px; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-bottom: 6px;
}
.price-card__price {
  font-family: 'Cinzel', serif; font-size: 32px;
  font-weight: 600; color: var(--white); line-height: 1;
}
.price-card__currency {
  font-family: 'Josefin Sans', sans-serif; font-size: 18px;
  font-weight: 300; color: var(--gold);
}
.price-card__vat { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 4px; }
.price-card__body { padding: 24px 28px; }
.price-quick-specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border: 1px solid var(--beige); margin-bottom: 20px;
}
.pqs-item {
  padding: 12px 14px;
  border-right: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}
.pqs-item:nth-child(2n) { border-right: none; }
.pqs-item:nth-last-child(-n+2) { border-bottom: none; }
.pqs-label {
  font-size: 9px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.pqs-val { font-size: 14px; font-weight: 500; color: var(--charcoal); }
.price-card__ctas { display: flex; flex-direction: column; gap: 8px; }
.price-card__phone {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border: 1px solid var(--beige-dark);
  font-size: 16px; font-weight: 500; color: var(--charcoal);
  transition: all var(--trans);
}
.price-card__phone:hover { border-color: var(--gold); color: var(--gold); }
.price-card__fav {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; border: 1px solid var(--beige-dark);
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); transition: all var(--trans);
}
.price-card__fav:hover { border-color: var(--gold); color: var(--gold); }

/* Agent card v sidebaru */
.agent-card-s {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  padding: 24px 28px;
}
.agent-s__head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
}
.agent-s__avatar {
  width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.agent-s__avatar img { height: 100%; object-fit: cover; }
.agent-s__name {
  font-family: 'Cinzel', serif; font-size: 15px;
  font-weight: 500; color: var(--charcoal); margin-bottom: 3px;
}
.agent-s__role {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}
.agent-s__contacts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.agent-s__contact {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-light);
}
.agent-s__contact svg { flex-shrink: 0; color: var(--gold); }

/* Kontaktní formulář v sidebaru */
.contact-form-s {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  padding: 24px 28px;
  margin-top: 16px;
}
.contact-form-s__title {
  font-family: 'Cinzel', serif; font-size: 16px;
  font-weight: 500; color: var(--charcoal); margin-bottom: 18px;
}
.cf-field { margin-bottom: 12px; }
.cf-field label {
  display: block; font-size: 9px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
.cf-field input, .cf-field textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--beige-dark);
  background: var(--cream);
  font-family: 'Josefin Sans', sans-serif; font-size: 13px;
  color: var(--charcoal); outline: none;
  transition: border-color var(--trans);
}
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--gold); background: var(--white); }
.cf-field textarea { resize: vertical; min-height: 80px; }
.cf-note { font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 10px; }

/* ─── LIGHTBOX ─────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,10,10,.94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 90vw; max-height: 85vh;
  width: auto; height: auto; object-fit: contain;
}
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  color: rgba(255,255,255,.6); font-size: 28px; cursor: pointer;
  transition: color var(--trans); line-height: 1;
}
.lightbox__close:hover { color: var(--gold); }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); cursor: pointer;
  transition: all var(--trans);
}
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__prev:hover, .lightbox__next:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.4);
}

/* ─── DETAIL RESPONSIVE ────────────────────────────── */
@media (max-width: 1100px) {
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .price-card { display: grid; grid-template-columns: 1fr 1fr; }
  .price-card__top { padding: 28px; }
}
@media (max-width: 900px) {
  .gallery__main { grid-template-columns: 1fr; grid-template-rows: 300px; }
  .gallery__side { display: none; }
  .similar-grid { grid-template-columns: 1fr 1fr; }
  .params-grid { grid-template-columns: 1fr; }
  .gallery-full-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links, .nav__cta { display: none; }
  .similar-grid { grid-template-columns: 1fr; }
  .price-card { display: block; }
  .gallery-full-grid { grid-template-columns: 1fr; }
  .prop-header__specs { grid-template-columns: repeat(2,1fr); }
}
