:root {
  --petro: #0f4c75;
  --petro-dark: #0a3250;
  --gold: #c5a880;
  --gold-dark: #a88b62;
  --clinic: #f8fafc;
  --ink: #1e293b;
  --muted: #64748b;
  --wa: #25d366;
  --wa-dark: #075e54;
  --inter: "Inter", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--inter);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.font-serif { font-family: var(--serif); }
.text-petro { color: var(--petro); }
.text-gold { color: var(--gold); }
.text-petro-dark { color: var(--petro-dark); }
.bg-clinic { background: var(--clinic); }
.bg-petro { background: var(--petro); }
.bg-gold { background: var(--gold); }

.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .wrap { padding: 0 2rem; } }

.btn, .btn-gold, .btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn-gold { background: var(--gold); color: var(--petro-dark); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-primary { background: var(--petro); color: #fff; }
.btn-primary:hover { background: var(--petro-dark); }
.btn-outline {
  background: #fff;
  color: var(--petro);
  border: 1px solid rgb(15 76 117 / 0.2);
}
.btn-outline:hover { border-color: var(--petro); background: #f8fafc; }
.btn:disabled, .btn-gold:disabled, .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.w-full { width: 100%; }

.card {
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  background: #fff;
  box-shadow: 0 10px 40px -12px rgba(15, 76, 117, 0.18);
}
.shadow-card { box-shadow: 0 10px 40px -12px rgba(15, 76, 117, 0.18); }
.shadow-gold { box-shadow: 0 8px 30px -10px rgba(197, 168, 128, 0.45); }

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(241 245 249 / 0.8);
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(12px);
}
header.site.solid { background: #fff; }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.brand { display: flex; align-items: center; gap: 0.5rem; }
.brand-mark {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--petro);
  color: var(--gold);
}
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--petro); }
nav.desk { display: none; align-items: center; gap: 2rem; font-size: 0.875rem; font-weight: 500; color: #475569; }
nav.desk a:hover { color: var(--petro); }
.menu-btn { background: 0; border: 0; color: var(--petro); padding: 0.5rem; }
.mobile-nav { display: none; border-top: 1px solid #f1f5f9; padding: 1rem; font-size: 0.875rem; color: #475569; }
.mobile-nav a, .mobile-nav .btn-gold { display: block; margin-bottom: 0.75rem; }
.mobile-nav.open { display: block; }
@media (min-width: 768px) {
  nav.desk { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3, h4 { font-family: var(--serif); color: var(--petro); line-height: 1.15; margin: 0; }
h1 { font-size: 2.25rem; }
h2 { font-size: 2.25rem; }
@media (min-width: 768px) { h1 { font-size: 3.25rem; } }

.hero { overflow: hidden; background: var(--clinic); }
.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; padding: 5rem 0; }
  .hero-copy { order: 2; }
  .hero-media { order: 1; }
}
.hero-photo { overflow: hidden; border-radius: 1.5rem; box-shadow: 0 10px 40px -12px rgba(15, 76, 117, 0.18); }
.hero-photo img { width: 100%; height: 420px; object-fit: cover; }
@media (min-width: 768px) { .hero-photo img { height: 560px; } }
.hero-thumb {
  display: none;
  position: absolute;
  bottom: -1.25rem;
  right: -0.75rem;
  max-width: 220px;
  overflow: hidden;
  border-radius: 1rem;
  border: 4px solid #fff;
  box-shadow: 0 8px 30px -10px rgba(197, 168, 128, 0.45);
}
.hero-thumb img { height: 9rem; width: 100%; object-fit: cover; }
.hero-media { position: relative; }
@media (min-width: 768px) { .hero-thumb { display: block; } }
.lede { margin-top: 1.25rem; max-width: 36rem; color: #475569; font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; font-size: 0.875rem; color: var(--petro); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  background: #fff;
  padding: 0.4rem 0.75rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  ring: 1px solid #f1f5f9;
  border: 1px solid #f1f5f9;
}

.section { padding: 5rem 0; }
.center { text-align: center; max-width: 40rem; margin: 0 auto; }
.grid-3 { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card img.cover { width: 100%; height: 12rem; object-fit: cover; }
.card .pad { padding: 1.5rem; }
.muted { color: #475569; font-size: 0.875rem; line-height: 1.6; }

.step {
  display: flex;
  gap: 1rem;
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 10px 40px -12px rgba(15, 76, 117, 0.18);
}
.icon-box {
  flex-shrink: 0;
  height: 3rem;
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--petro);
  color: var(--gold);
}
.how-photo { position: relative; }
.how-photo img { height: 520px; width: 100%; border-radius: 1.5rem; object-fit: cover; }
.how-caption {
  position: absolute;
  left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.95);
  padding: 1rem;
  box-shadow: 0 8px 30px -10px rgba(197, 168, 128, 0.45);
}

.ba-wrap {
  position: relative;
  margin: 2.5rem auto 0;
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 48rem;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px -12px rgba(15, 76, 117, 0.18);
}
.ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { overflow: hidden; }
.ba-line {
  position: absolute;
  inset: 0 auto 0 52%;
  width: 4px;
  background: var(--gold);
  transform: translateX(-50%);
  z-index: 2;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2.5rem;
  width: 2.5rem;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid #fff;
  background: var(--petro);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
}
.ba-tag {
  position: absolute;
  top: 1rem;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 3;
}
.ba-tag.left { left: 1rem; background: rgb(15 76 117 / 0.8); color: #fff; }
.ba-tag.right { right: 1rem; background: rgb(197 168 128 / 0.9); color: var(--petro-dark); }
.range-gold {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  z-index: 4;
  width: 70%;
  transform: translateX(-50%);
  appearance: none;
  background: transparent;
}
.range-gold::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px; width: 22px; border-radius: 9999px;
  background: var(--gold); border: 3px solid var(--petro); cursor: ew-resize;
}
.range-gold::-moz-range-thumb {
  height: 22px; width: 22px; border-radius: 9999px;
  background: var(--gold); border: 3px solid var(--petro); cursor: ew-resize;
}

.case-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }
.case-photos { display: grid; grid-template-columns: 1fr 1fr; }
.case-photos img { height: 11rem; width: 100%; object-fit: cover; }
.badge-em {
  border-radius: 9999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
}

.offer {
  margin-top: 2.5rem;
  border-radius: 1.5rem;
  background: var(--petro);
  color: #fff;
  text-align: center;
  padding: 2rem 1.5rem;
}
.offer h3 { color: #fff; font-size: 1.875rem; }

.dash { overflow: hidden; border-radius: 1.5rem; border: 1px solid #f1f5f9; background: #fff; padding: 2rem; }
.stat { border-radius: 1rem; padding: 1.25rem; }
.stat.dark { background: var(--petro); color: #fff; }
.stat.light { background: var(--clinic); }
.plan {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}
.plan.featured { outline: 2px solid var(--gold); }
.price { font-family: var(--serif); font-size: 3rem; color: var(--petro); margin: 0.75rem 0 0; }
.feat { list-style: none; padding: 0; margin: 1.5rem 0 0; flex: 1; color: #475569; font-size: 0.875rem; }
.feat li { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 0.75rem; }
.check { color: #059669; flex-shrink: 0; }

.cta-band { position: relative; overflow: hidden; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .veil { position: absolute; inset: 0; background: rgb(15 76 117 / 0.8); }
.cta-band .inner { position: relative; max-width: 48rem; margin: 0 auto; padding: 6rem 1rem; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; }

footer.site { background: var(--petro); color: #e2e8f0; }
.foot-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: repeat(4, 1fr); } }
footer h4 { color: var(--gold); font-size: 1.125rem; }
footer ul { list-style: none; padding: 0; margin: 1rem 0 0; font-size: 0.875rem; }
footer li { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.foot-copy { border-top: 1px solid rgb(255 255 255 / 0.1); padding: 1rem 0; text-align: center; font-size: 0.75rem; color: #94a3b8; }

.wa-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  height: 3.5rem;
  width: 3.5rem;
  border: 0;
  border-radius: 9999px;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgb(0 0 0 / 0.18);
  cursor: pointer;
  animation: pulse-wa 2s ease-in-out infinite;
}
@keyframes pulse-wa {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}
.wa-panel {
  position: fixed;
  bottom: 6rem;
  right: 1rem;
  z-index: 70;
  height: 540px;
  width: min(92vw, 380px);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid #f1f5f9;
  background: #fff;
  box-shadow: 0 10px 40px -12px rgba(15, 76, 117, 0.18);
}
.wa-panel.open { display: flex; }
.wa-head { display: flex; justify-content: space-between; align-items: center; background: var(--wa-dark); color: #fff; padding: 0.75rem 1rem; }
.wa-leads { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; background: var(--clinic); padding: 0.5rem 0.75rem; }
.wa-leads input, .field {
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  outline: none;
  width: 100%;
}
.wa-leads input { padding: 0.4rem 0.5rem; font-size: 0.75rem; }
.wa-body { flex: 1; overflow-y: auto; background: #ece5dd; padding: 0.75rem; }
.bubble { max-width: 85%; border-radius: 1rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; margin-bottom: 0.5rem; box-shadow: 0 1px 2px rgb(0 0 0 / 0.06); }
.bubble.bot { background: #fff; color: #334155; }
.bubble.user { background: #dcf8c6; color: #1e293b; margin-left: auto; }
.wa-foot { border-top: 1px solid #f1f5f9; background: #fff; padding: 0.75rem; }
.qs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.qs button {
  border: 0;
  border-radius: 9999px;
  background: var(--clinic);
  color: var(--petro);
  font-size: 11px;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
}
.send-row { display: flex; gap: 0.5rem; }
.send-row input { flex: 1; border-radius: 9999px; border: 1px solid #e2e8f0; padding: 0.5rem 1rem; }
.send-btn {
  height: 2.5rem; width: 2.5rem; border: 0; border-radius: 9999px;
  background: var(--wa); color: #fff; cursor: pointer;
}
.wa-handoff {
  width: 100%;
  margin-top: 0.5rem;
  border: 0;
  border-radius: 9999px;
  background: var(--petro);
  color: #fff;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.checkout-grid {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
}
@media (min-width: 768px) { .checkout-grid { grid-template-columns: 1.1fr 0.9fr; } }
.plan-pick { display: grid; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .plan-pick { grid-template-columns: 1fr 1fr; } }
.plan-btn {
  text-align: left;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 1rem;
  cursor: pointer;
}
.plan-btn.on { outline: 2px solid var(--gold); }
.aside { padding: 1.5rem; height: fit-content; }
.aside-plan { border-radius: 1rem; background: var(--petro); color: #fff; padding: 1.25rem; }
.qr-box { display: flex; flex-direction: column; align-items: center; margin-top: 1.25rem; }
.qr-box img { height: 14rem; width: 14rem; }
.qr-ph {
  height: 14rem; width: 14rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #f1f5f9; border-radius: 0.75rem; color: #64748b; font-size: 0.875rem; text-align: center; padding: 1rem;
}
.paid-box { margin-top: 1rem; border-radius: 1rem; background: #ecfdf5; color: #065f46; padding: 1rem; font-size: 0.875rem; }
.wa-link {
  display: block;
  margin-top: 0.75rem;
  border-radius: 9999px;
  background: var(--wa);
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  font-weight: 600;
}
.key-box {
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px dashed var(--gold);
  padding: 0.75rem;
  font-size: 0.8rem;
  color: var(--petro);
  word-break: break-all;
}

.auth-grid { display: grid; min-height: 100vh; }
@media (min-width: 768px) { .auth-grid { grid-template-columns: 1fr 1fr; } }
.auth-art { display: none; position: relative; overflow: hidden; }
.auth-art img { width: 100%; height: 100%; object-fit: cover; }
.auth-art .veil { position: absolute; inset: 0; background: rgb(15 76 117 / 0.7); }
.auth-art .copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 2.5rem; color: #fff; }
@media (min-width: 768px) { .auth-art { display: block; } }
.auth-form { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--clinic); padding: 3rem 1rem; }
.auth-card { width: 100%; max-width: 28rem; }
.space { display: grid; gap: 0.9rem; margin-top: 2rem; }

.hidden { display: none !important; }
.tiny { font-size: 0.75rem; color: #64748b; }
.ok { color: #047857; }
