/* BabyCare home */

/* ---------- hero ---------- */
.home-hero { position: relative; padding: clamp(16px, 3vw, 32px) 0 clamp(40px, 6vw, 80px); }
.home-hero > .container { position: relative; }
.home-hero__art {
  position: absolute; inset: 0 var(--pad); border-radius: 32px; overflow: hidden; z-index: 0;
  background: linear-gradient(135deg, #f4effb 0%, #e3d3f6 55%, #d3b9ef 100%);
}
.home-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .75; }
.home-blob--a { width: 46%; aspect-ratio: 1; left: -8%; top: -20%; background: #b07fe0; }
.home-blob--b { width: 38%; aspect-ratio: 1; right: -6%; bottom: -25%; background: #ffb547; opacity: .5; }
.home-blob--c { width: 30%; aspect-ratio: 1; right: 28%; top: -10%; background: #7a3dbd; opacity: .35; }
.home-hero__grid {
  position: relative; z-index: 1; display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr);
  padding: clamp(28px, 5vw, 72px) clamp(20px, 4vw, 56px);
}
@media (min-width: 960px) { .home-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; } }
.home-hero__title {
  font-size: clamp(30px, 8.4vw, 64px); font-weight: 800; line-height: .98; letter-spacing: -.045em;
  margin: 0 0 .35em; color: var(--brand-dark); overflow-wrap: break-word; hyphens: auto;
}
@media (min-width: 960px) { .home-hero__title { font-size: clamp(44px, 4.8vw, 84px); } }
.home-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.home-word > span { display: inline-block; animation: home-rise .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
@keyframes home-rise { from { transform: translateY(110%); } to { transform: none; } }
.home-hero .lead { color: var(--ink); max-width: 34em; }

.home-quick { display: grid; gap: 10px; margin-top: 28px; max-width: 560px; }
.home-quick a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px;
  padding: 10px 14px 10px 24px; border-radius: 999px; background: #fff; color: var(--brand-dark);
  font-weight: 700; font-size: clamp(16px, 2vw, 19px); text-decoration: none; box-shadow: var(--shadow-s);
  transition: transform .25s, box-shadow .25s;
}
.home-quick a:hover { transform: translateX(6px); box-shadow: var(--shadow); color: var(--brand-dark); }
.home-quick .arrow-btn { position: static; flex: none; width: 46px; height: 46px; background: var(--brand); color: #fff; }

/* slider */
.home-slider { background: var(--brand-dark); color: #fff; border-radius: var(--r-l); padding: 14px 14px 12px; box-shadow: var(--shadow); min-width: 0; }
.home-slider:focus-visible { outline-color: var(--accent); }
.home-slide { display: grid; gap: 10px; padding: 8px 8px 4px; justify-items: start; }
.home-slide h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.home-slide p { margin: 0; color: rgba(255, 255, 255, .88); }
.home-slide[hidden] { display: none; }
.home-slide.is-active { animation: home-fade .5s ease both; }
@keyframes home-fade { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.home-slide__ph { width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #7a3dbd, #3d1268); border-color: rgba(255, 255, 255, .45); color: #fff; }
.home-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.home-tag--dark { background: var(--tint-2); color: var(--brand-dark); }
.home-slider__bar { display: flex; align-items: center; gap: 8px; padding: 12px 8px 4px; }
.home-slider__count { margin-left: auto; font-weight: 600; font-size: 14px; opacity: .9; }
.home-ctl {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6);
  background: transparent; color: #fff; font-size: 16px; line-height: 1; cursor: pointer; transition: background .2s;
}
.home-ctl:hover { background: rgba(255, 255, 255, .18); }
.home-ctl:focus-visible { outline-color: var(--accent); }
.home-stories .home-ctl { border-color: var(--brand); color: var(--brand); }
.home-stories .home-ctl:hover { background: var(--tint); }

/* ---------- bento ---------- */
.home-bento { grid-auto-rows: minmax(240px, auto); }
/* 3 columns on mid viewports so titles do not wrap word-per-line; 4 only from 1180px */
@media (min-width: 760px) { .home-bento { grid-template-columns: repeat(3, 1fr); } .home-bento .bento__card { grid-column: span 1; } .home-bento .bento__card--wide { grid-column: span 2; } }
@media (min-width: 1180px) { .home-bento { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 759px) { .home-bento .bento__card--tall { grid-row: auto; } .home-bento .bento__card--wide { grid-column: 1 / -1; } }
.home-bento__art {
  position: absolute; right: -50px; bottom: 60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffb547 0 18%, transparent 19%), repeating-radial-gradient(circle, rgba(91, 31, 154, .2) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.bento__card--dark { background: linear-gradient(120deg, var(--brand-dark), #1d0a35 80%); }

/* ---------- locations ---------- */
.home-loc { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .home-loc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; } }
.home-cities { display: grid; gap: 0; margin-top: 12px; }
.home-cities a {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.03em; color: var(--brand-dark); text-decoration: none;
}
.home-cities a:hover { color: var(--brand); }
.home-cities .arrow-btn { position: static; width: 46px; height: 46px; background: var(--brand); color: #fff; flex: none; }
.home-scroller {
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; min-width: 0;
}
.home-loccard {
  flex: 0 0 min(280px, 78%); scroll-snap-align: start; padding: 14px 14px 20px; border-radius: var(--r-l); background: #fff;
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-s); transition: transform .25s, box-shadow .25s;
}
.home-loccard:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.home-loccard h3 { margin: 14px 6px 4px; font-size: 22px; }
.home-loccard p { margin: 0 6px; color: var(--muted); }
.home-loccard .home-loccard__meta { margin-top: 6px; font-weight: 600; color: var(--brand); }

/* ---------- mission ---------- */
.home-mission__title { max-width: 12em; margin-bottom: 1em; }
.home-mission { gap: 0; border-top: 1px solid var(--line); }
.home-mission__item {
  display: block; padding: 28px 8px 32px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) { .home-mission__item { border-bottom: 0; padding-right: 32px; } .home-mission__item + .home-mission__item { padding-left: 32px; border-left: 1px solid var(--line); } }
.home-mission__item h3 { font-size: clamp(30px, 4vw, 48px); color: var(--brand); margin-bottom: 12px; }
.home-mission__item p { color: var(--muted); max-width: 26em; }
.home-mission__more { font-weight: 700; color: var(--brand-dark); }
.home-mission__item:hover .home-mission__more { text-decoration: underline; }

/* ---------- counters ---------- */
.home-stats__grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .home-stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.home-stats__num { display: block; font-size: clamp(48px, 8vw, 104px); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.home-stats__cap { display: block; margin-top: 10px; font-size: 17px; color: rgba(255, 255, 255, .9); max-width: 14em; }

/* ---------- awareness + stories ---------- */
.home-aware { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(48px, 7vw, 88px); }
@media (min-width: 960px) { .home-aware { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; } }
.home-aware__ph { aspect-ratio: 1; border-radius: 32px; background: radial-gradient(circle at 70% 25%, #ffb547 0 12%, transparent 13%), linear-gradient(145deg, #c9a7ee, #5b1f9a); color: #fff; border-color: rgba(255, 255, 255, .5); }
.home-stories__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.home-stories__head h3 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.home-stories__ctl { display: flex; gap: 8px; }
.home-stories__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; }
.home-story { flex: 0 0 min(250px, 70%); scroll-snap-align: start; }
.home-story a { display: block; text-decoration: none; color: var(--ink); }
.home-story__art { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-l); overflow: hidden; transition: transform .3s; }
.home-story a:hover .home-story__art { transform: scale(1.03); }
.home-story__art--1 { background: linear-gradient(160deg, #b07fe0, #3d1268); }
.home-story__art--2 { background: linear-gradient(160deg, #ffb547, #7a3dbd); }
.home-story__art--3 { background: linear-gradient(160deg, #5b1f9a, #1d0a35); }
.home-story__art--4 { background: linear-gradient(160deg, #d3b9ef, #5b1f9a); }
.home-story__art--5 { background: linear-gradient(160deg, #7a3dbd, #ffb547); }
.home-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, .95); }
.home-play::after { content: ''; position: absolute; left: 25px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--brand); }
.home-story__dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 13px; font-weight: 600; }
.home-story__t { display: block; margin-top: 12px; font-weight: 600; line-height: 1.3; }
.home-story a:hover .home-story__t { color: var(--brand); }

/* ---------- app promo ---------- */
.home-app { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .home-app { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.home-app__list { margin: 0 0 28px; display: grid; gap: 12px; }
.home-app__list li { position: relative; padding-left: 36px; font-weight: 600; }
.home-app__list li::before { content: '✓'; position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; }
.home-phone { justify-self: center; width: min(280px, 80%); aspect-ratio: 9 / 18; padding: 12px; border-radius: 40px; background: #1d1230; box-shadow: 0 30px 60px rgba(61, 18, 104, .35); transform: rotate(3deg); }
.home-phone__screen { height: 100%; padding: 22px 14px 14px; border-radius: 30px; background: var(--tint); display: grid; align-content: start; gap: 10px; overflow: hidden; }
.home-phone__top { font-weight: 800; font-size: 20px; color: var(--brand-dark); margin-bottom: 4px; }
.home-phone__card { display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #fff; font-size: 14px; color: var(--ink); box-shadow: var(--shadow-s); }
.home-phone__card span { color: var(--muted); }
.home-phone__card--main { background: var(--brand); color: #fff; }
.home-phone__card--main span { color: rgba(255, 255, 255, .9); }
.home-phone__bar { height: 8px; border-radius: 4px; background: var(--tint-2); overflow: hidden; }
.home-phone__bar i { display: block; width: 68%; height: 100%; background: var(--accent); }

/* ---------- news ---------- */
.home-news__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.home-news__head .display { margin: 0; }
.home-newscard { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.home-newscard h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.home-newscard time { margin-top: auto; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.home-cta { padding-top: 0; }
.home-cta .cta-band .display { max-width: 12em; }
.home-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  .home-word > span, .home-slide.is-active { animation: none; }
  .home-quick a, .home-loccard, .home-story__art { transition: none; }
}
