:root {
  --midnight: #06121e;
  --ink: #f7f2e8;
  --muted: rgba(247, 242, 232, 0.68);
  --gold: #d1ad6b;
  --gold-bright: #efd296;
  --line: rgba(255, 255, 255, 0.15);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--midnight);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 3%, rgba(209, 173, 107, 0.16), transparent 25rem),
    radial-gradient(circle at 92% 34%, rgba(86, 126, 148, 0.13), transparent 24rem),
    linear-gradient(155deg, #06111c 0%, #0a1b29 52%, #06111b 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 40;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  color: var(--midnight);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.bio-shell {
  width: min(100% - 28px, 560px);
  margin: 0 auto;
  padding: 29px 0 32px;
}

.bio-header { text-align: center; }
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: 0.09em;
}
.brand-name { font: 600 1.9rem/1 Georgia, "Times New Roman", serif; }
.brand-pro {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}
.location-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.location-label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(209, 173, 107, 0.7);
}
h1 {
  margin: 0;
  font: 400 clamp(2.2rem, 9.5vw, 3.35rem)/0.98 Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 em { color: var(--gold-bright); font-weight: 400; }
.bio-intro {
  max-width: 410px;
  margin: 16px auto 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.primary-actions { display: grid; gap: 10px; }
.primary-action {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 19px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 21px;
  background: linear-gradient(125deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 12px 32px rgba(0,0,0,0.16);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  transition: transform 180ms ease, border-color 180ms ease;
}
.primary-action:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.4); }
.primary-action-gold {
  color: #07131f;
  border-color: rgba(255,255,255,0.34);
  background: linear-gradient(135deg, #efd295, #caa15b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 14px 38px rgba(156,117,47,0.24);
}
.primary-action span, .primary-action strong, .primary-action small { display: block; }
.primary-action strong { font-size: 1rem; }
.primary-action small { margin-top: 5px; color: var(--muted); font-size: 0.78rem; }
.primary-action-gold small { color: rgba(7,19,31,0.68); }
.primary-action i { flex: 0 0 auto; color: var(--gold); font-size: 1.1rem; font-style: normal; }
.primary-action-gold i { color: #07131f; }

.diagnostic-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin-top: 18px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(209,173,107,0.35);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0%, rgba(239,210,150,0.17), transparent 15rem),
    linear-gradient(145deg, rgba(209,173,107,0.12), rgba(255,255,255,0.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 18px 50px rgba(0,0,0,0.2);
}
.diagnostic-mark {
  position: absolute;
  top: 18px;
  right: 19px;
  display: flex;
  gap: 5px;
  color: rgba(239,210,150,0.52);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.diagnostic-mark span:not(:last-child)::after { margin-left: 5px; content: "·"; }
.diagnostic-copy { grid-column: 1 / -1; padding-right: 76px; }
.diagnostic-copy .section-kicker { margin-bottom: 9px; }
.diagnostic-copy h2 {
  max-width: 390px;
  margin: 0;
  font: 400 1.65rem/1.07 Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}
.diagnostic-copy > p:last-child { max-width: 430px; margin: 11px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.diagnostic-open {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 17px;
  border: 1px solid rgba(239,210,150,0.52);
  border-radius: 999px;
  color: #081520;
  background: linear-gradient(135deg, var(--gold-bright), #cda660);
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.diagnostic-open:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(166,126,53,0.26); }
.diagnostic-card > small { align-self: center; color: rgba(255,255,255,0.53); font-size: 0.75rem; }

.featured, .intent-section, .trust-card { margin-top: 30px; }
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.featured-card {
  position: relative;
  display: grid;
  min-height: 254px;
  overflow: hidden;
  border: 1px solid rgba(223,195,142,0.38);
  border-radius: 25px;
  background: #0b1721;
  box-shadow: 0 22px 64px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.13);
  isolation: isolate;
  transition: transform 200ms ease, border-color 200ms ease;
}
.featured-card:hover { transform: translateY(-2px); border-color: rgba(239,210,150,0.78); }
.featured-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.featured-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,10,15,0.02) 8%, rgba(3,10,15,0.34) 42%, rgba(3,10,15,0.96) 100%);
}
.featured-copy {
  display: flex;
  align-self: end;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}
.eyebrow {
  margin-bottom: 7px;
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.featured-copy strong { font: 500 1.9rem/1 Georgia, "Times New Roman", serif; letter-spacing: -0.025em; }
.featured-details { margin-top: 8px; color: rgba(255,255,255,0.78); font-size: 0.82rem; }
.featured-action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.22);
  font-size: 0.8rem;
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.section-heading .section-kicker { margin: 0; }
.section-heading h2 { margin: 0; font: 400 1.45rem/1 Georgia, "Times New Roman", serif; letter-spacing: -0.025em; }
.intent-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.045);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}
.intent-list a {
  display: grid;
  min-height: 67px;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255,255,255,0.11);
  transition: background 160ms ease;
}
.intent-list a:first-child { border-top: 0; }
.intent-list a:hover { background: rgba(255,255,255,0.07); }
.intent-number { color: var(--gold); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; }
.intent-list strong { font-size: 0.9rem; }
.intent-list i { color: var(--gold); font-style: normal; }

.trust-card {
  padding: 22px;
  border: 1px solid rgba(209,173,107,0.28);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(209,173,107,0.11), rgba(255,255,255,0.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.trust-card h2 { max-width: 440px; margin: 0; font: 400 1.55rem/1.08 Georgia, "Times New Roman", serif; letter-spacing: -0.025em; }
.trust-card nav { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 19px; }
.trust-card nav a {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 17px;
  background: rgba(3,12,20,0.28);
}
.trust-card strong, .trust-card small { display: block; }
.trust-card strong { font-size: 0.77rem; }
.trust-card small { margin-top: 4px; color: var(--muted); font-size: 0.67rem; line-height: 1.35; }
.trust-card i { color: var(--gold); font-style: normal; }

.bio-footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-main, .footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer-main a { font-size: 0.78rem; font-weight: 700; }
.footer-main span { margin-left: 4px; color: var(--gold); }
.footer-legal { margin-top: 17px; color: rgba(255,255,255,0.46); font-size: 0.68rem; }
.footer-legal a { margin-left: auto; }
.footer-legal button { padding: 0; border: 0; background: none; cursor: pointer; }

.diagnostic-dialog {
  width: min(100% - 24px, 570px);
  max-height: min(90vh, 760px);
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--ink);
  background: transparent;
}
.diagnostic-dialog::backdrop {
  background: rgba(0,6,11,0.82);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
.diagnostic-panel {
  max-height: min(90vh, 760px);
  padding: 25px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 27px;
  background:
    radial-gradient(circle at 100% 0%, rgba(209,173,107,0.16), transparent 20rem),
    #091a28;
  box-shadow: 0 34px 100px rgba(0,0,0,0.56), inset 0 1px 0 rgba(255,255,255,0.11);
}
.diagnostic-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.diagnostic-header span { color: var(--gold); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; }
.diagnostic-header h2 { margin: 6px 0 0; font: 400 1.8rem/1 Georgia, "Times New Roman", serif; letter-spacing: -0.03em; }
.diagnostic-header > button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  font-size: 1.55rem;
}
.diagnostic-progress { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; margin: 25px 0 28px; }
.diagnostic-progress span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 800;
}
.diagnostic-progress span.is-active { color: #07131f; border-color: var(--gold); background: var(--gold); }
.diagnostic-progress i { height: 1px; background: rgba(255,255,255,0.14); }
.diagnostic-step[hidden], .diagnostic-result[hidden] { display: none; }
.step-label { margin: 0 0 9px; color: var(--gold); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.diagnostic-step h3, .diagnostic-result h3 { margin: 0; font: 400 1.72rem/1.08 Georgia, "Times New Roman", serif; letter-spacing: -0.03em; text-wrap: balance; }
.answer-grid { display: grid; gap: 9px; margin-top: 22px; }
.answer-grid-two { grid-template-columns: 1fr 1fr; }
.answer-grid button {
  min-height: 54px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 17px;
  color: rgba(255,255,255,0.87);
  background: linear-gradient(125deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 700;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.answer-grid button:hover, .answer-grid button.is-selected { border-color: rgba(239,210,150,0.65); background: rgba(209,173,107,0.13); transform: translateY(-1px); }
.diagnostic-nav { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 14px; margin-top: 23px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,0.1); }
.diagnostic-nav button, .diagnostic-restart { padding: 0; border: 0; color: var(--gold-bright); background: none; cursor: pointer; font-size: 0.8rem; font-weight: 700; }
.diagnostic-nav span { margin-left: auto; color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.benefit-label { display: inline-flex; margin-bottom: 13px; padding: 7px 10px; border: 1px solid rgba(209,173,107,0.36); border-radius: 999px; color: var(--gold-bright); background: rgba(209,173,107,0.1); font-size: 0.75rem; font-weight: 800; }
.diagnostic-result > p { margin: 13px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.diagnostic-summary { margin: 21px 0 0; border-top: 1px solid rgba(255,255,255,0.11); }
.diagnostic-summary div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.11); }
.diagnostic-summary dt { color: rgba(255,255,255,0.48); font-size: 0.75rem; }
.diagnostic-summary dd { margin: 0; font-size: 0.8rem; font-weight: 700; }
.diagnostic-whatsapp {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 19px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 18px;
  color: #07131f;
  background: linear-gradient(135deg, var(--gold-bright), #cda660);
  font-size: 0.88rem;
  font-weight: 800;
}
.diagnostic-restart { display: block; margin: 15px auto 0; color: rgba(255,255,255,0.62); }

.cookie-banner {
  position: fixed;
  z-index: 30;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  width: min(100% - 28px, 690px);
  margin: auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  background: rgba(8,22,33,0.94);
  box-shadow: 0 20px 70px rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-size: 0.83rem; }
.cookie-banner p { margin: 4px 0 0; color: var(--muted); font-size: 0.7rem; }
.cookie-actions { display: flex; gap: 7px; }
.cookie-banner button, .dialog-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}
.cookie-accept { border-color: rgba(209,173,107,0.52) !important; background: rgba(209,173,107,0.19) !important; }

.cookie-dialog { width: min(100% - 28px, 510px); padding: 0; border: 0; color: var(--ink); background: transparent; }
.cookie-dialog::backdrop { background: rgba(0,6,11,0.75); backdrop-filter: blur(7px); }
.cookie-dialog-card { padding: 22px; border: 1px solid rgba(255,255,255,0.2); border-radius: 24px; background: #0a1a27; box-shadow: 0 30px 90px rgba(0,0,0,0.5); }
.cookie-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.cookie-dialog-heading span { color: var(--gold); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.cookie-dialog h2 { margin: 4px 0 0; font: 400 1.7rem/1 Georgia, serif; }
.cookie-dialog-heading > button { padding: 0; border: 0; color: var(--muted); background: none; cursor: pointer; font-size: 1.7rem; }
.cookie-dialog-card > p { color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.cookie-option strong, .cookie-option small { display: block; }
.cookie-option strong { font-size: 0.8rem; }
.cookie-option small { margin-top: 3px; color: var(--muted); font-size: 0.69rem; }
.cookie-option input { width: 18px; height: 18px; accent-color: var(--gold); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 15px; }

@media (max-width: 520px) {
  .bio-shell { width: min(100% - 24px, 560px); padding-top: 25px; }
  .location-label { margin-bottom: 21px; }
  .featured-card { min-height: 244px; }
  .featured-copy { padding: 20px; }
  .diagnostic-card { grid-template-columns: 1fr; padding: 21px; }
  .diagnostic-copy { padding-right: 58px; }
  .diagnostic-open { width: 100%; }
  .diagnostic-card > small { text-align: center; }
  .diagnostic-panel { padding: 21px; }
  .answer-grid-two { grid-template-columns: 1fr; }
  .diagnostic-summary div { grid-template-columns: 82px 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .trust-card nav { grid-template-columns: 1fr; }
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 12px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; }
}

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