:root {
  --black: #090909;
  --black-2: #11100e;
  --surface: #15130f;
  --gold: #d6ad55;
  --gold-light: #f2d991;
  --gold-dark: #8d6b2c;
  --ivory: #f6f0e4;
  --muted: #aaa49a;
  --line: rgba(214,173,85,.24);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ivory); background: var(--black); font: 16px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; color: #111; background: var(--gold-light); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.topbar { position: relative; z-index: 4; min-height: 78px; padding: 14px clamp(20px,5vw,76px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: rgba(9,9,9,.96); }
.brand { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; }
.brand img { width: 112px; height: 40px; object-fit: contain; }
.brand span { max-width: 115px; color: var(--muted); font-size: .59rem; line-height: 1.3; letter-spacing: .13em; }
.topbar nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: clamp(14px,2.5vw,34px); }
.topbar nav a { color: #d8d1c3; font-size: .83rem; transition: color .2s; }
.topbar nav a:hover, .topbar nav a:focus-visible { color: var(--gold-light); }
.topbar nav .nav-relationship { padding: 8px 12px; border: 1px solid var(--gold-dark); color: var(--gold-light); }
.hero { min-height: 570px; position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.55fr); align-items: center; gap: 7vw; padding: 76px clamp(24px,11vw,160px) 105px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 70% 45%, rgba(214,173,85,.13), transparent 38%), linear-gradient(135deg,#0b0a08,#090909 55%,#14110b); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background: linear-gradient(90deg,transparent 49.8%,rgba(214,173,85,.18) 50%,transparent 50.2%); }
.hero-glow { position: absolute; z-index: -1; right: 12%; top: 11%; width: clamp(300px,35vw,510px); aspect-ratio: 1; border: 1px solid rgba(214,173,85,.13); border-radius: 50%; box-shadow: 0 0 0 28px rgba(214,173,85,.025), 0 0 0 68px rgba(214,173,85,.018); }
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: .71rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; vertical-align: middle; width: 28px; height: 1px; margin-right: 10px; background: var(--gold); }
h1,h2,h3,p { margin-top: 0; }
.hero h1 { margin: 0 0 24px; color: var(--gold-light); font: 600 clamp(2.9rem,7vw,6.2rem)/.98 var(--serif); letter-spacing: .035em; text-shadow: 0 8px 36px rgba(214,173,85,.12); }
.hero h1 em { display: block; margin-top: 8px; color: var(--ivory); font-size: .47em; font-style: normal; letter-spacing: .31em; }
.hero-lead { margin: 0 0 14px; font: 500 clamp(1.28rem,2.4vw,1.78rem)/1.35 var(--serif); }
.hero-lead strong { color: var(--gold-light); font-weight: 500; }
.hero-text { max-width: 550px; margin-bottom: 27px; color: var(--muted); font-size: .97rem; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 19px; font-size: .88rem; font-weight: 600; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { border: 1px solid var(--gold-light); color: #17130c; background: linear-gradient(135deg,#f2d991,#d6ad55 58%,#b4873c); box-shadow: 0 8px 24px rgba(214,173,85,.1); }
.button-gold:hover { background: linear-gradient(135deg,#fff0ba,#e5c36d); }
.button-outline { border: 1px solid var(--gold-dark); color: var(--gold-light); background: transparent; }
.button-outline:hover { background: rgba(214,173,85,.1); border-color: var(--gold-light); }
.hero-seal { justify-self: center; width: min(270px,24vw); aspect-ratio: 1; display: grid; place-items: center; position: relative; color: var(--gold-light); text-align: center; }
.seal-ring { position: absolute; inset: 0; border: 1px solid rgba(214,173,85,.56); border-radius: 50%; box-shadow: inset 0 0 35px rgba(214,173,85,.04),0 0 35px rgba(214,173,85,.09); }
.seal-ring::before,.seal-ring::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(214,173,85,.25); border-radius: 50%; }
.seal-ring::after { inset: 25px; border-style: dashed; opacity: .55; }
.seal-mark { position: absolute; top: 31%; color: var(--gold-light); font: italic 600 5.2rem/1 var(--serif); text-shadow: 0 0 26px rgba(214,173,85,.35); }
.seal-rule { position: absolute; top: 61%; width: 56px; height: 1px; background: var(--gold); }
.seal-caption { position: absolute; top: 67%; color: #e1d3ad; font-size: .55rem; line-height: 1.7; letter-spacing: .17em; }
.hero-bottom { position: absolute; inset: auto 0 0; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 20px; border-top: 1px solid var(--line); color: #c7b88d; font-size: .61rem; letter-spacing: .19em; }
.hero-bottom i { width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.search-section,.how-section { padding: 92px clamp(24px,10vw,144px); }
.section-heading { max-width: 760px; margin: 0 auto 33px; text-align: center; }
.section-heading h2 { margin: 0 0 10px; font: 600 clamp(2rem,4vw,3rem)/1.16 var(--serif); }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.search-form { max-width: 980px; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.85fr) auto; align-items: end; gap: 12px; margin: 0 auto; padding: 18px; border: 1px solid var(--line); background: linear-gradient(135deg,#15130f,#0f0e0c); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.search-field { display: grid; gap: 7px; color: #d8cda9; font-size: .74rem; font-weight: 600; }
.search-field input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid rgba(214,173,85,.24); border-radius: 0; outline: none; color: var(--ivory); background: #0c0b09; font-size: .9rem; }
.search-field input::placeholder { color: #827c70; }
.search-field input:focus { border-color: var(--gold-light); box-shadow: 0 0 0 2px rgba(214,173,85,.13); }
.search-button { min-height: 46px; border-radius: 0; cursor: pointer; }
.search-button span { font-size: 1.2rem; }
.category-area { max-width: 980px; margin: 27px auto 0; }
.category-label { margin: 0 0 11px; color: var(--muted); font-size: .75rem; }
.categories { display: flex; flex-wrap: wrap; gap: 8px; }
.category { min-height: 36px; padding: 7px 13px; border: 1px solid rgba(214,173,85,.23); color: #d2cbbd; background: transparent; font-size: .76rem; cursor: pointer; }
.category:hover,.category:focus-visible,.category.is-active { border-color: var(--gold); color: var(--gold-light); background: rgba(214,173,85,.08); outline: none; }
.results-header { max-width: 980px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 47px auto 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.results-header h3 { margin: 0; font: 500 1.28rem var(--serif); }
.results-header span { color: var(--muted); font-size: .72rem; }
.results { max-width: 980px; margin: 0 auto; }
.empty-state { display: grid; justify-items: center; padding: 42px 24px; border: 1px solid rgba(214,173,85,.14); background: radial-gradient(ellipse at 50% 0,rgba(214,173,85,.08),transparent 60%),#0e0d0b; text-align: center; }
.empty-symbol { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 14px; border: 1px solid var(--gold-dark); border-radius: 50%; color: var(--gold-light); font: 1.45rem var(--serif); }
.empty-state h4 { margin: 0 0 8px; font: 500 1.35rem var(--serif); }
.empty-state p { max-width: 540px; margin: 0; color: var(--muted); font-size: .88rem; }
.profile-card { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 18px; padding: 18px; border: 1px solid var(--line); background: var(--black-2); }
.profile-initial { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--gold-dark); border-radius: 50%; color: var(--gold-light); font: 1.5rem var(--serif); }
.profile-card h4 { margin: 0 0 3px; font: 500 1.2rem var(--serif); }
.profile-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.excelencia-badge { display: inline-block; margin-top: 7px; padding: 3px 8px; border: 1px solid var(--gold-dark); color: var(--gold-light); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.profile-card .button { white-space: nowrap; }
.how-section { border-top: 1px solid rgba(214,173,85,.12); background: linear-gradient(180deg,#0d0c0a,#11100e); }
.steps { max-width: 980px; display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; margin: 0 auto; }
.step { min-height: 210px; padding: 25px; border: 1px solid var(--line); background: rgba(9,9,9,.58); }
.step > span { display: inline-grid; place-items: center; width: 37px; height: 37px; margin-bottom: 20px; border: 1px solid var(--gold-dark); color: var(--gold-light); font-size: .73rem; }
.step h3 { margin: 0 0 8px; font: 500 1.2rem var(--serif); }
.step p { margin: 0; color: var(--muted); font-size: .86rem; }
.independence-note { max-width: 980px; margin: 28px auto 0; padding: 15px 18px; border-left: 2px solid var(--gold); color: #d7cba9; background: rgba(214,173,85,.055); font-size: .84rem; }
.independence-note span { margin-right: 8px; color: var(--gold); font-size: .7rem; }
.relationship-section { position: relative; display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 33px; padding: 64px clamp(24px,12vw,170px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 14% 50%,rgba(214,173,85,.12),transparent 25%),#0d0c0a; }
.relationship-mark { width: 128px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold-dark); border-radius: 50%; color: var(--gold-light); font: italic 500 4.5rem var(--serif); box-shadow: inset 0 0 28px rgba(214,173,85,.05),0 0 32px rgba(214,173,85,.08); }
.relationship-copy { max-width: 720px; }
.relationship-copy h2 { margin: 0 0 8px; font: 600 clamp(1.7rem,3vw,2.4rem)/1.2 var(--serif); }
.relationship-copy > p:not(.eyebrow) { max-width: 650px; margin-bottom: 20px; color: var(--muted); }
.relationship-copy small { display: block; margin-top: 9px; color: #8e887d; font-size: .7rem; }
.footer { display: grid; justify-items: center; gap: 9px; padding: 36px 24px 32px; text-align: center; }
.footer-brand { color: var(--gold-light); font: 600 1.1rem var(--serif); letter-spacing: .12em; }
.footer-brand span { display: inline-block; margin-left: 7px; color: #d4cec1; font: 500 .67rem var(--sans); letter-spacing: .16em; }
.footer > p { margin: 0; color: var(--muted); font-size: .77rem; }
.footer .footer-note { max-width: 760px; margin-top: 5px; color: #807a70; font-size: .68rem; }
.back-link { margin-top: 7px; color: var(--gold-light); font-size: .78rem; }
@media (max-width: 820px) {
  .topbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .topbar nav { width: 100%; justify-content: flex-start; gap: 10px 20px; }
  .topbar nav a { font-size: .76rem; }
  .hero { min-height: 510px; grid-template-columns: 1fr minmax(150px,.45fr); gap: 25px; padding-top: 60px; }
  .hero-seal { width: min(220px,27vw); }
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-button { grid-column: 1 / -1; }
  .search-section,.how-section { padding: 72px 6vw; }
  .relationship-section { grid-template-columns: 100px 1fr; gap: 24px; }
  .relationship-mark { width: 96px; font-size: 3.4rem; }
}
@media (max-width: 560px) {
  .topbar { min-height: auto; padding: 13px 18px 12px; }
  .brand img { width: 95px; height: 33px; }
  .brand span { max-width: 130px; font-size: .52rem; }
  .topbar nav { gap: 8px 14px; }
  .topbar nav a { font-size: .69rem; }
  .topbar nav .nav-relationship { padding: 5px 7px; }
  .hero { min-height: 570px; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; gap: 25px; padding: 48px 22px 92px; }
  .hero-glow { right: -26%; top: 5%; width: 90vw; }
  .hero h1 { font-size: clamp(3rem,15vw,4.4rem); }
  .hero-seal { position: absolute; right: 7%; bottom: 61px; width: 122px; opacity: .6; }
  .seal-mark { font-size: 2.5rem; }
  .seal-ring::before { inset: 8px; }
  .seal-ring::after { inset: 16px; }
  .seal-rule { top: 59%; width: 28px; }
  .seal-caption { top: 66%; font-size: .3rem; }
  .hero-bottom { justify-content: flex-start; gap: 8px; padding-inline: 13px; font-size: .47rem; letter-spacing: .11em; }
  .hero-bottom i { width: 3px; height: 3px; }
  .hero-text { max-width: 340px; font-size: .9rem; }
  .search-section,.how-section { padding: 62px 18px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: 2rem; }
  .search-form { grid-template-columns: 1fr; padding: 13px; }
  .search-button { grid-column: auto; }
  .categories { display: grid; grid-template-columns: 1fr 1fr; }
  .category { text-align: left; }
  .category:last-child { grid-column: 1 / -1; }
  .results-header { align-items: flex-start; flex-direction: column; gap: 2px; margin-top: 36px; }
  .empty-state { padding: 32px 18px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { min-height: 0; padding: 20px; }
  .step > span { margin-bottom: 12px; }
  .relationship-section { grid-template-columns: 1fr; justify-items: start; gap: 20px; padding: 48px 22px; }
  .relationship-mark { width: 74px; font-size: 2.7rem; }
  .footer { padding-inline: 20px; }
  .footer-brand span { display: block; margin: 3px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
