:root {
--m-font-body: 'Roboto', Arial, sans-serif;
--m-font-ui: 'Poppins', 'Roboto', sans-serif;
--m-navy: #002CA5;
--m-blue: #2962FF;
--m-blue-dark: #1e50d8;
--m-blue-light: #EFF4FF;
--m-red: #ED2728;
--m-red-dark: #c81f20;
--m-red-light: #FFF0F0;
--m-text: #1A1A1A;
--m-text-body: #465A63;
--m-text-mid: rgba(70, 90, 99, 0.8);
--m-text-soft: rgba(70, 90, 99, 0.55);
--m-text-white: #FFFFFF;
--m-bg-white: #FFFFFF;
--m-bg-light: #F5F6FA;
--m-bg-card: #FFFFFF;
--m-bg-nav: #2962FF;
--m-bg-topbar: #002CA5;
--m-border: #E8ECF0;
--m-border-mid: #CDD5E0;
--m-shadow-sm: 0 2px 8px rgba(0, 44, 165, 0.08);
--m-shadow-md: 0 4px 20px rgba(0, 44, 165, 0.12);
--m-shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
--m-shadow-card-hover: 0 8px 28px rgba(41, 98, 255, 0.14);
--m-shadow-btn: 0 4px 14px rgba(237, 39, 40, 0.30);
--m-radius-xs: 4px;
--m-radius-sm: 6px;
--m-radius-md: 10px;
--m-radius-lg: 16px;
--m-radius-xl: 20px;
--m-radius-pill: 9999px;
--m-sp-1: 4px;
--m-sp-2: 8px;
--m-sp-3: 12px;
--m-sp-4: 16px;
--m-sp-5: 20px;
--m-sp-6: 24px;
--m-sp-8: 32px;
--m-sp-10: 40px;
--m-sp-12: 48px;
--m-sp-14: 56px;
--m-sp-16: 64px;
--m-sp-20: 80px;
--m-text-xs: 12px;
--m-text-sm: 14px;
--m-text-base: 16px;
--m-text-md: 18px;
--m-text-lg: 20px;
--m-text-xl: 24px;
--m-text-2xl: 28px;
--m-text-3xl: 34px;
--m-text-hero: 52px;
--m-ease: 180ms ease;
--m-ease-s: 250ms cubic-bezier(0.16, 1, 0.3, 1);
--m-container: 1200px;
--m-container-narrow: 860px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  min-height: 100dvh;
  font-family: var(--m-font-body);
  font-size: var(--m-text-base);
  line-height: 1.6;
  color: var(--m-text-body);
  background: var(--m-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 88px;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 12px; top: 12px; z-index: 300; background: #fff; padding: 10px 14px; border-radius: 6px; box-shadow: var(--m-shadow-md); }

.m-container { width: 100%; max-width: var(--m-container); margin-inline: auto; padding-inline: var(--m-sp-4); }
.m-container--narrow { max-width: var(--m-container-narrow); }

.m-section { padding: var(--m-sp-10) 0; }
.m-section--light { background: var(--m-bg-light); }
.m-section--navy { background: linear-gradient(145deg, var(--m-navy) 0%, var(--m-blue) 100%); color: #fff; }

.m-eyebrow {
  display: inline-block;
  font-family: var(--m-font-ui);
  font-size: var(--m-text-xs);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--m-blue);
}
.m-section--navy .m-eyebrow { color: rgba(255, 255, 255, .9); }

.m-divider { width: 40px; height: 3px; background: var(--m-red); border-radius: 2px; margin: 8px 0 16px; }

.m-section-header { margin-bottom: var(--m-sp-8); }
.m-section-header--center { text-align: center; }
.m-section-header--center .m-divider { margin-inline: auto; }
.m-section-header__title { font-size: var(--m-text-xl); font-weight: 500; color: var(--m-text); line-height: 1.25; margin-bottom: 12px; }
.m-section--navy .m-section-header__title { color: #fff; }
.m-section-header__subtitle { font-size: var(--m-text-sm); color: var(--m-text-mid); line-height: 1.7; max-width: 700px; }
.m-section--navy .m-section-header__subtitle { color: rgba(255, 255, 255, .78); }
.m-section-header--center .m-section-header__subtitle { margin-inline: auto; }

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--m-radius-sm);
  font-size: var(--m-text-base);
  font-weight: 500;
  text-align: center;
  transition: background var(--m-ease), box-shadow var(--m-ease), transform var(--m-ease);
}
.m-btn--red, .m-btn--primary { background: var(--m-red); color: #fff; box-shadow: var(--m-shadow-btn); }
.m-btn--red:hover, .m-btn--primary:hover { background: var(--m-red-dark); }
.m-btn--blue { background: var(--m-blue); color: #fff; }
.m-btn--outline { border: 2px solid var(--m-blue); color: var(--m-blue); background: transparent; }
.m-btn--ghost-white { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .32); }
.m-btn--full { width: 100%; }
.m-btn--first-screen { background: #fff; }
.m-btn--sm { min-height: 40px; font-size: var(--m-text-sm); padding-inline: 16px; }
.m-btn--lg { min-height: 58px; font-size: var(--m-text-md); }

.m-card { background: var(--m-bg-card); border: 1px solid var(--m-border); border-radius: var(--m-radius-lg); padding: var(--m-sp-6); box-shadow: var(--m-shadow-card); }
.m-card--blue { background: var(--m-blue-light); border-color: rgba(41, 98, 255, 0.18); }
.m-card__title { font-size: var(--m-text-base); font-weight: 700; line-height: 1.35; color: var(--m-text); margin-bottom: 8px; }
.m-card__text { font-size: var(--m-text-sm); line-height: 1.7; color: var(--m-text-mid); }

.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }

.hero {
  position: relative;
  overflow: hidden;
  background: #0F2A44;
  padding: 34px 0 42px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -80px auto auto 62%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 98, 255, .10) 0%, rgba(41, 98, 255, 0) 72%);
  pointer-events: none;
}
.hero__layout { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.hero__content { max-width: 680px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(41, 98, 255, .07);
  border: 1px solid rgba(41, 98, 255, .12);
  color: var(--m-blue);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--m-font-ui);
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 600;
  margin-bottom: 14px;
  max-width: 12ch;
}
.hero__subtitle { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .92); margin-bottom: 18px; max-width: 58ch; }
.hero__microcopy { font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin-top: 14px; max-width: 52ch; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(41, 98, 255, .12);
  box-shadow: 0 6px 16px rgba(0, 44, 165, .06);
  font-size: 12px;
  color: var(--m-text-body);
}

.hero__actions { display: flex; flex-direction: column; gap: 12px; }

.hero-visual {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(41, 98, 255, .10);
  box-shadow: 0 18px 44px rgba(0, 44, 165, .10);
}
.hero-visual__media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, #edf4ff 0%, #d9e7ff 100%); }
.hero-visual__body { padding: 20px; }
.hero-visual__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.hero-visual__meta span { font-size: 12px; font-weight: 600; color: var(--m-blue); background: var(--m-blue-light); border-radius: 999px; padding: 6px 10px; }

.hero-expert { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.hero-expert__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(160deg, #edf4ff 0%, #d5e5ff 100%);
  display: grid; place-items: center; color: var(--m-blue); flex: 0 0 52px;
}
.hero-expert__avatar svg { width: 26px; height: 26px; }
.hero-expert__name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.hero-expert__meta { font-size: 12px; color: rgba(255, 255, 255, .8); line-height: 1.5; }

.hero__media{position:absolute;inset:0;z-index:0}
.hero__media img,.hero__media video{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.hero__video-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 42, 68, .92) 0%, rgba(15, 42, 68, .78) 45%, rgba(15, 42, 68, .35) 100%);
}
.symptom-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(248px, 84%);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.symptom-slider::-webkit-scrollbar { display: none; }
.symptom-card { scroll-snap-align: start; }
.symptom-card.is-primary { background: linear-gradient(145deg, var(--m-navy) 0%, var(--m-blue) 100%); border: none; color: #fff; }
.symptom-card.is-primary .m-card__title,
.symptom-card.is-primary .m-card__text,
.symptom-card.is-primary .symptom-icon { color: #fff; }
.symptom-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 16px; background: var(--m-blue-light); color: var(--m-blue); }
.symptom-card.is-primary .symptom-icon { background: rgba(255, 255, 255, .14); }
.symptom-icon svg { width: 22px; height: 22px; }

.comfort-grid, .tech-grid, .cases-grid, .cta-grid, .footer-grid { display: grid; gap: 16px; }

.comfort-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--m-border);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}
.comfort-item.is-visible { opacity: 1; transform: none; }
.comfort-item__icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; display: grid; place-items: center; background: var(--m-blue-light); color: var(--m-blue); }
.comfort-item__icon svg { width: 22px; height: 22px; }

.tech-photo, .case-video, .ward-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(41, 98, 255, .12);
  background: linear-gradient(160deg, #edf4ff 0%, #d9e7ff 100%);
  box-shadow: var(--m-shadow-md);
}
.tech-photo { aspect-ratio: 4 / 3.5; }
.case-video { aspect-ratio: 16 / 10; position: relative; }
.ward-photo { aspect-ratio: 4 / 3.8; }

.video-trust-grid { display: grid; gap: 20px; align-items: center; }

.video-widget-card { background: #fff; border: 1px solid rgba(41, 98, 255, .12); border-radius: 20px; padding: 16px; box-shadow: var(--m-shadow-md); }
.video-widget-frame { overflow: hidden; border-radius: 16px; background: linear-gradient(160deg, #edf4ff 0%, #dce8ff 100%); min-height: 220px; }
.video-widget-frame .getreview-widget { min-height: 220px; }

.doctor-caption { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.doctor-caption span { display: inline-flex; align-items: center; min-height: 34px; padding: 8px 12px; border-radius: 999px; background: var(--m-blue-light); color: var(--m-blue); font-size: 12px; font-weight: 600; }

.trust-badges { display: grid; gap: 12px; margin-top: 20px; }
.trust-badge { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--m-border); box-shadow: var(--m-shadow-card); }
.trust-badge__icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; background: var(--m-blue-light); color: var(--m-blue); }
.trust-badge__icon svg { width: 20px; height: 20px; }

.play-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--m-text);
  font-size: 12px; font-weight: 700; box-shadow: var(--m-shadow-sm);
}

.timeline { display: grid; gap: 0; max-width: var(--m-container-narrow); margin-inline: auto; position: static; width: 100%; }
.timeline-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--m-border); }
.timeline-item:last-child { border-bottom: none; }
.timeline-dot {
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  background: #dbe6ff; color: var(--m-blue);
  font-family: var(--m-font-ui); font-weight: 700;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.timeline-item.is-visible .timeline-dot { background: var(--m-blue); color: #fff; transform: scale(1.04); }
.timeline-item__title { font-size: 16px; font-weight: 700; color: var(--m-text); line-height: 1.35; margin-bottom: 8px; }
.timeline-item__text { font-size: 14px; line-height: 1.7; color: var(--m-text-mid); }

.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--m-border); }
.faq-question {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 18px 0; text-align: left;
  color: var(--m-text); font-size: 16px; font-weight: 500; line-height: 1.45;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--m-bg-light); color: var(--m-blue);
  flex-shrink: 0;
  transition: transform var(--m-ease), background var(--m-ease);
}
.faq-answer { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s cubic-bezier(.16, 1, .3, 1), opacity .25s ease; }
.faq-answer__inner { padding-bottom: 18px; font-size: 14px; color: var(--m-text-mid); line-height: 1.75; }
.faq-item.is-open .faq-answer { max-height: 280px; opacity: 1; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--m-blue-light); }

.cta-panel { background: linear-gradient(145deg, var(--m-navy) 0%, var(--m-blue) 100%); color: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 18px 40px rgba(0, 44, 165, .22); }
.cta-panel .m-card__title { color: #fff; }
.cta-panel .m-card__text { color: rgba(255, 255, 255, .78); }
.cta-points { display: flex; flex-wrap: wrap; gap: 8px; }
.cta-points span { padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .14); font-size: 12px; font-weight: 600; color: #fff; }

.m-form { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 20px; }
.m-form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.m-form__group:last-child { margin-bottom: 0; }
.m-form__label { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .74); }
.m-form__input { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--m-border); background: #fff; color: var(--m-text); font-size: 14px; }
.m-form__input:focus { outline: none; border-color: var(--m-blue); box-shadow: 0 0 0 3px rgba(41, 98, 255, .15); }
.form-note { font-size: 12px; color: rgba(255, 255, 255, .62); line-height: 1.6; margin-top: 12px; }

.legal-card { background: #fff; border-radius: 16px; border: 1px solid var(--m-border); padding: 20px; box-shadow: var(--m-shadow-card); }

.cta-contact-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 18px 40px rgba(0, 44, 165, .18); }
.cta-contact-card__phone { display: inline-block; font-family: var(--m-font-ui); font-size: clamp(28px, 5vw, 40px); line-height: 1.05; font-weight: 700; color: #fff; margin: 12px 0 10px; }
.cta-contact-card__sub { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .74); max-width: 36ch; }
.cta-contact-card__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

.legal-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.legal-pills span { padding: 8px 12px; border-radius: 999px; background: var(--m-blue-light); color: var(--m-blue); font-size: 12px; font-weight: 600; }

.m-footer { background: var(--m-navy); color: rgba(255, 255, 255, .72); padding: 32px 0 24px; }
.footer-nav, .footer-socials { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-brand { color: #fff; font-size: 16px; font-weight: 700; }
.footer-phone { color: #fff; font-size: 16px; font-weight: 700; }
.footer-meta { font-size: 12px; color: rgba(255, 255, 255, .5); }

.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--m-border);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.mobile-cta-bar__inner { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; max-width: var(--m-container); margin-inline: auto; }
.mobile-cta-bar__title { font-size: 13px; font-weight: 700; color: var(--m-text); line-height: 1.2; }
.mobile-cta-bar__meta { font-size: 11px; color: var(--m-text-soft); }

.popup {
  position: fixed; left: 12px; right: 12px; bottom: 96px; z-index: 185;
  background: #fff; border: 1px solid var(--m-border); border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0, 44, 165, .22); padding: 20px;
  transform: translateY(18px); opacity: 0; pointer-events: none;
  transition: all .35s cubic-bezier(.16, 1, .3, 1);
}
.popup.is-visible { transform: none; opacity: 1; pointer-events: auto; display: block; }
.popup__close { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--m-bg-light); color: var(--m-text); }
.popup .m-form__label { color: var(--m-text-soft); }
.popup .m-form { background: transparent; border: none; padding: 0; margin-top: 16px; }
.popup .form-note { color: var(--m-text-soft); }

.page-anchor-nav-wrap { position: relative; margin-top: -10px; z-index: 20; }
.page-anchor-nav { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 0 0 8px; }
.page-anchor-nav::-webkit-scrollbar { display: none; }
.page-anchor-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  background: var(--m-blue); border: 1px solid var(--m-blue);
  box-shadow: 0 6px 18px rgba(41, 98, 255, 0.18); color: #fff;
  font-size: 13px; font-weight: 500; transition: all .2s ease;
  width: 125px; flex: 0 0 auto;
}
.page-anchor-nav a:hover, .page-anchor-nav a:focus-visible { background: var(--m-navy); border-color: var(--m-navy); color: #fff; }

@media (max-width: 767px) {
  .page-anchor-nav-wrap .m-container { padding-inline: 0; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .m-container { padding-inline: var(--m-sp-6); }
  .hero { padding: 56px 0 64px; }
  .hero__layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(300px, .78fr); gap: 32px; align-items: center; }
  .hero-visual { max-width: 430px; justify-self: end; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .m-btn { width: auto; }
  .comfort-grid, .tech-grid, .cases-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-trust-grid { grid-template-columns: 1.02fr .98fr; }
  .symptom-slider { grid-auto-flow: initial; overflow: visible; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-anchor-nav { justify-content: center; flex-wrap: wrap; overflow: visible; }
  .popup { left: auto; right: 20px; width: 360px; bottom: 20px; }
  .mobile-cta-bar { display: none; }
}

@media (min-width: 1024px) {
  .symptom-slider { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .comfort-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
