/* =========================================
   HERO — DESKTOP
========================================= */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 64px 0 48px;
  background-color: #eaf5fc;
  background-image: url("../images/hero-doctor.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 440px;
}

.hero-media {
  display: none;
}

.hero-content {
  width: 52%;
  position: relative;
  z-index: 2;
  padding: 10px 0;
}

.hero-badge {
  display: inline-block;
  background: #d7ebf8;
  color: #176b9b;
  font-weight: 700;
  font-size: var(--fs-label);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-title {
  max-width: 600px;
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.12;
  color: #123d63;
}

.hero-text {
  max-width: 490px;
  font-size: var(--fs-lg);
  color: #405c73;
  margin: 20px 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  max-width: 570px;
}

.hero-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.35;
  color: #244d6c;
}

.hero-point + .hero-point {
  border-left: 1px solid rgba(35, 105, 150, .2);
}

.hero-point svg {
  width: 38px;
  height: 38px;
  color: #187ba8;
}

/* =========================================
   HERO — TABLET
========================================= */

@media (max-width: 1024px) {
  .hero {
    min-height: 500px;
    padding: 44px 0 36px;
    background-position: 55% center;
  }

  .hero-inner {
    min-height: 420px;
  }

  .hero-content {
    width: 54%;
  }

  .hero-title {
    font-size: var(--fs-h1);
  }

  .hero-points {
    gap: 0;
  }

  .hero-point {
    padding: 0 8px;
    font-size: var(--fs-caption);
  }
}

/* =========================================
   HERO — MOBILE
========================================= */

@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding: 0;
    background-color: #eaf5fc;
    background-image:
      linear-gradient(
        180deg,
        rgba(234,245,252,0) 0%,
        rgba(234,245,252,0) 65%,
        #ffffff 100%
      ),
      url("../images/hero-doctor.png");
    background-repeat: no-repeat;
    background-size: 100% 470px, auto 470px;
    background-position: center top, 85% top;
  }

  .hero-inner {
    display: block;
    width: 100%;
    min-height: 0;
    padding-top: 450px;
  }

  .hero-content {
    width: 100%;
    padding: 28px 24px 34px;
    background: rgba(255,255,255,.96);
    border-radius: 28px 28px 0 0;
    position: relative;
    z-index: 2;
  }

  .hero-badge {
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: var(--fs-h1);
    line-height: 1.15;
  }

  .hero-text {
    font-size: var(--fs-body);
    margin: 14px 0 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-actions .btn {
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 20px;
  }

  .hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 28px;
  }

  .hero-point {
    flex-direction: column;
    gap: 8px;
    padding: 0 7px;
    font-size: var(--fs-caption);
  }

  .hero-point svg {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 380px) {
  .hero-inner {
    padding-top: 450px;
  }

  .hero-content {
    padding-inline: 18px;
  }

  .hero-point {
    font-size: 11px;
  }
}

/* HERO CTA — REFINED */

.hero-actions .btn {
  width: fit-content;
  max-width: 100%;
  font-size: 1rem;
  font-weight: 500;
  padding: 15px 25px;
}

/* WhatsApp green */
.hero-actions .btn-primary {
  background: #168A62;
  border-color: #168A62;
  color: #ffffff;
}

.hero-actions .btn-primary:hover {
  background: #11734F;
  border-color: #11734F;
}

.hero-actions .btn-primary svg {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hero-actions {
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: fit-content;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 22px;
  }
}

/* WhatsApp CTA — Lime Green */
.hero-actions .btn-primary {
  background-color: #B4C540;
  border-color: #B4C540;
  color: #ffffff;
}

.hero-actions .btn-primary:hover {
  background-color: #9EAD32;
  border-color: #9EAD32;
}

/* MOBILE HERO POINTS — SOLID BLUE CARDS */

@media (max-width: 767px) {
  .hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
  }

  .hero-point {
    background: #176B9B;
    color: #ffffff;
    border: none !important;
    border-radius: 14px;
    min-height: 125px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
  }

  .hero-point svg {
    width: 34px;
    height: 34px;
    color: #ffffff;
    flex-shrink: 0;
  }
}
