*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:     #f5f0e6;
  --cream-2:   #efe7d8;
  --white:     #fbf8f1;
  --ink:       #221c14;
  --ink-2:     #5c5347;
  --ink-3:     #938977;
  --accent:    #a06a3c;
  --accent-2:  #7d4f29;
  --line:      rgba(34, 28, 20, 0.12);
  --line-2:    rgba(34, 28, 20, 0.22);
  --dark:      #1a1611;
  --dark-2:    #221d16;
  --on-dark:   #f1eadc;
  --on-dim:    #aba08c;

  --disp: 'Clash Display', system-ui, sans-serif;
  --sans: 'General Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--disp); font-weight: 500; line-height: 1.04; letter-spacing: -0.015em; }

::selection { background: var(--accent); color: var(--white); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .wrap { padding: 0 22px; } }
@media (max-width: 380px) { .wrap { padding: 0 16px; } }

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent); opacity: 0.6; }
.eyebrow.on-dark { color: #d8b487; }
.eyebrow.on-dark::before { background: #d8b487; }

.btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 15px 28px; font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  letter-spacing: 0.01em; text-decoration: none; border-radius: 100px;
  cursor: pointer; border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-solid { background: var(--ink); color: var(--cream); }
.btn-solid:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--accent); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ── NAV ── */
#navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 20px 0;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); transform-origin: left center; transition: color 0.45s var(--ease), transform 0.45s var(--ease); }
.logo-ico { width: 48px; height: 48px; flex-shrink: 0; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt b { font-family: var(--disp); font-weight: 600; font-size: 27px; letter-spacing: 0.005em; }
.logo-txt small { font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.72; margin-top: 5px; }
.logo .dot { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82); text-decoration: none; font-size: 14.5px; font-weight: 500;
  position: relative; transition: color 0.3s; padding: 4px 0;
}
.nav-links a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: currentColor; transition: width 0.3s var(--ease); }
.nav-links a:not(.nav-cta):hover { color: #fff; }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a.nav-cta { background: var(--cream); color: var(--ink) !important; padding: 13px 28px; border-radius: 100px; font-weight: 600; display: inline-flex; align-items: center; transition: background 0.3s, color 0.3s; }
.nav-links a.nav-cta:hover { background: var(--accent); color: #fff !important; }

/* solid nav: home after scroll (.scrolled) or always on inner pages (.solid) */
nav.scrolled, nav.solid {
  background: rgba(245, 240, 230, 0.86);
  backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}
nav.scrolled .logo, nav.solid .logo { color: var(--ink); }
nav.scrolled .nav-links a:not(.nav-cta), nav.solid .nav-links a:not(.nav-cta) { color: var(--ink-2); }
nav.scrolled .nav-links a:not(.nav-cta):hover, nav.solid .nav-links a:not(.nav-cta):hover { color: var(--ink); }
nav.scrolled .nav-cta, nav.solid .nav-cta { background: var(--ink); color: var(--cream) !important; }
nav.scrolled .nav-cta:hover, nav.solid .nav-cta:hover { background: var(--accent-2); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; z-index: 101; }
.burger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
nav.scrolled .burger span, nav.solid .burger span { background: var(--ink); }
.burger.open span { background: var(--ink); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu { display: none; position: fixed; inset: 0; background: var(--cream); z-index: 99; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 0 32px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--ink); text-decoration: none; font-family: var(--disp); font-weight: 500; font-size: clamp(38px, 11vw, 60px); line-height: 1.1; }
.mobile-menu a:hover { color: var(--accent); }

@media (max-width: 900px) { .nav-links { display: none; } .burger { display: flex; } }
@media (max-width: 480px) {
  #navbar { padding: 18px 0; }
  .logo-ico { width: 40px; height: 40px; }
  .logo-txt b { font-size: 21px; }
  .logo-txt small { font-size: 8px; letter-spacing: 0.2em; }
}

/* ── HERO ── */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.12); will-change: transform; }
.hero.in .hero-media img { animation: kenburns 16s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero-veil { position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(20,16,11,0.62) 0%, rgba(20,16,11,0.30) 45%, rgba(20,16,11,0) 75%),
  linear-gradient(to top, rgba(20,16,11,0.85) 0%, rgba(20,16,11,0.50) 34%, rgba(20,16,11,0.10) 62%, rgba(20,16,11,0.22) 100%); }

.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(54px, 8vh, 96px); }
.hero .eyebrow { margin-bottom: 26px; opacity: 0; transform: translateY(16px); }
.hero.in .eyebrow { animation: up 0.9s var(--ease) 0.3s forwards; }
.hero h1 { color: var(--white); font-size: clamp(2.9rem, 7.2vw, 6.6rem); font-weight: 500; max-width: 17ch; }
.hero h1 .l { display: block; overflow: hidden; }
.hero h1 .l > span { display: block; transform: translateY(110%); }
.hero.in h1 .l > span { animation: rise 1.05s var(--ease) forwards; }
.hero.in h1 .l:nth-child(1) > span { animation-delay: 0.42s; }
.hero.in h1 .l:nth-child(2) > span { animation-delay: 0.54s; }
.hero h1 em { font-style: normal; font-weight: inherit; color: inherit; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes up { to { opacity: 1; transform: translateY(0); } }

.hero-sub { color: rgba(241,234,220,0.82); font-size: 17px; line-height: 1.62; max-width: 480px; margin: 28px 0 34px; opacity: 0; transform: translateY(16px); }
.hero.in .hero-sub { animation: up 0.9s var(--ease) 0.78s forwards; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(16px); }
.hero.in .hero-actions { animation: up 0.9s var(--ease) 0.9s forwards; }

.hero-tag {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: clamp(54px, 8vh, 96px); z-index: 2;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(241,234,220,0.7); writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px;
  opacity: 0;
}
.hero.in .hero-tag { animation: up 0.9s var(--ease) 1.1s forwards; }
.hero-tag::after { content: ''; width: 1px; height: 46px; background: linear-gradient(rgba(241,234,220,0.6), transparent); animation: scrollPulse 2.4s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(0.6); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 640px) { .hero-tag { display: none; } }

/* ── SECTION / ABOUT ── */
.section { padding: clamp(80px, 12vh, 140px) 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.about-copy h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin: 22px 0 26px; max-width: 16ch; }
.about-copy h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.about-copy p { font-size: 16.5px; line-height: 1.78; color: var(--ink-2); margin-bottom: 18px; max-width: 480px; }

.stats { display: flex; gap: clamp(28px, 4vw, 52px); margin-top: 44px; padding-top: 38px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.stat .v { font-family: var(--disp); font-weight: 500; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: var(--ink); }
.stat .v .u { color: var(--accent); }
.stat .k { font-size: 13px; color: var(--ink-3); margin-top: 10px; max-width: 15ch; }

.figure { position: relative; overflow: hidden; border-radius: 4px; }
.figure img { width: 100%; display: block; }
.about-figure { aspect-ratio: 4/4.6; }
.about-figure img { height: 100%; object-fit: cover; }
.badge { position: absolute; left: 18px; bottom: 18px; background: rgba(20,16,11,0.6); backdrop-filter: blur(6px); color: var(--cream); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 15px; border-radius: 100px; }

@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } .about-copy p { max-width: none; } .about-figure { order: -1; aspect-ratio: 5/4; } }

/* ── HOME SERVICES (showcase) ── */
.services { background: var(--white); }
.svc-top { max-width: 640px; margin-bottom: 52px; }
.svc-top h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin-top: 20px; }
.svc-top h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.svc-top p { font-size: 16.5px; line-height: 1.72; color: var(--ink-2); margin-top: 18px; }
.svc-top .btn { margin-top: 26px; }

.svc-stage { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.svc-menu { display: flex; flex-direction: column; }
.svc-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; width: 100%; text-align: left; background: none; border: none; border-top: 1px solid var(--line); padding: 24px 6px; cursor: pointer; font-family: var(--sans); color: var(--ink); transition: padding-left 0.4s var(--ease); }
.svc-menu .svc-link:last-child { border-bottom: 1px solid var(--line); }
.svc-link .n { font-family: var(--disp); font-weight: 500; font-size: 14px; color: var(--ink-3); transition: color 0.3s ease; }
.svc-link .t { font-family: var(--disp); font-weight: 500; font-size: clamp(1.3rem, 2.1vw, 1.85rem); letter-spacing: -0.01em; transition: color 0.3s ease; }
.svc-link .a { font-size: 19px; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity 0.35s ease, transform 0.4s var(--ease); }
.svc-link.active { padding-left: 16px; }
.svc-link.active .n { color: var(--accent); }
.svc-link.active .t { color: var(--accent); }
.svc-link.active .a { opacity: 1; transform: translateX(0); }

.svc-view { position: sticky; top: 104px; }
.svc-frame { position: relative; aspect-ratio: 4 / 3.3; border-radius: 8px; overflow: hidden; background: var(--cream-2); }
.svc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); }
.svc-slide.active { opacity: 1; }
.svc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 26px 24px; background: linear-gradient(to top, rgba(18,14,9,0.84), rgba(18,14,9,0.22) 68%, rgba(18,14,9,0)); }
.svc-cap h3 { font-family: var(--disp); font-weight: 500; font-size: 1.35rem; color: #fff; }
.svc-cap p { font-size: 14px; line-height: 1.6; color: rgba(241,234,220,0.85); margin-top: 7px; max-width: 48ch; }
@media (max-width: 880px) { .svc-stage { grid-template-columns: 1fr; gap: 24px; } .svc-view { position: static; } .svc-frame { aspect-ratio: 16 / 11; } .svc-top { margin-bottom: 36px; } }

/* ── SERVICES PAGE (sluzby.html) ── */
.page-hero { padding: 150px 0 clamp(40px, 6vh, 70px); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 15ch; }
.page-hero h1 em { font-style: normal; font-weight: inherit; color: inherit; }
.page-hero p { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.72; color: var(--ink-2); max-width: 56ch; margin-top: 24px; }
.svc-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.svc-index a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 9px 17px; border: 1px solid var(--line-2); border-radius: 100px; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.svc-index a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.svc-band { border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.svc-band > .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; padding-top: clamp(56px, 9vh, 100px); padding-bottom: clamp(56px, 9vh, 100px); }
.svc-band-media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 5/4; background: var(--cream-2); }
.svc-band-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.svc-band:hover .svc-band-media img { transform: scale(1.04); }
.svc-band-media .num { position: absolute; top: 16px; left: 16px; font-family: var(--disp); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; color: var(--cream); background: rgba(20,16,11,0.6); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 100px; }
.svc-band.rev .svc-band-media { order: 2; }
.svc-band-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 16px 0 20px; }
.svc-band-copy h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.svc-band-copy > p { font-size: 16px; line-height: 1.78; color: var(--ink-2); margin-bottom: 26px; max-width: 48ch; }
.svc-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 24px; margin-bottom: 32px; }
.svc-points li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.svc-points li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (max-width: 820px) {
  .svc-band > .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
  .svc-band .svc-band-media, .svc-band.rev .svc-band-media { order: -1; aspect-ratio: 16/10; }
}
@media (max-width: 460px) { .svc-points { grid-template-columns: 1fr; } }

.svc-cta { text-align: center; padding: clamp(64px, 11vh, 120px) 0; }
.svc-cta h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 18ch; margin: 0 auto 28px; }
.svc-cta h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.svc-cta .btn { margin: 0 6px 10px; }

/* ── GALLERY ── */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 42px; }
.gallery-head h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin-top: 18px; }
.gallery-head h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.gallery-link { font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--accent); padding-bottom: 4px; transition: gap 0.3s var(--ease), color 0.3s; white-space: nowrap; }
.gallery-link:hover { color: var(--accent); gap: 13px; }

.gallery-nav { display: flex; align-items: center; gap: 10px; }
.gscroll { width: 92px; height: 2px; background: var(--line); border-radius: 2px; margin-right: 16px; overflow: hidden; }
.gscroll-bar { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 2px; transition: width 0.45s var(--ease); }
.gnav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s ease; }
.gnav:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.gnav:disabled { opacity: 0.25; cursor: default; background: transparent; color: var(--ink); border-color: var(--line-2); }
.gallery-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, clamp(168px, 20vw, 238px)); grid-auto-columns: clamp(200px, 24vw, 290px); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery-grid::-webkit-scrollbar { display: none; }
.gi { overflow: hidden; cursor: pointer; position: relative; border-radius: 4px; background: var(--cream-2); scroll-snap-align: start; }
.gi img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.95s var(--ease); }
.gi:hover img { transform: scale(1.06); }
.gi::after { content: '↗'; position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 15px; opacity: 0; transform: scale(0.6) rotate(-12deg); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.gi:hover::after { opacity: 1; transform: scale(1) rotate(0); }
.gi:nth-child(6n+1) { grid-row: span 2; grid-column: span 2; }
.gi:nth-child(6n+4) { grid-row: span 2; }
@media (max-width: 560px) { .gallery-grid { grid-template-rows: repeat(2, 40vw); grid-auto-columns: 46vw; } }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(18,14,9,0.96); z-index: 200; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; border-radius: 4px; }
.lb-close { position: absolute; top: 20px; right: 28px; color: #d8cfbf; font-size: 30px; cursor: pointer; background: none; border: none; line-height: 1; padding: 8px; transition: color 0.2s; }
.lb-close:hover { color: #fff; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.07); color: #fff; border: none; cursor: pointer; padding: 17px 21px; font-size: 18px; border-radius: 4px; transition: background 0.2s; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.16); }
.lb-prev { left: 22px; } .lb-next { right: 22px; }

/* ── PROCESS ── */
.process { background: var(--white); }
.process-head { text-align: center; margin-bottom: 64px; }
.process-head .eyebrow { justify-content: center; }
.process-head h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin-top: 18px; }
.process-head h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { padding-top: 26px; border-top: 1px solid var(--ink); }
.step .n { font-family: var(--disp); font-weight: 500; font-size: 15px; color: var(--accent); margin-bottom: 22px; }
.step h3 { font-family: var(--disp); font-weight: 500; font-size: 20px; margin-bottom: 12px; }
.step p { font-size: 14px; line-height: 1.68; color: var(--ink-2); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; gap: 30px 24px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 84px); align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin: 22px 0 24px; max-width: 14ch; }
.contact-info h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.contact-info > p { font-size: 16.5px; line-height: 1.78; color: var(--ink-2); margin-bottom: 40px; max-width: 380px; }
.cd { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.cd:last-child { border-bottom: 1px solid var(--line); }
.cd .ic { width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 50%; }
.cd .ic svg { width: 17px; height: 17px; color: var(--accent-2); }
.cd .k { font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.cd .vv { font-size: 16px; color: var(--ink); }
.cd .vv a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.cd .vv a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--white); padding: clamp(26px, 4vw, 44px); border-radius: 6px; border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 15px; background: var(--cream);
  border: 1px solid var(--line-2); color: var(--ink);
  padding: 13px 15px; border-radius: 6px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(160,106,60,0.13); }
.field textarea { min-height: 124px; resize: vertical; }
.field.sel { position: relative; }
.field.sel::after { content: '▾'; position: absolute; right: 16px; bottom: 14px; color: var(--ink-3); pointer-events: none; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } .contact-info > p { max-width: none; } .form-row { grid-template-columns: 1fr; } }

/* ── REVIEWS ── */
.reviews { background: var(--cream-2); }
.rev-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.rev-head .eyebrow { justify-content: center; }
.rev-head h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin-top: 18px; }
.rev-head h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.rev-rating { display: inline-flex; align-items: center; gap: 13px; margin-top: 26px; padding: 11px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 100px; flex-wrap: wrap; justify-content: center; }
.rev-rating .score { font-family: var(--disp); font-weight: 500; font-size: 21px; color: var(--ink); }
.rev-rating .stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.rev-rating .count { font-size: 13.5px; color: var(--ink-3); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 15px; }
.rev-top { display: flex; align-items: center; gap: 13px; }
.rev-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--cream-2); color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 600; font-size: 17px; flex-shrink: 0; }
.rev-name { font-family: var(--disp); font-weight: 500; font-size: 15.5px; color: var(--ink); }
.rev-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.rev-card .stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }
.rev-card p { font-size: 14.5px; line-height: 1.66; color: var(--ink-2); }
@media (min-width: 721px) and (max-width: 1040px) { .rev-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .rev-grid { grid-template-columns: 1fr; } }

/* ── REFERENCIE (filterable) ── */
.ref-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.ref-chip { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: none; border: 1px solid var(--line-2); border-radius: 100px; padding: 9px 18px; cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.ref-chip:hover { border-color: var(--ink); color: var(--ink); }
.ref-chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ref-item { position: relative; overflow: hidden; border: none; padding: 0; border-radius: 6px; aspect-ratio: 4/5; background: var(--cream-2); cursor: pointer; }
.ref-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.ref-item:hover img { transform: scale(1.05); }
.ref-item .tag { position: absolute; left: 12px; bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--cream); background: rgba(20,16,11,0.58); backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 100px; opacity: 0; transform: translateY(6px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.ref-item:hover .tag { opacity: 1; transform: none; }
.ref-item.hide { display: none; }
.ref-empty { display: none; text-align: center; color: var(--ink-3); font-size: 15px; padding: 50px 0; }
@media (max-width: 880px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ref-grid { grid-template-columns: 1fr; } .ref-item { aspect-ratio: 4/3; } }

/* ── FOOTER ── */
footer { background: var(--dark); color: var(--on-dark); padding: clamp(54px, 8vh, 82px) 0 30px; }
.foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: clamp(40px, 6vh, 56px); margin-bottom: clamp(40px, 6vh, 56px); border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot-cta h3 { font-family: var(--disp); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.5rem); color: #fff; letter-spacing: -0.02em; }
.foot-cta p { font-size: 15px; color: var(--on-dim); margin-top: 8px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.1fr 1.1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-logo { display: inline-flex; margin-bottom: 20px; color: var(--on-dark); }
.foot-logo .logo-ico { width: 42px; height: 42px; }
.foot-logo .logo-txt b { font-size: 24px; }
.foot-logo .logo-txt small { opacity: 0.62; }
.foot-brand p { font-size: 14.5px; color: var(--on-dim); max-width: 300px; line-height: 1.7; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; color: var(--on-dark); transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); }
.foot-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.foot-social svg { width: 17px; height: 17px; }
.foot-col h4 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dim); margin-bottom: 18px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--on-dark); text-decoration: none; opacity: 0.82; padding: 6px 0; transition: opacity 0.2s, color 0.2s; }
.foot-col a:hover { opacity: 1; color: #e6c39a; }
.foot-meta { display: block; font-size: 14px; color: var(--on-dim); padding: 6px 0; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; }
.foot-bottom span { font-size: 12px; color: var(--on-dim); }
.foot-sign { letter-spacing: 0.04em; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; } .foot-brand { grid-column: span 2; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .foot-brand { grid-column: span 1; } }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.vis { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.08s; } .rd2 { transition-delay: 0.16s; } .rd3 { transition-delay: 0.24s; } .rd4 { transition-delay: 0.32s; }
.clip-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.clip-reveal.vis { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; }
  .reveal, .clip-reveal { opacity: 1; transform: none; clip-path: none; }
  .hero h1 .l > span, .hero .eyebrow, .hero-sub, .hero-actions, .hero-tag { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
  html { scroll-behavior: auto; }
}

/* ─── FORM STATUS ─────────────────────────────────────────── */
.form-status { margin-top: 0; padding: 22px 24px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); }
.form-status h3 { margin: 0 0 6px; font-size: 18px; }
.form-status p { margin: 0; color: var(--ink-3); }
.form-status--success { border-color: #3b6b4a; }
.form-status--error { border-color: #b3412f; color: #b3412f; font-weight: 600; }

/* ─── GDPR SÚHLAS ─────────────────────────────────────────── */
.form-gdpr { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.form-gdpr input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.form-gdpr a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

em, i { font-style: normal; }


/* ─── HERO: fotka na pozadí, text na stred ─── */
.hero-center { align-items: center; text-align: center; }
.hero-center .hero-inner { padding: 120px 0 64px; }
.hero-center .hero-media img { object-position: center 55%; }
.hero-center .hero-veil { background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(20,16,11,0.55) 0%, rgba(20,16,11,0.35) 60%, rgba(20,16,11,0.2) 100%), linear-gradient(to bottom, rgba(20,16,11,0.35) 0%, rgba(20,16,11,0) 30%, rgba(20,16,11,0) 70%, rgba(20,16,11,0.4) 100%); }
.hero-center .eyebrow { justify-content: center; }
.hero-center h1 { max-width: 20ch; margin: 0 auto; font-size: clamp(2.6rem, 6.2vw, 5.8rem); line-height: 1.02; }
.hero-center .hero-sub { margin: 26px auto 34px; max-width: 540px; }
.hero-center .hero-actions { justify-content: center; }
@media (max-width: 600px) { .hero-center h1 { font-size: 2.15rem; max-width: none; } .hero-center .hero-media img { object-position: 62% 50%; } }

/* hero: celá fotka viditeľná (pomer fotky 1983 × 793) */
.hero.hero-center { height: auto; min-height: 540px; aspect-ratio: 1983 / 793; }
.hero-center .hero-media img, .hero-center.in .hero-media img { object-position: center center; transform: none; animation: none; }
.hero-center .hero-inner { padding: 96px 0 40px; }
@media (max-width: 760px) {
  .hero.hero-center { aspect-ratio: auto; min-height: 0; display: block; background: var(--dark); }
  .hero-center .hero-media { position: relative; inset: auto; aspect-ratio: 1983 / 793; margin-top: 76px; }
  .hero-center .hero-veil { display: none; }
  .hero-center .hero-inner { padding: 32px 0 48px; }
}
