/* =========================================
   KONTAKT — PAGE INTRO
   ========================================= */

.k-intro {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.k-intro__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.6rem;
  line-height: 1.15;
}

.k-intro__sub {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
  max-width: 520px;
  line-height: 1.6;
}

/* =========================================
   TEAM SECTIONS
   ========================================= */

.k-team {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.k-team__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1.5rem;
}

/* Grids */

.k-team-grid {
  display: grid;
  gap: 1.25rem;
}

.k-team-grid--flat {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
  .k-team-grid--flat {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .k-team-grid--flat {
    grid-template-columns: 1fr;
  }
}

/* Team Card */

.k-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Avatar: photo */

.k-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  flex-shrink: 0;
  border: 2px solid var(--line);
}

.k-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Avatar: initials */

.k-card__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  /* override overflow:hidden from base .k-card__avatar */
  overflow: visible;
}

.k-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.3rem;
}

.k-card__role {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.k-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  width: 100%;
}

.k-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.k-card__link:hover {
  color: var(--accent);
}

.k-card__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--accent);
}

/* =========================================
   CONTACT CARDS
   ========================================= */

.k-contact {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.k-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .k-contact-grid {
    grid-template-columns: 1fr;
  }
}

.k-contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.75rem;
}

.k-contact-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.k-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.6;
}

.k-contact-row:last-of-type {
  margin-bottom: 0;
}

.k-contact-row__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.k-contact-row a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.k-contact-row a:hover {
  color: var(--accent);
}

.k-contact-row strong {
  font-weight: 600;
}

.k-contact-card__legal {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.55;
  opacity: 0.75;
}

/* =========================================
   MAP
   ========================================= */

.k-map {
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  line-height: 0;
}

.k-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* =========================================
   POPTÁVKA LINK SECTION
   ========================================= */

.k-poptavka {
  padding: 3rem 0;
  text-align: center;
  background: var(--bg);
}

.k-poptavka__text {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

/* =========================================
   MOBILE STICKY BAR
   ========================================= */

.k-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.07);
}

.k-sticky-bar__inner {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.k-sticky-bar__call,
.k-sticky-bar__cta {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.k-sticky-bar__call {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
}

.k-sticky-bar__call:hover {
  border-color: var(--line-strong);
}

.k-sticky-bar__cta {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.k-sticky-bar__cta:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

@media (max-width: 768px) {
  .k-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }
}

/* js-reveal animations handled by GSAP in app.js */
