:root {
  --navy: #21164f;
  --navy-2: #34246d;
  --cyan: #29c6d5;
  --cyan-soft: #dff8f9;
  --ink: #1d1b2a;
  --muted: #6e6a7c;
  --line: #eceaf1;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

html { background: #ececf1; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(41, 198, 213, .12), transparent 34rem),
    #ececf1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.card {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 70px rgba(30, 24, 68, .12);
}

.hero {
  position: relative;
  min-height: 470px;
  padding: 26px 24px 38px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(155deg, rgba(33, 22, 79, .98), rgba(21, 16, 52, .98)),
    var(--navy);
  border-radius: 0 0 42px 42px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -105px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 58px rgba(255,255,255,.02);
}

.hero__glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero__glow--one { top: -100px; left: -80px; width: 260px; height: 260px; background: rgba(41,198,213,.14); }
.hero__glow--two { top: 120px; right: -120px; width: 260px; height: 260px; background: rgba(109,75,181,.22); }

.top-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.icon-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.16); }
.icon-button svg { width: 20px; fill: currentColor; }

.portrait-wrap { position: relative; z-index: 2; width: 154px; margin: -10px auto 15px; }
.portrait-ring { padding: 5px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; box-shadow: 0 12px 35px rgba(8,5,25,.35); }
.portrait { display: block; width: 142px; height: 142px; object-fit: cover; object-position: center; border: 4px solid #fff; border-radius: 50%; }
.status-dot { position: absolute; right: 10px; bottom: 11px; width: 18px; height: 18px; border: 4px solid var(--navy); border-radius: 50%; background: #45d49d; }

.eyebrow { position: relative; z-index: 2; margin: 0 0 8px; color: #8ce7ee; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1 { position: relative; z-index: 2; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 9vw, 40px); font-weight: 500; line-height: 1.03; letter-spacing: -.035em; }
h1 span { color: #fff; }
.tagline { position: relative; z-index: 2; max-width: 310px; margin: 13px auto 18px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.5; }

.socials { position: relative; z-index: 2; display: flex; justify-content: center; gap: 10px; }
.socials a { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.08); transition: transform .2s ease, border-color .2s ease; }
.socials a:hover { transform: translateY(-2px); border-color: var(--cyan); }
.socials svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.socials svg .fill, .socials a:nth-child(2) svg { fill: currentColor; stroke: none; }

.content { padding: 26px 22px 32px; }

.primary-action, .small-action {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(33,22,79,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.primary-action:hover, .small-action:hover { transform: translateY(-2px); border-color: rgba(41,198,213,.5); box-shadow: 0 14px 34px rgba(33,22,79,.11); }

.primary-action { gap: 14px; min-height: 78px; padding: 14px 16px; border-radius: 21px; }
.primary-action > span:nth-child(2) { flex: 1; }
.primary-action strong, .small-action strong { display: block; font-size: 14px; }
.primary-action small, .small-action small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.3; }

.action-icon { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; color: var(--navy); border-radius: 14px; background: #eeecf7; }
.action-icon--whatsapp { color: #087e60; background: #dcf7ed; }
.action-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action-icon--whatsapp svg path { fill: currentColor; stroke: none; }
.action-icon--whatsapp svg circle { display: none; }
.chevron { width: 20px; fill: none; stroke: #aaa6b5; stroke-width: 1.8; }

.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 11px; }
.small-action { gap: 10px; min-width: 0; min-height: 75px; padding: 12px; border-radius: 19px; }
.small-action > span:last-child { min-width: 0; }

.section-label { display: flex; align-items: center; gap: 10px; margin: 28px 0 16px; }
.section-label span { height: 1px; flex: 1; background: var(--line); }
.section-label p { margin: 0; color: #8c8797; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.feature {
  position: relative;
  display: block;
  min-height: 216px;
  padding: 25px 44% 24px 23px;
  overflow: hidden;
  color: #fff;
  border-radius: 27px;
  background: linear-gradient(135deg, #34246d, #1b123f);
  box-shadow: 0 18px 40px rgba(33,22,79,.2);
}
.feature::before { content: ""; position: absolute; top: -90px; right: -70px; width: 230px; height: 230px; border-radius: 50%; background: rgba(41,198,213,.16); }
.feature__copy { position: relative; z-index: 2; }
.feature__kicker { margin: 0 0 10px; color: #82e5ed; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.feature h2 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
.feature__copy > p:not(.feature__kicker) { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.45; }
.feature__link { display: inline-block; margin-top: 14px; color: #fff; font-size: 11px; font-weight: 800; }
.feature__link b { color: var(--cyan); font-size: 16px; }
.feature__portrait { position: absolute; top: 0; right: -15px; bottom: 0; width: 55%; }
.feature__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #21164f 0%, transparent 35%); }
.feature__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 18%; filter: saturate(.82) contrast(1.03); }

.clinic-mark { display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 26px; color: #787382; }
.clinic-mark img { width: 126px; height: auto; }
.clinic-mark > span { width: 1px; height: 28px; background: var(--line); }
.clinic-mark p { margin: 0; font-size: 10px; line-height: 1.35; }
.clinic-mark strong { display: block; color: var(--navy); font-size: 12px; }
.footer-note { max-width: 340px; margin: 16px auto 0; color: #aaa6b2; font-size: 9px; line-height: 1.45; text-align: center; }

dialog { width: calc(100% - 42px); max-width: 350px; padding: 30px; text-align: center; border: 0; border-radius: 28px; box-shadow: 0 28px 80px rgba(16,10,46,.35); }
dialog::backdrop { background: rgba(20,14,44,.7); backdrop-filter: blur(5px); }
dialog img { width: 220px; max-width: 100%; margin: 10px auto; }
dialog h2 { margin: 4px 0 8px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
dialog > p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.dialog-kicker { margin: 0; color: #1ca8b5; font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; color: #76717f; border: 0; border-radius: 50%; background: #f1f0f5; font-size: 25px; line-height: 1; cursor: pointer; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 10; padding: 11px 18px; color: #fff; border-radius: 999px; background: #171226; box-shadow: 0 12px 34px rgba(0,0,0,.24); font-size: 12px; font-weight: 700; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 481px) {
  body { padding: 24px 0; }
  .card { min-height: calc(100vh - 48px); border-radius: 36px; }
  .hero { border-radius: 36px 36px 42px 42px; }
}

@media (max-width: 360px) {
  .hero { min-height: 452px; padding-inline: 17px; }
  .content { padding-inline: 15px; }
  .action-grid { grid-template-columns: 1fr; }
  .feature { padding-right: 39%; }
  .clinic-mark img { width: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
