/* Quantia website UI kit — component styles (uses ../../colors_and_type.css tokens) */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-body); color: var(--fg-1); background: var(--bg-1); }
button { font-family: var(--font-head); cursor: pointer; }
img { display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- HEADER ---------- */
.qhead { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.qhead .inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.qhead .logo { height: 30px; }
.qnav { display: flex; gap: 6px; margin-left: auto; }
.qnav a { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--fg-2);
  padding: 9px 15px; border-radius: var(--radius-pill); transition: color .18s, background .18s; }
.qnav a:hover { color: var(--fg-1); background: var(--q-mist); }
.qnav a.active { color: var(--accent); }
.qbtn { font-weight: 600; font-size: 15px; border: none; border-radius: var(--radius-pill); white-space: nowrap;
  padding: 11px 22px; display: inline-flex; align-items: center; gap: 9px; transition: transform .15s, box-shadow .2s, background .2s, color .2s; }
.qbtn:active { transform: scale(.97); }
.qbtn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.qbtn-primary:hover { background: var(--accent-hover); }
.qbtn-grad { background: var(--q-gradient-h); color: #fff; }
.qbtn-grad:hover { filter: brightness(1.06); }
.qbtn-ghost { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.qbtn-ghost:hover { background: var(--accent); color: #fff; }
.qbtn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.qbtn-ghost-light:hover { background: #fff; color: var(--q-plum); border-color:#fff; }
.qbtn-light { background: #fff; color: var(--q-plum); box-shadow: 0 8px 22px rgba(46,11,61,.28); }
.qbtn-light:hover { background: var(--q-mist); }
.qbtn-light .ar { filter: none; }
.qbtn .ar { width: 15px; }
.qbtn-primary .ar, .qbtn-grad .ar { filter: brightness(0) invert(1); }

/* ---------- SECTION SHELL ---------- */
section { scroll-margin-top: 90px; }
.sec-pad { padding: 96px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head);
  font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow img { height: 15px; }
.eyebrow.light { color: #fff; }
.sec-title { font-family: var(--font-head); font-weight: 700; font-size: 42px; line-height: 1.08;
  letter-spacing: -.015em; margin: 16px 0 0; max-width: 480px; text-wrap: balance; }
.sec-lead { font-size: 18px; line-height: 1.6; color: var(--fg-3); margin: 16px 0 0; max-width: 600px; }

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--q-mesh); color: #fff; overflow: hidden; }
.hero .inner { position: relative; z-index: 2; padding: 120px 0 128px; max-width: 760px; }
.hero .blob { position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 620px; opacity: .14; z-index: 1; pointer-events: none; }
.hero h1 { font-family: var(--font-head); font-weight: 700; font-size: 66px; line-height: 1.04;
  letter-spacing: -.02em; margin: 20px 0 0; text-wrap: balance; }
.hero h1 .key { background: linear-gradient(90deg, #FF8AA6 0%, #D9B0FF 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero p { font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.82); margin: 22px 0 0; max-width: 560px; }
.hero .cta { display: flex; gap: 14px; margin-top: 36px; }
.hero .trust { display: flex; gap: 34px; margin-top: 56px; }
.hero .trust .n { font-family: var(--font-head); font-weight: 800; font-size: 32px; }
.hero .trust .l { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 2px; }

/* ---------- SERVICES ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 52px; }
.svc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .2s, box-shadow .2s; cursor: pointer; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc .tile { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--q-gradient);
  display: flex; align-items: center; justify-content: center; }
.svc .tile img { width: 32px; filter: brightness(0) invert(1); }
.svc .num { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--accent);
  letter-spacing: .06em; margin-top: 22px; }
.svc h3 { font-family: var(--font-head); font-weight: 700; font-size: 23px; margin: 8px 0 0; }
.svc p { font-size: 15px; line-height: 1.55; color: var(--fg-3); margin: 10px 0 0; }
.svc .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--accent); }
.svc .more img { width: 16px; }

/* ---------- NOSOTROS ---------- */
.about { background: var(--q-plum); color: #fff; }
.about .grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about .owl { width: 200px; }
.about h2 { font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 1.08;
  letter-spacing: -.02em; margin: 18px 0 0; text-wrap: balance; }
.about p { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.78); margin: 18px 0 0; }
.about .stats { display: flex; gap: 44px; margin-top: 40px; }
.about .stats .n { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1.1;
  color: var(--q-magenta-soft); }
.about .stats .l { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ---------- VACANTES ---------- */
.jobs { margin-top: 48px; border-top: 1px solid var(--border); }
.job { display: flex; align-items: center; gap: 20px; padding: 26px 6px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: padding-left .2s, background .2s; }
.job:hover { padding-left: 16px; background: var(--q-mist); }
.job .txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.job .tag, .job .go { flex: none; }
.job .jt { font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.25; }
.job .jm { font-size: 14px; color: var(--fg-3); margin-top: 4px; }
.job .tag { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill);
  background: rgba(95,56,170,.12); color: #4A2C82; }
.job .go { margin-left: auto; width: 24px; opacity: .85; }

/* ---------- CONTACT ---------- */
.contact { background: var(--q-paper); }
.cform { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-md); margin-top: 44px; }
.crow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--fg-2); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font-family: var(--font-body); font-size: 16px;
  padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-md);
  color: var(--fg-1); background: #fff; transition: border-color .15s, box-shadow .15s; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(221,49,86,.15); }
.field { margin-bottom: 20px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; white-space: nowrap;
  border: 1.5px solid var(--border); color: var(--fg-2); background: #fff; transition: all .15s; }
.chip.on { background: var(--q-violet); color: #fff; border-color: var(--q-violet); }
.csuccess { text-align: center; padding: 30px 10px; }
.csuccess .ring { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--q-gradient); display: flex; align-items: center; justify-content: center; }
.csuccess .ring img { width: 30px; filter: brightness(0) invert(1); }

/* ---------- FOOTER ---------- */
.qfoot { background: var(--q-ink); color: rgba(255,255,255,.7); padding: 64px 0 36px; }
.qfoot .top { display: flex; gap: 64px; }
.qfoot .logo { height: 30px; margin-bottom: 18px; }
.qfoot .bio { max-width: 30ch; font-size: 14px; line-height: 1.6; }
.qfoot .cols { display: flex; gap: 64px; margin-left: auto; }
.qfoot h5 { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 14px; margin: 0 0 14px; }
.qfoot a { display: block; font-size: 14px; padding: 5px 0; transition: color .15s; }
.qfoot a:hover { color: var(--q-magenta-soft); }
.qfoot .bar { display: flex; align-items: center; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

.fade-in { animation: fadeUp .5s cubic-bezier(.4,0,.2,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .qnav { display: none; }
  .hero h1 { font-size: 46px; }
  .svc-grid, .about .grid, .crow { grid-template-columns: 1fr; }
  .qfoot .top { flex-direction: column; gap: 32px; }
}
