/* Magnitude Brokers · magnitudebrokers.com — blanco y negro */
@font-face { font-family: 'Bebas Neue'; font-weight: 400; font-display: swap; src: url(fonts/bebas-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bebas Neue'; font-weight: 400; font-display: swap; src: url(fonts/bebas-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-weight: 300 600; font-display: swap; src: url(fonts/jost-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-weight: 300 600; font-display: swap; src: url(fonts/jost-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root { --ink:#0b0b0b; --paper:#ffffff; --soft:#f3f3f1; --dark:#0b0b0b; --on-dark:#ffffff; --mut:#6b6b6b; --line:#e2e2e2; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { font-family: 'Jost', sans-serif; color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.disp { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: .015em; line-height: .95; margin: 0; }
.eyebrow { font-family: 'Bebas Neue'; letter-spacing: .28em; font-size: 15px; color: var(--mut); }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 50; background: #fff; padding: 8px 12px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { height: 38px; width: auto; fill: currentColor; flex: none; }
.logo .w { display: flex; flex-direction: column; font-family: 'Bebas Neue'; line-height: .82; }
.logo .w b { font-weight: 400; font-size: 33px; letter-spacing: .01em; }
.logo .w i { font-style: normal; font-size: 14.5px; letter-spacing: .36em; }

/* Cabecera */
header.top { position: absolute; inset: 0 0 auto 0; z-index: 10; color: #fff; }
header.top.solid { position: relative; background: var(--dark); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
nav.menu { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; letter-spacing: .04em; }
nav.menu .lang { font-weight: 400; } nav.menu .lang b { font-weight: 600; } nav.menu .lang span { opacity: .65; }
.portal-btn { border: 1.5px solid currentColor; padding: 8px 16px; border-radius: 2px; display: inline-flex; gap: 8px; align-items: center; }
.portal-btn svg { width: 13px; height: 13px; }
#nav-t, .burger { display: none; }

/* Hero */
.hero { position: relative; min-height: 780px; color: #fff; background-color: #222; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.12)); }
.hero .wrap { position: relative; padding: 150px 32px 110px; width: 100%; }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.hero h1 { font-size: clamp(52px, 7.4vw, 112px); margin: 14px 0 22px; max-width: 1000px; }
.hero p { font-size: 21px; font-weight: 300; max-width: 620px; margin: 0 0 34px; }
.btn { display: inline-block; padding: 15px 28px; font-weight: 500; letter-spacing: .05em; font-size: 15px; border-radius: 2px; }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { border: 1.5px solid rgba(255,255,255,.75); color: #fff; margin-left: 10px; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.out { border: 1.5px solid var(--ink); color: var(--ink); }

/* Datos */
.facts { background: var(--dark); color: var(--on-dark); }
.facts .wrap { display: grid; grid-template-columns: repeat(3,1fr); }
.facts .f { padding: 34px 0 34px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.facts .f:first-child { border-left: 0; padding-left: 0; }
.facts .disp { font-size: 40px; }
.facts span { font-size: 14.5px; opacity: .72; }

section { padding: 120px 0; }
.head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.head h2 { font-size: 76px; }
.head p { margin: 0; color: var(--mut); font-size: 18px; }

/* Servicios */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.card .ph { aspect-ratio: 4/3.2; background-size: cover; background-position: center; background-color: #ddd; }
.card h3 { font-size: 40px; margin: 22px 0 8px; }
.card p { margin: 0 0 14px; color: var(--mut); font-size: 16px; }
.card ul { margin: 0; padding: 0; list-style: none; font-size: 15px; border-top: 1px solid var(--line); }
.card li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.card li::before { content: ''; display: inline-block; width: 7px; height: 12px; background: var(--ink); margin-right: 10px; }

/* Quiénes somos */
.about { background: var(--soft); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about .ph { aspect-ratio: 1/1.05; background-size: cover; background-position: center; }
.about h2 { font-size: 76px; margin: 12px 0 26px; }
.about p { margin: 0 0 18px; font-size: 18px; }
.princ { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px; border-top: 2px solid var(--ink); padding-top: 22px; }
.princ b { font-family: 'Bebas Neue'; font-weight: 400; font-size: 26px; display: block; letter-spacing: .02em; }
.princ span { font-size: 15px; color: var(--mut); line-height: 1.45; display: block; }

/* Cobertura */
.cover { background: var(--dark); color: var(--on-dark); }
.cover .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.cover h2 { font-size: 76px; }
.cover p { font-size: 18px; opacity: .8; margin: 20px 0 0; }
.cover .eyebrow { color: inherit; opacity: .6; }
.bars { display: flex; gap: 14px; align-items: flex-start; height: 300px; justify-content: flex-end; }
.bars i { display: block; width: 46px; background: var(--on-dark); opacity: .92; }

/* Cierre */
.cta { text-align: center; padding: 110px 0; }
.cta h2 { font-size: 84px; }
.cta p { color: var(--mut); font-size: 19px; margin: 18px auto 34px; max-width: 640px; }
.cta .btn { margin: 4px 6px; }

/* Pie */
footer { background: var(--dark); color: var(--on-dark); font-size: 14.5px; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr; gap: 40px; padding: 70px 0 50px; }
footer h4 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 20px; letter-spacing: .08em; margin: 0 0 12px; opacity: .6; }
footer p { margin: 0 0 6px; opacity: .85; }
footer a:hover { text-decoration: underline; }
footer .fraud { border: 1px solid rgba(255,255,255,.2); padding: 16px 20px; font-size: 13.5px; opacity: .85; margin-bottom: 30px; }
footer .legal { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 34px; display: flex; justify-content: space-between; gap: 20px; font-size: 12.5px; opacity: .6; }

/* Páginas legales */
.doc { max-width: 780px; margin: 0 auto; padding: 80px 32px 110px; }
.doc h1 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 64px; line-height: 1; margin: 0 0 8px; }
.doc h2 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 28px; letter-spacing: .02em; margin: 42px 0 10px; }
.doc p, .doc li { font-size: 16.5px; } .doc ul { padding-left: 20px; }

/* Móvil y tableta */
@media (max-width: 1080px) {
  .burger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px 0 10px 10px; }
  .burger i { display: block; width: 26px; height: 2px; background: currentColor; }
  nav.menu { position: absolute; top: 92px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); color: #fff; padding: 6px 32px 22px; display: none; }
  nav.menu a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 17px; }
  nav.menu .portal-btn { border: 1.5px solid #fff; justify-content: center; margin-top: 16px; padding: 12px; }
  #nav-t:checked ~ nav.menu { display: flex; }
}
@media (max-width: 980px) {
  .facts .disp { font-size: 32px; }
  .head h2, .about h2, .cover h2 { font-size: 60px; }
  .cta h2 { font-size: 64px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .about .wrap { gap: 48px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  header.top .wrap { height: 76px; }
  .logo svg { height: 32px; } .logo .w b { font-size: 28px; } .logo .w i { font-size: 12.3px; }
  .hero { min-height: 640px; }
  nav.menu { top: 76px; padding: 6px 22px 22px; }
  .hero .wrap { padding: 120px 22px 64px; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .hero p { font-size: 18px; }
  .btn.ghost { margin-left: 8px; }
  .facts .wrap { grid-template-columns: 1fr; }
  .facts .f, .facts .f:first-child { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .facts .f:first-child { border-top: 0; }
  section { padding: 76px 0; }
  .head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .head h2, .about h2, .cover h2 { font-size: 50px; }
  .cards { grid-template-columns: 1fr; gap: 44px; }
  .about .wrap { grid-template-columns: 1fr; gap: 34px; }
  .about .ph { aspect-ratio: 4/3; }
  .princ { grid-template-columns: 1fr; gap: 16px; }
  .cover .wrap { grid-template-columns: 1fr; gap: 40px; }
  .bars { height: 150px; justify-content: flex-start; gap: 8px; } .bars i { width: 24px; }
  .cta { padding: 76px 0; } .cta h2 { font-size: 48px; }
  .cta .btn { display: block; margin: 10px auto; max-width: 340px; }
  footer .cols { grid-template-columns: 1fr; gap: 30px; padding: 54px 0 36px; }
  footer .legal { flex-direction: column; }
  .doc { padding: 50px 22px 80px; } .doc h1 { font-size: 48px; }
}
