/* ── CSS Variables ──────────────────────────────── */
:root {
  --cream:       #060d08;
  --cream-dark:  #040908;
  --green-dark:  #0f1a12;
  --green:       #2a5240;
  --green-light: #5daa80;
  --gold:        #c9a84c;
  --gold-light:  #e8d5a8;
  --white:       #ffffff;
  --text:        #c8d4ca;
  --muted:       #5a7a62;
  --heading:     #d8ead9;
  --surface:     #0c1610;

  --sh-sm:  0 2px 8px rgba(0,0,0,.3);
  --sh-md:  0 8px 28px rgba(0,0,0,.4);
  --sh-lg:  0 20px 50px rgba(0,0,0,.5);
  --sh-xl:  0 36px 72px rgba(0,0,0,.6);

  --r:    20px;
  --r-sm: 12px;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── Shared typography ──────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--light { color: var(--gold-light); }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--heading);
}
.section-title--light { color: var(--white); }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: #E67E22;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(230,126,34,.38);
}
.btn--primary:hover { box-shadow: 0 14px 32px rgba(230,126,34,.55); }

.btn--ghost {
  background: transparent;
  color: var(--heading);
  border: 2px solid rgba(255,255,255,.2);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }

.btn--ghost-light {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 2px solid rgba(255,255,255,.35);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.65);
  color: #fff;
}

.btn--white {
  background: var(--heading);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.btn--white:hover { box-shadow: 0 14px 32px rgba(0,0,0,.45); }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,20,16,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(93,170,128,.12);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.header__logo img {
  height: 58px;
  filter: brightness(0) invert(1);
}

.nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav__link {
  color: var(--text);
  font-weight: 500;
  font-size: .88rem;
  padding: 8px 18px;
  border-radius: 50px;
  transition: background .2s, color .2s;
}
.nav__link:hover {
  background: rgba(93,170,128,.15);
  color: var(--heading);
}

.header__toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background .2s;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .3s;
}
.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }

/* open state */
.header__toggle[aria-expanded="true"] .hamburger { background: transparent; }
.header__toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.header__toggle[aria-expanded="true"] .hamburger::after  { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 78% 44%, rgba(42,82,64,.45) 0%, transparent 68%),
    var(--cream);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80'%3E%3Cg fill='none' stroke='%235daa80' stroke-linecap='round'%3E%3Cpath d='M0,12 C40,1 120,23 160,12' stroke-width='0.9' opacity='0.08'/%3E%3Cpath d='M0,38 C40,31 120,45 160,38' stroke-width='0.7' opacity='0.05'/%3E%3Cpath d='M0,62 C40,52 120,72 160,62' stroke-width='0.9' opacity='0.08'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 80px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 66px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 100svh;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

/* eyebrow s dekorativní čárkou */
.hero__content .eyebrow {
  display: block;
}
.hero__content .eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1.5px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-top: 10px;
}

/* zelená svislá linka vlevo od nadpisu */
.hero__title-wrap {
  padding-left: 22px;
  border-left: 3px solid var(--green-light);
}

.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  line-height: 1.08;
  color: var(--heading);
  text-shadow:
    0 1px 0 rgba(0,0,0,.4),
    0 4px 12px rgba(0,0,0,.25),
    0 10px 28px rgba(0,0,0,.15);
}
.hero__title em {
  font-style: italic;
  color: var(--green-light);
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(0,0,0,.3),
    0 4px 14px rgba(0,0,0,.2),
    0 0 32px rgba(93,170,128,.2);
}

.hero__lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.82;
  padding-left: 25px;
  padding-right: 8px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-left: 25px;
}

/* ── Foto ── */
.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 1px 3px   rgba(0,0,0,.2),
    0 6px 14px  rgba(0,0,0,.3),
    0 18px 38px rgba(0,0,0,.35),
    0 40px 72px rgba(0,0,0,.3),
    0 64px 100px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.08);
}

/* spodní přechod – foto plynule splývá s pozadím */
.hero__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(to bottom, transparent 0%, rgba(15,26,18,.65) 100%);
  pointer-events: none;
  border-radius: 0 0 22px 22px;
}

.hero__photo img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: bottom center;
  display: block;
}

/* ── Mid block (who + how) ───────────────────────── */
.mid-block {
  background:
    radial-gradient(ellipse 80% 35% at 50% 28%, rgba(30,80,210,.22) 0%, transparent 70%),
    radial-gradient(ellipse 80% 35% at 50% 74%, rgba(30,80,210,.22) 0%, transparent 70%),
    linear-gradient(to bottom,
      #060d08 0%,
      #04050d 20%,
      #03040c 40%,
      #03040c 60%,
      #04050d 80%,
      #04060e 100%
    );
}

/* ── Who ────────────────────────────────────────── */
.who {
  padding: 60px 24px 50px;
}

.who__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.who__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.who__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--heading);
}

.who__lead {
  font-size: 1.05rem;
  color: var(--heading);
  font-weight: 500;
  opacity: .75;
}

.who__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* ── How ────────────────────────────────────────── */
.how {
  padding: 50px 24px 70px;
}

.how__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.how__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.how__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--heading);
}

.how__lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.75;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* ── Float cards ─────────────────────────────────── */
.float-card {
  border-radius: 18px;
  padding: 26px 24px;
  font-size: .94rem;
  color: var(--text);
  line-height: 1.65;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 4px 16px rgba(0,0,0,.25),
    0 16px 40px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.06);
  animation: floatBob 7s ease-in-out infinite;
  transition: box-shadow .4s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.float-card:hover {
  animation-play-state: paused;
  box-shadow:
    0 8px 24px rgba(0,0,0,.3),
    0 24px 56px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.who__grid .float-card,
.how__grid .float-card  { border-color: rgba(201,168,76,.35); }

.float-card--step {
  flex-direction: column;
  gap: 10px;
}

.float-card__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

.float-card__desc {
  font-size: .91rem;
  color: var(--text);
  line-height: 1.65;
}


/* ── Stats bar ──────────────────────────────────── */
.stats-bar {
  background: #040806;
  border-top: 1px solid rgba(93,170,128,.08);
  border-bottom: 1px solid rgba(93,170,128,.08);
}

.stats-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat__num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1;
}
.stat__label {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 7px;
}

.stat__divider {
  width: 1px;
  height: 44px;
  background: rgba(93,170,128,.15);
  flex-shrink: 0;
}

/* ── About ──────────────────────────────────────── */
.about {
  background: var(--surface);
  padding: 110px 24px;
}

.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Layered photo stack */
.about__photo-stack {
  position: relative;
  padding: 28px 28px 0 0;
}

.about__deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 86%;
  height: 86%;
  background: var(--green-dark);
  border-radius: var(--r);
  z-index: 0;
  box-shadow: var(--sh-sm);
}

.about__photo-card {
  position: relative;
  z-index: 1;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.about__photo-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about__text {
  font-size: .98rem;
  color: var(--muted);
  line-height: 1.82;
}

/* ── Services ───────────────────────────────────── */
.services {
  background: var(--cream);
  padding: 110px 24px;
}

.services__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 70px;
}

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

.service-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* side cards sit lower → depth illusion */
.service-card--side {
  box-shadow: var(--sh-md);
  transform: translateY(28px);
}

/* center card floats higher + accent border */
.service-card--center {
  box-shadow: var(--sh-xl);
  border: 1px solid rgba(201,168,76,.2);
}

.service-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--sh-xl) !important;
}

.service-card__icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--green-dark);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--green-light);
}

.service-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--heading);
}

.service-card__text {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
}

.service-card__link {
  font-size: .84rem;
  font-weight: 600;
  color: var(--green-light);
  transition: color .2s;
}
.service-card__link:hover { color: var(--heading); }

/* ── Contact ─────────────────────────────────────── */
.contact {
  background: var(--cream-dark);
  padding: 110px 24px;
}

.contact__inner {
  max-width: 680px;
  margin: 0 auto;
}

.contact__card {
  background: var(--green-dark);
  border-radius: 32px;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  box-shadow: var(--sh-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(93,170,128,.12);
}

.contact__card-deco {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(93,170,128,.06);
  pointer-events: none;
}
.contact__card-deco::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(93,170,128,.04);
}

.contact__lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 34ch;
}

.contact__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 4px 0;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s;
}
.contact-link:hover { color: var(--gold-light); }
.contact-link svg {
  width: 18px;
  height: 18px;
  opacity: .5;
  flex-shrink: 0;
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: #030605;
  border-top: 1px solid rgba(93,170,128,.08);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}

/* ── Responsive – tablet ────────────────────────── */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 28px 72px;
    min-height: auto;
    align-items: start;
  }
  .hero__visual { width: 100%; }
  .hero__photo img { aspect-ratio: 1 / 1; }

  .who__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid  { grid-template-columns: repeat(2, 1fr); }
  .who__grid .float-card,
  .how__grid  .float-card { transform: none !important; }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about__photo-stack { max-width: 480px; margin: 0 auto; }
  .about__photo-card img { height: 400px; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card--side,
  .service-card--center { transform: none; }
  .service-card:hover { transform: translateY(-4px) !important; }

  .stat__divider { display: none; }
}

/* ── Responsive – mobile ────────────────────────── */
@media (max-width: 720px) {
  .header__toggle { display: inline-flex; }

  .header__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    background: var(--green-dark);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-lg);
    padding: 12px;
    z-index: 99;
    border: 1px solid rgba(93,170,128,.12);
  }
  .header__nav.open { display: block; }

  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { display: block; padding: 10px 16px; }

  .hero__inner { padding: 40px 20px 56px; }
  .hero__visual { width: 100%; }
  .hero__photo img { aspect-ratio: 1 / 1; }

  .who__grid { grid-template-columns: 1fr; }
  .how__grid  { grid-template-columns: repeat(2, 1fr); }

  .contact__card { padding: 40px 28px; }
  .contact__links { flex-direction: column; align-items: center; gap: 16px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }
  .stats-bar__inner { gap: 24px; }
}

/* ── Float animation ────────────────────────────── */
@keyframes floatBob {
  0%   { transform: translateY(0px)   translateX(0px);  }
  30%  { transform: translateY(-7px)  translateX(2.5px); }
  60%  { transform: translateY(-9px)  translateX(-2px); }
  80%  { transform: translateY(-4px)  translateX(1px); }
  100% { transform: translateY(0px)   translateX(0px);  }
}

.who__grid .float-card--a { animation-duration: 7.0s; animation-delay:  0s;    }
.who__grid .float-card--b { animation-duration: 8.5s; animation-delay: -2.1s;  }
.who__grid .float-card--c { animation-duration: 6.5s; animation-delay: -1.3s;  }
.who__grid .float-card--d { animation-duration: 9.0s; animation-delay: -3.8s;  }
.who__grid .float-card--e { animation-duration: 7.5s; animation-delay: -0.6s;  }
.how__grid .float-card--f { animation-duration: 8.2s; animation-delay: -2.9s;  }

.how__grid .float-card--a { animation-duration: 8.0s; animation-delay: -0.8s;  }
.how__grid .float-card--b { animation-duration: 6.8s; animation-delay: -3.2s;  }
.how__grid .float-card--c { animation-duration: 9.2s; animation-delay: -1.5s;  }
.how__grid .float-card--d { animation-duration: 7.3s; animation-delay: -4.1s;  }

/* ── Scroll fade-in ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card--side.fade-in.visible { transform: translateY(28px); }
.service-card--side.fade-in.visible:hover { transform: translateY(-6px) !important; }

@media (max-width: 960px) {
  .service-card--side.fade-in.visible { transform: translateY(0); }
}
