:root {
  /* Azul Kalpa sobre blanco; navy para contacto/pie. Motivo: los arcos del isotipo. */
  --blue: #0A84D6;
  --blue-2: #0AA3E8;
  --ink: #0F1A24;
  --navy: #0E1B2A;
  --mist: #F1F7FB;
  --line: #DCE7EF;
  --muted: #5B6B7A;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Lato", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { background: #fff; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; letter-spacing: -0.01em; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.bar { width: 56px; height: 5px; border-radius: 3px; background: var(--blue); }

header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand img { height: 40px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; }
.nav ul a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav ul a:hover { color: var(--blue); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 14px; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0870B6; }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 900px) { .nav ul { display: none; } }

.hero { position: relative; overflow: hidden; background: radial-gradient(800px 500px at 85% 20%, #E3F2FC 0%, rgba(227,242,252,0) 70%), #fff; padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.8vw, 58px); font-weight: 800; line-height: 1.07; margin: 18px 0 20px; }
.hero h1 span { color: var(--blue); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 32em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.gf { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; padding: 10px 16px 10px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--muted); background: #fff; }
.gf img { height: 22px; width: auto; }
.gf:hover { border-color: var(--ink); }
.hero-vis { position: relative; height: 480px; }
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--blue); stroke-width: 18; stroke-linecap: round; opacity: .16; }
.hero-vis { display: grid; place-items: center; }
.orb { width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, #EAF5FD 60%, #DCEEFB 100%); box-shadow: 0 40px 80px -40px rgba(10,100,180,.45), inset 0 0 0 1px #D6E9F7; display: grid; place-items: center; }
.orb img { width: 62%; height: auto; }
.float { position: absolute; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; box-shadow: 0 14px 30px -18px rgba(10,60,110,.45); white-space: nowrap; }
.float::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: 10px; vertical-align: middle; }
.f1 { top: 12%; left: 2%; } .f2 { top: 22%; right: 0; } .f3 { bottom: 20%; left: 0; } .f4 { bottom: 9%; right: 6%; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-vis { height: 380px; } .orb { width: 260px; height: 260px; } .float { font-size: 12.5px; padding: 8px 14px; } }

section { padding: 96px 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.12; }
.sec-head p { color: var(--muted); font-size: 18px; }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about p { color: #3E4C59; margin-bottom: 16px; max-width: 36em; }
.about strong { color: var(--ink); }
.quote { background: var(--navy); color: #fff; border-radius: 20px; padding: 36px; font-size: 19px; line-height: 1.5; font-family: var(--display); font-weight: 600; }
.quote b { color: var(--blue-2); font-weight: 700; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.servicios { background: var(--mist); }
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.line { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; gap: 12px; align-content: start; transition: border-color .2s, box-shadow .2s; }
.line:hover { border-color: var(--blue); box-shadow: 0 18px 36px -24px rgba(10,80,140,.45); }
.line .n { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 14px; }
.line h3 { font-size: 21px; font-weight: 700; }
.line p { color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { font-size: 13.5px; color: #26445E; background: #EAF4FB; border-radius: 999px; padding: 6px 12px; }
@media (max-width: 760px) { .lines { grid-template-columns: 1fr; } }

.case-group { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 8px 0 16px; }
.cases { display: grid; gap: 18px; margin-bottom: 40px; }
.cases.apps { grid-template-columns: repeat(4, 1fr); }
.cases.webs { grid-template-columns: repeat(3, 1fr); }
.case { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.shot { background: linear-gradient(160deg, #EEF6FB, #E2EFF8); display: flex; align-items: center; justify-content: center; padding: 26px; overflow: hidden; }
.shot img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.case.mob .shot { height: 320px; }

.case.web .shot { height: 220px; }
.case.web .shot img { border-radius: 6px; box-shadow: 0 16px 30px -18px rgba(10,60,110,.5); }
.case-txt { padding: 20px 22px 24px; display: grid; gap: 6px; }
.tag { justify-self: start; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: #EAF4FB; padding: 4px 10px; border-radius: 999px; }
.case h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.case p { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .cases.apps { grid-template-columns: repeat(2, 1fr); } .cases.webs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cases.apps, .cases.webs { grid-template-columns: 1fr; } }

.clientes { background: var(--mist); }
.logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.logos li { height: 120px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 18px; }
.logos img { object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logos li:hover img { filter: none; opacity: 1; }

.contacto { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contacto .arcs { width: 640px; height: 640px; left: auto; right: -200px; top: -160px; opacity: .1; stroke: var(--blue-2); }
.ct-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.ct-info h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.1; margin: 14px 0 16px; }
.ct-info .eyebrow { color: var(--blue-2); }
.ct-lead { color: #B9C7D4; font-size: 18px; max-width: 28em; }
.ct-list { list-style: none; display: grid; gap: 22px; margin-top: 40px; }
.ct-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; color: #D3DEE8; font-size: 16px; }
.ct-list b { display: block; color: #fff; font-family: var(--display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 2px; }
.ct-list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.ct-list a.map { display: inline-block; margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 13px; color: #fff; }
.ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(10,163,232,.15); border: 1px solid rgba(10,163,232,.35); display: grid; place-items: center; }
.ic svg.fill { fill: #fff; stroke: none; }
.ic-wa { background: #25D366; border-color: #25D366; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 20; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.ic svg { width: 20px; height: 20px; fill: none; stroke: var(--blue-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
form { position: relative; background: #fff; color: var(--ink); border-radius: 24px; padding: 40px; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
form .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #3E4C59; }
input, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; background: #fff; }
input::placeholder, textarea::placeholder { color: #9AA8B5; }
input.err, textarea.err { border-color: #C0392B; background: #FDF3F2; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; display: grid; gap: 10px; }
legend { font-size: 13px; font-weight: 700; color: #3E4C59; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt { display: inline-flex; cursor: pointer; }
.pill-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-opt span { font-size: 14px; font-weight: 700; color: #3E4C59; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; transition: background .15s, color .15s, border-color .15s; }
.pill-opt:hover span { border-color: var(--blue); }
.pill-opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-note { font-size: 14px; color: var(--muted); }
.form-msg { display: none; background: var(--mist); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.form-msg.show { display: block; }
@media (max-width: 860px) { .ct-grid { grid-template-columns: 1fr; } form { grid-template-columns: 1fr; padding: 28px; } }

footer { background: #0A141F; color: #8FA0B0; font-size: 14px; padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer img { height: 30px; width: auto; }
footer a { color: #C9D5E0; }

/* ===== capa de color ===== */
header { background: rgba(6,24,44,.88); border-bottom-color: rgba(255,255,255,.08); }
.nav ul a { color: #B8CCE0; }
.nav ul a:hover { color: #fff; }
.hero { background: radial-gradient(700px 520px at 78% 45%, rgba(10,163,232,.45) 0%, rgba(10,163,232,0) 65%), radial-gradient(600px 400px at 0% 100%, rgba(10,132,214,.35) 0%, rgba(10,132,214,0) 70%), linear-gradient(140deg, #061A30 0%, #08305A 50%, #0A5AA6 100%); color: #fff; }
.hero .eyebrow { color: #7CCBF5; }
.hero h1 span { color: #3DB8F5; }
.hero .lead { color: #C3D5E6; }
.hero .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-line:hover { border-color: #fff; color: #fff; }
.hero .btn-blue { background: #0AA3E8; }
.hero .btn-blue:hover { background: #0B8FD0; }
.gf { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #C3D5E6; }
.gf:hover { border-color: #fff; }
.hero-vis .arcs { stroke: #7CCBF5; opacity: .22; }
.orb { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 55%, rgba(255,255,255,.02) 100%); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.float { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.6); }
.float::before { background: #3DB8F5; }
#nosotros { background: linear-gradient(180deg, #fff 0%, #F1F8FD 100%); }
.quote { background: linear-gradient(140deg, #0A84D6 0%, #0A5AA6 60%, #08305A 100%); box-shadow: 0 30px 60px -30px rgba(10,90,166,.7); }
.about .quote { color: #fff; margin: 0; max-width: none; }
.quote b { color: #BDE7FF; }
.servicios { background: radial-gradient(800px 500px at 100% 0%, rgba(10,132,214,.35) 0%, rgba(10,132,214,0) 60%), #071A2E; color: #fff; }
.servicios .eyebrow { color: #7CCBF5; }
.servicios .bar { background: #3DB8F5; }
.line { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.line:hover { border-color: #3DB8F5; background: rgba(255,255,255,.07); box-shadow: 0 24px 40px -26px rgba(0,0,0,.7); }
.line .n { background: linear-gradient(140deg, #3DB8F5, #0A84D6); }
.line p { color: #A9BDD0; }
.chips li { background: rgba(61,184,245,.14); color: #CDEBFB; }
.clientes { background: linear-gradient(180deg, #E6F3FC 0%, #D8ECFA 100%); }
.clientes .logos li { border-color: #C9E1F2; box-shadow: 0 10px 24px -20px rgba(10,80,140,.5); }
.contacto { background: radial-gradient(700px 500px at 0% 0%, rgba(10,132,214,.35) 0%, rgba(10,132,214,0) 60%), linear-gradient(160deg, #08305A 0%, #061A30 100%); }
footer { background: #04111F; }
