:root {
  color-scheme: light;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f4f7ff;
  color: #10224d;
  --muted: #465a7e;
  --blue: #1849b8;
  --line: #cbd8ee;
  --panel: #ffffff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: var(--blue); text-underline-offset: .24em; }
a:hover { color: #062667; }
:focus-visible { outline: 2px solid #ffc364; outline-offset: 5px; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; background: white; padding: .5rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.site-header { position: relative; z-index: 1; background: #0c255d; border-bottom: 1px solid #ffffff2e; }
.bar, .brand, .site-nav, .actions, .footer { display: flex; align-items: center; gap: 1.5rem; }
.bar, .footer { justify-content: space-between; }
.bar { gap: clamp(.65rem, 1.4vw, 1.25rem); min-height: 5rem; padding-block: .5rem; }
.brand { flex-shrink: 0; gap: .55rem; color: #ffffff; text-decoration: none; font-size: 1.14rem; font-weight: 730; }
.brand img { display: block; width: 3rem; height: 3rem; object-fit: contain; border-radius: .35rem; }
.brand span { white-space: nowrap; }
.site-nav { justify-content: flex-end; gap: clamp(.48rem, 1.18vw, .95rem); white-space: nowrap; }
.site-nav a, .nav-overflow summary { display: inline-flex; align-items: center; min-height: 2.55rem; color: #e7f0ff; text-decoration: none; font-size: .86rem; font-weight: 600; }
.site-nav a:hover, .brand:hover, .nav-overflow summary:hover { color: white; }
.site-nav [aria-current] { color: white; text-decoration: underline; text-decoration-thickness: .1em; }
.site-nav .nav-whatsapp { padding-inline: .75rem; min-height: 2.15rem; border: 1px solid #709fb3; border-radius: 1.2rem; color: #b5f2db; }
.site-nav .nav-whatsapp:hover { color: white; background: #174373; }
.nav-overflow { display: none; position: relative; }
.nav-overflow summary { gap: .4rem; padding-inline: .45rem; cursor: pointer; list-style: none; }
.nav-overflow summary::-webkit-details-marker { display: none; }
.nav-overflow summary::after { content: ''; width: .38rem; height: .38rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.1rem) rotate(45deg); }
.nav-overflow[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.nav-overflow-mobile { display: none; }
.nav-panel { position: absolute; top: calc(100% + .35rem); right: 0; z-index: 1; min-width: 12rem; max-width: calc(100vw - 2rem); max-height: calc(100dvh - 5.5rem); overflow: auto; padding: .4rem; background: #102f68; border: 1px solid #7191bd; border-radius: .55rem; box-shadow: 0 .75rem 2rem #05122650; }
.nav-panel a { display: flex; padding-inline: .65rem; border-radius: .3rem; }
.nav-panel a:hover { background: #1d4079; }
.nav-panel a.nav-whatsapp { margin: .25rem .4rem .15rem; }
.nav-panel .nav-all { display: none; }
.feature-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); }
.feature-grid { align-items: center; }
.contact-grid { align-items: start; }
.section { padding-block: clamp(3rem, 7vw, 6.5rem); }
.eyebrow { color: var(--blue); font-size: .88rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 6vw, 5rem); letter-spacing: -.052em; }
h2 { font-size: clamp(1.8rem, 3.7vw, 3.3rem); letter-spacing: -.038em; }
h3 { font-size: 1.33rem; letter-spacing: -.02em; }
p { margin: .8rem 0 1rem; color: var(--muted); }
.intro { max-width: 50ch; font-size: 1.13rem; margin-block: 1.4rem 1.65rem; }
.actions { flex-wrap: wrap; gap: 1rem 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.25rem; background: var(--blue); color: white; border-radius: 2rem; border: 1px solid transparent; font: inherit; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: #0e337f; color: white; }
.button:disabled { opacity: .65; cursor: default; }
.editorial-hero { display: grid; align-items: center; min-height: clamp(27rem, 45vw, 40rem); background: linear-gradient(90deg, #12388bf5 5%, #12388bce 37%, #1748aa44 67%, #152e6618 100%), var(--hero-image) center 43% / cover no-repeat, #163b91; border-bottom: 1px solid var(--line); color: white; }
.editorial-hero .button { background: white; color: #15357b; }
.editorial-hero .button:hover { background: #dbeaff; }
.editorial-hero .button-outline { border-color: #a5c7ff; background: #11397996; color: white; }
.editorial-hero .button-outline:hover { background: #0c255d; }
.editorial-hero .eyebrow { color: #bde0ff; }
.home-hero { --hero-image: url('operacion-azul.jpg'); }
.catalog-hero { --hero-image: url('portada-operaciones.jpg'); min-height: clamp(27rem, 41vw, 36rem); }
.infrastructure-hero, .solution-infra { --hero-image: url('infraestructura-redes.jpg'); }
.solution-ai { --hero-image: url('portada-operaciones.jpg'); }
.solution-security { --hero-image: url('proteccion-instalaciones.jpg'); }
.solution-hero { min-height: clamp(23rem, 36vw, 32rem); }
.editorial-inner { padding-block: clamp(3.5rem, 8vw, 7rem); }
.editorial-inner h1 { font-size: clamp(2.65rem, 6.3vw, 6rem); font-weight: 660; line-height: 1; max-width: 16ch; }
.solution-hero h1 { font-size: clamp(2.5rem, 5.25vw, 4.8rem); max-width: 19ch; }
.editorial-inner h1 em { color: #afd5ff; font-family: Georgia, serif; font-weight: 500; }
.editorial-inner .intro { color: #e2edf7; }
.category-link { display: inline-block; margin-bottom: 1rem; }
.feature-section { background: #e6efff; border-bottom: 1px solid var(--line); }
.portfolio-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portfolio-cards ul { padding-inline-start: 1.15rem; margin-block: 1rem 0; }
.portfolio-cards li + li { margin-top: .6rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.cards article, .form { background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 2.5vw, 2rem); box-shadow: 0 .8rem 2.4rem #172c5512; }
.entry-cards article { padding: 0; overflow: hidden; }
.entry-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.entry-cards a { display: block; height: 100%; text-decoration: none; color: #10224d; }
.entry-cards a:hover h3 { text-decoration: underline; }
.entry-cards img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.entry-cards a div:not(.equipment-image) { padding: clamp(1rem, 2.5vw, 1.65rem); }
.entry-cards p { margin-bottom: 0; }
.scope-intro { display: grid; grid-template-columns: 1fr minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-bottom: 1rem; }
.scope-section { padding-bottom: clamp(2.75rem, 7vw, 5.5rem); }
.scope-cards article { border-top: 3px solid #507bd8; }
.equipment-figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); }
.equipment-figure figcaption { padding: .8rem 1rem; color: var(--muted); font-size: .9rem; }
.equipment-image { aspect-ratio: 3 / 2; background-color: #e2ecff; background-repeat: no-repeat; background-size: 200.2% 200.2%; }
.it-red, .it-equipo, .it-respaldo, .it-cloud { background-image: url('equipos-infraestructura.jpg'); }
.op-video, .op-contact, .op-movil, .op-iot { background-image: url('equipos-operacion.jpg'); }
.pr-acceso, .pr-ciudad, .pr-comms, .pr-analisis { background-image: url('equipos-proteccion.jpg'); }
.it-red, .op-video, .pr-acceso { background-position: 0 0; }
.it-equipo, .op-contact, .pr-ciudad { background-position: 100% 0; }
.it-respaldo, .op-movil, .pr-comms { background-position: 0 100%; }
.it-cloud, .op-iot, .pr-analisis { background-position: 100% 100%; }
.deck-documentos, .deck-energia, .deck-software, .deck-procura { background-image: url('equipos-portafolio-empresarial.jpg'); }
.deck-documentos { background-position: 0 0; }
.deck-energia { background-position: 100% 0; }
.deck-software { background-position: 0 100%; }
.deck-procura { background-position: 100% 100%; }
.sp-aerea, .sp-comando, .sp-recinto, .sp-despacho { background-image: url('equipos-proteccion-institucional.jpg'); }
.sp-aerea { background-position: 0 0; }
.sp-comando { background-position: 100% 0; }
.sp-recinto { background-position: 0 100%; }
.sp-despacho { background-position: 100% 100%; }
.related-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding-inline-start: 1.2rem; }
.protection-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.protection-cards article { padding: 0; overflow: hidden; }
.adjacent { padding-bottom: 2.6rem; }
.adjacent h2 { font-size: 1.45rem; margin-bottom: .45rem; }
.cards a { font-weight: 650; }
.band { background: #e8f0ff; border-block: 1px solid var(--line); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 2.5rem; }
.band p { max-width: 50ch; }
.footer { flex-wrap: wrap; gap: 1rem 2rem; align-items: start; padding-block: 1.8rem; color: var(--muted); }
.footer address, .contact-details address { font-style: normal; }
.footer strong { color: #10224d; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-links a, .contact-details a { overflow-wrap: anywhere; }
.contact-details { margin: 1.4rem 0; display: grid; gap: .8rem; }
.contact-details div { padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.contact-details dt { color: #10224d; font-weight: 700; }
.contact-details dd { margin: .2rem 0 0; }
.form h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-block: 1.3rem; }
.full { grid-column: 1 / -1; }
label { display: grid; gap: .35rem; font-weight: 600; min-width: 0; }
input, select, textarea { font: inherit; color: #10224d; background: #f6f9ff; border: 1px solid #90a4ca; border-radius: .45rem; padding: .6rem; width: 100%; }
.contact-brief { margin-top: 2rem; padding: 1.4rem 1.5rem; border-left: 3px solid #507bd8; background: #e6efff; }
.contact-brief h2 { font-size: 1.35rem; }
textarea { resize: vertical; }
#resultado:empty { display: none; }
#resultado { color: var(--blue); }
.ai-board { margin: 0; border: 1px solid #aec4eb; border-radius: 1rem; background: #ffffff; }
.ai-board figcaption { padding: 1rem clamp(.85rem, 3vw, 1.4rem); border-bottom: 1px solid var(--line); border-radius: 1rem 1rem 0 0; font-weight: 700; color: #183d83; background: #edf3ff; }
.ai-board dl { margin: 0; padding: .35rem clamp(.85rem, 3vw, 1.4rem); }
.ai-board dl div { display: grid; grid-template-columns: minmax(6rem, 1fr) minmax(0, 2fr); gap: .75rem; padding: .85rem 0; }
.ai-board dl div + div { border-top: 1px solid var(--line); }
.ai-board dt { color: var(--blue); font-weight: 650; }
.ai-board dd { margin: 0; color: var(--muted); }
.ai-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-cards article { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-copy { display: flex; flex-direction: column; flex: 1; align-items: start; padding: clamp(1.2rem, 3vw, 2.2rem); }
.product-image { display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--line); }
.product-portrait { background: radial-gradient(ellipse at 50% 72%, #254d63, #0b192b 75%); }
.product-portrait img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 24%; }
.product-symbol { background: radial-gradient(ellipse at center, #173c52, #0b192b 72%); color: #8cddf7; }
.product-symbol svg { width: clamp(3.4rem, 9vw, 6.5rem); height: auto; }
.product-cards h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.product-cards .eyebrow { margin-top: 0; }
.product-cards a { margin-top: auto; }
.pilot-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-inline-start: 1.3rem; margin-top: 1.7rem; }
.pilot-steps li { padding-inline-start: .25rem; }
.pilot-steps li::marker { color: var(--blue); font-weight: 700; }
.pilot-steps span { display: block; color: var(--muted); margin-top: .3rem; }
.ai-note { margin-top: 1.5rem; max-width: 75ch; }
.ai-note strong { color: #10224d; }
.case-groups { display: grid; gap: .75rem; max-width: 56rem; margin-top: 1.6rem; }
.case-groups details { background: var(--panel); border: 1px solid var(--line); border-radius: .45rem; }
.case-groups summary { color: #10224d; cursor: pointer; font-weight: 700; padding: .9rem 1.1rem; }
.case-groups details[open] summary { color: var(--blue); }
.case-groups ul { margin: 0 0 1rem; padding-inline: 2.3rem 1rem; color: var(--muted); }
.case-groups li + li { margin-top: .35rem; }
@media (max-width: 69rem) { .entry-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 65rem) {
  .site-nav { gap: .55rem; }
  .site-nav > .nav-secondary { display: none; }
  .nav-overflow { display: block; }
}
@media (max-width: 47.5rem) {
  .site-nav > .nav-portfolio { display: none; }
  .nav-panel .nav-portfolio { display: flex; }
}
@media (max-width: 43rem) {
  .site-nav > .nav-primary { display: none; }
  .nav-panel .nav-all { display: flex; }
  .nav-overflow-wide { display: none; }
  .nav-overflow-mobile { display: inline; }
}
@media (max-width: 65rem) { .ai-cards, .entry-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 50.01rem) { .deck-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 50rem) {
  .feature-grid, .contact-grid, .cards, .pilot-steps, .scope-intro { grid-template-columns: 1fr; }
  .editorial-hero { align-items: end; min-height: 34rem; background: linear-gradient(180deg, #173e8c12 4%, #173e8c55 32%, #102f71fa 64%), var(--hero-image) 68% center / cover no-repeat, #173e8c; }
  .editorial-inner { padding-block: 10.5rem 3rem; }
  .band-inner { flex-wrap: wrap; }
}
@media (max-width: 31rem) {
  .wrap { width: calc(100% - 2rem); }
  .bar { min-height: 4.5rem; }
  .fields { grid-template-columns: 1fr; }
  .ai-board dl div { grid-template-columns: 1fr; gap: .2rem; }
}

.home-oil-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.2rem; color: #d9f0ff; font-weight: 680; }
.home-oil-link:hover { color: white; }
.oil-dark { color: #f3f9ff; background: radial-gradient(ellipse at 90% 0%, #174969, transparent 64%), #0a1b34; }
.oil-hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(1.8rem, 5vw, 5rem); padding-block: clamp(3.25rem, 7vw, 6.25rem); }
.oil-home {
  border-block: 1px solid #3d6486;
  background:
    linear-gradient(90deg, #07182df7 0%, #0a1b34df 35%, #0a1b344d 72%, #0a1b3412 100%),
    url('campo-petrolero-atardecer.webp') 78% center / cover no-repeat,
    #0a1b34;
}
.oil-home .oil-network { background: #0a203aeb; }
.oil-home h2, .oil-hero h1 { max-width: 17ch; }
.oil-dark p, .oil-dark .intro { color: #d3e6f7; }
.oil-dark .eyebrow, .oil-dark .oil-text-link { color: #a4e9ff; }
.oil-dark .button { background: #b9edff; color: #10294a; }
.oil-dark .button:hover { background: white; }
.oil-dark .oil-text-link:hover { color: white; }
.oil-network { margin: 0; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #4d7696; border-radius: 1rem; background: #0a203a; }
.oil-network figcaption { font-size: 1.15rem; font-weight: 720; }
.oil-network ol { margin-block: 1.15rem; padding-left: .75rem; list-style: none; }
.oil-network li { position: relative; padding: .46rem 0 .46rem 1.15rem; border-left: 1px solid #5ba8c4; }
.oil-network li::before { content: ''; position: absolute; top: .92rem; left: -.28rem; width: .5rem; height: .5rem; border-radius: 50%; background: #9ff0ff; }
.oil-network p { margin: 0; padding-top: .9rem; border-top: 1px solid #4d7696; }
.oil-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.oil-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
@media (max-width: 50rem) {
  .oil-hero-inner { grid-template-columns: 1fr; }
}

.solution-list-intro { padding-block: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.3rem); }
.solution-list-intro .eyebrow { margin-top: 0; }
.portfolio-cards .oil-portfolio { grid-column: 1 / -1; background: #e9f6ff; border-color: #99c1dc; }

@media (max-width: 50rem) {
  .oil-home {
    background:
      linear-gradient(180deg, #0a1b341a, #0a1b340d 43%, #0a1b34),
      url('campo-petrolero-atardecer.webp') 89% top / auto 15.5rem no-repeat,
      #0a1b34;
    background-size: 100% 15.5rem, auto 15.5rem, auto;
    background-repeat: no-repeat;
  }
  .oil-home .oil-hero-inner { padding-top: 13rem; }
}
