:root {
  --page-bg: #f4f1ed;
  --surface: #ffffff;
  --surface-muted: #f7f5f2;
  --ink: #1a1a1a;
  --ink-soft: #3c3c3c;
  --line: #d2d2d2;
  --line-soft: #ece7e2;
  --orange: #f26d00;
  --orange-soft: #ff970a;
  --shadow: 0 18px 40px rgba(26, 26, 26, 0.08);
}

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

html {
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(242, 109, 0, 0.06), transparent 20%),
    linear-gradient(180deg, #f7f4f0 0%, #f1eeea 100%);
  color: var(--ink);
  font-family: "General Sans", "Manrope", system-ui, sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a,
button {
  font: inherit;
}

.stage {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.page {
  width: min(100%, 390px);
  min-height: 100vh;
  background: var(--surface);
}

.hero-shell {
  position: relative;
  background: var(--surface);
}

.hero {
  height: 320px;
  overflow: hidden;
  background: #e8e5e0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.back-button {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.back-button svg {
  width: 20px;
  height: 20px;
}

.intro {
  padding: 16px 20px 24px;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  margin-top: 12px;
  padding: 0 28px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-align: center;
}

h2 {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  background: linear-gradient(180deg, #fff 0%, #fff 72%, rgba(255, 255, 255, 0) 100%);
}

.section-nav__surface {
  padding: 12px 0 16px;
  background: rgba(255, 255, 255, 0.96);
}

.section-nav__rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 4px;
  scrollbar-width: none;
}

.section-nav__rail::-webkit-scrollbar {
  display: none;
}

.pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.pill.is-active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  box-shadow: 0 10px 18px rgba(26, 26, 26, 0.18);
}

.pill__icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
}

.pill__icon svg {
  width: 100%;
  height: 100%;
}

.pill__icon--emoji {
  font-size: 22px;
  line-height: 1;
}

.pill__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pill__text strong,
.pill__text small {
  display: block;
  white-space: nowrap;
}

.pill__text strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.pill__text small {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  color: rgba(26, 26, 26, 0.6);
}

.pill.is-active .pill__text small {
  color: rgba(255, 255, 255, 0.7);
}

.section {
  scroll-margin-top: 104px;
  padding: 32px 20px 36px;
  background: var(--surface);
}

.section--doctor {
  padding-top: 28px;
}

.separator {
  height: 16px;
  background: #f5f5f5;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.section-label span {
  width: 12px;
  height: 1px;
  border-radius: 999px;
  background: rgba(60, 60, 60, 0.5);
}

.section-label p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.carousel-block {
  margin-top: 24px;
}

.carousel-block--stories {
  margin-top: 36px;
}

.carousel-block--news {
  margin-top: 18px;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel--full {
  grid-auto-columns: 100%;
}

.carousel--story {
  grid-auto-columns: 210px;
}

.carousel--city {
  grid-auto-columns: 86%;
}

.carousel--news {
  grid-auto-columns: 76%;
}

.slide {
  scroll-snap-align: start;
}

.quote-mark {
  margin-top: 4px;
  color: rgba(60, 60, 60, 0.2);
  font-size: 70px;
  line-height: 0.55;
  text-align: center;
  font-family: Georgia, serif;
}

.testimonial-card {
  text-align: center;
}

.testimonial-card__copy {
  margin: 18px auto 0;
  max-width: 310px;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.testimonial-card--doctor .testimonial-card__copy {
  max-width: 311px;
}

.reviewer {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviewer__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #ff9b40, #f26d00);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}

.reviewer__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer__avatar--gradient {
  background: linear-gradient(135deg, #f3627f, #d84b67);
}

.reviewer__avatar--dark {
  background: linear-gradient(135deg, #3f444c, #17181a);
}

.reviewer__avatar--mint {
  background: linear-gradient(135deg, #0baeb0, #0a7a7c);
}

.reviewer__avatar--amber {
  background: linear-gradient(135deg, #ffb94a, #f26d00);
}

.reviewer h3 {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
}

.reviewer p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

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

.carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition:
    width 0.2s ease,
    background-color 0.2s ease;
}

.carousel-dots button.is-active {
  width: 16px;
  background: #000;
}

.cta {
  margin: 28px auto 0;
  width: fit-content;
  min-width: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid #dfdfdf;
  border-radius: 16px;
  background: rgba(223, 223, 223, 0.4);
  color: var(--ink);
  text-decoration: none;
}

.cta span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.cta svg {
  width: 11px;
  height: 8px;
  transform: scaleX(-1);
}

.story-card {
  position: relative;
  width: 210px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  background: #d8d8d8;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__overlay {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.story-card--placeholder {
  background: #d9d9d9;
}

.story-card__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.12)),
    linear-gradient(135deg, #1c1c1c 0%, #595959 100%);
}

.story-card__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.avatar-cloud {
  position: relative;
  height: 56px;
  margin: 0 auto 38px;
  max-width: 324px;
}

.avatar-cloud .avatar {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff;
}

.avatar-cloud .avatar--icon {
  background:
    radial-gradient(circle at 30% 30%, #ffffff 8%, #e8f3ff 30%, #68a7e4 31%, #68a7e4 42%, #d4ebff 43%),
    linear-gradient(135deg, #f7f9fb, #e9eef4);
}

.avatar-cloud .a1 { left: 6px; top: 10px; }
.avatar-cloud .a2 { left: 56px; top: 2px; }
.avatar-cloud .a3 { left: 104px; top: 19px; }
.avatar-cloud .a4 { left: 149px; top: 0; }
.avatar-cloud .a5 { left: 198px; top: 16px; }
.avatar-cloud .a6 { left: 247px; top: 1px; }
.avatar-cloud .a7 { left: 296px; top: 11px; }

.city-card {
  min-height: 276px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.04);
}

.city-card__art {
  height: 126px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.city-card__body h3 {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.city-card__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.city-card__actions a {
  color: var(--orange-soft);
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.city-card__actions span {
  margin-left: 4px;
}

.city-card--bengaluru { --city-accent: #ff970a; --city-glow: #ffd59d; }
.city-card--mumbai { --city-accent: #303030; --city-glow: #bbbbbb; }
.city-card--delhi { --city-accent: #ff970a; --city-glow: #ffd59d; }
.city-card--hyderabad { --city-accent: #303030; --city-glow: #bbbbbb; }
.city-card--chennai { --city-accent: #ff970a; --city-glow: #ffd59d; }
.city-card--pune { --city-accent: #303030; --city-glow: #bbbbbb; }

.skyline .building {
  display: block;
  width: 10px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--city-glow) 0%, var(--city-accent) 100%);
}

.skyline .short { height: 26px; }
.skyline .mid { height: 46px; }
.skyline .tall { height: 74px; }
.skyline .wide { width: 22px; height: 58px; }

.skyline .spire {
  position: relative;
  width: 16px;
  height: 90px;
}

.skyline .spire::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: -14px;
  height: 14px;
  border-radius: 20px 20px 0 0;
  background: var(--city-glow);
}

.logo-strip {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 4px;
  scrollbar-width: none;
}

.logo-strip::-webkit-scrollbar {
  display: none;
}

.logo-chip {
  width: 102px;
  height: 102px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: lowercase;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo--wipro { color: #5e3b9d; font-size: 18px; }
.logo--citi { color: #004a8f; font-size: 18px; position: relative; }
.logo--citi::before {
  content: "";
  position: absolute;
  width: 26px;
  height: 8px;
  border-top: 3px solid #ef4523;
  border-radius: 14px 14px 0 0;
  top: -2px;
}
.logo--flipkart {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #ffd400;
  color: #1b5ed8;
  font-size: 28px;
  font-weight: 700;
}
.logo--matrix { color: #6f7681; font-size: 18px; }
.logo--visit { color: #8754d9; font-size: 18px; text-transform: uppercase; }
.logo--healthi { color: #0baeb0; font-size: 15px; }
.logo--purple {
  width: 18px;
  height: 42px;
  border-radius: 10px;
  background: #4e0b86;
}

.partner-card {
  width: 100%;
  margin-top: 20px;
  border-radius: 22px;
}

.news-card {
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.04);
}

.news-card__visual {
  width: 100%;
  height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card__visual--amazon {
  background: #d8e7e5;
}

.news-card__visual--growth {
  background: #b8b0a5;
}

.news-card__visual--mint {
  background: #d8efe8;
}

.amazon-wordmark {
  position: relative;
  color: #222;
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.amazon-wordmark::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 2%;
  bottom: -10px;
  height: 10px;
  border-bottom: 5px solid #ff9900;
  border-radius: 0 0 24px 24px;
}

.news-card__stamp {
  color: rgba(255, 255, 255, 0.92);
  font-size: 24px;
  font-weight: 600;
}

.news-card p {
  margin: 14px 0 0;
  padding: 0 16px 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.32;
}

.footer-banner {
  background: #3c3c3c;
  padding: 46px 24px 54px;
}

.footer-banner__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 270px;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .stage {
    padding: 40px 20px;
  }

  .page {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
}
