/* =========================================
   HERO SEKCE (Světlý styl)
   ========================================= */
.subpage-hero {
  background-color: var(--bg-soft);
  padding: 2rem 0 2rem 0;
  border-bottom: 1px solid var(--line);
}

.subpage-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.standards-rule {
  display: block;
  width: 3rem;
  height: 3px;
  background-color: var(--accent);
  margin-bottom: 1.25rem;
}

.subpage-intro-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 3rem);
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}

.subpage-intro-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--muted);
  margin: 1rem 0 0 0;
  max-width: 600px;
  line-height: 1.6;
}

/* =========================================
   VEDENÍ SPOLEČNOSTI (Kompaktnější styl)
   ========================================= */
.team-section {
  background-color: var(--bg);
  padding: 2.5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; 
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-profile {
  background-color: var(--bg-soft);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  /* ZMENŠENO: Původně bylo 3rem 2rem */
  padding: 2rem 1.5rem; 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 4px;
}

/* Kulaté, statické fotky - ZMENŠENO */
.team-profile__image-wrap {
  width: 100px; /* Původně 140px */
  height: 100px;
  background-color: var(--line);
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto 1.25rem auto; /* Lehce zmenšená mezera pod fotkou */
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.team-profile__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-profile__header {
  margin-bottom: 1rem;
}

.team-profile__role {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.7rem; /* Lehce zmenšeno */
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}

/* Jména na jeden řádek - optimalizováno pro menší kartu */
.team-profile__name {
  font-family: 'Bebas Neue', sans-serif;
  /* ZMENŠENO: Původně maximum 1.8rem, teď 1.5rem, aby se Petra vešla */
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
  white-space: nowrap; 
}

.team-profile__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-profile__focus {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem; /* Lehce zmenšeno */
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

.team-profile__email {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease;
}

.team-profile__email:hover {
  color: var(--accent);
}

/* =========================================
   KONTAKTNÍ ÚDAJE & ARES
   ========================================= */
.contact-details-section {
  background-color: var(--bg-soft);
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.contact-card__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 2rem 0;
  line-height: 1;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item__label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}

.contact-item__link {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.contact-item__link:hover {
  color: var(--accent);
}

.contact-item__link--highlight {
  color: var(--accent);
}

.contact-item__address {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

/* ARES meta data */
.contact-meta-grid {
  display: flex;
  gap: 3rem;
  margin: 1.5rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-meta {
  display: flex;
  flex-direction: column;
}

.contact-meta__label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-meta__value {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-registry {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 1rem 0 0 0;
  opacity: 0.8;
}

/* =========================================
   MAPA
   ========================================= */
.map-section {
  background-color: var(--bg);
  padding: 0 0 5rem 0; /* Padding jen dole, protože navazuje z vrchu */
}

.map-wrapper {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-top: 3.5rem;
}

.map-wrapper iframe {
  display: block;
}

/* =========================================
   ZÁVĚREČNÁ CTA LIŠTA
   ========================================= */
.compact-phone-bar {
  background-color: var(--bg-dark);
  border-top: 3px solid var(--accent);
  padding: 2rem 0;
}

.compact-phone-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.compact-phone-text {
  display: flex;
  flex-direction: column;
}

.compact-phone-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.2rem 0;
}

.compact-phone-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.compact-phone-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.compact-phone-btn {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--accent);
  padding: 0.8rem 1.6rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}

.compact-phone-btn:hover {
  background-color: #d66b26;
}

.compact-phone-email {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}

.compact-phone-email:hover {
  color: var(--accent);
}