/* SC del Sol Yuma: College Recruitment Information Meeting (simple sign-up page)
   Shape rule: buttons are pills, cards 18px, inputs 10px. One accent: sun orange. */

:root {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --surface-2: #EBEDF1;
  --ink: #121419;
  --muted: #4A515C;
  --line: rgba(18, 20, 25, .12);
  --line-strong: rgba(18, 20, 25, .22);
  --accent: #F5821F;
  --accent-ink: #A44806;
  --on-accent: #1B1006;
  --accent-soft: rgba(245, 130, 31, .12);
  --danger: #B42318;
  --ok: #157A3E;
  --shadow: 0 1px 2px rgba(18, 20, 25, .06), 0 12px 32px -12px rgba(18, 20, 25, .18);
  --glow: rgba(245, 130, 31, .22);
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D0F12;
    --surface: #15181D;
    --surface-2: #1D2128;
    --ink: #F2F3F5;
    --muted: #A3AAB5;
    --line: rgba(255, 255, 255, .10);
    --line-strong: rgba(255, 255, 255, .20);
    --accent: #F7892B;
    --accent-ink: #FFA155;
    --accent-soft: rgba(247, 137, 43, .14);
    --danger: #FF8A80;
    --ok: #5BD08A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -16px rgba(0, 0, 0, .7);
    --glow: rgba(247, 137, 43, .18);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(900px 520px at 50% -160px, var(--glow), transparent 70%) no-repeat, var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .98; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* top bar */
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { height: 50px; width: auto; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--muted); font: 700 14px/1 var(--body); min-width: 42px; height: 34px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lang button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* intro */
.main { padding-top: 20px; padding-bottom: 40px; }
.intro { text-align: center; }
.eyebrow { font: 700 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.intro h1 { margin-top: 14px; font-size: clamp(40px, 8.4vw, 60px); }
html[lang="es"] .intro h1 { font-size: clamp(34px, 7.2vw, 52px); }
.by { margin-top: 14px; color: var(--muted); font-size: 18px; }
.by strong { color: var(--ink); }

.facts { margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.facts > div { padding: 18px 12px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { display: inline-flex; align-items: center; gap: 6px; font: 700 12.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.facts dd { margin: 10px 0 0; font: 800 24px/1.05 var(--display); text-transform: uppercase; }
.facts__note { display: block; margin-top: 6px; font: 500 13px/1.3 var(--body); text-transform: none; color: var(--muted); }
.facts__note:empty { display: none; }
.facts__dir { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font: 700 14px var(--body); text-transform: none; color: var(--accent-ink); text-decoration: none; }
.facts__dir[hidden] { display: none; }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; text-align: left; }
  .facts > div { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 8px; padding: 14px 18px; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts dd { margin: 0; font-size: 22px; }
}

.notice { margin-top: 16px; background: var(--accent); color: var(--on-accent); border-radius: 18px; padding: 16px 20px; }
.notice__k { font: 800 30px/1 var(--display); text-transform: uppercase; }
.notice__p { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; line-height: 1.3; text-align: left; }
.notice__p .icon { width: 22px; height: 22px; }

/* form card */
.card { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
@media (max-width: 480px) { .card { padding: 22px 18px; } }
.card h2 { font-size: 34px; margin-bottom: 18px; }
fieldset { border: 0; margin: 0; padding: 0; }
fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font: 800 20px/1.1 var(--display); text-transform: uppercase; color: var(--muted); }
legend + * { clear: both; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
label { font-weight: 600; font-size: 16px; }
.err { font-size: 14px; font-weight: 600; color: var(--danger); }
.err:empty { display: none; }

input:not([type=checkbox]), select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 500 17px/1.3 var(--body); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
[aria-invalid="true"] { border-color: var(--danger) !important; }

.checks { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-weight: 600; font-size: 16px; cursor: pointer; }
.check--soft { font-weight: 500; font-size: 14.5px; color: var(--muted); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.form-error { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); font-weight: 600; }
.full-note { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.full-note[hidden], .form-error[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--accent); color: var(--on-accent);
  font: 700 18px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s;
}
.btn:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .linkbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn--block { width: 100%; margin-top: 6px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.linkbtn { background: none; border: 0; padding: 4px 0; margin-top: 22px; color: var(--accent-ink); font: 600 16px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* success */
.done { outline: none; text-align: left; }
.done__icon { width: 52px; height: 52px; color: var(--ok); }
.done.is-wait .done__icon { color: var(--accent-ink); }
.done h2 { font-size: clamp(30px, 6vw, 40px); margin: 12px 0 10px; }
.done > p { font-size: 18px; color: var(--muted); }
.done__block { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.done__label { font: 800 18px/1 var(--display); text-transform: uppercase; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* footer */
.footer { padding-bottom: 40px; text-align: center; color: var(--muted); font-size: 15px; }
.footer__c { margin-top: 4px; font-size: 13px; }
