/* ================================
   TELEMEDICÍNA PAGE
   ================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FBF0EE;
  color: #0B0B0B;
  overflow-x: hidden;
}

.tm-page {
  width: 100%;
  background: #FBF0EE;
}

.tm-section {
  width: 100%;
  min-height: calc(100vh - 64px);
  padding: 82px clamp(16px, 2.4vw, 34px);
  background:
    radial-gradient(circle at top right, rgba(247, 183, 198, 0.35), transparent 32%),
    #FBF0EE;
  color: #0B0B0B;
}

.tm-container {
  width: min(100%, 1480px);
  margin-inline: auto;
}

.tm-header {
  margin-bottom: 28px;
  max-width: 920px;
}

.tm-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(247, 183, 198, 0.35);
  border: 1px solid rgba(180, 90, 120, 0.14);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.72);
}

.tm-title {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.tm-lead {
  margin: 0;
  max-width: 72ch;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.72);
}

.tm-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  overflow: hidden;
}

.tm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tm-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(251, 240, 238, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-width: 0;
}

.tm-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0B0B0B;
}

.tm-icon .material-icons {
  font-size: 26px;
  color: #0B0B0B;
}

.tm-text {
  min-width: 0;
}

.tm-text h2 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #0B0B0B;
}

.tm-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.74);
  overflow-wrap: anywhere;
}

.tm-text a {
  color: #0B0B0B;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-text-fill-color: #0B0B0B;
}

.tm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #2B2321;
  border: 1px solid #2B2321;
  color: #FBF0EE;
  -webkit-text-fill-color: #FBF0EE;
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.tm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.tm-btn-outline {
  background: transparent;
  color: #2B2321;
  -webkit-text-fill-color: #2B2321;
}

.tm-note {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(247, 183, 198, 0.26);
  border: 1px solid rgba(180, 90, 120, 0.16);
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.55;
  font-weight: 700;
}

/* iPhone/Safari link/button color guard, lebo Safari si občas robí vlastnú módnu prehliadku */
.tm-section a,
.tm-section button,
.tm-section span {
  -webkit-text-fill-color: inherit;
}

/* Responsive */
@media (max-width: 980px) {
  .tm-section {
    padding: 68px 16px;
  }

  .tm-list {
    grid-template-columns: 1fr;
  }

  .tm-card {
    padding: 22px;
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .tm-section {
    padding: 56px 14px;
  }

  .tm-card {
    padding: 18px;
    border-radius: 22px;
  }

  .tm-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .tm-icon {
    width: 46px;
    height: 46px;
  }

  .tm-icon .material-icons {
    font-size: 23px;
  }

  .tm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tm-btn {
    width: 100%;
  }
}