/* ============================================================
   app.css – Podlahy Kovář
   Architektura: CSS Custom Properties → Dark luxury theme
   ============================================================ */

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul[role="list"] { list-style: none; }

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  /* Palette */
  --ink:         #16140e;
  --ink2:        #1f1d16;
  --ink3:        #26231b;
  --stone:       #48433a;
  --sand:        #b9a984;
  --sand-dim:    rgba(185,169,132,.45);
  --cream:       #f0eadd;
  --white:       #fdfcf8;
  --accent:      #c8925a;
  --accent2:     #8b6030;
  --accent-hover:#d9a570;
  --accent-dim:  rgba(200,146,90,.15);

  /* Text levels */
  --text-primary:   #fdfcf8;
  --text-body:      #ccc4b4;
  --text-muted:     #b0a898;
  --text-subtle:    #9c9488;
  --text-faint:     #706860;

  /* Typography */
  --serif: 'Montserrat', sans-serif;
  --sans:  'Montserrat', sans-serif;

  /* Spacing */
  --section-pad: 7rem 2rem;
  --max-w:       1290px;

  /* Misc */
  --radius:    4px;
  --radius-lg: 8px;
  --ease:      cubic-bezier(.4,0,.2,1);
  --t:         .28s;
  --transition: var(--t) var(--ease);
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--ink2); }
::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--sand); }

/* ── BODY ─────────────────────────────────────────────────── */
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── ACCESSIBILITY ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .6rem 1.2rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  font-size: .85rem;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

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

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
#top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2.5rem;
  /* Dark glass — průhledné temné sklo s blur efektem */
  background: rgba(22, 20, 14, .55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(185, 169, 132, .10);
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}
/* Po scrollu se sklo mírně ztmaví a dostane zlatavý glow */
#top-nav.scrolled {
  background: rgba(22, 20, 14, .78);
  border-bottom-color: rgba(185, 169, 132, .16);
  box-shadow:
    0 1px 0 rgba(185, 169, 132, .06),
    0 8px 32px rgba(8, 7, 5, .45);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 36px;
  width: auto;
filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.4rem;
}

.nav-link {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  /* Světlá barva textu na tmavém skleněném pozadí */
  color: var(--sand);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--cream); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent) !important;
  color: var(--ink) !important;
  padding: .5rem 1.4rem !important;
  border-radius: var(--radius) !important;
  font-size: .78rem;
  font-weight: 600 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(200, 146, 90, .32) !important;
}

/* ── Hamburger ─────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  /* Světlá čára na tmavém pozadí */
  background: var(--sand);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile overlay ────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0; z-index: 99;
  /* Hlubší tmavé sklo s výrazným blur — jasnější efekt než navbar */
  background: rgba(14, 12, 8, .82);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  /* Vstupní animace */
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s var(--ease);
}
.mobile-menu:not([hidden]) {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* Zlatavá dekorativní linka uprostřed pozadí */
.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200, 146, 90, .055) 0%, transparent 70%);
  pointer-events: none;
}

/* Jemná zlatavá horizontální linka nad navigací */
.mobile-menu nav::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto 2rem;
  opacity: .6;
}

.mm-close {
  position: absolute;
  top: 1.5rem; right: 1.8rem;
  background: rgba(185, 169, 132, .07);
  border: 1px solid rgba(185, 169, 132, .14);
  color: var(--sand);
  font-size: 1rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.mm-close:hover {
  background: rgba(200, 146, 90, .14);
  border-color: rgba(200, 146, 90, .3);
  color: var(--accent);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}

.mm-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  letter-spacing: .04em;
  padding: .45rem 1.4rem;
  position: relative;
  transition: color var(--transition), letter-spacing var(--transition);
}
/* Jemný hover efekt — rozšíření letter-spacing a zlatavá barva */
.mm-link:hover {
  color: var(--sand);
  letter-spacing: .07em;
}
/* Tenká zlatavá linka vlevo při hoveru */
.mm-link::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 1px; height: 60%;
  background: var(--accent);
  transition: transform .22s var(--ease);
}
.mm-link:hover::before { transform: translateY(-50%) scaleY(1); }

.mm-cta {
  margin-top: 2rem !important;
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  letter-spacing: .18em !important;
  color: var(--accent) !important;
  text-transform: uppercase;
  border: 1px solid rgba(200, 146, 90, .28);
  border-radius: var(--radius);
  padding: .55rem 1.6rem !important;
  transition: background var(--transition), border-color var(--transition), color var(--transition) !important;
}
.mm-cta:hover {
  background: rgba(200, 146, 90, .10) !important;
  border-color: rgba(200, 146, 90, .5) !important;
  color: var(--accent-hover) !important;
  letter-spacing: .18em !important; /* zrušit rozšíření z .mm-link:hover */
}
.mm-cta::before { display: none !important; }

.mm-footer {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
/* Jemná dělicí čára nad footer ikonami */
.mm-footer::before {
  content: '';
  position: absolute;
  top: -1rem; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 1px;
  background: rgba(185, 169, 132, .18);
}
.mm-footer a {
  color: var(--stone);
  font-size: 1.1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(185, 169, 132, .10);
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.mm-footer a:hover {
  color: var(--accent);
  border-color: rgba(200, 146, 90, .25);
  background: rgba(200, 146, 90, .07);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 65px;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(22,20,14,.25) 0%, rgba(22,20,14,.78) 50%, rgba(22,20,14,.97) 100%),
    url('/assets/images/image.png') center / cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: .3;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem 7rem;
}

.hero-content { max-width: 660px; }

.hero-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200,146,90,.3);
  padding: .4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.8rem;
}

.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 300;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 1.4rem;
  letter-spacing: -.01em;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--sand);
}

.hero-content > p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #ccc4b4;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.8rem; right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--sand);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .6;
  pointer-events: none;
}
.scroll-hint .line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--sand), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { opacity: .3; transform: scaleY(.5); }
  50%       { opacity: 1;  transform: scaleY(1); }
}

/* ═══════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink2);
  border-top: 1px solid rgba(185,169,132,.1);
  border-bottom: 1px solid rgba(185,169,132,.1);
  padding: 2rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .5rem 3.5rem;
  text-align: center;
}
.stat-item strong {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.stat-item span {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(185,169,132,.15);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .9rem 2.1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,146,90,.28);
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-sm   { font-size: .72rem; padding: .55rem 1.3rem; }

/* ═══════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════ */
section {
  padding: var(--section-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header { margin-bottom: 3.5rem; }

.section-label {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--sand); }
.section-sub {
  font-size: .95rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 560px;
}

hr.divider {
  border: none;
  border-top: 1px solid rgba(185,169,132,.1);
  margin: 0;
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(185,169,132,.1);
  border: 1px solid rgba(185,169,132,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--ink2);
  padding: 3rem 2.5rem;
  transition: background var(--transition);
  animation-delay: var(--delay, 0ms);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-card:hover { background: var(--ink3); }

.service-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1.6rem;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1); }

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: .7rem;
  line-height: 1.2;
}
.service-card p {
  font-size: .88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ═══════════════════════════════════════
   GALLERY PREVIEW
═══════════════════════════════════════ */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 6px;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-preview-grid .preview-tile:first-child {
  grid-row: span 2;
}
.preview-tile {
  position: relative;
  overflow: hidden;
  background: var(--ink3);
  display: block;
}
.preview-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.preview-tile:hover img { transform: scale(1.07); }

.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,20,14,.82) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.2rem 1.4rem;
  gap: .3rem;
}
.preview-tile:hover .preview-overlay { opacity: 1; }
.preview-overlay i { font-size: .85rem; color: var(--accent); }
.preview-overlay span {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--cream);
}

.gallery-cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(185,169,132,.18);
  padding: .6rem 1.3rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.ig-link:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
#kontakt .kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .42rem;
  margin-bottom: 1.2rem;
}
.form-group label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group label span { color: var(--accent); }

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(185,169,132,.07);
  border: 1px solid rgba(185,169,132,.24);
  color: var(--cream);
  padding: .88rem 1.1rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  width: 100%;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a984' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: var(--ink2); color: var(--cream); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #706860; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,146,90,.12);
}
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #e08080;
  box-shadow: 0 0 0 3px rgba(200,80,80,.1);
}

.form-note {
  font-size: .76rem;
  color: #8a8278;
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.form-note i { color: var(--accent); }

#form-msg {
  margin-top: 1rem;
  font-size: .88rem;
  text-align: center;
  padding: .7rem;
  border-radius: var(--radius);
  display: none;
}
#form-msg.success {
  display: block;
  background: rgba(200,146,90,.12);
  color: var(--accent);
  border: 1px solid rgba(200,146,90,.25);
}
#form-msg.error {
  display: block;
  background: rgba(200,80,80,.1);
  color: #e08080;
  border: 1px solid rgba(200,80,80,.25);
}

/* Contact info sidebar */
.contact-info h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: .7rem;
}
.contact-info > p {
  font-size: .92rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.78;
  margin-bottom: 2.8rem;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.ci-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(200,146,90,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .1rem;
}
.contact-item > div strong {
  display: block;
  font-size: .67rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: .2rem;
}
.contact-item > div span,
.contact-item > div a {
  font-size: .95rem;
  color: #e8e0d4;
  transition: color var(--transition);
}
.contact-item > div a:hover { color: var(--accent); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
#site-footer {
  border-top: 1px solid rgba(185,169,132,.1);
  padding: 3rem 2.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(185,169,132,.08);
}
.footer-logo img { height: 32px; width: auto; max-width: 160px; object-fit: contain;filter: brightness(0) invert(1); }
.footer-tagline {
  font-size: .72rem;
  color: var(--text-faint);
  letter-spacing: .12em;
  margin-top: .7rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.footer-nav a {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--sand); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-style: normal;
}
.footer-contact a,
.footer-contact span {
  font-size: .88rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--sand); }

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-social a {
  color: var(--text-faint);
  font-size: 1.1rem;
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .72rem;
  color: #5a5450;
}
.footer-credit a {
  color: var(--accent);
  transition: color var(--transition);
}
.footer-credit a:hover { color: var(--accent-hover); }

/* ═══════════════════════════════════════
   COOKIE BAR
═══════════════════════════════════════ */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--ink2);
  border-top: 1px solid rgba(185,169,132,.14);
  padding: 1.1rem 2.5rem;
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}
.cookie-bar.visible { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cookie-text i {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}
.cookie-text p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cookie-actions { flex-shrink: 0; }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--delay, 0ms);
}
.fade-up.in {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════
   GALERIE PAGE
═══════════════════════════════════════ */

/* Page header */
.page-header {
  padding: 6.5rem 2.5rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.page-label {
  display: block;
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.07;
}
.page-title em { font-style: italic; color: var(--sand); }
.page-count {
  font-size: .82rem;
  color: rgba(185,169,132,.5);
  margin-top: .9rem;
  letter-spacing: .06em;
}
.page-ig {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand);
  border: 1px solid rgba(185,169,132,.2);
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.page-ig:hover { border-color: var(--accent); color: var(--accent); }

/* Filter bar */
.filters-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem 2.5rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}
.filters-label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(185,169,132,.38);
  margin-right: .4rem;
}
.f-btn {
  background: transparent;
  border: 1px solid rgba(185,169,132,.16);
  color: var(--sand);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .45rem 1.05rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}
.f-btn:hover  { border-color: rgba(200,146,90,.45); color: var(--cream); }
.f-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  font-weight: 500;
}

/* Masonry grid */
.gallery-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem 6rem;
}
.masonry {
  columns: 4 260px;
  column-gap: 7px;
}
.m-item {
  break-inside: avoid;
  margin-bottom: 7px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink3);
  border-radius: 2px;
  transition: opacity .3s, transform .3s;
}
.m-item.hidden {
  display: none;
}
.m-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.m-item:hover img { transform: scale(1.05); }

.m-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,20,14,.9) 0%, rgba(22,20,14,.08) 55%, transparent 100%);
  opacity: 0;
  transition: opacity .32s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}
.m-item:hover .m-overlay,
.m-item:focus .m-overlay { opacity: 1; }

.m-cat {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .25rem;
}
.m-label {
  font-family: var(--serif);
  font-size: .98rem;
  color: var(--cream);
  line-height: 1.2;
}
.m-zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.6);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(200,146,90,.14);
  border: 1px solid rgba(200,146,90,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  opacity: 0;
  transition: .32s;
}
.m-item:hover .m-zoom,
.m-item:focus .m-zoom {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 6rem 2rem;
}
.empty-state i {
  font-size: 3rem;
  color: var(--stone);
  margin-bottom: 1.5rem;
  display: block;
}
.empty-state h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--sand);
  margin-bottom: .7rem;
}
.empty-state p {
  font-size: .9rem;
  color: rgba(185,169,132,.5);
  line-height: 1.75;
}
.empty-state code {
  background: var(--ink2);
  padding: .15rem .45rem;
  border-radius: 3px;
  font-size: .85em;
  color: var(--accent);
}

/* ═══════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0; z-index: 200;
  background: rgba(8,7,5,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
#lightbox.open { display: flex; }

.lb-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
}
#lb-img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 32px 100px rgba(0,0,0,.72);
  transition: opacity .2s;
}
#lb-img.loading { opacity: 0; }

.lb-meta {
  margin-top: 1.2rem;
  text-align: center;
}
.lb-meta-cat {
  font-size: .63rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .2rem;
}
.lb-meta-label {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--sand);
}
.lb-meta-count {
  font-size: .7rem;
  color: rgba(185,169,132,.38);
  margin-top: .3rem;
  letter-spacing: .08em;
}

.lb-btn {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(185,169,132,.08);
  border: 1px solid rgba(185,169,132,.14);
  color: var(--cream);
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lb-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
#lb-prev { left: 1.5rem; }
#lb-next { right: 1.5rem; }

.lb-close {
  position: fixed;
  top: 1.4rem; right: 1.8rem;
  background: none; border: none;
  color: rgba(185,169,132,.55);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition);
  display: flex; align-items: center;
}
.lb-close:hover { color: var(--accent); }

.lb-thumbs {
  display: flex;
  gap: 6px;
  margin-top: 1.2rem;
  max-width: 70vw;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
}
.lb-thumb {
  width: 50px; height: 38px;
  object-fit: cover;
  opacity: .38;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity var(--transition);
  flex-shrink: 0;
  border: 1px solid transparent;
}
.lb-thumb:hover { opacity: .75; }
.lb-thumb.active { opacity: 1; border-color: var(--accent); }

/* ═══════════════════════════════════════
   404 ERROR PAGE
═══════════════════════════════════════ */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
}
.error-wrap {
  max-width: var(--max-w);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 5rem;
}
.error-code {
  font-family: var(--serif);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(185,169,132,.2);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}
.error-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.12;
  margin: .6rem 0 1rem;
}
.error-title em { font-style: italic; color: var(--sand); }
.error-sub {
  font-size: .95rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 2rem;
}
.error-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.error-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.error-nav span { color: rgba(185,169,132,.35); }
.error-nav a {
  color: var(--text-subtle);
  transition: color var(--transition);
}
.error-nav a:hover { color: var(--accent); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-preview-grid .preview-tile:first-child { grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .error-wrap { gap: 3rem; }
}

@media (max-width: 900px) {
  :root { --section-pad: 5rem 1.5rem; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  #top-nav { padding: .95rem 1.5rem; }

  #kontakt .kontakt-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .stats-bar { gap: 0; }
  .stat-item { padding: .5rem 2rem; }

  .gallery-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
  .gallery-preview-grid .preview-tile:first-child { grid-row: auto; }

  .page-header { padding: 4.5rem 1.5rem 2rem; }
  .filters-bar { padding: 0 1.5rem 2rem; }
  .gallery-wrap { padding: 0 1.5rem 4rem; }
  .masonry { columns: 3 180px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .scroll-hint { display: none; }

  .error-wrap { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .error-code { font-size: clamp(4rem, 20vw, 7rem); }
}

@media (max-width: 640px) {
  :root { --section-pad: 4rem 1.2rem; }
  #top-nav { padding: .85rem 1.2rem; }
  .hero-inner { padding: 0 1.2rem 5rem; }
  .stats-bar { flex-direction: column; gap: 1.5rem; padding: 2rem 1.2rem; }
  .stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .masonry { columns: 2 130px; column-gap: 5px; }
  .m-item { margin-bottom: 5px; }
  .lb-btn { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .cookie-bar { padding: 1rem 1.2rem; }
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .error-page { padding: 6rem 1.2rem 3rem; }
}

/* ═══════════════════════════════════════
   PAGINATION – infinite scroll
═══════════════════════════════════════ */
.pg-hidden {
  display: none !important;
}

.pg-sentinel {
  width: 100%;
  height: 1px;
  visibility: hidden;
}

.pg-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: 2.5rem 0;
  color: var(--text-subtle);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pg-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(185,169,132,.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: pg-spin .7s linear infinite;
}

@keyframes pg-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════
   VIDEO SEKCE
═══════════════════════════════════════ */
.video-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(185,169,132,.12);
  padding-bottom: 0;
}

.video-tab {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-subtle);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .75rem 1.4rem;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  margin-bottom: -1px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.video-tab:hover { color: var(--cream); }
.video-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(200,146,90,.05);
}
.video-tab i { font-size: .85rem; }

.video-panel { display: none; }
.video-panel.active { display: block; }
.video-panel:first-of-type { display: block; } /* fallback bez JS */

/* Grid layout – 1 / 2 / 3 videa */
.video-grid {
  display: grid;
  gap: 1.5rem;
}
.video-grid-1 { grid-template-columns: 1fr; max-width: 780px; }
.video-grid-2 { grid-template-columns: repeat(2, 1fr); }
.video-grid-3 { grid-template-columns: repeat(3, 1fr); }

.video-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--ink2);
  border: 1px solid rgba(185,169,132,.1);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.video-title {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: .75rem;
  line-height: 1.5;
  letter-spacing: .03em;
}

@media (max-width: 900px) {
  .video-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .video-grid-2,
  .video-grid-3 { grid-template-columns: 1fr; }
  .video-tab { font-size: .72rem; padding: .6rem .9rem; }
}

/* ═══════════════════════════════════════
   DOPLŇKY K EXISTUJÍCÍMU CSS
   (připojit na konec app.css)
═══════════════════════════════════════ */

/* ── Videa na výšku (portrait) ────────────────────────────── */
.video-portrait {
  aspect-ratio: 9 / 16 !important;
  max-height: 520px;
  max-width: 300px;
  margin: 0 auto;
}
.video-portrait video {
  object-fit: cover;
}

/* Grid pro portrait videa – centrovaný */
.video-grid-1.video-grid { justify-items: center; }
.video-grid-2.video-grid { 
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
}
.video-grid-3.video-grid { 
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
}

@media (max-width: 900px) {
  .video-grid-3.video-grid { grid-template-columns: repeat(2, minmax(0, 300px)); }
  .video-portrait { max-height: 440px; }
}
@media (max-width: 640px) {
  .video-grid-2.video-grid,
  .video-grid-3.video-grid { grid-template-columns: minmax(0, 300px); }
}

/* ── Odkaz do galerie ze servisní karty ───────────────────── */
.service-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color var(--transition), gap var(--transition);
}
.service-gallery-link:hover {
  color: var(--accent-hover);
  gap: .7rem;
}
.service-gallery-link i { font-size: .82rem; }

.service-card {
  /* Zajistí, že odkaz je vždy dole */
  justify-content: flex-start;
}

/* ── Galerie – skrytý m-label ─────────────────────────────── */
.m-label { display: none; }

/* ── Cookie lišta – rozšířená ────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--ink2);
  border-top: 1px solid rgba(185,169,132,.14);
  padding: 1.2rem 2.5rem;
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}
.cookie-bar.visible { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}
.cookie-text > i {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .1rem;
}
.cookie-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .25rem;
}
.cookie-text p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cookie-more-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-more-link:hover { color: var(--accent-hover); }

.cookie-actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cookie-bar { padding: 1rem 1.2rem; }
  .cookie-inner { flex-direction: column; gap: 1rem; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ── GDPR stránka ─────────────────────────────────────────── */
.gdpr-page {
  padding: 7rem 2rem 5rem;
}
.gdpr-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.gdpr-header {
  margin-bottom: 3.5rem;
}
.gdpr-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin: .8rem 0 .6rem;
}
.gdpr-title em { font-style: italic; color: var(--sand); }
.gdpr-updated {
  font-size: .78rem;
  color: var(--text-subtle);
  letter-spacing: .08em;
}

.gdpr-content { display: flex; flex-direction: column; gap: 3rem; }

.gdpr-section h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(185,169,132,.12);
}
.gdpr-section p {
  font-size: .92rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: .8rem;
}
.gdpr-section p:last-child { margin-bottom: 0; }
.gdpr-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: .8rem 0;
}
.gdpr-section ul li {
  font-size: .92rem;
  color: var(--text-body);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.7;
}
.gdpr-section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .7em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.gdpr-section a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.gdpr-section a:hover { color: var(--accent-hover); }

.gdpr-card {
  background: var(--ink2);
  border: 1px solid rgba(185,169,132,.12);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  font-size: .92rem;
  color: var(--text-body);
  line-height: 1.8;
}
.gdpr-card strong { color: var(--cream); }
.gdpr-card a { color: var(--accent); }

/* GDPR tabulka */
.gdpr-table-wrap { overflow-x: auto; margin: .8rem 0; }
.gdpr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.gdpr-table th {
  background: var(--ink2);
  color: var(--sand);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .8rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(185,169,132,.15);
}
.gdpr-table td {
  padding: .8rem 1rem;
  color: var(--text-body);
  border-bottom: 1px solid rgba(185,169,132,.07);
  vertical-align: top;
}
.gdpr-table tr:last-child td { border-bottom: none; }
.gdpr-table tr:hover td { background: rgba(185,169,132,.03); }

/* Cookie typy */
.cookie-types { display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0; }
.cookie-type {
  background: var(--ink2);
  border: 1px solid rgba(185,169,132,.1);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
}
.cookie-necessary  { border-left: 3px solid var(--accent); }
.cookie-analytics  { border-left: 3px solid rgba(185,169,132,.4); }
.cookie-marketing  { border-left: 3px solid rgba(185,169,132,.18); }

.ct-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .7rem;
}
.ct-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(200,146,90,.25);
  padding: .2rem .6rem;
  border-radius: 2px;
}
.ct-badge-opt { background: rgba(185,169,132,.08); color: var(--sand); border-color: rgba(185,169,132,.2); }
.ct-badge-mkt { background: rgba(185,169,132,.04); color: var(--text-subtle); border-color: rgba(185,169,132,.1); }
.ct-status {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ct-status.always  { color: #6dba7a; }
.ct-status.optional { color: var(--text-subtle); }

.cookie-type h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: .5rem;
}
.cookie-type p {
  font-size: .88rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: .6rem;
}
.cookie-type ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.cookie-type ul li {
  font-size: .82rem;
  color: var(--text-muted);
}
.cookie-type ul li code {
  background: var(--ink3);
  padding: .1rem .4rem;
  border-radius: 3px;
  font-size: .85em;
  color: var(--accent);
}

.gdpr-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .82rem;
  color: var(--text-subtle);
  margin: 1rem 0 .8rem;
}
.gdpr-note i { color: var(--accent); margin-top: .1rem; flex-shrink: 0; }

/* Práva grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}
.right-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--ink2);
  border: 1px solid rgba(185,169,132,.08);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
}
.right-item > i {
  font-size: 1rem;
  color: var(--accent);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(200,146,90,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.right-item strong {
  display: block;
  font-size: .85rem;
  color: var(--cream);
  margin-bottom: .25rem;
}
.right-item p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 !important;
}

.gdpr-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(185,169,132,.1);
}

@media (max-width: 640px) {
  .gdpr-page { padding: 5rem 1.2rem 4rem; }
  .rights-grid { grid-template-columns: 1fr; }
  .gdpr-actions { flex-direction: column; }
  .gdpr-actions .btn { width: 100%; justify-content: center; }
}
