/* Stilovi za stranicu Implanti i komplikacije. */

.hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: var(--header-h, 124px) 0 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(0, 0, 0, .18) 72%,
    rgba(0, 0, 0, .45) 88%,
    rgba(0, 0, 0, .72) 100%
  );
}

/* Glavni deo hero sekcije */

.hero > .wrap.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.1vw, 3.4rem);
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-demo {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
}

.hero-media .hero-demo {
  max-width: 430px;
}

.hero-demo--inline {
  display: none !important;
  max-width: 215px;
  margin: .3rem auto 1.2rem;
  position: relative;
  left: 0;
}

/* Benefiti su sada unutar plave hero sekcije. */

.hero-benefits-wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin: 32px 0 12px;
  padding: 0;
}

.hero-benefits article {
  padding: 26px;
  background: var(--petrol-50);
  border: 1px solid var(--petrol-100);
  border-radius: var(--r-lg);
}

.hero-benefits h3 {
  font-size: 1.15rem;
  margin: 12px 0 8px;
  color: var(--petrol-900);
}

.hero-benefits p {
  font-size: 1rem;
  color: var(--ink-soft);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral-tint);
  color: var(--coral-deep);
  font-weight: 700;
}

.hero-treatment-note {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  font-size: .9rem;
  color: var(--petrol-100);
}

/* Tim */

.team-four-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 3vw, 3rem);
  align-items: center;
}

.team-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1rem);
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
}

.team-media-grid .media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}

.team-media-grid .media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 22%;
}

.team-media-grid .media-cap {
  box-sizing: border-box;
  width: 100%;
  padding: 1.8rem 1.15rem .7rem;
  font-size: .88rem;
  line-height: 1.2;
}

.team-media-grid .media-cap small {
  font-size: .7rem;
  line-height: 1.25;
}

.process-cta {
  margin-top: 48px;
  text-align: center;
}

/* Rezultati pacijenata */

.implant-audience {
  padding-bottom: 32px;
}

.results-section {
  padding-top: 32px;
}

.patient-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.audience-video-card {
  min-width: 0;
  text-align: center;
}

.audience-video-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 20px;
}

.audience-video-card iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
  box-shadow: var(--sh-lg);
}

.patient-videos .instagram-reel {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  margin-inline: auto;
}

.results-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: .9rem;
}

/* Desktop navigacija */

.section-menu > summary {
  display: none;
}

.section-menu:not([open]) > .section-menu-links {
  display: flex;
}

.section-menu-links {
  list-style: none;
}

@media (max-width: 980px) {
  .team-four-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .team-media-grid {
    max-width: 560px;
  }
}

@media (max-width: 860px) {
  .hero > .wrap.hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    display: none !important;
  }

  .hero-demo--inline {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .implant-audience .grid.grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .patient-videos {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .team-media-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 380px;
  }

  .team-media-grid .media-cap {
    padding: 1.6rem 1.3rem .75rem;
    font-size: .88rem;
  }

  .team-media-grid .media-cap small {
    font-size: .7rem;
  }
}

/* Mobilni meni */

@media (max-width: 900px) {
  :root {
    --header-h: 120px;
  }

  .section-menu {
    position: relative;
  }

  .section-menu > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: .9rem;
  }

  .section-menu > summary::-webkit-details-marker {
    display: none;
  }

  .section-menu[open] > summary svg {
    transform: rotate(180deg);
  }

  .site-header .quick-nav .section-menu-links,
  .section-menu:not([open]) > .section-menu-links {
    display: none;
  }

  .site-header .quick-nav .section-menu[open] > .section-menu-links {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    grid-template-columns: 1fr;
    height: auto;
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--petrol-900);
    box-shadow: 0 16px 24px #0003;
  }

  .section-menu-links a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #ffffff20;
    border-radius: 0;
    text-align: left;
    font-size: .95rem;
    white-space: normal;
  }
}
@media (max-width: 600px) {
  .site-header .header-actions > .btn {
    max-width: none;
    white-space: nowrap;
    flex-shrink: 0;
    padding: .65rem .8rem;
    font-size: .72rem;
  }
}