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

/* ── Tokens ── */
:root {
  --orange:       #E87722;
  --orange-dk:    #C9620E;
  --orange-lt:    #F59A40;
  --orange-pale:  #FEF3E8;
  --orange-glow:  rgba(232, 119, 34, 0.12);
  --dark:         #111827;
  --dark-2:       #1F2937;
  --gray:         #6B7280;
  --gray-lt:      #9CA3AF;
  --border:       #E5E2DC;
  --bg:           #FFFDF9;
  --bg-alt:       #F5F3EF;
  --white:        #FFFFFF;
  --font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica Neue, Arial, sans-serif;
  --radius-sm:    10px;
  --radius-md:    18px;
  --radius-lg:    28px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-logo img { height: 34px; width: auto; display: block; }

.nav-right { display: flex; align-items: center; gap: 20px; }

.lang-pill {
  display: flex;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  background: transparent; border: none;
  padding: 5px 15px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--gray); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-btn.active { background: var(--orange); color: #fff; }

.nav-demo {
  background: var(--orange); color: #fff;
  padding: 9px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(232,119,34,0.28);
}
.nav-demo:hover { background: var(--orange-dk); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232,119,34,0.36); }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  padding: 110px 6% 80px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* dot-grid background */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(232,119,34,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* orange radial glow */
.hero-glow {
  position: absolute; top: -120px; right: -80px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,119,34,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero-left { position: relative; z-index: 1; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-pale);
  border: 1px solid rgba(232,119,34,0.22);
  padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--orange); text-transform: uppercase;
  margin-bottom: 24px;
  animation: riseUp 0.7s ease both;
}
.hero-tag-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }

.hero-h1 {
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--dark);
  margin-bottom: 22px;
  animation: riseUp 0.7s 0.08s ease both;
}
.hero-h1 em { font-style: normal; color: var(--orange); }

.hero-p {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--gray);
  line-height: 1.68;
  max-width: 500px;
  margin-bottom: 38px;
  animation: riseUp 0.7s 0.16s ease both;
}

.hero-ctas {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 52px;
  animation: riseUp 0.7s 0.24s ease both;
}

.btn-orange {
  background: var(--orange); color: #fff;
  padding: 15px 34px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 8px 28px rgba(232,119,34,0.30);
}
.btn-orange:hover { background: var(--orange-dk); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(232,119,34,0.40); }

.btn-ghost {
  color: var(--dark); font-size: 15px; font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color 0.2s;
  padding: 15px 4px;
}
.btn-ghost:hover { color: var(--orange); }

/* Stats bar */
.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  animation: riseUp 0.7s 0.32s ease both;
}
.stat-num {
  font-size: 34px; font-weight: 900;
  letter-spacing: -0.04em; color: var(--dark);
}
.stat-num sup { font-size: 18px; color: var(--orange); font-weight: 800; }
.stat-lbl {
  font-size: 12px; color: var(--gray-lt);
  margin-top: 1px; line-height: 1.4;
}

/* ── Phone mockup column ── */
.hero-right {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: center;
  animation: slideLeft 0.9s 0.1s ease both;
}

.phone-wrap { position: relative; }

.phone {
  width: 272px; height: 560px;
  background: var(--dark);
  border-radius: 48px;
  padding: 9px;
  box-shadow:
    0 40px 100px rgba(17,24,39,0.28),
    0 0 0 1px rgba(255,255,255,0.06) inset;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 40px;
  background: #F0EDE8;
  overflow: hidden;
  position: relative;
}
.phone-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 7px;
  background: var(--dark); border-radius: 4px; z-index: 10;
}

/* App UI */
.app-top {
  background: var(--orange);
  padding: 36px 16px 18px;
  color: #fff;
}
.app-hi { font-size: 10px; opacity: 0.75; margin-bottom: 3px; }
.app-uname { font-size: 17px; font-weight: 800; margin-bottom: 13px; }
.app-search-bar {
  background: rgba(255,255,255,0.18); border-radius: 9px;
  padding: 7px 11px; font-size: 10px;
  color: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 5px;
}

.app-body { padding: 14px 13px; }

.app-sl {
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dark); margin-bottom: 9px;
}

.app-card {
  background: #fff; border-radius: 12px;
  padding: 11px 12px; margin-bottom: 9px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.app-ci {
  width: 33px; height: 33px; border-radius: 9px;
  background: var(--orange-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-ct { font-size: 11px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.app-cs { font-size: 9px; color: var(--gray-lt); }
.app-badge {
  margin-left: auto; flex-shrink: 0;
  background: var(--orange-pale); color: var(--orange);
  font-size: 8px; font-weight: 800; letter-spacing: 0.05em;
  padding: 3px 7px; border-radius: 100px;
}

/* Timeline */
.mini-timeline {
  background: #fff; border: 1px solid var(--border);
  border-radius: 11px; padding: 11px 13px;
}
.tl-row {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid #F0EDE8;
  font-size: 9px;
}
.tl-row:last-child { border: none; padding-bottom: 0; }
.tl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.tl-dot.done  { background: #22C55E; }
.tl-dot.wait  { background: var(--orange); animation: blink 2s infinite; }
.tl-dot.idle  { background: var(--border); }
.tl-name { flex: 1; color: var(--dark); font-weight: 600; }
.tl-time { color: var(--gray-lt); }

/* App bottom nav */
.app-nav {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid #EEEBE5;
  display: flex; justify-content: space-around;
  padding: 9px 0 12px;
}
.app-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.app-nav-icon { width: 18px; height: 18px; border-radius: 5px; background: var(--bg-alt); }
.app-nav-icon.on { background: var(--orange); }
.app-nav-lbl { font-size: 7px; color: var(--gray-lt); }

/* Floating badges */
.badge-float {
  position: absolute;
  background: #fff; border-radius: 12px;
  padding: 9px 13px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--dark);
  white-space: nowrap; z-index: 5;
}
.badge-float-icon {
  width: 26px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bf1 { top: 72px; left: -100px; animation: floatY 4s ease-in-out infinite; }
.bf2 { bottom: 130px; right: -100px; animation: floatY 4s 1.8s ease-in-out infinite; }
.bf3 { bottom: 50px; left: -80px; animation: floatY 4s 3.2s ease-in-out infinite; }

@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes riseUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideLeft { from{opacity:0;transform:translateX(36px)} to{opacity:1;transform:translateX(0)} }

/* ── Section base ── */
.section { padding: 96px 6%; }
.section-alt { background: var(--bg-alt); }

.sec-head { text-align: center; margin-bottom: 60px; }
.sec-tag {
  display: inline-block;
  background: var(--orange-pale); color: var(--orange);
  font-size: 11px; font-weight: 800; letter-spacing: 0.10em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 100px;
  margin-bottom: 14px;
}
.sec-h2 {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--dark); margin-bottom: 14px;
}
.sec-h2 em { font-style: normal; color: var(--orange); }
.sec-p {
  font-size: 17px; color: var(--gray);
  max-width: 600px; margin: 0 auto; line-height: 1.68;
}

/* ── Features ── */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1080px; margin: 0 auto;
  align-items: stretch;
}

.feat-cards-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feat-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.feat-image-wrap img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.feat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 36px;
  position: relative; overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(232,119,34,0.09);
  border-color: rgba(232,119,34,0.28);
}
.feat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-lt));
  opacity: 0; transition: opacity 0.28s;
}
.feat-card:hover::before { opacity: 1; }

.feat-image-wrap {
  width: 100%;
  text-align: center;
}
.feat-image-wrap img {
  max-width: 250%;
  height: auto;
  border-radius: var(--radius-md);
}

.feat-icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--orange-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.feat-icon svg { width: 26px; height: 26px; }

.feat-h3 {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--dark);
  margin-bottom: 10px;
}
.feat-p { font-size: 14px; color: var(--gray); line-height: 1.72; }

/* Timeline inside first feat card */
.feat-timeline { background: var(--bg-alt); border-radius: 14px; padding: 20px; }
.ftl-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.ftl-row:last-child { border: none; padding-bottom: 0; }
.ftl-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ftl-dot.done { background: #22C55E; }
.ftl-dot.wait { background: var(--orange); animation: blink 2s infinite; }
.ftl-dot.idle { background: var(--border); }
.ftl-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--dark); }
.ftl-time { font-size: 11px; color: var(--gray-lt); }

/* ── How it works ── */
.steps-row {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: start;
  max-width: 960px; margin: 0 auto;
}
.step-arrow {
  display: flex; justify-content: center; padding-top: 28px;
}
.step { text-align: center; padding: 0 16px; }
.step-num {
  width: 68px; height: 68px; border-radius: 20px;
  background: var(--orange); color: #fff;
  font-size: 26px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute; inset: -6px; border-radius: 24px;
  border: 2px solid rgba(232,119,34,0.20);
}
.step-h3 {
  font-size: 18px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--dark); margin-bottom: 10px;
}
.step-p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ── For Clinics ── */
.clinics-section {
  background: var(--dark);
}
.clinics-section .sec-tag { background: rgba(232,119,34,0.15); }
.clinics-section .sec-h2 { color: #fff; }
.clinics-section .sec-p { color: rgba(255,255,255,0.5); }

.bene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1080px; margin: 0 auto;
}
.bene-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md); padding: 32px;
  transition: background 0.28s, border-color 0.28s, transform 0.28s;
}
.bene-card:hover {
  background: rgba(232,119,34,0.07);
  border-color: rgba(232,119,34,0.22);
  transform: translateY(-4px);
}
.bene-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(232,119,34,0.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.bene-icon svg { width: 22px; height: 22px; }
.bene-h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -0.01em; }
.bene-p { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.7; }

/* ── Contact ── */
.contact-wrap {
  max-width: 660px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 52px 52px 48px;
  box-shadow: 0 20px 72px rgba(0,0,0,0.05);
}
.contact-wrap .sec-head { text-align: left; margin-bottom: 32px; }
.contact-wrap .sec-p { margin: 0; max-width: none; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--dark);
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 15px;
  font-size: 14px; font-family: var(--font);
  color: var(--dark); background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  -webkit-appearance: none; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-lt); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232,119,34,0.09);
}
.field textarea { min-height: 110px; resize: none; }

.form-btn {
  width: 100%; background: var(--orange); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 15px; font-size: 15px; font-weight: 800;
  cursor: pointer; margin-top: 8px;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 6px 24px rgba(232,119,34,0.28);
}
.form-btn:hover { background: var(--orange-dk); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(232,119,34,0.38); }

/* success */
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success svg { display: block; margin: 0 auto 16px; }
.form-success h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--gray); }

/* ── Footer ── */
footer {
  background: var(--dark-2);
  padding: 44px 6%;
}
.foot-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.foot-logo img { height: 26px; filter: brightness(0) invert(1); opacity: 0.75; }
.foot-links { display: flex; gap: 28px; }
.foot-links a {
  color: rgba(255,255,255,0.38); font-size: 13px;
  text-decoration: none; transition: color 0.2s;
}
.foot-links a:hover { color: var(--orange); }
.foot-copy { font-size: 12px; color: rgba(255,255,255,0.28); }

/* ── Scroll-reveal ── */
.sr {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.sr.vis { opacity: 1; transform: translateY(0); }
.sr.d1 { transition-delay: 0.10s; }
.sr.d2 { transition-delay: 0.20s; }
.sr.d3 { transition-delay: 0.30s; }
.sr.d4 { transition-delay: 0.40s; }
.sr.d5 { transition-delay: 0.50s; }

/* ── Responsive ── */
@media (max-width: 960px) {
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 6% 64px;
    gap: 48px;
  }
  .hero-p { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { order: -1; }
  .badge-float { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-cards-col { gap: 20px; }
  .steps-row { grid-template-columns: 1fr; max-width: 400px; }
  .step-arrow { display: none; }
  .bene-grid { grid-template-columns: 1fr; }
  .contact-wrap { padding: 36px 24px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .foot-inner { flex-direction: column; text-align: center; }
  .foot-links { flex-direction: column; align-items: center; gap: 12px; }
}
@media (max-width: 600px) {
  .hero-stats { gap: 24px; }
  .phone { width: 240px; height: 490px; }
}
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: #fff;
  color: var(--dark);
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
  box-shadow: 0 30px 90px rgba(0,0,0,0.25);
}

.modal-box h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.modal-box p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: var(--gray);
}

.modal-close:hover {
  color: var(--orange);
}


/* ── Mobile polish overrides ── */
img, svg {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .feat-image-wrap img {
    max-width: 115%;
  }
}

@media (max-width: 960px) {
  #nav {
    height: 66px;
    padding: 0 5%;
  }

  .nav-logo img {
    height: 30px;
  }

  .nav-right {
    gap: 10px;
  }

  .lang-btn {
    padding: 5px 11px;
    font-size: 11px;
  }

  .nav-demo {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  #hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 96px 5% 56px;
    gap: 38px;
    text-align: left;
  }

  .hero-left {
    max-width: 640px;
    margin: 0 auto;
  }

  .hero-h1 {
    font-size: clamp(40px, 10vw, 58px);
    line-height: 1.04;
    margin-bottom: 18px;
  }

  .hero-p {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .hero-ctas {
    justify-content: flex-start;
    margin-bottom: 34px;
    gap: 12px;
  }

  .btn-orange {
    padding: 13px 22px;
  }

  .btn-ghost {
    padding: 13px 0;
  }

  .hero-stats {
    justify-content: flex-start;
    gap: 18px;
    padding-top: 24px;
  }

  .hero-stats > div {
    flex: 1 1 95px;
    min-width: 95px;
  }

  .stat-num {
    font-size: 28px;
  }

  .stat-num sup {
    font-size: 15px;
  }

  .hero-right {
    order: 0;
    margin-top: 4px;
  }

  .phone {
    width: min(245px, 72vw);
    height: auto;
    aspect-ratio: 272 / 560;
    border-radius: 42px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 34px;
  }

  .app-top {
    padding: 32px 14px 15px;
  }

  .app-card {
    padding: 10px;
    gap: 8px;
  }

  .app-ci {
    width: 30px;
    height: 30px;
  }

  .app-ct {
    font-size: 10px;
    line-height: 1.25;
  }

  .badge-float {
    display: none;
  }

  .section {
    padding: 70px 5%;
  }

  .sec-head {
    margin-bottom: 36px;
  }

  .sec-h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .sec-p {
    font-size: 15px;
  }

  .feat-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feat-card {
    padding: 26px;
  }

  .feat-image-wrap {
    min-height: auto;
    overflow: hidden;
  }

  .feat-image-wrap img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: none;
  }

  .steps-row {
    grid-template-columns: 1fr;
    max-width: 520px;
    gap: 26px;
  }

  .step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 22px;
  }

  .step-arrow {
    display: none;
  }

  .clinics-section .step,
  .clinics-section .bene-card {
    background: rgba(255,255,255,0.04);
  }

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

  .bene-card {
    padding: 24px;
  }

  .contact-wrap {
    padding: 34px 24px;
    border-radius: 22px;
  }

  .contact-wrap .sec-head {
    margin-bottom: 26px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .foot-inner {
    flex-direction: column;
    text-align: center;
    gap: 22px;
  }

  .foot-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

@media (max-width: 640px) {
  #nav {
    height: auto;
    min-height: 62px;
    padding: 10px 16px;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-demo {
    padding: 7px 11px;
    font-size: 12px;
    box-shadow: none;
  }

  .lang-pill {
    padding: 2px;
  }

  .lang-btn {
    padding: 4px 9px;
  }

  #hero {
    padding: 92px 18px 46px;
    gap: 32px;
  }

  .hero-tag {
    font-size: 10px;
    letter-spacing: 0.06em;
    padding: 5px 11px;
    margin-bottom: 18px;
  }

  .hero-h1 {
    font-size: clamp(36px, 10vw, 50px);
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .btn-orange,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .hero-stats > div {
    min-width: 0;
    background: rgba(255,255,255,0.58);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 8px;
  }

  .stat-num {
    font-size: 24px;
  }

  .stat-lbl {
    font-size: 10px;
  }

  .phone {
    width: min(235px, 78vw);
    box-shadow: 0 24px 60px rgba(17,24,39,0.22);
  }

  .section {
    padding: 58px 18px;
  }

  .sec-head {
    text-align: left;
  }

  .sec-p {
    margin-left: 0;
    margin-right: 0;
  }

  .feat-card {
    padding: 22px;
  }

  .feat-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
  }

  .feat-timeline {
    padding: 16px;
  }

  .ftl-row {
    gap: 9px;
  }

  .ftl-name {
    font-size: 12px;
  }

  .bene-grid {
    grid-template-columns: 1fr;
  }

  .bene-card {
    padding: 22px;
  }

  .contact-wrap {
    padding: 28px 18px;
    margin: 0;
  }

  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }

  footer {
    padding: 36px 18px;
  }

  .foot-links {
    flex-direction: row;
  }

  .modal-overlay {
    padding: 16px;
    align-items: flex-start;
    padding-top: 70px;
  }

  .modal-box {
    max-height: calc(100vh - 100px);
    padding: 28px 22px;
    border-radius: 20px;
  }

  .modal-box h2 {
    font-size: 24px;
  }

  .modal-close {
    top: 10px;
    right: 14px;
  }
}

@media (max-width: 420px) {
  .nav-demo {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    text-align: left;
  }

  .phone {
    width: min(220px, 86vw);
  }

  .app-badge {
    display: none;
  }

  .app-nav {
    padding-bottom: 9px;
  }

  .sec-h2 br,
  .hero-h1 br {
    display: none;
  }
}

