/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
   ŠÁRKA — teplá & zemitá estetika
   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */

:root {
  /* Earthy palette */
  --bg:        #1c1510;   /* deep warm charcoal */
  --bg-2:      #221a13;
  --cream:     #f5eee1;   /* light section bg */
  --cream-2:   #ece1cf;
  --ink:       #2a201a;   /* text on cream */
  --ink-soft:  #5c4d40;
  --sand:      #cbb79a;   /* muted text on dark */
  --terra:     #c06a3a;   /* terracotta accent */
  --terra-deep:#a8552c;
  --gold:      #d6a96b;
  --line:      rgba(214,169,107,.22);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, sans-serif;

  --maxw: 1180px;
  --pad:  clamp(1.25rem, 5vw, 4rem);
  --r:    14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: .2px; }

.section { padding: clamp(4.5rem, 10vw, 9rem) var(--pad); }
.section--dark { background: var(--bg-2); }
.section__head { max-width: 740px; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); text-align: center; }

.kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

/* ░░ Buttons ░░ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 1rem 1.9rem; border-radius: 100px;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn--solid {
  background: linear-gradient(135deg, var(--terra), var(--terra-deep));
  color: #fff; box-shadow: 0 10px 30px -12px rgba(192,106,58,.7);
}
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(192,106,58,.85); }
.btn--ghost { border-color: var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--block { width: 100%; }

/* ░░░░░░░░░░░░░░ NAV ░░░░░░░░░░░░░░ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease);
  padding: 1.4rem 0;
}
.nav.is-scrolled {
  background: rgba(24,18,13,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: .85rem 0;
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
  letter-spacing: 1px; color: var(--cream);
}
.nav__brand::after { content: "."; color: var(--terra); }
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sand); transition: color .3s var(--ease); font-weight: 400;
}
.nav__links a:hover { color: var(--cream); }
.nav__cta {
  border: 1px solid var(--line); padding: .6rem 1.2rem; border-radius: 100px;
  color: var(--cream) !important;
}
.nav__cta:hover { border-color: var(--gold); background: rgba(214,169,107,.1); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 22px; position: relative; }
.nav__burger span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--cream);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 10px; }
.nav__burger span:nth-child(3) { top: 20px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ░░░░░░░░░░░░░░ HERO ░░░░░░░░░░░░░░ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--pad) 5rem; overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 18% 50%, rgba(28,21,16,.62) 0%, rgba(28,21,16,.86) 55%, rgba(20,14,9,.96) 100%),
    linear-gradient(180deg, rgba(20,14,9,.7) 0%, rgba(20,14,9,.2) 35%, rgba(20,14,9,.92) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; width: 100%; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .3em; font-size: .76rem;
  color: var(--gold); margin-bottom: 1.6rem; font-weight: 500;
}
.hero__title {
  font-size: clamp(2.6rem, 9vw, 5.6rem); line-height: 1.04;
  color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.hero__lead {
  margin: 1.8rem 0 2.6rem; max-width: 540px; font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  color: var(--cream); font-weight: 300;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 100px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px;
  background: var(--gold); transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ░░░░░░░░░░░░░░ ABOUT ░░░░░░░░░░░░░░ */
.about { background: var(--cream); color: var(--ink); }
.about__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.about__portrait { position: relative; }
.about__portrait img {
  width: 100%; border-radius: var(--r); position: relative; z-index: 1;
  box-shadow: 0 30px 60px -28px rgba(42,32,26,.55);
  filter: saturate(.96);
}
.about__portrait-glow {
  position: absolute; inset: -14px -14px auto auto; width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(214,169,107,.45), transparent 70%);
  z-index: 0; filter: blur(20px);
}
.about__portrait::before {
  content: ""; position: absolute; left: -16px; bottom: -16px;
  width: 70%; height: 70%; border: 1px solid var(--terra); border-radius: var(--r); z-index: 0;
}
.about__text h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 1.4rem; color: var(--ink); }
.about__text p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 52ch; }
.about__creds {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2rem;
  padding-top: 2rem; border-top: 1px solid rgba(42,32,26,.12);
}
.about__creds li { display: flex; flex-direction: column; }
.about__creds strong { font-family: var(--serif); font-size: 1.35rem; color: var(--terra-deep); font-weight: 600; }
.about__creds span { font-size: .82rem; color: var(--ink-soft); }

/* ░░░░░░░░░░░░░░ SERVICES ░░░░░░░░░░░░░░ */
.services__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem;
}
.card {
  position: relative; padding: 2.6rem 2.2rem; border-radius: var(--r);
  background: linear-gradient(160deg, rgba(214,169,107,.07), rgba(214,169,107,.02));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(192,106,58,.16), transparent 60%);
  transition: opacity .45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(214,169,107,.5); }
.card:hover::before { opacity: 1; }
.card__num {
  font-family: var(--serif); font-size: 2.4rem; color: var(--terra); opacity: .55;
  display: block; margin-bottom: .8rem;
}
.card h3 { font-size: 1.6rem; margin-bottom: .9rem; color: var(--cream); }
.card p { color: var(--sand); font-size: .98rem; margin-bottom: 1.4rem; }
.card__list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.card__list li {
  font-size: .9rem; color: var(--cream); padding-left: 1.4rem; position: relative;
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--terra);
}

/* ░░░░░░░░░░░░░░ VIDEO BAND ░░░░░░░░░░░░░░ */
.videoband {
  position: relative; height: clamp(320px, 56vh, 560px); overflow: hidden;
  display: grid; place-items: center; isolation: isolate;
}
.videoband__media {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.videoband__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 100% at 50% 50%, rgba(20,14,9,.35), rgba(20,14,9,.78)),
    linear-gradient(180deg, var(--bg-2) 0%, rgba(28,21,16,.2) 18%, rgba(28,21,16,.2) 82%, var(--cream) 100%);
}
.videoband__text {
  position: relative; z-index: 2; max-width: 18ch; text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.6rem, 4.4vw, 3rem); line-height: 1.25; color: var(--cream);
  text-shadow: 0 2px 24px rgba(0,0,0,.5); padding: 0 var(--pad);
}

/* ░░░░░░░░░░░░░░ APPROACH ░░░░░░░░░░░░░░ */
.approach { background: var(--cream); color: var(--ink); }
.approach__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.approach__media { position: relative; border-radius: var(--r); overflow: hidden; }
.approach__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.9) contrast(1.02);
}
.approach__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(28,21,16,.35));
}
.approach__text h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-bottom: 2rem; color: var(--ink); }
.approach__steps { display: flex; flex-direction: column; gap: 1.6rem; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step__n {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem;
  color: #fff; background: linear-gradient(135deg, var(--terra), var(--terra-deep));
  box-shadow: 0 8px 20px -10px rgba(192,106,58,.7);
}
.step h4 { font-size: 1.25rem; color: var(--ink); margin-bottom: .2rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }
.approach__quote {
  margin-top: 2.4rem; padding: 1.4rem 0 1.4rem 1.6rem; border-left: 3px solid var(--terra);
  font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--terra-deep); line-height: 1.4;
}

/* ░░░░░░░░░░░░░░ TESTIMONIALS ░░░░░░░░░░░░░░ */
.testimonials__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.quote {
  padding: 2.4rem 2rem; border-radius: var(--r);
  background: linear-gradient(160deg, rgba(214,169,107,.06), transparent);
  border: 1px solid var(--line); position: relative;
}
.quote::before {
  content: "\201C"; font-family: var(--serif); font-size: 4.5rem; color: var(--terra);
  opacity: .35; position: absolute; top: .2rem; left: 1.2rem; line-height: 1;
}
.quote blockquote {
  font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--cream);
  margin: 1.6rem 0 1.2rem; font-style: italic;
}
.quote figcaption { font-size: .85rem; color: var(--gold); letter-spacing: .04em; }

/* ░░░░░░░░░░░░░░ CONTACT ░░░░░░░░░░░░░░ */
.contact {
  background:
    linear-gradient(rgba(24,18,13,.92), rgba(24,18,13,.96)),
    url("images/texture.webp") right center / cover no-repeat;
}
.contact__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.contact__intro h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.2rem; color: var(--cream); }
.contact__intro > p { color: var(--sand); max-width: 44ch; margin-bottom: 1.4rem; }
.contact__hint { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold); margin-top: .4rem; }
.contact__details { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; }
.contact__details li { display: flex; flex-direction: column; gap: .15rem; }
.contact__details a, .contact__details span:not(.contact__label) { font-size: 1.2rem; color: var(--cream); font-family: var(--serif); }
.contact__details a:hover { color: var(--gold); }
.contact__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); }

.contact__form {
  background: rgba(245,238,225,.04); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.6rem, 4vw, 2.6rem);
  backdrop-filter: blur(6px);
}
.field { margin-bottom: 1.2rem; display: flex; flex-direction: column; }
.field label { font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .98rem; color: var(--cream);
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 9px;
  padding: .85rem 1rem; transition: border-color .3s var(--ease), background .3s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(203,183,154,.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(255,255,255,.07);
}
.field select option { background: var(--bg); color: var(--cream); }
.contact__note { margin-top: 1rem; font-size: .82rem; color: var(--sand); text-align: center; }
.contact__form.is-sent { text-align: center; }

/* ░░░░░░░░░░░░░░ FOOTER ░░░░░░░░░░░░░░ */
.footer { background: #150f0a; padding: 3.5rem var(--pad); border-top: 1px solid var(--line); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer__brand { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--cream); }
.footer__brand::after { content: "."; color: var(--terra); }
.footer__tag { color: var(--gold); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin: .6rem 0 1.4rem; }
.footer__small { color: var(--ink-soft); font-size: .8rem; }

/* ░░░░░░░░░░░░░░ REVEAL ANIM ░░░░░░░░░░░░░░ */
/* Pouze když běží JS — bez JS zůstává obsah viditelný (progresivní vylepšení) */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ░░░░░░░░░░░░░░ RESPONSIVE ░░░░░░░░░░░░░░ */
@media (max-width: 900px) {
  .about__grid, .approach__grid, .contact__grid { grid-template-columns: 1fr; }
  .services__grid, .testimonials__grid { grid-template-columns: 1fr; }
  .approach__media { max-width: 460px; margin-inline: auto; order: -1; }
  .about__portrait { max-width: 380px; margin-inline: auto; }

  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: rgba(20,14,9,.97); backdrop-filter: blur(18px);
    flex-direction: column; justify-content: center; gap: 2rem;
    transform: translateX(100%); transition: transform .45s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 1rem; }
  .nav__burger { display: block; z-index: 110; }
}
@media (max-width: 520px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .about__creds { gap: 1.2rem; }
}
