/* Hoja de estilos de custodiarevenue.com.
   9-nov-2026: salió del HTML. Los estilos que antes iban en cada etiqueta
   son ahora clases (primer bloque); las reglas responsivas, que usan
   !important, van al final y siguen mandando igual que antes. */

:root{
  --navy:#16324a; --navy-2:#1f3f5a; --navy-tint:#eef2f5;
  --slate:#5b6672; --slate-light:#8b96a1;
  --paper:#f7f8fa; --paper-2:#ffffff;
  --ink:#132433; --ink-soft:#42505d;
  --line: rgba(22,50,74,0.12);
  --green:#3d7a52; --green-bg:#e7f1ea;
}

.b{ background:var(--paper); color:var(--ink); overflow-x:hidden; }
.b-2{ position:fixed; top:0; left:0; right:0; z-index:100; background:#fff; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:8px 6vw; border-bottom:1px solid var(--line); }
.b-3{ display:flex; align-items:center; gap:14px; flex-shrink:1; min-width:0; }
.b-4{ height:104px; width:auto; }
.b-5{ font-size:20px; font-weight:800; color:var(--navy); white-space:nowrap; }
.b-6{ font-weight:600; color:var(--slate); }
.b-7{ display:flex; gap:28px; align-items:center; }
.enlace-menu{ color:var(--ink-soft); font-size:14px; font-weight:600; }
.lang-btn-desktop{ border:1px solid var(--line); color:var(--ink-soft); font-size:13px; font-weight:700; padding:8px 12px; border-radius:4px; cursor:pointer; }
.boton{ background:var(--navy); color:#fff; padding:10px 20px; border-radius:4px; font-size:14px; font-weight:700; }
.b-8{ display:none; align-items:center; gap:14px; }
.lang-btn-mobile{ border:1px solid var(--line); color:var(--ink-soft); font-size:13px; font-weight:700; padding:6px 10px; border-radius:4px; cursor:pointer; }
.menu-btn{ display:flex; flex-direction:column; gap:5px; cursor:pointer; padding:6px; }
.b-9{ width:24px; height:2px; background:var(--navy); }
.mobile-menu{ display:none; flex-direction:column; gap:2px; background:var(--paper-2); padding:10px 6vw 20px; border-bottom:1px solid var(--line); position:fixed; top:80px; left:0; right:0; z-index:99; }
.enlace-menu-2{ color:var(--ink-soft); font-size:15px; font-weight:600; padding:12px 0; border-bottom:1px solid var(--line); }
.boton-2{ background:var(--navy); color:#fff; padding:12px; border-radius:4px; font-size:15px; font-weight:700; text-align:center; margin-top:10px; }
.hero{ background:var(--paper); padding:196px 6vw 100px; display:flex; flex-direction:column; align-items:flex-start; position:relative; overflow:hidden; }
.trazo-fondo{ position:absolute; left:-8vw; top:-10%; width:65vw; height:120%; pointer-events:none; }
.trazo-fondo-2{ position:absolute; top:38%; right:3vw; width:28vw; max-width:360px; height:auto; opacity:0.75; z-index:0; pointer-events:none; }
.b-10{ width:100%; height:auto; object-fit:contain; opacity:0.75; }
.rotulo{ position:relative; z-index:1; font-size:13px; font-weight:700; color:var(--slate); text-transform:uppercase; letter-spacing:0.12em; }
.hero-title{ position:relative; z-index:1; font-size:clamp(34px,5vw,58px); font-weight:800; color:var(--ink); margin:18px 0 0; max-width:820px; line-height:1.12; text-wrap:pretty; }
.hero-body{ position:relative; z-index:1; font-size:18px; color:var(--ink-soft); margin-top:22px; max-width:620px; line-height:1.6; text-wrap:pretty; }
.b-11{ position:relative; z-index:1; display:flex; gap:16px; margin-top:36px; flex-wrap:wrap; }
.boton-3{ background:var(--navy); color:#fff; padding:16px 30px; border-radius:4px; font-size:15px; font-weight:700; }
.hero-cta-how{ border:1px solid var(--line); color:var(--ink); padding:16px 30px; border-radius:4px; font-size:15px; font-weight:700; }
.b-12{ padding:80px 6vw; background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); position:relative; overflow:hidden; }
.trazo-fondo-3{ position:absolute; right:-6vw; top:-40%; width:32vw; height:220%; pointer-events:none; z-index:0; }
.contenedor{ max-width:1200px; margin:0 auto; position:relative; z-index:1; }
.rotulo-2{ font-size:13px; font-weight:700; color:var(--slate); text-transform:uppercase; letter-spacing:0.12em; }
.stats-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:36px; }
.reasons-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:56px; padding-top:48px; border-top:1px solid var(--line); }
.seccion{ padding:100px 6vw; background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); position:relative; overflow:hidden; }
.trazo-fondo-4{ position:absolute; right:-8vw; top:-30%; width:44vw; height:180%; pointer-events:none; z-index:0; }
.contenedor-2{ max-width:1100px; margin:0 auto; position:relative; z-index:1; }
.rotulo-3{ font-size:13px; font-weight:700; color:var(--slate); text-transform:uppercase; letter-spacing:0.1em; text-align:center; }
.titulo-sec{ font-size:clamp(26px,3.2vw,38px); font-weight:800; color:var(--ink); margin:14px 0 0; text-align:center; line-height:1.25; text-wrap:pretty; }
.calc-body{ font-size:15px; color:var(--ink-soft); margin-top:14px; text-align:center; max-width:620px; margin-left:auto; margin-right:auto; line-height:1.6; }
.b-13{ display:grid; grid-template-columns:1fr 1.1fr; gap:40px; margin-top:52px; align-items:stretch; }
.b-14{ background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:36px; display:flex; flex-direction:column; gap:34px; }
.fila-calc{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.calc-num-label{ font-size:14px; font-weight:700; color:var(--ink-soft); }
.calc-num-display{ font-size:24px; font-weight:800; color:var(--ink); }
.calc-num{ width:100%; margin-top:14px; accent-color:var(--navy); cursor:pointer; }
.b-15{ display:flex; justify-content:space-between; font-size:11px; color:var(--slate); margin-top:6px; }
.calc-note{ font-size:12.5px; color:var(--slate); line-height:1.6; margin-top:auto; }
.b-16{ background:var(--paper-2); border:1px solid var(--line); border-radius:12px; padding:36px; display:flex; flex-direction:column; }
.b-17{ display:flex; flex-direction:column; }
.fila-calc-2{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.calc-row-lost{ font-size:14px; color:var(--ink-soft); font-weight:600; }
.calc-lost{ font-size:18px; font-weight:800; color:var(--ink); white-space:nowrap; }
.fila-calc-3{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:16px 0; }
.calc-row-total{ font-size:15px; color:var(--ink); font-weight:800; }
.calc-total{ font-size:26px; font-weight:800; color:var(--navy); white-space:nowrap; }
.b-18{ background:var(--green-bg); border-radius:8px; padding:18px 20px; margin-top:auto; }
.rotulo-4{ font-size:11px; font-weight:800; color:var(--green); text-transform:uppercase; letter-spacing:0.06em; }
.calc-recover-big{ font-size:12px; color:var(--green); margin-top:4px; font-weight:600; }
.calc-recoverable{ font-size:30px; font-weight:800; color:var(--green); margin-top:10px; }
.boton-4{ display:block; text-align:center; background:var(--navy); color:#fff; padding:14px; border-radius:6px; font-size:15px; font-weight:700; margin-top:18px; }
.contenedor-3{ padding:100px 6vw; max-width:1200px; margin:0 auto; }
.rotulo-5{ font-size:13px; font-weight:700; color:var(--slate); text-transform:uppercase; letter-spacing:0.1em; }
.titulo-sec-2{ font-size:clamp(26px,3.2vw,38px); font-weight:800; color:var(--ink); margin:14px 0 0; max-width:760px; line-height:1.25; text-wrap:pretty; }
.servicio-body{ font-size:16px; color:var(--ink-soft); margin-top:18px; max-width:700px; line-height:1.7; text-wrap:pretty; }
.service-steps{ margin-top:56px; display:flex; flex-direction:column; }
.trazo-fondo-5{ position:absolute; left:-10vw; top:-20%; width:38vw; height:150%; pointer-events:none; z-index:0; }
.titulo-sec-3{ font-size:clamp(26px,3.2vw,38px); font-weight:800; color:var(--ink); margin:14px 0 0; max-width:700px; line-height:1.25; text-wrap:pretty; }
.b-19{ margin-top:50px; background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:44px 6vw; }
.rotulo-6{ font-size:12px; font-weight:800; color:var(--navy); text-transform:uppercase; letter-spacing:0.1em; }
.integracion-title{ font-size:22px; font-weight:800; color:var(--ink); margin:12px 0 0; max-width:640px; line-height:1.35; text-wrap:pretty; }
.integracion-body{ font-size:15px; color:var(--ink-soft); margin-top:14px; max-width:680px; line-height:1.7; text-wrap:pretty; }
.integ-steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:24px; margin-top:32px; }
.integracion-note{ margin-top:28px; padding-top:22px; border-top:1px solid var(--line); font-size:13.5px; color:var(--ink-soft); line-height:1.7; max-width:700px; }
.b-20{ margin-top:32px; padding-top:28px; border-top:1px solid var(--line); }
.rotulo-7{ font-size:12px; font-weight:700; color:var(--slate); text-transform:uppercase; letter-spacing:0.08em; }
.networks-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:14px; margin-top:20px; }
.seccion-2{ padding:100px 6vw; background:var(--paper); }
.contenedor-4{ max-width:1200px; margin:0 auto; }
.titulo-sec-4{ font-size:clamp(26px,3.2vw,38px); font-weight:800; color:var(--ink); margin:14px 0 0; text-align:center; text-wrap:pretty; }
.cuadro-industrias{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:50px; }
.guion-panel{ margin-top:28px; background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:44px 6vw; color:var(--ink); }
.seccion-3{ padding:100px 6vw; background:var(--paper-2); border-top:1px solid var(--line); }
.b-21{ max-width:800px; margin:0 auto; }
.titulo-sec-5{ font-size:clamp(26px,3.2vw,34px); font-weight:800; color:var(--ink); margin:14px 0 0; text-align:center; }
.faq-list{ margin-top:48px; display:flex; flex-direction:column; }
.b-22{ border-top:1px solid var(--line); padding:24px 0; }
.b-23{ font-size:16px; font-weight:700; color:var(--ink); }
.b-24{ font-size:14px; color:var(--slate); margin-top:10px; line-height:1.6; }
.b-25{ margin-top:8px; border-top:1px solid var(--line); padding-top:32px; text-align:center; }
.faq-contact-title{ font-size:15px; font-weight:700; color:var(--ink); }
.faq-contact-body{ font-size:14px; color:var(--slate); margin-top:8px; max-width:460px; margin-left:auto; margin-right:auto; line-height:1.6; }
.boton-5{ display:inline-block; margin-top:18px; background:var(--navy); color:#fff; padding:12px 26px; border-radius:4px; font-size:14px; font-weight:700; }
.seccion-4{ padding:100px 6vw; max-width:1000px; margin:0 auto; text-align:center; }
.titulo-sec-6{ font-size:clamp(26px,3.2vw,38px); font-weight:800; color:var(--ink); margin:14px 0 0; line-height:1.25; text-wrap:pretty; }
.b-26{ background:var(--paper-2); border:1px solid var(--line); border-radius:10px; padding:50px 40px; margin-top:44px; display:inline-block; }
.modelo-box-title{ font-size:28px; font-weight:800; color:var(--navy); line-height:1.3; max-width:420px; }
.modelo-box-body{ font-size:15px; color:var(--slate); margin-top:16px; font-weight:600; max-width:380px; }
.b-27{ padding:90px 6vw; background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.redes-codes-title{ font-size:20px; font-weight:800; color:var(--ink); text-align:center; }
.redes-codes-body{ font-size:14px; color:var(--slate); text-align:center; margin-top:8px; max-width:640px; margin-left:auto; margin-right:auto; line-height:1.6; }
.dispute-codes-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:20px; margin-top:36px; }
.seccion-5{ padding:100px 6vw; background:var(--paper); position:relative; overflow:hidden; }
.trazo-fondo-6{ position:absolute; right:-8vw; bottom:-20%; width:40vw; height:160%; pointer-events:none; z-index:0; }
.contenedor-5{ max-width:1100px; margin:0 auto; display:grid; grid-template-columns:1.1fr 1fr; gap:60px; position:relative; z-index:1; }
.titulo-sec-7{ font-size:clamp(26px,3vw,36px); font-weight:800; color:var(--ink); margin:14px 0 0; line-height:1.25; text-wrap:pretty; }
.demo-body{ font-size:15px; color:var(--ink-soft); margin-top:18px; line-height:1.7; max-width:440px; }
.b-28{ display:flex; flex-direction:column; gap:18px; margin-top:36px; }
.b-29{ display:flex; align-items:center; gap:14px; }
.b-30{ width:38px; height:38px; border-radius:50%; background:var(--navy-tint); display:flex; align-items:center; justify-content:center; color:var(--navy); font-size:16px; }
.b-31{ color:var(--ink); font-size:15px; font-weight:600; }
.b-32{ background:var(--paper-2); border:1px solid var(--line); border-radius:10px; padding:40px; }
.demo-form{ display:flex; flex-direction:column; gap:16px; }
.etiqueta-campo{ font-size:13px; font-weight:700; color:var(--ink-soft); margin-bottom:6px; display:block; }
.campo{ width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:6px; font-size:14px; background:var(--paper); }
.boton-6{ margin-top:6px; background:var(--navy); color:#fff; text-align:center; padding:14px; border-radius:6px; font-size:15px; font-weight:700; cursor:pointer; border:none; }
.demo-success{ display:none; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:340px; }
.b-33{ width:56px; height:56px; border-radius:50%; background:var(--green-bg); color:var(--green); display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:800; }
.demo-success-title{ font-size:19px; font-weight:800; color:var(--ink); margin-top:20px; }
.demo-success-body{ font-size:14px; color:var(--slate); margin-top:8px; max-width:280px; line-height:1.6; }
.b-34{ padding:40px 6vw; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; background:var(--paper-2); border-top:1px solid var(--line); }
.b-35{ display:flex; align-items:center; gap:12px; }
.b-36{ height:88px; width:auto; }
.b-37{ font-size:17px; font-weight:800; color:var(--navy); white-space:nowrap; }
.b-38{ display:flex; align-items:center; gap:16px; }
.b-39{ display:flex; align-items:center; justify-content:center; width:26px; height:26px; color:var(--slate); transition:color .15s; }
.b-40{ font-size:14px; font-weight:600; color:var(--navy); }
.b-41{ padding:18px 6vw 22px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px 24px; background:var(--paper-2); border-top:1px solid var(--line); }
.footer{ font-size:13px; color:var(--slate); }
.b-42{ display:inline-flex; align-items:center; gap:10px; color:var(--slate); font-size:12px; font-weight:600; letter-spacing:0.04em; }
.b-43{ height:16px; width:auto; display:block; }

/* ---------- reglas generales y responsivas (venían del <style>) ---------- */
* { box-sizing:border-box; font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif; }
body { margin:0; background:var(--paper); }
a { color:var(--navy); text-decoration:none; }
:where(a:hover) { color:var(--slate); }
.social-link:hover { color:var(--navy) !important; }
html { scroll-behavior:smooth; }
:focus-visible{ outline:2px solid var(--navy); outline-offset:2px; }
.industry-card[data-active="true"]{ background:var(--paper) !important; border-color:var(--navy) !important; }
.industry-card[data-active="true"] .ind-tag, .industry-card[data-active="true"] .ind-cta{ color:var(--navy) !important; }
@media (max-width:1400px){
  .hero-deco-logo{ width:15vw !important; max-width:160px !important; top:auto !important; bottom:-30px !important; right:4vw !important; opacity:0.45 !important; }
}
@media (max-width:1080px){
  .service-summary{ display:none !important; }
  .nav-links{ display:none !important; }
  .mobile-menu-btn{ display:flex !important; }
  .hero-deco-logo{ width:220px !important; height:220px !important; top:auto !important; bottom:-40px !important; opacity:0.5 !important; }
  .demo-grid{ grid-template-columns:1fr !important; gap:36px !important; }
  .section-pad{ padding-left:5vw !important; padding-right:5vw !important; padding-top:60px !important; padding-bottom:60px !important; }
  .hero-section{ padding-top:150px !important; }
  .industry-grid{ grid-template-columns:1fr !important; }
  .service-row{ grid-template-columns:40px 1fr !important; }
  .service-row .service-desc{ grid-column:2 / span 1; margin-top:6px; }
}
/* Celular: el logo de 104 px y el nombre empujaban el menú fuera de la pantalla (9-nov-2026). */
@media (max-width:600px){
  .barra-sup{ padding:8px 5vw !important; gap:12px !important; }
  .barra-sup .marca img{ height:56px !important; }
  .barra-sup .marca .marca-txt{ font-size:17px !important; }
  #mobileMenu{ top:72px !important; }
}
@media (max-width:380px){ .barra-sup .marca .marca-txt{ display:none; } }

/* ==========================================================================
   9-nov-2026: aire de la marca madre (CostaNexa) sin perder la identidad
   azul marino de Custodia. Sora en titulares, pesos ligeros; WhatsApp como
   contacto principal; bloque «Quiénes somos».
   ========================================================================== */
:root { --sora: "Sora", "Inter", -apple-system, "Segoe UI", sans-serif; --wa:#1f8a4c; }
h1[class], h2[class], h3[class], .b-5, .marca-txt { font-family: var(--sora) !important; }
h1[class] { font-weight: 500 !important; letter-spacing: -0.03em; }
h2[class] { font-weight: 400 !important; letter-spacing: -0.025em; }
h3[class] { font-weight: 500 !important; letter-spacing: -0.015em; }
.b-5, .marca-txt { font-weight: 600 !important; letter-spacing: -0.01em; }

.btn-wa { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; }
.btn-wa .ico-wa { flex: none; }
.btn-wa-grande { margin-top: 30px; background: var(--wa); color: #fff; padding: 16px 28px; border-radius: 6px; font-size: 16px; font-weight: 700; }
.btn-wa-grande:hover { color: #fff; filter: brightness(1.06); }
.boton-3.btn-wa, .boton-5.btn-wa { background: var(--wa); }
.boton-3.btn-wa:hover, .boton-5.btn-wa:hover { color: #fff; filter: brightness(1.06); }
.hero-nota { position: relative; z-index: 1; margin-top: 16px; font-size: 13.5px; color: var(--slate); }
.demo-o { margin-top: 26px; font-size: 13.5px; color: var(--slate); }
.demo-o + .b-28 { margin-top: 16px !important; }
.demo-tel-nota { font-size: 13px; color: var(--slate); font-weight: 500; }

.nosotros { padding: 100px 6vw; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nosotros-in { max-width: 1200px; margin: 0 auto; }
.nosotros-cabeza { max-width: 760px; }
.nosotros-rot { letter-spacing: 0.1em; }
.nosotros-titulo { font-size: clamp(26px, 3.2vw, 38px); color: var(--ink); margin: 14px 0 0; line-height: 1.25; text-wrap: pretty; }
.nosotros-cuerpo { font-size: 16px; color: var(--ink-soft); margin-top: 18px; line-height: 1.7; text-wrap: pretty; }
.nosotros-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 52px; }
.nos-item { border-top: 1px solid var(--line); padding-top: 22px; }
.nos-num { font-size: 12px; font-weight: 700; color: var(--slate); letter-spacing: 0.12em; }
.nos-item h3 { font-size: 19px; color: var(--ink); margin: 12px 0 10px; line-height: 1.3; }
.nos-item p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin: 0; }
.nos-enlace { display: inline-block; margin-top: 40px; font-size: 15px; font-weight: 700; color: var(--navy); }
@media (max-width: 1080px) {
  .nosotros { padding: 60px 5vw; }
  .nosotros-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
}

/* ==========================================================================
   Formato (9-nov-2026): una sola línea de borde para todo el sitio.
   Antes cada sección traía su propio ancho (1100, 1200 con relleno extra,
   1000) y el texto arrancaba a 77, 83 o 109 px según la sección. Ahora todas
   comparten --borde: el texto de cada sección empieza en la misma vertical,
   en cualquier ancho de pantalla. Las dos secciones centradas a propósito
   (preguntas y modelo) siguen centradas.
   ========================================================================== */
:root { --borde: max(6vw, calc((100vw - 1200px) / 2)); }
@media (max-width: 1080px) { :root { --borde: 5vw; } }

.barra-sup, .hero, .b-12, #calculadora, #servicio, #proceso, #industrias, #faq,
#modelo, .b-27, #nosotros, #demo, .pie-costanexa, .b-34 {
  padding-left: var(--borde) !important; padding-right: var(--borde) !important;
}
#servicio, #modelo { max-width: none !important; margin: 0 !important; }
.contenedor, .contenedor-2, .contenedor-4, .contenedor-5, .nosotros-in {
  max-width: none !important; margin-left: 0 !important; margin-right: 0 !important;
}
/* Modelo de trabajo: centrado, con el mismo ancho de lectura que preguntas. */
#modelo > * { max-width: 800px; margin-left: auto !important; margin-right: auto !important; }
#modelo { text-align: center; }

/* Hero: aire entre el titular y el párrafo (Sora corre más alto que Inter). */
.hero-title { margin-bottom: 6px !important; }
.hero-body { margin-top: 24px !important; }

/* Cuadros interiores con relleno fijo: con 6vw crecían con la pantalla y a
   1920 px el texto quedaba muy metido (cómo se conecta, guion de venta). */
.b-19, .guion-panel { padding: 40px 44px !important; }
@media (max-width: 700px) { .b-19, .guion-panel { padding: 26px 20px !important; } }

/* Títulos que se habían quedado fuera del estilo nuevo. */
.redes-codes-title { font-family: var(--sora) !important; font-weight: 400 !important;
  font-size: clamp(24px, 2.6vw, 30px) !important; letter-spacing: -0.02em; line-height: 1.25; }
.modelo-box-title { font-family: var(--sora); font-weight: 500 !important; letter-spacing: -0.02em; margin-left: auto; margin-right: auto; }
