/* ============================================================
   ŠPILÁČKOVÁ REALITY – style.css
   Fonts: Playfair Display + Poppins
   Palette: warm beige / gold / dark charcoal
   ============================================================ */

:root {
  --gold:        #b8976a;
  --gold-light:  #d4b896;
  --gold-dark:   #9a7a52;
  --beige:       #f5efe6;
  --beige-mid:   #ede4d8;
  --cream:       #faf7f3;
  --dark:        #1e1a16;
  --dark-mid:    #3a3028;
  --text:        #4a4038;
  --text-light:  #7a6e62;
  --white:       #ffffff;
  --shadow:      0 4px 24px rgba(30,26,22,.10);
  --shadow-lg:   0 12px 48px rgba(30,26,22,.16);
  --radius:      12px;
  --radius-sm:   6px;
  --transition:  .35s cubic-bezier(.4,0,.2,1);
  --header-h:    122px;
  --max-w:       1200px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--dark);
}

a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Helpers ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section-tag {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--dark);
  position: relative;
  margin-bottom: 24px;
}

.section-lead {
  font-size: .95rem;
  color: var(--text-light);
  max-width: 760px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.section-sub-tag {
  font-size: .9rem;
  color: var(--text-light);
  margin-top: -32px;
  margin-bottom: 48px;
  font-style: italic;
}

.req { color: var(--gold); }

/* ── Cookie Banner ────────────────────────────────────────── */
.cookie-banner {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark);
  color: var(--cream);
  padding: 20px 32px;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cookie-text { flex: 1; min-width: 240px; font-size: .85rem; line-height: 1.6; }
.cookie-text p { color: #c8bfb5; }
.cookie-text strong { color: var(--cream); font-size: .95rem; }
.cookie-text a { color: var(--gold-light); }

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-reject {
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: .85rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color var(--transition), background var(--transition);
}

.btn-cookie-reject:hover { border-color: var(--gold-light); background: rgba(184,151,106,.1); }

.btn-cookie-accept {
  padding: 10px 22px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-size: .85rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: background var(--transition);
}

.btn-cookie-accept:hover { background: var(--gold-dark); color: var(--white); }

/* ── Header ───────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  height: var(--header-h);
  background: rgba(245,239,230,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige-mid);
  transition: box-shadow var(--transition);
}

#header.scrolled { box-shadow: var(--shadow); }

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo { flex-shrink: 0; }
.logo-img { height: 102px; width: auto; }

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: var(--dark-mid);
  padding: 6px 14px;
  letter-spacing: .01em;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-dark);
  background: none;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-contact {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.nav-email {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--dark);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-phone {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: .02em;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 32px;
  background: var(--cream);
  overflow: hidden;
}

.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  column-gap: 64px;
}

/* Levý sloupec – flex stack */
.hero-left {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 0;
  padding-bottom: 40px;
}

/* Text roste, aby zaujal prostor nad tlačítkem, obsah se vertikálně centruje */
.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 420px;
}
.hero-cta      { grid-area: unset; }
.hero-features { grid-area: unset; }
.hero-image    { align-self: center; }

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.45rem);
  font-style: italic;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.38;
  margin-bottom: 18px;
  text-align: center;
}

.hero-divider {
  width: 44px;
  height: 1px;
  background: var(--dark);
  margin-bottom: 22px;
  opacity: .3;
  margin-left: auto;
  margin-right: auto;
}

.hero-headline-gold {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.45rem);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-dark);
  line-height: 1.38;
  text-align: center;
}

/* ── Hero CTA ─────────────────────────────────────────────── */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gold);
  border-radius: 99px;
  padding: 14px 20px 14px 14px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  max-width: 420px;
}
.hero-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.hero-cta-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-cta-icon svg { width: 22px; height: 22px; }

.hero-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.hero-cta-text strong {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.hero-cta-text span {
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  color: rgba(255,255,255,.8);
}

.hero-cta-arrow {
  font-size: 1.4rem;
  color: rgba(255,255,255,.85);
  flex-shrink: 0;
  line-height: 1;
}

/* ── Hero features (3 ikony) ──────────────────────────────── */
.hero-features {
  display: flex;
  gap: 32px;
  margin-top: 20px;
  max-width: 420px;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}
.hero-feature svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}
.hero-feature span {
  font-size: .75rem;
  line-height: 1.45;
  color: var(--text-light);
  white-space: nowrap;
}

.hero-feature-sep {
  width: 1px;
  height: 36px;
  background: var(--beige-mid);
  align-self: center;
  flex-shrink: 0;
}

/* Counter strip – standalone block below hero */
.counter-strip {
  background: var(--cream);
  padding: 32px 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--dark);
  text-align: center;
}

.hero-counter {
  display: flex;
  gap: 120px;
  justify-content: center;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.counter-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.8rem, 7vw, 5.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-dark);
  line-height: 1;
}

.counter-label {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  letter-spacing: .32em;
  color: var(--dark-mid);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  /* Výška obrázku = dostupná výška viewportu minus header a counter strip (~340 px) */
  max-height: clamp(320px, calc(100vh  - var(--header-h) - 100px), 720px);
  max-height: clamp(320px, calc(100svh - var(--header-h) - 100px), 720px);
  object-fit: cover;
  object-position: center 12%;
  border-radius: 56px;
}

/* ── O mně ────────────────────────────────────────────────── */
.o-mne { background: var(--cream); padding-top: 48px; }

.o-mne-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: flex-start;
}

.o-mne-photo {
  overflow: hidden;
}

.o-mne-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.o-mne-text .section-tag { display: block; }

.o-mne-text p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ── Služby ───────────────────────────────────────────────── */
.sluzby { background: var(--beige); }

.sluzby-intro-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.sluzby-intro-text .section-tag {
  display: block;
}

.sluzby-intro-text p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 12px;
  color: var(--text);
}

.sluzby-photo {
  overflow: hidden;
}

.sluzby-photo img {
  width: 100%;
  height: auto;
  border-radius: 50px;
  display: block;
}

.sluzby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sluzby-box {
  background: var(--dark);
  border-radius: 50px;
  padding: 36px 28px;
  color: var(--beige-mid);
  transition: transform var(--transition), box-shadow var(--transition);
}

.sluzby-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sluzby-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
}

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

.sluzby-box h3 {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
  text-align: center;
}

.sluzby-box p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #a09080;
}

/* ── Nemovitosti ──────────────────────────────────────────── */
.nemovitosti { background: var(--cream); }

.nemovitosti .section-tag { display: block; text-align: center; }

.nemovitosti .section-lead { text-align: center; margin: 0 auto 48px; }

.nem-pages-wrapper { position: relative; }

.nem-page { display: none; }
.nem-page.active {
  display: block;
  animation: nemFadeIn .4s ease both;
}

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

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

.nem-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.nem-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--beige-mid);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.nem-dot:hover { background: var(--gold-light); transform: scale(1.2); }
.nem-dot.active { background: var(--gold); transform: scale(1.25); }

.nem-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow);
  position: relative;
}

.nem-img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.nem-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  pointer-events: none;
}

.nem-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.nem-card:hover .nem-img-wrap img { transform: scale(1.06); }

.nem-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
}

.nem-tag { display: none; }

.nem-info p {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.35;
}

/* ── Články ───────────────────────────────────────────────── */
.clanky { background: var(--beige); }

.clanky-box {
  background: #fffdf8;
  border-radius: 24px;
  padding: 40px;
}


.clanky .section-tag { display: block; text-align: center; }
.clanky .section-lead { text-align: center; margin: 0 auto 48px; }

.clanky-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.clanek-hlavni {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.clanek-hlavni .clanek-img-wrap { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.clanek-hlavni .clanek-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.clanek-hlavni .clanek-body { padding: 28px 32px 32px; flex: 1; display: flex; flex-direction: column; }
.clanek-hlavni .clanek-title { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.clanek-hlavni .clanek-perex { font-size: .9rem; color: var(--text-light); margin-bottom: 24px; flex: 1; }

.clanky-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.clanek-small {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0;
  flex: 1;
}

.clanek-small .clanek-img-wrap {
  width: 140px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.clanek-small .clanek-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.clanek-small .clanek-body { padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; }
.clanek-small .clanek-title { font-family: 'Poppins', sans-serif; font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.clanek-small .clanek-perex { font-size: .8rem; color: var(--text-light); margin-bottom: 12px; flex: 1; }

.clanek-date {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(30,26,22,.65);
  color: var(--cream);
  font-size: .7rem;
  padding: 3px 10px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

.btn-clanek {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: .04em;
  font-family: 'Poppins', sans-serif;
  transition: gap var(--transition), color var(--transition);
  width: fit-content;
}

.btn-clanek:hover { color: var(--gold); gap: 10px; }

/* ── Article Modal ────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] { display: none; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,26,22,.7);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px 48px 56px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .3s cubic-bezier(.4,0,.2,1) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.6rem;
  color: var(--text-light);
  transition: color var(--transition);
  line-height: 1;
  padding: 4px 8px;
}

.modal-close:hover { color: var(--dark); }

#modalBody h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

#modalBody .modal-meta {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 28px;
  display: flex;
  gap: 16px;
}

#modalBody p {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 16px;
}

#modalBody h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--dark);
}

/* ── Kontakt ──────────────────────────────────────────────── */
.kontakt { background: var(--cream); }

.kontakt .section-tag { display: block; text-align: center; }
.kontakt .section-lead { text-align: center; margin: 0 auto 48px; max-width: none; white-space: nowrap; }

.kontakt-form-box {
  background: #fffdf8;
  border-radius: 24px;
  padding: 48px 56px;
  margin-bottom: 28px;
}

.kontakt-form { display: flex; flex-direction: column; gap: 24px; }

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

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

.form-group { display: flex; flex-direction: column; }

.form-group input,
.form-group textarea {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  color: var(--dark);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--beige-mid);
  border-radius: 0;
  padding: 12px 0;
  transition: border-color var(--transition);
  outline: none;
  resize: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gold);
  font-size: .88rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold-dark);
  box-shadow: none;
}

.form-group input.error,
.form-group textarea.error {
  border-bottom-color: #d64545;
}

.form-gdpr { text-align: center; }

.form-gdpr .checkbox-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.5;
}

.form-gdpr input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold-dark);
}

.form-message {
  font-size: .85rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-message.success { display: block; background: #e8f4f0; color: #2a7a5a; border: 1px solid #b0d8c8; }
.form-message.error-msg { display: block; background: #fef0f0; color: #c03030; border: 1px solid #f0c0c0; }

.btn-submit {
  align-self: center;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  padding: 14px 48px;
  border-radius: 50px;
  letter-spacing: .04em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-submit:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(154,122,82,.3);
}

.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .6; cursor: wait; }

/* Contact card */
.kontakt-card {
  display: grid;
  grid-template-columns: 1fr 380px;
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
}

.kontakt-card-info {
  background: var(--dark);
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.kontakt-card-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.kontakt-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
}

.kontakt-card .kontakt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.kontakt-card .kontakt-item img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: .8;
}

.kontakt-card .kontakt-item span,
.kontakt-card .kontakt-item a {
  font-size: 1.4rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

.kontakt-card .kontakt-item a:hover { color: var(--gold-light); }

.kontakt-card-info .kontakt-item:nth-child(3) img { width: 22px; height: 22px; }

.kontakt-card-logo {
  height: 160px;
  width: auto;
  margin-top: 36px;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.kontakt-card-photo {
  overflow: hidden;
}

.kontakt-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--beige);
  padding: 32px 0;
  border-top: 1px solid var(--beige-mid);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.footer-nav .nav-link {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-nav .nav-link:hover {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-copy {
  font-size: .95rem;
  color: var(--text-light);
  white-space: nowrap;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: .78rem;
  color: var(--text-light);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--gold-dark); }

/* ── Article page ─────────────────────────────────────────── */
.clanek-hero {
  height: clamp(200px, 34vw, 440px);
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 36px;
}

.clanek-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  border-radius: 16px;
}

.clanek-article {
  max-width: 800px;
  margin: calc(var(--header-h) + 48px) auto 0;
  padding: 0 48px 80px;
}

.clanek-article-meta {
  font-size: .78rem;
  color: var(--text-light);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.clanek-article h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 28px;
}

.clanek-article-divider {
  width: 44px;
  height: 1px;
  background: var(--gold);
  opacity: .7;
  margin-bottom: 36px;
}

.clanek-article p  { font-size: .97rem; line-height: 1.9; color: var(--text); margin-bottom: 16px; }
.clanek-article h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--dark); margin: 28px 0 10px; }
.clanek-article ul { margin: 0 0 18px 0; padding-left: 0; list-style: none; }
.clanek-article ul li {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 6px;
  padding-left: 22px;
  position: relative;
}
.clanek-article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.clanek-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--gold-dark);
  font-weight: 500;
  margin-top: 48px;
  margin-bottom: 20px;
  transition: gap var(--transition), color var(--transition);
  text-decoration: none;
}
/* Odkaz nahoře (před datem) nemá horní margin */
.clanek-article > .clanek-back:first-child { margin-top: 0; }
.clanek-back:hover { color: var(--dark); gap: 14px; }

@media (max-width: 680px) {
  .clanek-article { padding: 36px 20px 60px; }
  .clanek-article h1 { font-size: 1.6rem; }
}

/* ── GDPR page ────────────────────────────────────────────── */
.gdpr-page {
  max-width: 800px;
  margin: calc(var(--header-h) + 60px) auto 80px;
  padding: 0 32px;
}

.gdpr-page h1 { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; }
.gdpr-page .gdpr-date { font-size: .8rem; color: var(--text-light); margin-top: 40px; margin-bottom: 16px; }
.gdpr-page h2 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 600; margin: 32px 0 10px; color: var(--dark); }
.gdpr-page p, .gdpr-page li { font-size: .92rem; line-height: 1.85; color: var(--text); margin-bottom: 12px; }
.gdpr-page ul { padding-left: 20px; list-style: disc; }
.gdpr-page a { color: var(--gold-dark); }

/* ── Hero entrance animation ──────────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(72px) scale(.91); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   filter: blur(0);   }
}
@keyframes heroLineIn {
  from { opacity: 0; transform: scaleX(0); transform-origin: left center; }
  to   { opacity: .3; transform: scaleX(1); transform-origin: left center; }
}

.hero-headline      { animation: heroFadeUp 1.2s cubic-bezier(.16,1,.3,1)  .08s both; }
.hero-divider       { animation: heroLineIn  .7s cubic-bezier(.22,1,.36,1)  .88s both; }
.hero-headline-gold { animation: heroFadeUp 1.2s cubic-bezier(.16,1,.3,1)  1.12s both; }

/* ── Scroll-reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(.96);
  filter: blur(4px);
  transition:
    opacity   1.1s cubic-bezier(.16,1,.3,1),
    transform 1.1s cubic-bezier(.16,1,.3,1),
    filter    1.1s cubic-bezier(.16,1,.3,1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Section tag & lead – delší trvání, stagger */
.section-tag.reveal  {
  transition-duration: 1.3s;
}
.section-lead.reveal {
  transition-duration: 1.3s;
  transition-delay: .28s;
}

/* ── Responsive ───────────────────────────────────────────── */

/* ── 1350px – 1920×1200 při 150% škálování (CSS viewport ≈ 1280×800) ── */
@media (max-width: 1350px) and (min-width: 1101px) {
  .hero-content {
    column-gap: 48px;
    grid-template-columns: 1.1fr 1fr;
    padding: 0 36px;
    align-items: center;
  }
  .hero-headline,
  .hero-headline-gold { font-size: clamp(1.45rem, 2.2vw, 2rem); }
  .hero-left { padding-bottom: 28px; }
  .hero { padding-top: calc(var(--header-h) + 16px); padding-bottom: 20px; }
  .hero-features { gap: 20px; }
  /* Celá fotka viditelná – přirozené proporce, vejde se do výšky viewportu */
  .hero-image {
    display: flex;
    justify-content: center;
  }
  .hero-image img {
    width: auto;
    height: calc(100svh - var(--header-h) - 64px);
    max-height: none;
    object-fit: initial;
    border-radius: 40px;
  }
}

/* ── 1100px – velký tablet ─────────────────────────────────── */
@media (max-width: 1100px) {
  .sluzby-grid        { grid-template-columns: repeat(2, 1fr); }
  .nemovitosti-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-counter       { gap: 80px; }
  .logo-img           { height: 82px; }
  .nav-email          { font-size: .95rem; }
  .nav-phone          { font-size: 1.1rem; }
  .hero-headline,
  .hero-headline-gold { font-size: clamp(1.3rem, 2.2vw, 2rem); }
  .hero { padding-top: calc(var(--header-h) + 20px); }
}

/* ── 980px – střední tablet ────────────────────────────────── */
@media (max-width: 980px) {
  .logo-img  { height: 72px; }
  .nav-email { font-size: .82rem; }
  .nav-phone { font-size: .98rem; }
  .nav-link  { font-size: .88rem; }
}

/* ── 900px – tablet: hamburger přichází, layouty se skládají ─ */
@media (max-width: 900px) {
  /* Navigace */
  .hamburger { display: flex; }
  .nav-contact { display: none; }
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 32px;
    border-bottom: 1px solid var(--beige-mid);
    box-shadow: var(--shadow);
    gap: 4px;
    z-index: 799;
  }
  .nav-menu.open { display: flex; }
  .nav-link { font-size: 1rem; padding: 12px 0; border-radius: 0; border-bottom: none; }

  /* Hero */
  .hero { padding-top: calc(var(--header-h) + 12px); }
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "cta"
      "icons"
      "photo"
      "text";
    gap: 16px;
    align-items: start;
  }
  /* Rozpustí wrapper – děti se stávají přímými grid items */
  .hero-left     { display: contents; }
  .hero-text     { grid-area: text; padding-top: 0; }
  .hero-cta      { grid-area: cta; margin-top: 0 !important; }
  .hero-features { grid-area: icons; margin-top: 0; }
  .hero-image    { grid-area: photo; }
  .hero-image {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    max-height: none;
    margin-top: 0;
    align-self: auto;
  }
  .hero-image img {
    max-height: none;
    height: auto;
    border-radius: 20px;
    width: 100%;
    object-fit: initial;
  }
  .hero-headline,
  .hero-headline-gold { font-size: clamp(1.6rem, 4vw, 2.4rem); text-align: center; }
  .hero-divider { margin-left: auto; margin-right: auto; }
  .hero-cta { max-width: 100%; }
  .hero-features { gap: 20px; justify-content: center; max-width: 100%; }

  /* Counter */
  .counter-strip  { padding: 40px 32px 36px; }
  .hero-counter   { gap: 48px; }
  .counter-number { font-size: clamp(3rem, 8vw, 5rem); }

  /* Sekce */
  .section { padding: 72px 0; }
  .o-mne-grid          { grid-template-columns: 1fr; }
  .o-mne-photo         { max-width: 360px; margin: 0 auto; }
  .sluzby-intro-grid   { grid-template-columns: 1fr; }
  .sluzby-photo        { max-width: 360px; margin: 0 auto; order: -1; }
  .clanky-grid         { grid-template-columns: 1fr; }
  .clanky-box          { padding: 28px 24px; }

  /* Kontakt */
  .kontakt .section-lead { white-space: normal; }
  .kontakt-form-box    { padding: 36px 32px; }
  .form-row-3          { grid-template-columns: 1fr; }
  .kontakt-card        { grid-template-columns: 1fr; }
  .kontakt-card-photo  { height: auto; order: -1; }
  .kontakt-card-photo img { height: auto; object-fit: initial; }
  .kontakt-card-info   { padding: 36px 32px; }
  .kontakt-card-inner  { align-items: center; }
  .kontakt-card-name   { font-size: 1.5rem; margin-bottom: 20px; }
  .kontakt-card-logo   { height: 100px; margin-top: 24px; }
  .kontakt-card .kontakt-item span,
  .kontakt-card .kontakt-item a { font-size: 1rem; }

  /* Patička */
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-nav   { flex-wrap: wrap; justify-content: center; gap: 24px; }
  .footer-right { align-items: center; }
}

/* ── 680px – mobil ─────────────────────────────────────────── */
@media (max-width: 680px) {
  :root { --header-h: 84px; }
  .logo-img   { height: 64px; }
  .container  { padding: 0 20px; }
  .hero-content { padding: 0 20px; }
  .section    { padding: 52px 0; }
  .section-tag { font-size: 1.35rem; }

  /* Hero */
  .hero-headline,
  .hero-headline-gold { font-size: 1.75rem; }
  .hero-image      { margin-top: 6px; }
  .hero-image img  { height: auto; }
  .hero-cta        { margin-top: 24px; padding: 12px 16px 12px 12px; }
  .hero-cta-icon   { width: 40px; height: 40px; }
  .hero-cta-icon svg { width: 18px; height: 18px; }
  .hero-cta-text strong { font-size: .85rem; }
  .hero-features   { gap: 16px; flex-wrap: wrap; margin-top: 20px; justify-content: center; max-width: 100%; }

  /* Counter */
  .counter-strip   { padding: 28px 20px; gap: 14px; }
  .counter-number  { font-size: 2.8rem; }
  .hero-counter    { gap: 28px; }
  .hero-sub        { font-size: 1.1rem; }

  /* Grids */
  .sluzby-grid      { grid-template-columns: 1fr; }
  .nemovitosti-grid { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }

  /* Kontakt */
  .kontakt-form-box  { padding: 28px 20px; }
  .kontakt-card-info { padding: 28px 20px; }
  .kontakt-card-name { font-size: 1.3rem; margin-bottom: 16px; }
  .kontakt-card-logo { height: 80px; margin-top: 16px; }
  .kontakt-card .kontakt-item span,
  .kontakt-card .kontakt-item a { font-size: .9rem; }
  .kontakt-card .kontakt-item { gap: 10px; margin-bottom: 12px; }

  /* Články */
  .clanek-small { flex-direction: column; }
  .clanek-small .clanek-img-wrap { width: 100%; aspect-ratio: 16/7; }
  .clanky-box { padding: 20px 16px; }
}

/* ── 400px – velmi malé telefony ───────────────────────────── */
@media (max-width: 400px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .hero-counter { gap: 18px; }
  .counter-number { font-size: 2.4rem; }
}

/* Na krátkých mobilech (výška < 700 px) fotku skryj, aby byl counter vždy viditelný */
@media (max-width: 900px) and (max-height: 699px) {
  .hero-image { display: none; }
}

/* Podpis JD Studio One — stejný tvar jako podpis JD Vision */
.jdssig{display:inline-flex;align-items:center;gap:9px;padding:6px 15px 6px 6px;text-decoration:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:#14181d;border:1px solid rgba(201,169,122,.28);box-shadow:0 2px 11px rgba(0,0,0,.16);transition:.2s ease;border-radius:18px 8px 8px 18px}
.jdssig:hover{border-color:rgba(201,169,122,.6);transform:translateY(-1px)}
.jdssig__mark{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(201,169,122,.14);flex:none}
.jdssig__mark svg{width:16px;height:auto;display:block}.jdssig__rings{fill:none;stroke:#c9a97a}
.jdssig__txt{display:flex;flex-direction:column;gap:2px;align-items:stretch}
.jdssig__made{font-size:9px;letter-spacing:.19em;text-transform:uppercase;color:#8f887c;text-align:justify;text-align-last:justify}.jdssig__made b{color:#c9a97a;font-weight:600}
.jdssig__name{font-size:11px;font-weight:600;letter-spacing:.11em;color:#f2ede4}
.jdssig--light{background:#fff;border-color:rgba(162,130,63,.30);box-shadow:0 3px 14px rgba(40,30,10,.10)}
.jdssig--light .jdssig__mark{background:rgba(162,130,63,.12)}.jdssig--light .jdssig__rings{stroke:#a2823f}
.jdssig--light .jdssig__made{color:#8a8272}.jdssig--light .jdssig__made b{color:#a2823f}.jdssig--light .jdssig__name{color:#211d17}
.footer-legal{align-items:center;flex-wrap:wrap}
.footer-legal .jdssig{margin-left:4px}
@media (max-width:1100px){.footer-legal{justify-content:center}}
