/* =========================================================
   Corporación Dos Punto Cero C.A. — Hoja de estilos
   Paleta tomada del brochure: negro, gris acero, magenta.
   ========================================================= */
:root {
  --ink: #0B0B0D;
  --ink-2: #14161a;
  --ink-3: #1d2126;
  --steel: #6E7B80;
  --steel-2: #8d999e;
  --mist: #BEBBC1;
  --paper: #F3F2F4;
  --white: #fff;
  --mag: #B0198A;
  --mag-2: #d02aa6;
  --mag-soft: rgba(176, 25, 138, .14);
  --line-dark: #2a2f35;
  --line-light: #dcd9de;

  --f-head: 'Montserrat', system-ui, sans-serif;
  --f-body: 'Hind', system-ui, sans-serif;

  --r: 14px;
  --wrap: 1180px;
  --nav-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--mag); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- Logo ---------- */
.lg-bar { fill: var(--white); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-head); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--mag);
  background: var(--mag); color: #fff; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--mag-2); border-color: var(--mag-2); transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--mag); }
.btn:focus-visible, .tab:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--mag-2); outline-offset: 2px; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; box-shadow: none; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.nav.is-solid { background: rgba(11, 11, 13, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand-logo { width: 76px; height: 50px; }
.brand-name { font-family: var(--f-head); font-size: 16px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.brand-name b, .foot-name b { font-weight: 800; }
.brand-name i, .foot-name i { font-style: normal; font-weight: 800; color: var(--mag-2); }
.brand-name em, .foot-name em { font-style: normal; font-weight: 800; color: var(--steel-2); }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { color: #d8d6da; font-family: var(--f-head); font-size: 15px; font-weight: 600; position: relative; }
.menu a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--mag); transition: width .25s; }
.menu a:not(.btn):hover { color: #fff; }
.menu a:not(.btn):hover::after, .menu a.is-active::after { width: 100%; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 75% 15%, rgba(176,25,138,.20), transparent 60%),
              radial-gradient(900px 500px at 10% 0%, rgba(110,123,128,.22), transparent 60%),
              var(--ink);
  color: #fff; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 200px;
}
/* Si agregas /img/hero.jpg se mostrará detrás del degradado */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: .28;
  background: url('/img/hero.jpg') center / cover no-repeat;
  mix-blend-mode: luminosity;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 300px; }
.flare circle { fill: #ff9a3c; filter: drop-shadow(0 0 8px #ff7a1a); animation: flicker 2.4s infinite ease-in-out; }
.flare circle:nth-child(2) { animation-delay: .8s; }
.flare circle:nth-child(3) { animation-delay: 1.5s; }
.beacons circle { fill: var(--mag-2); animation: blink 2s infinite; }
.beacons circle:nth-child(even) { animation-delay: 1s; }
.fence path { animation: march 1.2s linear infinite; }
.scan {
  position: absolute; left: 0; right: 0; height: 120px; top: -120px;
  background: linear-gradient(180deg, transparent, rgba(176,25,138,.10), transparent);
  animation: scan 7s linear infinite;
}
@keyframes flicker { 0%,100% { opacity: 1; r: 5; } 50% { opacity: .55; r: 7; } }
@keyframes blink { 0%, 60%, 100% { opacity: .2; } 70% { opacity: 1; } }
@keyframes march { to { stroke-dashoffset: -28; } }
@keyframes scan { to { top: 100%; } }

.hero-in { position: relative; z-index: 1; max-width: 860px; margin-left: max(16px, calc((100% - var(--wrap)) / 2)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mist); padding: 8px 16px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255,255,255,.03);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mag-2); box-shadow: 0 0 0 0 var(--mag-2); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(208,42,166,0); } 100% { box-shadow: 0 0 0 0 rgba(208,42,166,0); } }
.hero .display { font-family: var(--f-head); font-size: clamp(36px, 6vw, 68px); font-weight: 800; margin: 26px 0 22px; }
.hl { background: linear-gradient(90deg, var(--mag-2), #e05cc0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 21px); color: #c9c6cc; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.tagline { margin-top: 36px; font-family: var(--f-head); font-weight: 700; color: var(--steel-2); letter-spacing: .02em; }

/* ---------- Franja de cifras ---------- */
.strip { background: var(--mag); color: #fff; position: relative; z-index: 2; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-in > div { padding: 28px 20px; border-left: 1px solid rgba(255,255,255,.22); }
.strip-in > div:first-child { border-left: 0; }
.strip strong { display: block; font-family: var(--f-head); font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.1; }
.strip span { font-size: 15px; opacity: .9; }

/* ---------- Secciones ---------- */
.sec { padding: clamp(72px, 10vw, 120px) 0; }
.kicker { font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mag); margin-bottom: 16px; }
.kicker::before { content: ''; display: inline-block; width: 26px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.kicker-light { color: var(--mag-2); }
.sec h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sub { margin-top: 18px; color: #4a4f55; font-size: 19px; }

/* Quiénes somos */
.about { background: var(--paper); }
.two { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.about h2 { color: var(--ink); }
.prose p + p { margin-top: 18px; }
.prose { color: #33373c; }
.prose strong { color: var(--ink); }
.essence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 72px; }
.ess { background: #fff; border: 1px solid var(--line-light); border-radius: var(--r); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ess:hover { transform: translateY(-4px); border-color: var(--mag); box-shadow: 0 18px 40px -24px rgba(176,25,138,.5); }
.num { font-family: var(--f-head); font-weight: 800; color: var(--mag); font-size: 14px; letter-spacing: .1em; }
.ess h3 { font-size: 18px; margin: 14px 0 10px; }
.ess p { font-size: 16px; color: #5a5f65; }

/* Industria petrolera */
.industry { position: relative; background: var(--ink-2); color: #fff; overflow: hidden; }
.industry-media {
  position: absolute; inset: 0; opacity: .35;
  /* Coloca una foto propia en /public/img/industria.jpg (refinería o planta) */
  background:
    linear-gradient(90deg, var(--ink-2) 25%, rgba(20,22,26,.55) 70%, rgba(20,22,26,.2)),
    url('/img/industria.jpg') center / cover no-repeat,
    repeating-linear-gradient(135deg, #1a1d22 0 2px, transparent 2px 22px);
}
.industry-in { position: relative; }
.industry h2 { max-width: 720px; }
.industry .lead { margin-top: 20px; max-width: 720px; }
.layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; counter-reset: layer; }
.layer {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 26px;
  backdrop-filter: blur(6px); position: relative; transition: border-color .25s, background .25s;
}
.layer::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 40%; background: var(--mag); border-radius: var(--r) 0 0 0; transition: width .4s; }
.layer:hover { border-color: rgba(208,42,166,.6); background: rgba(176,25,138,.08); }
.layer:hover::before { width: 100%; border-radius: var(--r) var(--r) 0 0; }
.layer-tag { font-family: var(--f-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); }
.layer h3 { font-size: 20px; margin: 10px 0 10px; }
.layer p { font-size: 16px; color: #bdbac0; }

/* Servicios */
.services { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--r); padding: 32px; position: relative;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(11,11,13,.45); }
.card-feature { grid-row: span 2; overflow: hidden; background: var(--ink); color: #fff; border-color: var(--ink); display: flex; flex-direction: column; }
.card.card-feature li { color: #cfccd2; }
.card-feature::after {
  content: ''; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%;
  border: 40px solid rgba(110,123,128,.25); pointer-events: none;
}
.ico { width: 56px; height: 56px; border-radius: 50%; background: var(--mag); display: grid; place-items: center; margin-bottom: 22px; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; margin-bottom: 14px; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 20px; font-size: 16.5px; color: #4a4f55; }
.card li + li { margin-top: 8px; }
.card li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--mag); }
.badge { margin-top: auto; align-self: flex-start; font-family: var(--f-head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--mag-soft); color: var(--mag-2); border: 1px solid rgba(208,42,166,.4); position: relative; z-index: 1; }
.card-feature ul { margin-bottom: 30px; }
.card-feature h3 { font-size: 26px; }

/* Tecnologías */
.tech { background: var(--ink); color: #fff; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line-dark); margin-bottom: 36px; flex-wrap: wrap; }
.tab { font-family: var(--f-head); font-weight: 700; font-size: 14px; border: 0; background: none; color: var(--mist); padding: 11px 22px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.tab.is-on { background: var(--mag); color: #fff; }
.tech-panel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; animation: fade .4s; }
.tech-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.tgroup { background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 22px; }
.tgroup h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mag-2); margin-bottom: 14px; }
.tgroup ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tgroup li { font-family: var(--f-head); font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: #e6e4e8; }

/* Compromiso */
.commit { background: var(--mist); }
.commit .sub { color: #2f3338; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--mag), var(--steel)); }
.steps li { position: relative; }
.steps span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 20px; border: 3px solid var(--mist); position: relative; }
.steps li:first-child span { background: var(--mag); }
.steps h3 { font-size: 20px; margin: 20px 0 8px; }
.steps p { font-size: 16.5px; color: #33373c; }

/* Contacto */
.contact { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 90px solid rgba(110,123,128,.12); right: -180px; top: -180px; }
.contact-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; position: relative; }
.contact .lead { margin-top: 18px; }
.channels { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.channels a { display: flex; align-items: center; gap: 14px; font-size: 18px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); transition: color .2s; word-break: break-word; }
.channels a:hover { color: var(--mag-2); }
.ch-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.ch-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form { background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: 20px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-family: var(--f-head); font-size: 13px; font-weight: 600; color: var(--mist); }
.form input, .form select, .form textarea {
  font: inherit; font-family: var(--f-body); font-size: 17px; font-weight: 400; color: #fff;
  background: var(--ink); border: 1px solid var(--line-dark); border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--mag); outline: none; }
.form textarea { resize: vertical; min-height: 120px; }
.form .is-err { border-color: #ff6b8a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.5em; font-size: 16px; }
.form-status.ok { color: #6ee7b7; }
.form-status.err { color: #ff8fa6; }

/* Pie */
.foot { background: #050506; color: #9a979d; padding: 48px 0; border-top: 1px solid var(--line-dark); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-logo { width: 66px; height: 44px; }
.foot-name { font-family: var(--f-head); font-size: 14px; color: #fff; font-weight: 600; letter-spacing: .04em; }
.rif { font-size: 14px; }
.foot-tag { font-family: var(--f-head); font-weight: 700; color: #fff; }
.copy { font-size: 14px; width: 100%; padding-top: 20px; border-top: 1px solid var(--line-dark); }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,11,13,.97); padding: 12px 16px 24px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .menu.open { transform: none; }
  .menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .menu .btn { margin-top: 16px; }
  .nav.menu-open { background: rgba(11,11,13,.97); }
}

@media (max-width: 1080px) {
  .essence, .layers { grid-template-columns: repeat(2, 1fr); }
  .tech-panel { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card-feature { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 860px) {
  .two, .contact-in { grid-template-columns: 1fr; gap: 36px; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-in > div:nth-child(3) { border-left: 0; }
  .strip-in > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.22); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .tech-panel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand-name { display: none; }
  .essence, .layers, .cards, .steps, .row, .tech-panel { grid-template-columns: 1fr; }
  .card-feature { grid-column: auto; }
  .hero { padding-bottom: 170px; }
  .skyline { height: 190px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .strip-in > div { padding: 22px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* =========================================================
   Conversión: CTAs, prueba social, dolor, comparativa
   ========================================================= */
:root { --wa: #25D366; --wa-2: #1ebe5a; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .i { transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-light { background: #fff; border-color: #fff; color: var(--mag); }
.btn-light:hover { background: var(--paper); border-color: var(--paper); box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; box-shadow: none; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #06210f; margin-top: 30px; }
.btn-wa:hover { background: var(--wa-2); border-color: var(--wa-2); box-shadow: 0 12px 30px -10px var(--wa); }
.btn-wa:hover .i { transform: none; }

/* Hero */
.hero .display { font-weight: 900; letter-spacing: -.02em; font-size: clamp(40px, 7vw, 82px); line-height: 1.02; }
.hero .lead strong { color: #fff; }
.hero-cta .btn:first-child { box-shadow: 0 0 0 0 rgba(208,42,166,.6); animation: cta-pulse 2.6s infinite; }
@keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(208,42,166,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(208,42,166,0); } }
.proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15.5px; color: var(--mist); }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof li::before { content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--mag-soft); color: var(--mag-2); font-weight: 700; font-size: 12px; }

/* Marcas */
.brands { background: var(--ink); color: var(--steel-2); padding: 30px 0; border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.brands-t { text-align: center; font-family: var(--f-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; padding-inline: 16px; }
.marquee { display: flex; width: max-content; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; padding: 0 28px; margin: 0; list-style: none; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { font-family: var(--f-head); font-weight: 800; font-size: 22px; color: #6b747a; white-space: nowrap; transition: color .2s; }
.marquee-track li:hover { color: #fff; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Dolor */
.pain { background: #fff; }
.hl-dark { color: var(--mag); }
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain-card { border: 1px solid var(--line-light); border-left: 4px solid var(--mag); border-radius: var(--r); padding: 26px; background: var(--paper); }
.pain-card .x { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.pain-card p { font-size: 16.5px; color: #33373c; }
.pain-card strong { color: var(--ink); }
.pain-cta { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; border-radius: var(--r); background: var(--ink); color: #fff; }
.pain-cta p { font-family: var(--f-head); font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; }
.pain-cta strong { color: var(--mag-2); font-weight: 800; }

/* Banda CTA */
.cta-band { background: linear-gradient(120deg, var(--mag) 0%, #7d1062 100%); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 70px solid rgba(255,255,255,.08); pointer-events: none; }
.cta-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; }
.cta-band p { margin-top: 8px; font-size: 19px; opacity: .92; }
.cta-band-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Servicios: CTA por tarjeta */
.card { display: flex; flex-direction: column; }
.card-cta { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--mag); align-self: flex-start; }
.card-cta:hover { color: var(--mag-2); }
.card-cta:hover .i { transform: translateX(3px); }
.card-cta .i { width: 18px; height: 18px; transition: transform .2s; }
.card-feature .card-cta { color: #fff; margin-top: 0; padding-top: 16px; position: relative; z-index: 1; }
.card-feature .badge { margin-top: auto; }

/* Por qué nosotros */
.why { background: var(--ink-2); color: #fff; }
.sub-light { color: #c9c6cc; }
.compare { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; align-items: stretch; }
.compare .col { border-radius: 20px; padding: 36px; }
.compare h3 { font-size: 22px; margin-bottom: 22px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare li { position: relative; padding-left: 34px; font-size: 17px; }
.compare li::before { position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; }
.col-them { background: var(--ink-3); border: 1px solid var(--line-dark); color: #8f9499; margin: 28px 0; border-radius: 20px 0 0 20px !important; }
.col-them h3 { color: #a6abb0; }
.col-them li::before { content: '✕'; background: #2e3238; color: #8f9499; }
.col-us { background: linear-gradient(160deg, #241521, var(--ink)); border: 2px solid var(--mag); position: relative; box-shadow: 0 30px 80px -30px rgba(176,25,138,.6); }
.col-us li::before { content: '✓'; background: var(--mag); color: #fff; }
.col-us .btn { margin-top: 30px; }
.col-flag { position: absolute; top: -14px; left: 36px; background: var(--mag); color: #fff; font-family: var(--f-head); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }

/* Compromiso */
.steps-cta { margin-top: 48px; text-align: center; }

/* Contacto */
.next { margin-top: 36px; padding: 24px; border: 1px solid var(--line-dark); border-radius: var(--r); background: rgba(255,255,255,.03); }
.next h3 { font-size: 17px; margin-bottom: 14px; }
.next ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: #c9c6cc; font-size: 16.5px; }
.next b { color: #fff; }
.next li::marker { color: var(--mag-2); font-family: var(--f-head); font-weight: 800; }
.form-title { font-family: var(--f-head); font-size: 22px; font-weight: 800; }
.form textarea::placeholder { color: #666b71; }
.form-note { font-size: 14px; color: var(--steel-2); text-align: center; margin-top: -4px; }
.form-status a { color: var(--wa); font-weight: 600; text-decoration: underline; }
.form.is-sent > :not(.form-status) { display: none; }
.form.is-sent .form-status { font-size: 19px; padding: 30px 0; text-align: center; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px;
  background: var(--wa); color: #06210f; font-family: var(--f-head); font-weight: 800; font-size: 15px;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,.55);
  transform: translateY(120px); opacity: 0; transition: transform .35s, opacity .35s, background .2s;
}
.wa-float.is-on { transform: none; opacity: 1; }
.wa-float:hover { background: var(--wa-2); }
.wa-float .i { width: 26px; height: 26px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: wa-ring 2.4s infinite; }
@keyframes wa-ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }

@media (max-width: 1080px) {
  .pains { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; }
  .col-them { margin: 0 0 24px; border-radius: 20px !important; }
}
@media (max-width: 560px) {
  .pains { grid-template-columns: 1fr; }
  .pain-cta .btn, .cta-band-btns .btn, .cta-band-btns { width: 100%; }
  .compare .col { padding: 28px 22px; }
  .marquee-track li { font-size: 18px; }
  .wa-float { right: 14px; bottom: 14px; padding: 14px; }
  .wa-float span { display: none; }
}

/* ---------- Logos de marcas ---------- */
.brands { background: #fff; color: #5a5f65; border-bottom: 1px solid var(--line-light); }
.marquee-track { align-items: center; gap: 64px; padding: 0 32px; }
.marquee-track li { display: flex; align-items: center; gap: 10px; font-size: 20px; color: #2a2e33; }
.marquee-track li:hover { color: var(--ink); }
.marquee-track img { width: 30px; height: 30px; }
.marquee-track li.wm img { width: auto; height: 38px; }

.tech-panel { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tgroup li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-color: #fff; color: #1d2126; padding: 7px 12px; }
.tgroup li img { width: 20px; height: 20px; flex: none; }
.tgroup li.wm { padding: 8px 14px; }
.tgroup li.wm img { width: auto; height: 24px; }

@media (max-width: 560px) {
  .marquee-track { gap: 44px; }
  .marquee-track img { width: 24px; height: 24px; }
  .marquee-track li.wm img { height: 30px; }
}
.tech-panel { grid-template-columns: repeat(3, 1fr); }
/* Ajuste óptico: cada logotipo trae proporciones y márgenes distintos */
.tgroup li.wm img[src$="/vmware.svg"] { height: 15px; }
.marquee-track li.wm img[src$="/vmware.svg"] { height: 22px; }
.tgroup li.wm img[src$="/hikvision.svg"] { height: 18px; }
.tgroup li.wm img[src$="/hanwha.svg"] { height: 40px; margin-block: -8px; }
.tgroup li.wm img[src$="/zabbix.svg"] { height: 20px; }
.tgroup li.wm img[src$="/hpe.svg"] { height: 28px; }
.marquee-track .wm img[src$="/hikvision.svg"] { height: 26px; }
.marquee-track .wm img[src$="/hanwha.svg"] { height: 56px; margin-block: -9px; }
.marquee-track .wm img[src$="/zabbix.svg"] { height: 28px; }
@media (max-width: 860px) { .tech-panel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tech-panel { grid-template-columns: 1fr; } }
.tgroup-tall { grid-row: span 2; }
@media (max-width: 560px) { .tgroup-tall { grid-row: auto; } }

/* ---------- Menú: selector de idioma ---------- */
.menu a.lang { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 13px; letter-spacing: .06em; }
.menu a.lang::after { display: none; }
.menu a.lang:hover { border-color: var(--mag-2); }
.menu a.lang .i { width: 16px; height: 16px; stroke-width: 1.8; }
@media (max-width: 1180px) {
  .menu a.lang { align-self: flex-start; margin-top: 16px; padding: 8px 16px; border: 1px solid var(--line-dark); font-size: 14px; }
}
@media (max-width: 560px) {
  :root { --nav-h: 76px; }
  .brand-logo { width: 64px; height: 42px; }
}
/* El menú usa más ancho que el contenido para que el logo grande y los enlaces quepan en una línea */
.nav .wrap { width: min(1360px, 100% - 48px); }
.menu a { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1320px) { .brand-name { display: none; } }
@media (max-width: 560px) { .nav .wrap { width: calc(100% - 32px); } }

/* ---------- Sectores ---------- */
.sectors { background: var(--paper); }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--r); padding: 26px;
  display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.sector:hover { transform: translateY(-4px); border-color: var(--mag); box-shadow: 0 18px 40px -24px rgba(176,25,138,.5); }
.sector-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--mag-soft); display: grid; place-items: center; margin-bottom: 18px; transition: background .25s; }
.sector-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--mag); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.sector:hover .sector-ico { background: var(--mag); }
.sector:hover .sector-ico svg { stroke: #fff; }
.sector h3 { font-size: 19px; margin-bottom: 8px; }
.sector > p { font-size: 15.5px; color: #5a5f65; margin-bottom: 16px; }
.sector ul { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-light); display: grid; gap: 7px; }
.sector li { position: relative; padding-left: 22px; font-size: 15px; color: #33373c; line-height: 1.4; }
.sector li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--mag); font-weight: 700; }
.sector-more { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; text-align: center; }
.sector-more p { font-family: var(--f-head); font-size: clamp(18px, 2vw, 21px); font-weight: 600; color: #33373c; }
.sector-more strong { color: var(--ink); }

/* ---------- Desarrollo tecnológico ---------- */
.dev { background: #fff; }
.dev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dev-card {
  border: 1px solid var(--line-light); border-radius: var(--r); padding: 30px; background: var(--paper);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, background .25s;
}
.dev-card:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 24px 50px -30px rgba(11,11,13,.45); }
.dev-card .ico { margin-bottom: 20px; }
.dev-card h3 { font-size: 20px; margin-bottom: 10px; }
.dev-card > p { font-size: 16px; color: #4a4f55; }
.dev-eg { margin-top: auto !important; padding-top: 18px; font-size: 15px !important; color: #33373c !important; font-style: italic; }
.dev-eg span { font-style: normal; font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mag); margin-right: 4px; }
.dev-cta {
  margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  padding: 32px 36px; border-radius: 20px; background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.dev-cta::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; border: 50px solid rgba(176,25,138,.18); pointer-events: none; }
.dev-cta > * { position: relative; z-index: 1; }
.dev-cta h3 { font-size: clamp(20px, 2.4vw, 26px); }
.dev-cta p { margin-top: 6px; color: #c9c6cc; }

@media (max-width: 1080px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sector-grid, .dev-grid { grid-template-columns: 1fr; }
  .dev-cta { padding: 26px 22px; }
  .dev-cta .btn { width: 100%; }
}

/* ---------- H1 del hero (palabras clave) con estilo de etiqueta ---------- */
h1.eyebrow { font-family: var(--f-head); font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--paper); }
.faq-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line-light); border-radius: var(--r); transition: border-color .2s; }
.faq-item[open] { border-color: var(--mag); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mag-soft); color: var(--mag); font-family: var(--f-head); font-weight: 700; font-size: 18px; transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:focus-visible { outline: 3px solid var(--mag-2); outline-offset: 2px; border-radius: var(--r); }
.faq-item h3 { font-size: 17.5px; line-height: 1.35; }
.faq-item p { padding: 0 24px 22px; color: #4a4f55; font-size: 16.5px; }
@media (max-width: 860px) {
  .faq-in { grid-template-columns: 1fr; gap: 28px; }
  .faq .sec-head { position: static; }
}
