/* Apex Navigator brand: black + orange, Montserrat headings, Open Sans body */
:root {
  --black: #0B0B0B;
  --orange: #FF9900;
  --orange-dark: #E68A00;
  --white: #FFFFFF;
  --gray: #141414;
  --gray-2: #1C1C1C;
  --text: #BBBBBB;
  --text-strong: #DDDDDD;
  --text-muted: #8A8A8A;
  --line: rgba(255, 153, 0, 0.15);
  --line-soft: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 100vw;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255, 153, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--text-strong); }

.wrap { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  background: rgba(11, 11, 11, 0.97);
  border-bottom: 1px solid rgba(255, 153, 0, 0.12);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 72px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 44px; width: auto; display: block; }
.brand-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
}
.brand-text span { color: var(--orange); }
.site-nav { display: flex; gap: 6px 22px; flex-wrap: wrap; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .3px; }
.site-nav a { color: var(--text); }
.site-nav a:hover { color: var(--orange); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--orange); }

/* Page heading */
.hero { position: relative; z-index: 1; padding: 56px 0 8px; }
.hero h1 {
  margin: 0 0 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.15;
  color: var(--white);
}
.hero h1 span { color: var(--orange); }
.hero p { margin: 0; max-width: 640px; font-size: 16px; color: var(--text); }

/* Main */
main { position: relative; z-index: 1; padding: 28px 0 72px; }
.card {
  background: var(--gray);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 32px;
}

/* Legal docs */
.doc h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.doc h2:first-of-type { margin-top: 12px; }
.doc h3 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 15px; color: var(--text-strong); margin: 20px 0 6px; }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--orange); }
.meta { color: var(--text-muted); font-size: 13px; margin: 0 0 24px; }
.callout {
  background: rgba(255, 153, 0, 0.07);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 20px 0;
}
.callout p { margin: 6px 0; color: #CCCCCC; }
.toc { background: var(--gray-2); border: 1px solid var(--line-soft); border-radius: 10px; padding: 16px 20px; margin-bottom: 8px; }
.toc strong { display: block; margin-bottom: 6px; font-family: "Montserrat", sans-serif; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { font-size: 14px; break-inside: avoid; margin-bottom: 2px; }
.toc a { color: var(--text); }
.toc a:hover { color: var(--orange); }

/* Form */
.form-intro { margin: 0 0 24px; color: var(--text); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--white); }
.field .hint { font-family: "Open Sans", sans-serif; font-weight: 400; color: var(--text-muted); font-size: 13px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--white);
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
}
.field input::placeholder { color: #666; }
.field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.25); }

fieldset.consent { border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 4px; margin: 26px 0 12px; }
fieldset.consent legend { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 14px; color: var(--orange); padding: 0 8px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-bottom: 16px; }
.check input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--orange); cursor: pointer; }
.check input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.check label { font-size: 14px; line-height: 1.6; cursor: pointer; color: var(--text); }
.check label strong { display: block; font-family: "Montserrat", sans-serif; color: var(--white); font-size: 14px; margin-bottom: 2px; }
.optional-note { font-size: 14px; color: var(--text-strong); margin: 0 0 14px; }
.legal-links { font-size: 14px; margin: 0 0 24px; }

.btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .5px;
  color: var(--black);
  background: var(--orange);
  border: 0;
  border-radius: 8px;
  padding: 14px 30px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--orange-dark); color: var(--black); text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.hidden { display: none; }

/* Footer */
.site-footer { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 30px 0; text-align: center; }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-brand { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2px; color: var(--text-muted); }
.footer-brand span { color: var(--orange); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.footer-links a { font-size: 13px; color: var(--text); }
.footer-links a:hover { color: var(--orange); text-decoration: none; }
.footer-copy { font-size: 12px; color: #666; margin: 0; }

@media (max-width: 600px) {
  .card { padding: 22px 18px; }
  .hero { padding: 36px 0 4px; }
  .toc ol { columns: 1; }
  .btn { width: 100%; }
  .brand img { height: 38px; }
  .brand-text { font-size: 19px; }
}

/* Datos por confirmar (no publicar con estos marcadores) */
.todo { background: rgba(255, 153, 0, 0.18); color: var(--orange); border: 1px dashed var(--orange); border-radius: 4px; padding: 0 4px; font-weight: 700; }
.facts { list-style: none; padding-left: 0 !important; }
.facts li { margin-bottom: 6px; }
#sms-form { margin: 8px 0 8px; }
