/* Nexus Commerce USA LLC — hoja de estilos principal */

:root {
  --navy:        #0f2742;
  --navy-deep:   #091a2e;
  --navy-soft:   #1c3d63;
  --gold:        #c08a2e;
  --gold-light:  #e0b566;
  --ink:         #17212e;
  --body:        #47566a;
  --muted:       #7a8798;
  --line:        #e2e7ee;
  --bg:          #ffffff;
  --bg-alt:      #f6f8fb;
  --bg-tint:     #eef3f9;
  --radius:      6px;
  --wrap:        1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-soft); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tipografía ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: 2.6rem; letter-spacing: -.5px; }
h2 { font-size: 1.9rem; letter-spacing: -.3px; }
h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 700; letter-spacing: -.1px; }

p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9em;
}

.lead { font-size: 1.14rem; color: var(--body); }

.section { padding: 76px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 44px; }

/* ---------- Cabecera ---------- */

.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--gold);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  padding: 12px 0;
}

.brand__mark { flex: 0 0 auto; }

.brand__name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.1;
  display: block;
}

.brand__sub {
  font-size: .66rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding-bottom: 6px;
}

.nav a {
  color: #d6e0ec;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover { color: #fff; border-bottom-color: var(--gold); }
.nav a.is-active { color: #fff; border-bottom-color: var(--gold); }

/* ---------- Botones ---------- */

.btn {
  display: inline-block;
  background: var(--gold);
  color: #1a1204;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  transition: background .15s ease;
}

.btn:hover { background: var(--gold-light); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}

.btn--ghost:hover { background: rgba(255,255,255,.1); }

.btn--dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn--dark:hover { background: var(--navy-soft); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #fff;
  padding: 92px 0 84px;
}

.hero h1 { color: #fff; max-width: 15ch; }
.hero p { color: #c8d5e4; max-width: 54ch; font-size: 1.15rem; }
.hero .eyebrow { color: var(--gold-light); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}

.hero__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  padding: 30px 32px;
}

.hero__card h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }

.factlist { list-style: none; margin: 0; padding: 0; }

.factlist li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .93rem;
  color: #c8d5e4;
}

.factlist li:last-child { border-bottom: 0; padding-bottom: 0; }
.factlist strong { color: #fff; font-weight: 600; text-align: right; }

/* ---------- Rejillas y tarjetas ---------- */

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }

.card__num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.stat {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

.stat__value {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--ink);
  font-weight: 700;
  display: block;
  line-height: 1.15;
}

.stat__label { font-size: .89rem; color: var(--muted); }

/* ---------- Listas ---------- */

.checklist { list-style: none; margin: 0 0 1.2em; padding: 0; }

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .55em;
  width: 7px;
  height: 12px;
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.plainlist { list-style: none; margin: 0; padding: 0; }
.plainlist li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.plainlist li:last-child { border-bottom: 0; }

/* ---------- Tabla ---------- */

.table-scroll { overflow-x: auto; margin-bottom: 1.4em; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
  min-width: 520px;
}

th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--bg-tint);
  color: var(--ink);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---------- Bloque de contacto ---------- */

.contact-box {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-box a { color: var(--navy-soft); font-weight: 600; }

/* ---------- Franja CTA ---------- */

.cta {
  background: var(--navy);
  color: #fff;
  padding: 62px 0;
  text-align: center;
}

.cta h2 { color: #fff; }
.cta p { color: #c8d5e4; max-width: 58ch; margin-left: auto; margin-right: auto; }
.cta .btn-row { justify-content: center; }

/* ---------- Pie ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #93a5ba;
  padding: 56px 0 30px;
  font-size: .9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer a { color: #93a5ba; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .84rem;
}

/* ---------- Página interior ---------- */

.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 62px 0 54px;
}

.page-head h1 { margin-bottom: .3em; }
.page-head p { max-width: 62ch; font-size: 1.1rem; margin-bottom: 0; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 18px 0 0;
  margin-bottom: 0;
  list-style: none;
}

.anchor-nav a { font-size: .9rem; font-weight: 600; }

.note {
  background: var(--bg-tint);
  border-left: 3px solid var(--navy-soft);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem;
}

.note p:last-child { margin-bottom: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .hero { padding: 62px 0 58px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .site-header .wrap { min-height: 0; padding-top: 4px; padding-bottom: 10px; }
  .nav { gap: 18px; }
  h1 { font-size: 1.85rem; }
}
