/* 1.com.do: the One Real Estate Network. Navy and gold, calm and exact: an institution's seal,
   not a marketplace. Manrope for words, IBM Plex Mono for every figure and certificate number. */
:root {
  --navy: #0E2238;
  --navy-2: #17304D;
  --navy-line: #22395A;
  --ink: #12261C;
  --text: #1C2B3C;
  --muted: #4A5868;
  --soft: #66737F;
  --gold: #B08D3C;
  --gold-text: #8A6A1F;
  --gold-light: #C9A55A;
  --on-navy: #C9D3E0;
  --on-navy-soft: #9FB0C4;
  --paper: #FAFBFA;
  --white: #FFFFFF;
  --mist: #EEF2F6;
  --line: #DDE3EA;
  --line-strong: #C8D1DC;
  --palm: #1F4A36;
  --ok: #1F6B4A;
  --radius: 10px;
  --font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); font-size: 16px; line-height: 1.55; }
svg { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, 3vw); padding-right: max(16px, 3vw); }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, 38px); }
p { margin: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.quiet { font-family: var(--serif); font-style: italic; font-weight: 500; }
.mono { font-family: var(--mono); }

/* Header */
.site-header { background: var(--navy); color: var(--white); border-bottom: 1px solid var(--navy-line); }
.site-header .wrap { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand b { display: block; font-weight: 800; font-size: 22px; letter-spacing: -0.04em; line-height: 1; }
.brand b span { color: var(--gold-light); }
.brand small { display: block; margin-top: 4px; font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--on-navy-soft); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 600; font-size: 14.5px; }
.nav a { color: var(--on-navy); text-decoration: none; }
.nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.header-end { margin-left: auto; }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--navy-line); color: var(--white); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary { border-color: var(--gold-light); }
.lang-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; width: min(320px, 86vw); background: var(--white); color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 18px 40px rgba(14,34,56,.22); padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.lang-panel p { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.lang-panel a, .lang-panel span { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 6px; font-size: 14.5px; text-decoration: none; color: var(--text); }
.lang-panel a:hover { background: var(--mist); }
.lang-panel a[aria-current="true"] { background: var(--mist); font-weight: 700; color: var(--navy); }
.lang-panel span { color: var(--soft); }
.lang-panel .note { grid-column: 1 / -1; font-size: 12.5px; margin-top: 6px; }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; }
.btn-gold { background: var(--gold-light); color: var(--navy); }
.btn-gold:hover { background: #D6B66E; color: var(--navy); }
.btn-outline { color: var(--white); border-color: var(--on-navy-soft); }
.btn-outline:hover { color: var(--white); border-color: var(--white); background: var(--navy-2); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }

/* Hero */
.hero { background: var(--navy); color: var(--white); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-text { flex: 1.15 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { color: var(--white); font-size: clamp(38px, 4.4vw, 60px); }
.hero .eyebrow { color: var(--gold-light); }
.hero .quiet { color: var(--gold-light); font-size: clamp(22px, 2vw, 28px); line-height: 1.25; margin-top: -6px; }
.hero .lede { color: var(--on-navy); font-size: 17px; max-width: 580px; }
.status { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--navy-line); border-radius: 10px; background: var(--navy-2); color: var(--on-navy); font-size: 14.5px; max-width: 600px; }
.status b { color: var(--white); }
.status .dot { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 4px rgba(201,165,90,.22); flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.cert-preview { flex: 1 1 420px; min-width: 0; max-width: 560px; position: relative; }
.cert { background: var(--white); color: var(--text); padding: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.35); transform: rotate(-1.5deg); }
.cert-inner { border: 1px solid var(--gold); padding: 5px; }
.cert-body { border: 1px solid #E3D8BC; padding: 26px 30px 22px; display: flex; flex-direction: column; gap: 10px; }
.cert-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cert-top b { font-weight: 800; font-size: 20px; letter-spacing: -0.04em; color: var(--navy); }
.cert-top b span { color: var(--gold); }
.cert-top small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.cert-no { text-align: right; font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.cert-no span { display: block; font: 600 15px var(--mono); letter-spacing: 0; color: var(--navy); margin-top: 3px; }
.cert-mid { display: flex; align-items: center; gap: 18px; padding: 8px 0; }
.cert-mid .who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cert-mid .who small { color: var(--muted); font-size: 12.5px; }
.cert-mid .name { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4vw, 46px); line-height: 1; color: var(--navy); }
.cert-mid .role { font-weight: 800; font-size: 16px; color: var(--navy); }
.cert-rule { height: 1px; background: var(--gold); box-shadow: 0 3px 0 #E6EBE8; margin: 4px 0 8px; }
.cert-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; color: var(--soft); }
.cert-foot b { display: block; font-size: 12px; color: var(--navy); }
.example-flag { position: absolute; right: 14px; top: -12px; z-index: 1; height: 26px; padding: 0 10px; border-radius: 4px; background: var(--gold-light); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .12em; display: inline-flex; align-items: center; transform: rotate(-1.5deg); }

/* Sections */
section { scroll-margin-top: 16px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head .quiet { color: var(--gold-text); font-size: 22px; }
.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px; }
.points li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--gold); }
.points .big { font: 600 30px var(--mono); color: var(--navy); letter-spacing: -0.02em; }
.points b { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.points span { color: var(--muted); font-size: 15px; }

/* Join steps */
.join { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.join li { padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.join li:last-child { border-right: 0; }
.join .n { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-text); font: 600 14px var(--mono); display: grid; place-items: center; }
.join b { font-weight: 800; color: var(--navy); font-size: 16.5px; letter-spacing: -0.01em; }
.join span { color: var(--muted); font-size: 14.5px; }
.join .fee { font: 600 15px var(--mono); color: var(--navy); }
.join-notes { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14.5px; color: var(--muted); }
.join-notes b { color: var(--navy); }

/* Money */
.money { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.money .table-wrap { flex: 1.5 1 560px; min-width: 0; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { padding: 13px 18px; text-align: left; }
thead th { background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
thead th + th, tbody td + td { text-align: right; }
tbody tr + tr td { border-top: 1px solid var(--line); }
tbody td + td { font-family: var(--mono); font-weight: 500; color: var(--navy); white-space: nowrap; }
tr.total td { border-top: 2px solid var(--navy); font-weight: 800; color: var(--navy); }
tr.total td + td { font-weight: 600; }
.money-notes { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.money-notes p { color: var(--muted); font-size: 15px; }
.money-notes b { color: var(--navy); }

/* Lawyers */
.lawyers { background: var(--navy); color: var(--white); }
.lawyers h2 { color: var(--white); }
.lawyers .eyebrow { color: var(--gold-light); }
.lawyers .section-head p { color: var(--on-navy); }
.lawyers .points li { border-top-color: var(--gold-light); }
.lawyers .points b { color: var(--white); }
.lawyers .points span { color: var(--on-navy); }

/* Verify */
.verify-box { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; padding: 32px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.verify-box .text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.verify-box .text p { color: var(--muted); }
.verify-form { flex: 1.2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.verify-form label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.verify-row { display: flex; gap: 8px; }
.verify-row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 8px; font: 500 16px var(--mono); color: var(--soft); background: var(--mist); }
.verify-row button { height: 52px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--line-strong); color: var(--muted); font: 700 15px var(--font); }
.verify-form small { color: var(--soft); font-size: 13.5px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); }
.site-footer .rule { border-top: 1px solid var(--gold); padding-top: 3px; }
.site-footer .rule div { border-top: 1px solid var(--navy-line); }
.foot { display: flex; flex-wrap: wrap; gap: 24px 56px; padding: 30px 0 22px; font-size: 14px; }
.foot > div { flex: 1 1 170px; display: flex; flex-direction: column; gap: 7px; }
.foot > div:first-child { flex: 1.6 1 280px; }
.foot h3 { color: var(--gold-light); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot span { color: var(--on-navy); }
.legal { border-top: 1px solid var(--navy-line); padding: 14px 0 22px; font-size: 13px; color: var(--on-navy-soft); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 16px; }
.notfound div { display: flex; flex-direction: column; gap: 14px; align-items: center; max-width: 520px; }

@media (max-width: 820px) {
  .join li { border-right: 0; border-bottom: 1px solid var(--line); }
  .join li:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .nav { order: 3; width: 100%; gap: 4px 18px; }
  .cert { transform: none; }
  .example-flag { transform: none; }
  .verify-row { flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}
