/*
 * iSmart Parenting Hub homepage hero.
 *
 * This file owns hero presentation only. Content and destination URLs remain
 * controlled by the existing WordPress and Customizer settings.
 */

.isp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 7vw, 108px) 0 clamp(78px, 7vw, 112px);
  background:
    radial-gradient(circle at 91% 12%, rgba(235, 191, 122, .18) 0 118px, transparent 120px),
    radial-gradient(circle at 3% 94%, rgba(237, 115, 164, .09) 0 132px, transparent 134px),
    linear-gradient(135deg, #ffffff 0%, #f5fbfe 48%, #eaf7fd 100%);
}

.isp-hero::after {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(54px, 6vw, 88px);
  align-items: center;
}

.hero-copy {
  max-width: 690px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid rgba(115, 192, 238, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--isp-ink);
  box-shadow: 0 8px 24px rgba(68, 68, 68, .045);
  font-size: .76rem;
  font-weight: 820;
  letter-spacing: .075em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-eyebrow__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a87932;
}

.hero-eyebrow__icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--isp-ink);
  font-size: clamp(3.35rem, 5.3vw, 5.15rem);
  font-weight: 860;
  line-height: .98;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.hero-copy > p {
  max-width: 610px;
  margin: 0 0 30px;
  color: #625f61;
  font-size: clamp(1.05rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

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

.hero-actions .isp-button {
  min-height: 50px;
  padding: 11px 18px;
  border-radius: 13px;
  font-size: .93rem;
  font-weight: 800;
  box-shadow: none;
}

.hero-actions .isp-button--primary {
  border-color: rgba(56, 139, 187, .14);
  background: var(--isp-primary);
  color: var(--isp-ink);
  box-shadow: 0 10px 24px rgba(115, 192, 238, .24);
}

.hero-actions .isp-button--primary:hover,
.hero-actions .isp-button--primary:focus-visible {
  background: #9ed4f2;
  color: var(--isp-ink);
  box-shadow: 0 12px 28px rgba(115, 192, 238, .30);
}

.hero-actions .isp-button--secondary {
  border-color: rgba(68, 68, 68, .11);
  background: rgba(255, 255, 255, .90);
  color: var(--isp-ink);
  box-shadow: 0 8px 22px rgba(68, 68, 68, .055);
}

.hero-actions .isp-button--secondary:hover,
.hero-actions .isp-button--secondary:focus-visible {
  border-color: rgba(115, 192, 238, .42);
  background: #fff;
  color: var(--isp-ink);
}

.hero-actions .button-icon {
  width: 19px;
  height: 19px;
}

.hero-actions .button-icon svg {
  width: 17px;
  height: 17px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 7px;
  border: 1px solid rgba(68, 68, 68, .075);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: #615e60;
  font-size: .79rem;
  font-weight: 720;
  line-height: 1.2;
  box-shadow: 0 5px 16px rgba(68, 68, 68, .035);
}

.hero-proof li span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf7fe;
  color: #3d88b5;
  box-shadow: none;
}

.hero-proof svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.hero-discovery {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}

.hero-discovery__blob {
  position: absolute;
  inset: 4% 1% 0 8%;
  width: auto;
  aspect-ratio: auto;
  border-radius: 36px;
  background: rgba(181, 222, 242, .22);
  transform: rotate(-2deg);
  filter: blur(.2px);
}

.hero-discovery__card--main {
  position: relative;
  z-index: 2;
  width: min(100%, 490px);
  padding: clamp(26px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(68, 68, 68, .085);
  border-radius: 26px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 54px rgba(68, 68, 68, .105), 0 4px 14px rgba(68, 68, 68, .035);
}

.hero-discovery__card--main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--isp-primary), var(--isp-secondary), var(--isp-accent));
}

.discovery-kicker {
  display: block;
  margin: 0 0 9px;
  color: #777375;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .10em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-discovery h2 {
  max-width: 390px;
  margin: 0 0 10px;
  color: var(--isp-ink);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 830;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero-discovery p {
  max-width: 410px;
  margin: 0 0 22px;
  color: #6b6769;
  font-size: .96rem;
  line-height: 1.58;
}

.discovery-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.discovery-tile {
  min-height: 104px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(68, 68, 68, .07);
  border-radius: 16px;
  color: var(--isp-ink);
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.discovery-tile:hover,
.discovery-tile:focus-visible {
  border-color: rgba(115, 192, 238, .38);
  box-shadow: 0 10px 24px rgba(68, 68, 68, .07);
  transform: translateY(-2px);
}

.discovery-tile > span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, .78);
  box-shadow: none;
}

.discovery-tile svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.discovery-tile strong {
  color: var(--isp-ink);
  font-size: .91rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.discovery-tile--blue {
  background: #edf8fe;
  color: #3f8bb8;
}

.discovery-tile--pink {
  background: #fdf0f5;
  color: #c85784;
}

.discovery-tile--yellow {
  background: #fff7e8;
  color: #957039;
}

.hero-float {
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(68, 68, 68, .06);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(68, 68, 68, .09);
}

.hero-float svg {
  width: 19px;
  height: 19px;
}

.hero-float--one {
  top: 4px;
  right: -2px;
  background: #fff5dc;
  color: #a87831;
  transform: rotate(5deg);
}

.hero-float--two {
  left: -4px;
  bottom: 18px;
  background: #fdeaf2;
  color: #c75783;
  transform: rotate(-5deg);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .86fr);
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 5vw, 4.45rem);
  }
}

@media (max-width: 960px) {
  .isp-hero {
    padding-top: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-copy h1 {
    max-width: 720px;
  }

  .hero-discovery {
    width: min(100%, 620px);
    margin-inline: auto;
    padding: 10px 0 18px;
  }

  .hero-discovery__card--main {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .isp-hero {
    padding: 44px 0 54px;
    background:
      radial-gradient(circle at 102% 2%, rgba(235, 191, 122, .13) 0 84px, transparent 86px),
      linear-gradient(180deg, #ffffff 0%, #f1fafe 100%);
  }

  .hero-eyebrow {
    margin-bottom: 18px;
    padding: 7px 10px;
    font-size: .70rem;
    letter-spacing: .06em;
  }

  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.65rem, 13vw, 3.65rem);
    line-height: 1;
    letter-spacing: -.045em;
  }

  .hero-copy > p {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .isp-button {
    width: 100%;
  }

  .hero-proof {
    gap: 7px;
    margin-top: 18px;
  }

  .hero-proof li {
    min-height: 34px;
    font-size: .76rem;
  }

  .hero-discovery {
    margin-top: 0;
    padding-bottom: 0;
  }

  .hero-discovery__blob,
  .hero-float {
    display: none;
  }

  .hero-discovery__card--main {
    padding: 22px;
    border-radius: 21px;
  }

  .hero-discovery h2 {
    font-size: clamp(1.7rem, 8vw, 2.05rem);
  }

  .discovery-tiles {
    gap: 8px;
  }

  .discovery-tile {
    min-height: 94px;
    padding: 12px;
    border-radius: 14px;
  }
}

@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: clamp(2.45rem, 12.5vw, 3.2rem);
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof li {
    width: fit-content;
  }

  .discovery-tiles {
    grid-template-columns: 1fr;
  }

  .discovery-tile {
    min-height: 88px;
    align-items: center;
    justify-content: center;
    gap: 9px;
  }
}
