/* Main (Medaayu) page only. Loaded after styles.css. */
.home { --deep: #0b3d57; }
.home .h-sec { padding: 104px 0; }
.home .h-sec--dark { background: linear-gradient(160deg, #0b3d57 0%, #0083a1 120%); color: #fff; }
.h-head { display: grid; gap: 14px; max-width: 44rem; margin: 0 auto 56px; text-align: center; justify-items: center; }
.h-head h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.9rem); color: var(--deep); line-height: 1.1; }
.h-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.h-kick { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--teal-d) !important; }
.h-head--light h2, .h-head--light p { color: #fff; } .h-head--light .h-kick { color: #7fe3f5 !important; }

/* hero */
.h-hero { position: relative; padding: 72px 0 0; background: radial-gradient(900px 500px at 85% 20%, rgba(48,203,234,.35), transparent 60%), linear-gradient(135deg, #0b3d57 0%, #0a6c8c 60%, #19a4c6 100%); color: #fff; overflow: hidden; }
.h-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(255,255,255,0)); }
.h-hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; padding-bottom: 150px; }
.h-hero__copy { display: grid; gap: 24px; justify-items: start; }
.h-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.h-pill i { width: 9px; height: 9px; border-radius: 50%; background: #5af0b8; box-shadow: 0 0 0 4px rgba(90,240,184,.25); }
.h-hero h1 { margin: 0; font-size: clamp(2.6rem, 4.8vw, 4.3rem); line-height: 1.04; letter-spacing: -.03em; color: #fff; text-transform: none; }
.h-hero h1 span:last-child { color: #7fe3f5; }
.h-lead { margin: 0; max-width: 33rem; font-size: 1.2rem; color: rgba(255,255,255,.88); }
.h-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.h-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.h-link .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.h-link:hover .ico { transform: translateX(4px); }
.h-link--dark { color: var(--deep); }
.h-fine { margin: 0; font-size: .85rem; color: rgba(255,255,255,.7); }
.h-stage { position: relative; display: grid; place-items: center; padding: 20px 0; }
.h-stage .phonewrap { margin: 0; }
.h-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; color: var(--muted); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.25); font-size: .85rem; line-height: 1.25; }
.h-chip p { margin: 0; } .h-chip b { display: block; color: var(--deep); }
.h-chip .ico { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: #d9f1f7; color: var(--teal-d); fill: none; stroke: currentColor; stroke-width: 1.8; }
.h-chip--a { left: -4%; top: 16%; } .h-chip--b { right: -2%; bottom: 14%; }
.h-strip { position: relative; z-index: 4; list-style: none; margin: 0 0 -60px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 6px; box-shadow: 0 24px 60px rgba(11,61,87,.25); transform: translateY(-60px); margin-bottom: -60px; }
.h-strip li { padding: 28px 30px; border-left: 1px solid #e3eef2; display: grid; gap: 2px; }
.h-strip li:first-child { border-left: 0; }
.h-strip b { font: 800 2rem Raleway, sans-serif; color: var(--teal); line-height: 1.1; }
.h-strip span { color: var(--muted); font-size: .95rem; }
.h-hero + .h-sec { padding-top: 150px; }

/* features */
.h-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h-feat { display: grid; align-content: start; gap: 12px; padding: 34px 30px; background: #fff; border: 1px solid #dbe9ee; border-radius: 8px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.h-feat:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(11,61,87,.12); border-color: var(--teal); }
.h-feat h3 { margin: 6px 0 0; font-size: 1.25rem; color: var(--deep); }
.h-feat p { margin: 0; color: var(--muted); }
.h-ic { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--teal-l), var(--teal-d)); color: #fff; box-shadow: 0 10px 22px rgba(25,164,198,.35); }
.h-ic .ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* steps */
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.h-step { position: relative; padding: 34px 26px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; display: grid; gap: 10px; align-content: start; backdrop-filter: blur(6px); }
.h-step b { font: 800 3rem Raleway, sans-serif; line-height: 1; color: #7fe3f5; }
.h-step h3 { margin: 4px 0 0; font-size: 1.25rem; color: #fff; }
.h-step p { margin: 0; color: rgba(255,255,255,.82); }
.h-step:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -23px; width: 24px; height: 2px; background: #7fe3f5; opacity: .6; }
.h-center { text-align: center; margin-top: 56px; }

/* doctor card */
.h-doc { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); background: #fff; border: 1px solid #dbe9ee; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(11,61,87,.1); }
.h-doc__side { position: relative; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 56px 32px; text-align: center; color: #fff; background: linear-gradient(150deg, #0b3d57, #0a7fa0); }
.h-doc__tag { position: absolute; top: 18px; left: 18px; padding: 6px 12px; background: #fff; color: var(--deep); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.h-doc__av { width: 132px; height: 132px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); border: 3px solid rgba(255,255,255,.5); font: 800 2.6rem Raleway, sans-serif; letter-spacing: .04em; margin-bottom: 10px; }
.h-doc__side h3 { margin: 0; font-size: 1.7rem; color: #fff; } .h-doc__side p { margin: 0; color: #bfeefa; font-weight: 600; }
.h-doc__body { display: grid; align-content: center; gap: 28px; padding: 48px; }
.h-doc__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin: 0; }
.h-doc__meta div { display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid #e3f1f6; }
.h-doc__meta dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.h-doc__meta dd { margin: 0; color: var(--deep); font-weight: 700; }
.h-doc__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.h-more { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h-more li { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 2px dashed #bfe0ea; background: #f4fafc; border-radius: 8px; }
.h-more span { width: 46px; height: 46px; display: grid; place-items: center; background: #e3f1f6; color: var(--teal-d); font-size: 1.6rem; font-weight: 700; border-radius: 50%; }
.h-more b { display: block; color: var(--deep); } .h-more em { font-style: normal; color: var(--muted); font-size: .9rem; }

@media (max-width: 1000px) {
  .h-hero__grid { grid-template-columns: 1fr; padding-bottom: 110px; }
  .h-chip--a { left: 0; } .h-chip--b { right: 0; }
  .h-strip { grid-template-columns: 1fr 1fr; } .h-strip li:nth-child(3) { border-left: 0; } .h-strip li:nth-child(n+3) { border-top: 1px solid #e3eef2; }
  .h-feats { grid-template-columns: 1fr 1fr; }
  .h-steps { grid-template-columns: 1fr 1fr; } .h-step::after { display: none; }
  .h-doc { grid-template-columns: 1fr; } .h-more { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home .h-sec { padding: 72px 0; } .h-hero + .h-sec { padding-top: 130px; }
  .h-hero { padding-top: 40px; } .h-strip { transform: translateY(-40px); margin-bottom: -40px; }
  .h-strip li { padding: 20px; } .h-feats, .h-steps, .h-doc__meta { grid-template-columns: 1fr; }
  .h-doc__body { padding: 28px 22px; } .h-chip { display: none; }
}
.h-chip--a { left: -9%; top: 4%; } .h-chip--b { right: -6%; bottom: 8%; }
@media (max-width: 1000px) { .h-chip--a { left: 0; top: 0; } .h-chip--b { right: 0; bottom: 4%; } }

/* doctor photo */
.h-doc__side { padding: 0; align-content: stretch; justify-items: stretch; gap: 0; text-align: left; min-height: 480px; background: #0b3d57; grid-template-rows: 1fr auto auto; }
.h-doc__ph { grid-row: 1 / -1; grid-column: 1; width: 100%; height: 100%; object-fit: cover; object-position: 36% 12%; }
.h-doc__side h3, .h-doc__side p { grid-column: 1; position: relative; z-index: 1; padding-inline: 28px; }
.h-doc__side h3 { grid-row: 2; padding-top: 80px; background: linear-gradient(180deg, transparent, rgba(11,61,87,.92) 70%); }
.h-doc__side p { grid-row: 3; padding-bottom: 26px; background: rgba(11,61,87,.92); }
.h-doc__tag { z-index: 2; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 20px; }
.bt { display: grid; align-content: start; gap: 10px; padding: 30px; background: #fff; border: 1px solid #dbe9ee; border-radius: 10px; transition: transform .3s, box-shadow .3s; }
.bt:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(11,61,87,.12); }
.bt .ico { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: #d9f1f7; color: var(--teal-d); fill: none; stroke: currentColor; stroke-width: 1.8; margin-bottom: 6px; }
.bt h3 { margin: 0; font-size: 1.2rem; color: var(--deep); } .bt p { margin: 0; color: var(--muted); }
.bt--tint { background: #eaf6fa; border-color: #cfe8f0; }
.bt--big { grid-column: span 2; grid-row: span 2; padding: 38px; background: linear-gradient(155deg, #0b3d57, #0a7fa0); border: 0; color: #fff; align-content: space-between; }
.bt--big h3 { font-size: 1.9rem; line-height: 1.15; color: #fff; } .bt--big p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.bt__tag { justify-self: start; padding: 6px 12px; background: rgba(255,255,255,.16); border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bt__chat { display: grid; gap: 10px; margin-top: 18px; }
.bt__b { margin: 0; padding: 11px 16px; border-radius: 16px; max-width: 78%; font-size: .95rem; }
.bt--big .bt__b--bot { background: rgba(255,255,255,.14); color: #fff; border-bottom-left-radius: 4px; }
.bt--big .bt__b--me { justify-self: end; background: #fff; color: var(--deep); border-bottom-right-radius: 4px; }
.bt--wide { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 34px 40px; background: linear-gradient(100deg, #19a4c6, #0083a1); border: 0; }
.bt--wide:hover { transform: none; }
.bt__free { font: 800 4.2rem Raleway, sans-serif; line-height: 1; color: #fff; }
.bt--wide h3 { color: #fff; font-size: 1.5rem; } .bt--wide p { color: rgba(255,255,255,.88); }

/* how it works */
.home .h-sec--tint { background: #eef7fb; }
.how { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 72px; align-items: start; }
.how__intro { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 18px; justify-items: start; }
.how__intro h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.1; color: var(--deep); }
.how__intro p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.how__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--deep); }
.how__row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; padding: 34px 8px; border-bottom: 1px solid #c9dfe8; transition: background .3s, padding .3s; }
.how__row:hover { background: #fff; padding-left: 24px; }
.how__row b { font: 800 4.6rem Raleway, sans-serif; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--teal); }
.how__row:hover b { color: var(--teal); }
.how__row h3 { margin: 0 0 6px; font-size: 1.4rem; color: var(--deep); } .how__row p { margin: 0; color: var(--muted); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; } .bt--big { grid-column: 1 / -1; grid-row: auto; }
  .bt--wide { grid-template-columns: 1fr; gap: 16px; }
  .how { grid-template-columns: 1fr; gap: 40px; } .how__intro { position: static; }
  .h-doc__side { min-height: 420px; }
}
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .how__row { grid-template-columns: 64px 1fr; } .how__row b { font-size: 3.2rem; } }
@media (max-width: 600px) {
  .bt--wide { padding: 28px 22px; } .bt--wide .btn { width: 100%; justify-content: center; text-align: center; }
  .bt__free { font-size: 3.4rem; } .bt--big { padding: 26px 22px; } .bt--big h3 { font-size: 1.5rem; }
  .h-cta .btn { width: 100%; justify-content: center; } .h-doc__cta .btn { width: 100%; justify-content: center; }
  .h-hero h1 { font-size: clamp(2.2rem, 10.5vw, 2.7rem); }
}
@media (max-width: 360px) { .h-pill { font-size: .8rem; } .h-strip b { font-size: 1.6rem; } }

/* consultation modes */
.h-doc__meta .wide { grid-column: 1 / -1; }
.modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.modes span { padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.m-free { background: #d8f5e6; color: #0b6b3f; } .m-paid { background: #e3f1f6; color: var(--teal-d); }

/* how-it-works video: popup */
.vmodal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(5,28,44,.82); backdrop-filter: blur(4px); }
.vmodal[hidden] { display: none; }
.vmodal.is-open { animation: vmIn .35s ease both; }
.vmodal.is-open .vid { animation: vidIn .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vmIn { from { opacity: 0; } to { opacity: 1; } }
.vid { margin: 0; width: min(1100px, 100%); border-radius: 14px; overflow: hidden; background: #0b3d57; box-shadow: 0 40px 100px rgba(0,0,0,.55); border: 4px solid #fff; position: relative; }
.vid video { display: block; width: 100%; height: auto; max-height: calc(100vh - 80px); aspect-ratio: 16 / 9; background: #0b3d57; }
@media (max-width: 600px) { .vmodal { padding: 12px; } .vid { border-width: 3px; border-radius: 10px; } }

.how__btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.how__watch { gap: 10px; }
.how__watch .ico { width: 18px; height: 18px; fill: currentColor; stroke: none; }
@keyframes vidIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.vid__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(11,61,87,.85); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.vid__close:hover { background: #0b3d57; }
@media (prefers-reduced-motion: reduce) { .vmodal.is-open, .vmodal.is-open .vid { animation: none; } }
.how__watch { background: #fff; color: var(--teal-d); border: 2px solid var(--teal); box-shadow: none; }
.how__watch:hover { background: var(--teal); color: #fff; }

/* background video at the top of the hero */
.h-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.h-hero > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .h-hero__bg { display: none; } }
.h-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,40,62,.78) 0%, rgba(7,40,62,.55) 38%, rgba(7,40,62,0) 68%); }
@media (max-width: 1000px) { .h-hero::before { background: linear-gradient(180deg, rgba(7,40,62,.7) 0%, rgba(7,40,62,.45) 60%, rgba(7,40,62,.2) 100%); } }

/* video-led hero: text over a full-bleed background video */
.h-hero { min-height: 640px; display: flex; align-items: center; background: #0b3d57; }
.h-hero__grid { grid-template-columns: minmax(0, 720px); padding: 90px 0 170px; }
.h-hero::before { background: linear-gradient(90deg, rgba(6,36,56,.86) 0%, rgba(6,36,56,.62) 45%, rgba(6,36,56,.18) 80%, rgba(6,36,56,.1) 100%), linear-gradient(180deg, rgba(6,36,56,.35) 0%, rgba(6,36,56,0) 30%, rgba(6,36,56,.45) 100%); }
.h-hero__bg { object-position: 30% 40%; }
.h-hero h1, .h-lead, .h-fine, .h-pill { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
@media (max-width: 1000px) {
  .h-hero { min-height: 560px; align-items: flex-end; }
  .h-hero__grid { padding: 60px 0 130px; }
  .h-hero::before { background: linear-gradient(180deg, rgba(6,36,56,.55) 0%, rgba(6,36,56,.7) 55%, rgba(6,36,56,.88) 100%); }
}
.h-hero { display: block; }
.h-hero__bg { z-index: 0; }
.h-hero::before { z-index: 1; }
.h-hero > .wrap { position: relative; z-index: 2; }
.h-hero__grid { padding: 110px 0 190px; }
@media (max-width: 1000px) { .h-hero__grid { padding: 70px 0 140px; } }

/* smaller hero text */
.h-hero h1 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; }
.h-lead { font-size: 1.05rem; max-width: 30rem; }
.h-pill { font-size: .8rem; padding: 6px 14px; }
.h-fine { font-size: .8rem; }
.h-hero__copy { gap: 18px; }
.h-hero .btn--lg { padding: 14px 26px; font-size: .85rem; }
.h-link { font-size: .95rem; }
@media (max-width: 600px) { .h-hero h1 { font-size: clamp(1.8rem, 8.4vw, 2.2rem); } .h-lead { font-size: 1rem; } }

/* testimonials */
.tests { margin-top: 96px; }
.tests[hidden] { display: none; }
.tests__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard2 { position: relative; display: grid; align-content: space-between; gap: 22px; padding: 34px 30px 28px; background: #fff; border: 1px solid #dbe9ee; border-radius: 10px; box-shadow: 0 16px 40px rgba(11,61,87,.08); }
.tcard2::before { content: "\201C"; position: absolute; top: 6px; left: 22px; font: 800 5rem/1 Raleway, sans-serif; color: #d3eef6; }
.tcard2 blockquote { position: relative; margin: 18px 0 0; font-size: 1.1rem; line-height: 1.55; color: #0b3d57; }
.tcard2__tag { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 999px; background: #fff4d6; color: #8a5a00; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tcard2__who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid #e3eef2; }
.tcard2__who p { margin: 0; color: #5b7482; font-size: .92rem; line-height: 1.35; } .tcard2__who b { color: #0b3d57; }
.tcard2__av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #30cbea, #0083a1); color: #fff; font: 800 1.1rem Raleway, sans-serif; }
@media (max-width: 1000px) { .tests { margin-top: 64px; } .tests__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; } .tcard2 { scroll-snap-align: start; } }
.privacy__text .how__watch { justify-self: start; }
