:root {
  --bg: #f2f8fc;
  --surface: rgba(255,255,255,.94);
  --surface-strong: #fff;
  --text: #18232d;
  --muted: #65727e;
  --blue: #a8d9f6;
  --blue-soft: #e9f6fd;
  --blue-strong: #5fa9d7;
  --blue-dark: #295f85;
  --gold: #d49a34;
  --green: #188a53;
  --line: rgba(24,35,45,.085);
  --shadow: 0 24px 70px rgba(35,75,103,.15);
  --radius: 30px;
  --font: Montserrat, "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(circle at 50% -18%, rgba(132,199,239,.44), transparent 34rem),
    linear-gradient(180deg, #eef8fe 0%, var(--bg) 44%, #fbfcfd 100%);
}
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 12px max(28px, env(safe-area-inset-bottom));
}

.profile-card {
  position: relative;
  overflow: hidden;
  padding: 218px 18px 20px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  isolation: isolate;
}

.dome-backdrop {
  position: absolute;
  z-index: -3;
  inset: 0 0 auto;
  height: 280px;
  background-image: url('/assets/dome.jpg');
  background-size: 100% auto;
  background-position: 50% 0;
  background-repeat: no-repeat;
  filter: saturate(.88) contrast(.98);
}

.hero-fade {
  position: absolute;
  z-index: -2;
  inset: 0 0 auto;
  height: 280px;
  background: linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.16) 45%, rgba(255,255,255,.97) 86%, #fff 100%);
}

.identity { position: relative; }

.portrait-wrap {
  width: 132px;
  height: 132px;
  margin: -76px auto 13px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #bde3fa);
  box-shadow: 0 13px 34px rgba(26,66,96,.22);
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--blue-dark);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 10vw, 45px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 700;
}

.role {
  margin: 8px 0 0;
  color: #34434f;
  font-size: 17px;
  font-weight: 600;
}

.intro {
  margin: 9px auto 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.review-panel {
  margin: 14px 0 10px;
  padding: 14px 15px 12px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: linear-gradient(180deg,#fff 0%,#fbfdff 100%);
  box-shadow: 0 8px 28px rgba(36,75,103,.055);
}

h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
}

.review-note {
  margin: 8px 0 0;
  color: #4f5e68;
  font-size: 12px;
  line-height: 1.35;
}

.btn, .quick-action, .optional-action {
  min-height: 50px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .1s ease, box-shadow .1s ease, background-color .1s ease;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
}
.btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark), #357fac);
  color: #fff;
  box-shadow: 0 10px 25px rgba(41,95,133,.22);
  font-weight: 700;
}

.btn-secondary {
  margin-bottom: 10px;
  border: 1px solid rgba(41,95,133,.16);
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 7px 20px rgba(36,75,103,.07);
}

#whatsapp-btn {
  margin-bottom: 12px;
}

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

.utility-grid .btn-secondary {
  min-width: 0;
  margin-bottom: 0;
  padding-inline: 8px;
  gap: 6px;
  font-size: 14px;
}

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

.quick-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: #283642;
  font-size: 16px;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(36,75,103,.05);
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.quick-action > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
}

.optional-actions { display: grid; gap: 10px; margin-top: 10px; }
.optional-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}

.btn:focus-visible, .quick-action:focus-visible, .optional-action:focus-visible {
  outline: 3px solid rgba(53,127,172,.32);
  outline-offset: 3px;
}

@media (hover:hover) {
  .btn:hover, .quick-action:hover, .optional-action:hover { transform: translateY(-1px); }
  .quick-action:hover, .optional-action:hover { box-shadow: 0 10px 24px rgba(36,75,103,.09); }
}

@media (min-width:560px) {
  .shell { padding-top: 28px; padding-bottom: 40px; }
  .profile-card { padding: 230px 25px 20px; }
  .portrait-wrap { width: 144px; height: 144px; }
}

@media (max-width:350px) {
  .profile-card { padding-inline: 13px; }
  .quick-action { padding-inline: 8px; }
}

@media (max-width:339px) {
  .utility-grid, .quick-grid { grid-template-columns: 1fr; }
  .utility-grid .btn-secondary {
    padding: 13px 16px;
    gap: 10px;
    font-size: inherit;
  }
}

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