@font-face {
  font-family: "Gilroy";
  src: url("font/SVNGilroyRegular.148644b5.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("font/SVNGilroyRegular.148644b5.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("font/SVNGilroyBold.7d029028.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("font/SVNGilroyBold.7d029028.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #edf5f3;
  --shell: rgba(255, 255, 255, 0.84);
  --surface: #ffffff;
  --surface-soft: #f7fbfa;
  --ink: #102b2a;
  --muted: #68807d;
  --line: #dcebea;
  --brand: #1ab39a;
  --brand-strong: #0e8c79;
  --shadow: 0 14px 30px rgba(10, 50, 47, 0.08);
  --shadow-strong: 0 18px 36px rgba(10, 50, 47, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Gilroy", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(26, 179, 154, 0.14) 0, transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(245, 213, 181, 0.42) 0, transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(215, 245, 239, 0.7) 0, transparent 34%),
    linear-gradient(180deg, #f8fbfa 0%, #eef5f3 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body button {
   font-family: "Gilroy", "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.6) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.48) 0 1.8px, transparent 2.8px),
    radial-gradient(circle at 40% 74%, rgba(255, 255, 255, 0.44) 0 1.6px, transparent 2.6px);
  opacity: 0.75;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100vw, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--shell);
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255, 255, 255, 0.72);
  border-right: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 56px rgba(9, 45, 43, 0.1);
}
.searchbar__icon.icon{
  height: 25px;
}
.topbar {
  top: 0;
  z-index: 30;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 12px;
  background: rgba(248, 252, 251, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 134, 118, 0.08);
}

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.statusbar__time {
  letter-spacing: 0.01em;
}

.statusbar__icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #182d2c;
}

.statusbar__signal {
  width: 18px;
  height: 12px;
  display: inline-block;
  background:
    linear-gradient(90deg, #182d2c 0 2px, transparent 2px) 0 100% / 4px 5px no-repeat,
    linear-gradient(90deg, #182d2c 0 2px, transparent 2px) 4px 100% / 4px 8px no-repeat,
    linear-gradient(90deg, #182d2c 0 2px, transparent 2px) 8px 100% / 4px 11px no-repeat,
    linear-gradient(90deg, #182d2c 0 2px, transparent 2px) 12px 100% / 4px 14px no-repeat;
  opacity: 0.9;
}

.statusbar__network {
  font-size: 0.78rem;
  font-weight: 800;
}

.statusbar__battery {
  position: relative;
  width: 26px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid #172d2b;
  padding: 1.5px;
}

.statusbar__battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: #172d2b;
}

.statusbar__battery-level {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: 2px;
  background: #172d2b;
}

.statusbar__percent {
  font-size: 0.78rem;
  font-weight: 800;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 16px;

}

.brand-mark__ring {
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
}

.brand-mark__plus {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.brand-mark__plus::before,
.brand-mark__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 999px;
}

.brand-mark__plus::before {
  width: 16px;
  height: 4px;
}

.brand-mark__plus::after {
  width: 4px;
  height: 16px;
}

.brand-copy {
  min-width: 0;
}

.brand-copy__name {
  margin: 0;
  font-family: "Gilroy", "Segoe UI", sans-serif;
  font-size: 1.03rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-copy__tag {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1.6px solid rgba(26, 179, 154, 0.36);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(18, 78, 73, 0.04);
}

.searchbar__icon {
  color: var(--brand);
}

.searchbar input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.94rem;
}

.searchbar input::placeholder {
  color: #88a09d;
}

.search-meta {
  margin: 8px 4px 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.search-meta.is-hidden {
  display: none;
}

.home-content {
  display: grid;
  gap: 18px;
  padding: 14px 14px calc(110px + env(safe-area-inset-bottom, 0px));
}

.section {
  display: grid;
  gap: 12px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section-head h2 {
  margin: 0;
  font-family: "Gilroy", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-head__link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.hero-carousel {
  position: relative;
}

.hero-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 20px;
  scrollbar-width: none;
  box-shadow: var(--shadow-strong);
}

.hero-track::-webkit-scrollbar,
.strip::-webkit-scrollbar,
.horizontal-strip::-webkit-scrollbar,
.guide-tabs::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  scroll-snap-align: start;
  min-height: 192px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
}

.hero-slide__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.hero-slide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: #165d55;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-slide__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(26, 179, 154, 0.18);
}

.hero-slide h3 {
  margin: 0;
  font-family: "Gilroy", "Segoe UI", sans-serif;
  font-size: 1.24rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #15312f;
}

.hero-slide p {
  margin: 0;
  color: rgba(16, 43, 42, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
}

.hero-slide__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #1a615b;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.hero-slide__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:active,
.bottom-nav__item:active,
.guide-tab:active,
.service-card:active,
.hospital-card:active,
.quick-action:active,
.assistant-fab:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, #0e8c79, #1ab39a);
  color: #fff;
  box-shadow: 0 10px 18px rgba(26, 179, 154, 0.24);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.42);
  color: #165e56;
  border: 1px solid rgba(22, 94, 86, 0.12);
}

.hero-slide__art {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 156px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-slide--sand {
  background: linear-gradient(135deg, #d9b086 0%, #f0d1ae 48%, #f9e8d6 100%);
}

.hero-slide--mint {
  background: linear-gradient(135deg, #b8efe2 0%, #8ee0d0 45%, #5bc4b4 100%);
}

.hero-slide--sea {
  background: linear-gradient(135deg, #a6d8d2 0%, #d4f1ef 52%, #f8fcfb 100%);
}

.hero-slide--sand .hero-slide__art {
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.8) 0 8%, transparent 9%),
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, 0.52) 0 7%, transparent 8%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), transparent 60%);
}

.hero-slide--mint .hero-slide__art {
  background:
    radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.72) 0 9%, transparent 10%),
    radial-gradient(circle at 72% 70%, rgba(255, 255, 255, 0.45) 0 10%, transparent 11%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), transparent 60%);
}

.hero-slide--sea .hero-slide__art {
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 255, 255, 0.9) 0 9%, transparent 10%),
    radial-gradient(circle at 22% 70%, rgba(255, 255, 255, 0.5) 0 11%, transparent 12%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), transparent 60%);
}

.hero-slide__art::before,
.hero-slide__art::after {
  content: "";
  position: absolute;
}

.hero-slide--sand .hero-slide__art::before {
  inset: 18px 18px auto 46px;
  height: 84px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 30px rgba(78, 47, 25, 0.12);
}

.hero-slide--sand .hero-slide__art::after {
  right: 16px;
  bottom: 16px;
  width: 68px;
  height: 68px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.95) 0 7%, transparent 8%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.12));
  box-shadow: 0 18px 30px rgba(78, 47, 25, 0.16);
}

.hero-slide--mint .hero-slide__art::before {
  inset: 16px 20px 24px 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 30px rgba(7, 102, 91, 0.12);
}

.hero-slide--mint .hero-slide__art::after {
  left: 18px;
  bottom: 18px;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 255, 255, 0.98) 0 7%, transparent 8%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.14));
}

.hero-slide--sea .hero-slide__art::before {
  left: 24px;
  top: 18px;
  width: 86px;
  height: 88px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.33);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 30px rgba(16, 88, 86, 0.12);
}

.hero-slide--sea .hero-slide__art::after {
  right: 18px;
  top: 20px;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.98) 0 8%, transparent 9%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.14));
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 43, 42, 0.18);
  cursor: pointer;
  transition: width 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.hero-dot.is-active {
  width: 20px;
  background: var(--brand);
}
 

.ask-card,
.cta-card,
.hospital-card,
.service-card,
.promo-card,
.guide-card,
.news-card,
.faq-card,
.doctor-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.ask-card {
  padding: 16px;
  border-radius: 22px;
}

.ask-card__tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
}

.ask-card__question {
  margin: 0;
  font-size: 1rem;
  line-height: 1.48;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ask-card__meta {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.ask-card__doctor {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #eef8f6;
  border: 1px solid #d8ebe7;
}

.ask-card__doctor-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.ask-card__doctor-name {
  font-size: 0.86rem;
  font-weight: 800;
}

.ask-card__doctor-date {
  font-size: 0.76rem;
  color: var(--muted);
}

.ask-card__answer {
  margin: 0;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid #bfdad4;
  background: #f8fbfa;
  color: #4f6663;
  font-size: 0.78rem;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cta-card {
  border-radius: 22px;
  background: linear-gradient(180deg, #21c0a6 0%, #11a28b 100%);
  color: #fff;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px 12px;
  cursor: pointer;
}

.cta-card__icon {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.cta-card__text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  white-space: pre-line;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quick-action {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.quick-action__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f0fbf8 0%, #e5f7f3 100%);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(26, 179, 154, 0.08);
}

.quick-action__label {
  font-size: 0.79rem;
  line-height: 1.35;
  color: #234846;
  font-weight: 700;
}

.horizontal-strip,
.strip,
.promo-strip,
.guide-strip,
.faq-strip {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hospital-card {
  scroll-snap-align: start;
  min-width: 31%;
  padding: 12px 10px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.hospital-card__logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Gilroy", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 18px rgba(13, 116, 104, 0.14);
}

.hospital-card__name {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 700;
  color: #234845;
}

.hospital-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

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

.service-card {
  min-height: 76px;
  padding: 12px 12px 12px 10px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  cursor: pointer;
  text-align: left;
}

.service-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(180deg, #eefaf7 0%, #deefeb 100%);
  color: var(--brand);
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(26, 179, 154, 0.08);
}

.service-card__label {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.38;
  color: #223c3a;
}

.badge {
  position: absolute;
  left: 8px;
  top: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff5b57;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(255, 91, 87, 0.3);
}

.promo-card {
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 146px;
  padding: 14px;
}

.promo-card--portrait {
  min-width: 39%;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.52) 0 9%, transparent 10%),
    linear-gradient(180deg, #f1e3d5 0%, #dfc2a0 100%);
}

.promo-card--landscape {
  min-width: 59%;
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.6) 0 9%, transparent 10%),
    linear-gradient(135deg, #f5faf8 0%, #d7efea 60%, #bce5dd 100%);
}

.promo-card__tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: #1d5a53;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.promo-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
   font-family: "Gilroy", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.28;
  color: #173634;
}

.promo-card__text {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
   color: rgba(15, 42, 41, 0.76);
  font-size: 0.78rem;
  line-height: 1.45;
}

.promo-card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: #14574f;
  font-size: 0.72rem;
  font-weight: 800;
}

.promo-card__art {
  position: absolute;
  inset: auto 10px 10px auto;
  width: 48%;
  height: 120px;
  border-radius: 18px;
  opacity: 0.98;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.9) 0 10%, transparent 11%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.promo-card--portrait .promo-card__art {
  inset: 14px 12px 14px auto;
  width: 48%;
  height: auto;
}

.promo-card--landscape .promo-card__art {
  inset: 12px 10px 12px auto;
  width: 50%;
}

.guide-tabs {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.guide-tab {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.guide-tab.is-active {
  color: var(--brand);
}

.guide-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--brand);
}

.guide-card {
  scroll-snap-align: start;
  min-width: 78%;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
}

.guide-card__art {
  position: relative;
  min-height: 142px;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.85) 0 7%, transparent 8%),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.55) 0 8%, transparent 9%),
    linear-gradient(135deg, var(--guide-from), var(--guide-to));
}

.guide-card__art::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 58%;
  height: 34px;
  border-radius: 12px;
  background: rgba(15, 53, 50, 0.38);
  box-shadow: 0 8px 16px rgba(8, 33, 31, 0.12);
}

.guide-card__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(11, 103, 92, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  max-width: calc(100% - 32px);
}

.guide-card__body {
  padding: 12px 14px 14px;
}

.guide-card__kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
}

.guide-card__title {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.42;
  font-weight: 800;
  color: #173634;
}

.guide-card__text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.news-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 162px;
  padding: 16px;
  background:
    radial-gradient(circle at 10% 40%, rgba(255, 255, 255, 0.52) 0 18%, transparent 19%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.58) 0 10%, transparent 11%),
    linear-gradient(135deg, #f2f7c4 0%, #cbe97e 40%, #6cc172 100%);
}

.news-card__body {
  position: relative;
  z-index: 1;
  max-width: 56%;
}

.news-card__kicker {
  margin: 0 0 8px;
  color: #c62d1f;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-card__title {
  margin: 0;
  font-family: "Gilroy", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #1a2f2a;
}

.news-card__text {
  margin: 8px 0 0;
  color: rgba(16, 43, 42, 0.84);
  font-size: 0.8rem;
  line-height: 1.5;
}

.news-card__badge {
  position: absolute;
  right: 16px;
  top: 18px;
  z-index: 1;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  color: #cf341f;
  text-align: center;
  box-shadow: 0 12px 20px rgba(26, 59, 49, 0.14);
}

.news-card__badge strong {
  display: block;
  font-family: "Gilroy", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  line-height: 1;
}

.news-card__badge span {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.1;
}

.faq-card {
  scroll-snap-align: start;
  min-width: 80%;
  padding: 14px;
  border-radius: 20px;
  display: grid;
  gap: 10px;
}

.faq-card__topic {
  margin: 0;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
}

.faq-card__question {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 800;
  color: #183533;
}

.faq-card__doctor {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-card__doctor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f1f9f7, #dff3ef);
  display: grid;
  place-items: center;
  color: var(--brand-strong);
}

.faq-card__doctor-name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.faq-card__bubble {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f6fbfa;
  border: 1px solid #d7e8e5;
  color: #556a68;
  font-size: 0.76rem;
  line-height: 1.48;
}

.faq-card__link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.doctor-list {
  display: grid;
  gap: 10px;
}

.doctor-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  border-radius: 20px;
}

.doctor-avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.86) 0 13%, transparent 14%),
    linear-gradient(145deg, var(--avatar-from), var(--avatar-to));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Gilroy", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 18px rgba(19, 78, 68, 0.16);
}

.doctor-main {
  min-width: 0;
}

.doctor-kicker {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
}

.doctor-name {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 800;
  color: #173634;
}

.doctor-clinic {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.doctor-stats {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.doctor-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #40635f;
  font-size: 0.74rem;
  font-weight: 700;
}

.doctor-stat .icon {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.doctor-btn {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #20b69c, #129b86);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(26, 179, 154, 0.22);
}

.empty-state {
  padding: 18px 14px;
  border-radius: 18px;
  border: 1px dashed #c6ddd9;
  background: #f8fbfa;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100vw, 430px);
  padding: 8px 8px calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: rgba(248, 252, 251, 0.94);
  border-top: 1px solid rgba(10, 134, 118, 0.08);
  backdrop-filter: blur(14px);
  z-index: 40;
}

.bottom-nav__item {
  display: grid;
  gap: 4px;
  justify-items: center;
  border: 0;
  padding: 8px 4px 6px;
  background: transparent;
  color: #879a97;
  cursor: pointer;
  border-radius: 16px;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.bottom-nav__item.is-active {
  color: var(--brand-strong);
  background: rgba(26, 179, 154, 0.1);
  box-shadow: inset 0 0 0 1px rgba(26, 179, 154, 0.1);
}

.bottom-nav__icon {
  width: 22px;
  height: 22px;
}

.bottom-nav__label {
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 800;
}

.assistant-fab {
  position: fixed;
  right: calc((100vw - min(100vw, 430px)) / 2 + 14px);
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(145deg, #1ab39a, #4d58e7);
  color: #fff;
  box-shadow: 0 18px 30px rgba(26, 79, 142, 0.24);
  z-index: 41;
}

.assistant-fab__glow {
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
  filter: blur(4px);
}

.assistant-fab__icon {
  position: relative;
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(16, 43, 42, 0.94);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: 0 16px 28px rgba(11, 32, 31, 0.2);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.clamp-2,
.clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-2 {
  -webkit-line-clamp: 2;
}

.clamp-3 {
  -webkit-line-clamp: 3;
}

.doctor-avatar--rose {
  --avatar-from: #f39fb5;
  --avatar-to: #e6698d;
}

.doctor-avatar--sand {
  --avatar-from: #d8b38b;
  --avatar-to: #b88657;
}

.doctor-avatar--teal {
  --avatar-from: #7dd7c8;
  --avatar-to: #20a792;
}

.doctor-avatar--green {
  --avatar-from: #b9e3b2;
  --avatar-to: #63b16f;
}

.hospital-card--mint {
  background: linear-gradient(180deg, #ffffff 0%, #f7fffd 100%);
}

.hospital-card--sea .hospital-card__logo {
  background: linear-gradient(145deg, #4a8fd8, #115b8d);
}

.hospital-card--mint .hospital-card__logo {
  background: linear-gradient(145deg, #2ac3aa, #0e8c79);
}

.hospital-card--sand .hospital-card__logo {
  background: linear-gradient(145deg, #d79e6b, #bb6d33);
}

.hospital-card--lime .hospital-card__logo {
  background: linear-gradient(145deg, #8fd47a, #3a9d53);
}

@media (max-width: 390px) {
  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 122px;
    min-height: 184px;
    padding: 16px;
  }

  .hero-slide__art {
    min-height: 144px;
  }

  .promo-card--portrait {
    min-width: 42%;
  }

  .promo-card--landscape {
    min-width: 62%;
  }

  .ask-layout {
    grid-template-columns: minmax(0, 1fr) 84px;
  }

  .hospital-card {
    min-width: 34%;
  }

  .guide-card,
  .faq-card {
    min-width: 84%;
  }
}

@media (min-width: 768px) {
  .app-shell {
    margin: 12px auto;
    min-height: calc(100vh - 24px);
    border-radius: 32px;
    overflow: hidden;
  }

  .bottom-nav {
    width: 430px;
  }

  .assistant-fab {
    right: calc((100vw - 430px) / 2 + 14px);
  }
}
