﻿/* ── CSS Variables ──────────────────────────────── */
:root {
  --cream:       #060d08;
  --cream-dark:  #040908;
  --green-dark:  #0f1a12;
  --green:       #245244;
  --green-light: #4dae8c;
  --gold:        #c9a84c;
  --gold-light:  #e8d5a8;
  --white:       #ffffff;
  --text:        #d6e2d8;
  --muted:       #7a9e84;
  --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(77,174,140,.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(77,174,140,.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(36,82,68,.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='%234dae8c' 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(2rem, 3vw, 2.8rem);
  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(77,174,140,.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: 28px;
  overflow: hidden;
  border: 1.5px solid rgba(201,168,76,.35);
  box-shadow:
    0 0 0 4px rgba(201,168,76,.07),
    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 28px 28px;
}

.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(15,125,180,.22) 0%, transparent 70%),
    radial-gradient(ellipse 80% 35% at 50% 74%, rgba(15,125,180,.22) 0%, transparent 70%),
    linear-gradient(to bottom,
      #060d08 0%,
      #04090e 20%,
      #03080d 40%,
      #03080d 60%,
      #04090e 80%,
      #040a0f 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(77,174,140,.08);
  border-bottom: 1px solid rgba(77,174,140,.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(77,174,140,.15);
  flex-shrink: 0;
}

/* ── About ──────────────────────────────────────── */
.about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 5% 50%, rgba(15,125,180,.12) 0%, transparent 65%),
    var(--surface);
  padding: 110px 24px 80px;
}

.about::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #060d08);
  z-index: 1;
  pointer-events: none;
}

.about::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='%234dae8c' 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;
}

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

/* Photo stack */
.about__photo-stack {
  position: relative;
  padding: 28px 28px 0 0;
  min-width: 0;
}

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

.about__photo-card {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  border: 1.5px solid rgba(201,168,76,.35);
  box-shadow:
    0 0 0 4px rgba(201,168,76,.07),
    0 18px 48px rgba(0,0,0,.45);
}

.about__photo-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Photo mosaic */
.about__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 520px;
}

.about__gallery-main {
  grid-row: 1 / 3;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}

.about__gallery-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about__gallery-thumb {
  flex: 1;
  border-radius: calc(var(--r) * .7);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.about__gallery-main img,
.about__gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease;
}
.about__gallery-main:hover img,
.about__gallery-thumb:hover img {
  transform: scale(1.04);
}

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

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

.about__more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: .02em;
  transition: gap .2s ease, opacity .2s ease;
}
.about__more-link:hover {
  gap: 8px;
  opacity: .8;
}

/* ── Services ───────────────────────────────────── */
.services {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(15,125,180,.16) 0%, transparent 65%),
    #060d08;
  padding: 40px 24px 56px;
}

.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: rgba(8,95,148,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(28,150,195,.18);
  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,.05);
  transition: transform .35s ease, box-shadow .35s ease;
}

.service-card--side {
  transform: translateY(20px);
}

.service-card--center {
  border-color: rgba(201,168,76,.3);
  background: rgba(8,95,148,.12);
  box-shadow:
    0 8px 32px rgba(0,0,0,.3),
    0 24px 56px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.07);
}

.service-card:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 12px 36px rgba(15,125,180,.2),
    0 24px 56px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.service-card__icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(15,125,180,.2);
  border-radius: var(--r-sm);
  border: 1px solid rgba(28,150,195,.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__icon-wrap svg {
  width: 22px;
  height: 22px;
  color: #5dd5e0;
}

.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); }

/* ── CTA section ─────────────────────────────────── */
.cta-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(15,125,180,.16) 0%, transparent 65%),
    #060d08;
  padding: 56px 24px;
}

.cta-section__inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-card {
  background: rgba(8,95,148,.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  border: 1px solid rgba(28,150,195,.22);
  box-shadow:
    0 8px 32px rgba(0,0,0,.3),
    0 24px 64px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
  transform: translateY(var(--float-y, 0px));
  transition: transform .35s ease;
}

.cta-card__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(77,174,140,.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  position: relative;
}
.cta-card__title em {
  color: var(--gold);
  font-style: italic;
}

.cta-card__lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 40ch;
  line-height: 1.75;
  position: relative;
}

.cta-card__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  position: relative;
}

.btn--outline-white {
  border: 1.5px solid rgba(200,212,202,.25);
  color: var(--text);
  background: transparent;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s, border-color .2s;
  text-decoration: none;
}
.btn--outline-white:hover {
  background: rgba(77,174,140,.08);
  border-color: rgba(77,174,140,.4);
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  position: relative;
  background: #000;
  border-top: none;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(201,168,76,.35) 30%,
    rgba(77,174,140,.3) 50%,
    rgba(201,168,76,.35) 70%,
    transparent 100%
  );
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 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='%234dae8c' stroke-linecap='round'%3E%3Cpath d='M0,12 C40,1 120,23 160,12' stroke-width='0.9' opacity='0.05'/%3E%3Cpath d='M0,38 C40,31 120,45 160,38' stroke-width='0.7' opacity='0.03'/%3E%3Cpath d='M0,62 C40,52 120,72 160,62' stroke-width='0.9' opacity='0.05'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 80px;
}

.site-footer--rich .footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  text-align: left;
}

.footer__col-title {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.footer__contact-link:hover { color: var(--accent); }
.footer__contact-link svg { opacity: .5; flex-shrink: 0; }

.footer__contact-note {
  margin-top: 10px;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer__resource {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.footer__resource-icons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__icon-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}
.footer__icon-pill--ig {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
}
.footer__icon-pill--tt {
  background: #010101;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
}
.footer__icon-pill--strava {
  background: #fc4c02;
  color: #fff;
}

.footer__resource-title {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.footer__resource-title--link {
  text-decoration: none;
  transition: color .2s;
}
.footer__resource-title--link:hover { color: var(--accent); }

.footer__resource-desc {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(77,174,140,.08);
  padding-top: 12px;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
}

.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: 40px;
  }
  .about__photo-stack { max-width: 480px; margin: 0 auto; }
  .about__photo-card img { height: 400px; }
  .about__gallery { max-width: 480px; margin: 0 auto; height: 380px; }

  .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; }

  .site-footer--rich .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 24px 16px;
  }
}

/* ── 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(77,174,140,.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; }

  /* Zabránit přetékání kurzívního textu mimo obrazovku */
  .hero__title em { white-space: normal; }

  /* Lead text nechť zabírá celou šířku */
  .hero__lead { max-width: 100%; }

  /* Zmenšit přílišné odsazení about sekce */
  .about { padding: 64px 20px 48px; }

  /* Stats bar – 2×2 mřížka na menších telefonech */
  .stats-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 8px;
    justify-items: center;
  }

  .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; }

  .cta-card {
    padding: 40px 28px;
    gap: 18px;
  }
  .cta-card__title { font-size: 1.7rem; }
  .cta-card__btns {
    flex-direction: column;
    width: 100%;
  }
  .cta-card__btns .btn,
  .cta-card__btns .btn--outline-white {
    width: 100%;
    text-align: center;
  }

  .about__gallery { height: 300px; }
}

@media (max-width: 480px) {
  .hero__inner { padding: 28px 16px 44px; }
  .hero__actions { flex-direction: column; padding-left: 0; }
  .hero__actions .btn { text-align: center; width: 100%; }
  .hero__lead { padding-left: 0; padding-right: 0; }
  .stats-bar__inner { gap: 20px 8px; }

  /* How grid – 1 sloupec na malých telefonech */
  .how__grid { grid-template-columns: 1fr; }

  /* Who a How sekce – menší odsazení */
  .who { padding: 36px 16px 30px; }
  .how { padding: 30px 16px 40px; }

  /* Zastavit float animace – výkon + zabraňuje přetékání */
  .float-card { animation: none; transform: none !important; }

  /* Footer email – zalamovat dlouhé adresy */
  .footer__contact-link {
    word-break: break-all;
    font-size: .82rem;
  }

  .about__gallery {
    grid-template-columns: 1fr;
    height: auto;
  }
  .about__gallery-main { grid-row: auto; }
  .about__gallery-main img { aspect-ratio: 4 / 3; height: auto; }
  .about__gallery-side { flex-direction: row; }
  .about__gallery-thumb img { aspect-ratio: 1 / 1; }

  .cta-card { padding: 32px 20px; }
  .cta-card__title { font-size: 1.45rem; }

  .services { padding: 32px 16px 48px; }
  .cta-section { padding: 40px 16px; }
}

/* ── 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.sc-hidden {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .5s ease, transform .5s ease;
}
.service-card.sc-visible {
  opacity: 1;
  transform: translateY(var(--float-y, 0px));
  transition: opacity .5s ease, transform .35s ease;
}
.service-card--side.sc-visible {
  transform: translateY(calc(20px + var(--float-y, 0px)));
}
.service-card.sc-visible:hover {
  transform: translateY(-6px) !important;
}

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


