/* ============================================================
   B·M — Landing v2 · Dirección "Bloque" (neo-brutalismo Bauhaus)
   Compartido por /es y /en. Tokens de marca: cambiar acá
   recolorea todo el sitio.
============================================================ */
:root {
  --bg: #f2f0e9;
  --paper: #ffffff;
  --ink: #111111;
  --blue: #0038ff;
  --yellow: #ffc700;
  --red: #ff4911;
  --wa: #25d366;
  --muted: #43413c;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 9px 9px 0 var(--ink);
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.6; }

::selection { background: var(--yellow); color: var(--ink); }

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
}

/* ---------- botones ---------- */
.btn { display: inline-block; border: var(--border); font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; padding: 16px 28px; cursor: pointer; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; text-align: center; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-wa { background: var(--wa); color: var(--ink); }

/* ---------- chips / etiquetas ---------- */
.chip { display: inline-block; border: 2px solid var(--ink); padding: 3px 10px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.chip-yellow { background: var(--yellow); }
.chip-blue { background: var(--blue); color: #fff; }
.chip-red { background: var(--red); color: #fff; }
.chip-white { background: var(--paper); }

/* ---------- separador Bauhaus ---------- */
.divider { display: flex; height: 14px; }
.divider i { flex: 1; }
.divider i:nth-child(1) { background: var(--blue); }
.divider i:nth-child(2) { background: var(--yellow); }
.divider i:nth-child(3) { background: var(--red); }
.divider i:nth-child(4) { background: var(--ink); }

/* ============================================================
   NAV
============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--bg); border-bottom: var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 74px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; letter-spacing: .01em; }
.logo i { width: 15px; height: 15px; background: var(--red); border: 2.5px solid var(--ink); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-bottom: 3px solid transparent; padding: 4px 0; }
.nav-links a:hover { border-bottom-color: var(--blue); }
.nav-cta { background: var(--yellow); border: var(--border); box-shadow: 4px 4px 0 var(--ink); font-weight: 800; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 18px; transition: transform .15s, box-shadow .15s; margin-left: auto; }
.nav-links + .nav-cta { margin-left: 0; }
.nav-cta:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }

/* ============================================================
   HERO
============================================================ */
.hero { padding: 170px 0 0; position: relative; overflow: hidden; }
.hero-kicker { display: inline-block; border: 2.5px solid var(--ink); background: var(--paper); padding: 6px 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 30px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6.6vw, 5.4rem); line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; max-width: 18ch; }
.hero h1 .hb { background: var(--blue); color: #fff; padding: 0 .12em; display: inline-block; transform: rotate(-1deg); }
.hero h1 .hy { background: var(--yellow); padding: 0 .12em; display: inline-block; transform: rotate(1deg); }
.hero .sub { margin-top: 30px; font-size: 17px; color: var(--muted); max-width: 58ch; line-height: 1.75; font-weight: 500; }
.hero .ctas { margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; }
.sticker { position: absolute; right: 4vw; top: 150px; background: var(--red); color: #fff; font-family: var(--font-display); transform: rotate(7deg); padding: 16px 20px; border: var(--border); box-shadow: var(--shadow); font-size: 13px; text-transform: uppercase; line-height: 1.5; text-align: center; z-index: 2; }
@media (max-width: 1100px) { .sticker { display: none; } }

/* marquee */
.marquee { margin-top: 76px; background: var(--ink); border-top: var(--border); border-bottom: var(--border); padding: 15px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: slide 26s linear infinite; font-family: var(--font-display); color: var(--yellow); font-size: 15px; letter-spacing: .08em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   SECCIONES
============================================================ */
section { padding: 96px 0; }
.sec-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 56px; flex-wrap: wrap; }
.sec-head .num { font-family: var(--font-display); font-size: 15px; background: var(--ink); color: var(--bg); padding: 4px 10px; }
.sec-head h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3.2rem); text-transform: uppercase; letter-spacing: -.01em; }
.sec-head .sec-sub { flex-basis: 100%; color: var(--muted); font-weight: 500; max-width: 62ch; margin-top: 6px; }

/* ---------- proyectos (primero, patrón agencias globales) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; }
.work { background: var(--paper); border: var(--border); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.work.sh-blue { box-shadow: 8px 8px 0 var(--blue); }
.work.sh-red { box-shadow: 8px 8px 0 var(--red); }
.work:hover { transform: translate(-2px,-2px); }
.work.sh-blue:hover { box-shadow: 11px 11px 0 var(--blue); }
.work.sh-red:hover { box-shadow: 11px 11px 0 var(--red); }
.work-bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: var(--border); background: var(--bg); align-items: center; }
.work-bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.work-bar span { margin-left: auto; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.work-body { padding: 30px; }
.work h3 { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; margin: 14px 0 10px; }
.work p { font-size: 14.5px; color: var(--muted); font-weight: 500; }
.metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.metrics .chip { font-size: 10.5px; }
.work .btn { margin-top: 22px; padding: 12px 20px; font-size: 12.5px; }

/* ---------- servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.svc { background: var(--paper); border: var(--border); box-shadow: var(--shadow); padding: 28px; transition: transform .15s, box-shadow .15s; }
.svc:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.svc h3 { font-family: var(--font-display); font-size: 19px; text-transform: uppercase; margin: 16px 0 10px; }
.svc p { font-size: 14.5px; color: var(--muted); font-weight: 500; }

/* ---------- proceso ---------- */
.process { background: var(--paper); border-top: var(--border); border-bottom: var(--border); }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 92px 1fr auto; gap: 26px; align-items: center; padding: 30px 4px; border-bottom: 2.5px solid var(--ink); }
.step:last-child { border-bottom: none; }
.step .n { font-family: var(--font-display); font-size: 26px; background: var(--blue); color: #fff; border: var(--border); width: 74px; height: 74px; display: flex; align-items: center; justify-content: center; }
.step:nth-child(2) .n { background: var(--yellow); color: var(--ink); }
.step:nth-child(3) .n { background: var(--red); }
.step:nth-child(4) .n { background: var(--ink); color: var(--bg); }
.step:nth-child(5) .n { background: var(--paper); color: var(--ink); }
.step h3 { font-family: var(--font-display); font-size: 19px; text-transform: uppercase; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); font-weight: 500; max-width: 62ch; }
.step .ok { font-family: var(--font-display); font-size: 13px; color: var(--blue); border: 2.5px solid var(--blue); padding: 6px 12px; transform: rotate(-4deg); white-space: nowrap; }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; gap: 14px; } .step .ok { justify-self: start; } }

/* ---------- fundadores ---------- */
.team-intro { max-width: 62ch; color: var(--muted); font-weight: 500; font-size: 16px; margin-bottom: 50px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 860px; }
.member { border: var(--border); background: var(--paper); box-shadow: var(--shadow); padding: 28px; }
.member .avatar { font-family: var(--font-display); font-size: 24px; width: 74px; height: 74px; display: flex; align-items: center; justify-content: center; border: var(--border); margin-bottom: 18px; }
.member .avatar.a-blue { background: var(--blue); color: #fff; }
.member .avatar.a-red { background: var(--red); color: #fff; }
.member h3 { font-family: var(--font-display); font-size: 19px; text-transform: uppercase; }
.member .role { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 6px 0 12px; }
.member p { font-size: 14px; color: var(--muted); font-weight: 500; }
.member a { display: inline-block; margin-top: 16px; font-weight: 800; font-size: 13px; border-bottom: 3px solid var(--yellow); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); border-top: var(--border); border-bottom: var(--border); }
.faq-list { max-width: 820px; }
.faq-item { border: var(--border); background: var(--bg); box-shadow: var(--shadow); margin-bottom: 22px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-size: 15.5px; text-transform: uppercase; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; margin-left: auto; font-size: 24px; line-height: 1; }
.faq-item[open] summary::after { content: '–'; }
.faq-item[open] summary { border-bottom: 2.5px dashed var(--ink); }
.faq-item .faq-body { padding: 20px 24px; font-size: 14.5px; color: var(--muted); font-weight: 500; max-width: 68ch; }

/* ---------- contacto ---------- */
.contact { background: var(--ink); color: var(--bg); border-top: var(--border); }
.contact h2 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.6rem); text-transform: uppercase; line-height: 1.05; max-width: 16ch; }
.contact h2 span { color: var(--yellow); }
.contact .sub { margin-top: 24px; color: #a5a29a; font-weight: 500; max-width: 54ch; font-size: 16px; }
.contact .ctas { margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.contact .cta-alt { margin-top: 18px; font-size: 13.5px; color: #a5a29a; }
.contact .cta-alt a { color: var(--bg); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.contact .cta-alt a:hover { color: var(--yellow); }
.contact .note { margin-top: 26px; font-size: 13px; color: #a5a29a; font-weight: 600; letter-spacing: .04em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* formulario */
.form { background: var(--bg); color: var(--ink); border: var(--border); box-shadow: 8px 8px 0 var(--yellow); padding: 30px; }
.form h3 { font-family: var(--font-display); font-size: 17px; text-transform: uppercase; margin-bottom: 20px; }
.form label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 16px 0 6px; }
.form input, .form textarea { width: 100%; border: 2.5px solid var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 15px; padding: 12px 14px; font-weight: 500; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--blue); outline-offset: 0; }
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; margin-top: 22px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; background: var(--wa); border: var(--border); box-shadow: var(--shadow); width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .15s; }
.wa-float:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.wa-float svg { width: 32px; height: 32px; fill: var(--ink); }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #a5a29a; padding: 34px 0; border-top: 2.5px solid #333; }
.foot-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.foot-inner .logo { color: var(--bg); font-size: 16px; }
.foot-links { margin-left: auto; display: flex; gap: 22px; }
.foot-links a:hover { color: var(--bg); }
.foot-lang { color: #6d6a63; font-weight: 500; }
.foot-lang:hover { color: var(--bg); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  section { padding: 72px 0; }
  .hero { padding-top: 140px; }
}
