:root {
  --navy: #061827; --navy-2: #0b2940; --blue: #0877ad; --blue-light: #65c8e8;
  --amber: #db7b2b; --amber-light: #f2b36d; --ink: #13212b; --muted: #5d6d78;
  --line: #dce4e8; --cloud: #f4f7f8; --white: #fff; --success: #22a861;
  --shadow: 0 22px 70px rgba(6, 24, 39, .12); --radius: 1.5rem; --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 4px; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 2000; padding: .7rem 1rem; background: var(--white); color: var(--navy); border-radius: .5rem; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-soft { background: var(--cloud); }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1rem; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 2.1rem; height: 2px; background: currentColor; }
.eyebrow.light { color: rgba(255,255,255,.76); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.22rem); max-width: 43rem; }
.lead.light { color: rgba(255,255,255,.78); }
.section-heading { max-width: 48rem; margin-bottom: 3rem; }
.section-heading.center { text-align: center; margin-inline: auto; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: 76px; border-bottom: 1px solid transparent; color: var(--white); transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled, .site-header.header-light { background: rgba(255,255,255,.96); color: var(--navy); border-color: var(--line); box-shadow: 0 8px 30px rgba(6,24,39,.07); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 850; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(145deg, #0c83ba, #063b61); color: #fff; font-size: 1.05rem; letter-spacing: -.1em; box-shadow: 0 8px 20px rgba(8,119,173,.25); }
.brand small { display: block; margin-top: -.18rem; color: currentColor; opacity: .58; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.brand-logo-nav { width: 118px; height: 54px; padding: .2rem .45rem; object-fit: contain; border-radius: .55rem; background: rgba(255,255,255,.96); box-shadow: 0 6px 20px rgba(5,25,40,.13); }
.brand-division { max-width: 180px; font-size: .72rem; line-height: 1.18; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.55rem; }
.nav-links a { font-size: .88rem; font-weight: 700; }
.nav-links a:not(.button) { opacity: .76; }
.nav-links a:hover { opacity: 1; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: .38rem; color: inherit; opacity: .76; font-size: .88rem; font-weight: 700; cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "⌄"; font-size: .8rem; transition: transform .2s ease; }
.nav-dropdown[open] summary { opacity: 1; }
.nav-dropdown[open] summary::after { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 1rem); left: 50%; width: 220px; padding: .55rem; border: 1px solid var(--line); border-radius: .9rem; background: #fff; color: var(--navy); box-shadow: 0 18px 45px rgba(6,24,39,.16); transform: translateX(-50%); }
.nav-dropdown-menu a { display: block; padding: .72rem .8rem; border-radius: .55rem; font-size: .82rem; opacity: .8 !important; }
.nav-dropdown-menu a:hover { background: var(--cloud); opacity: 1 !important; }
.menu-toggle { display: none; border: 0; background: none; color: currentColor; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: .2s; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: .8rem; background: var(--blue); color: var(--white); font-size: .87rem; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: #076794; box-shadow: 0 12px 25px rgba(8,119,173,.22); }
.button-outline { background: transparent; border-color: rgba(255,255,255,.38); }
.button-outline:hover { background: var(--white); color: var(--navy); }
.button-dark { background: var(--navy); }
.button-amber { background: var(--amber); }
.button-amber:hover { background: #bf6420; }
.button-small { min-height: 42px; padding: .55rem .95rem; }
.button svg { width: 18px; height: 18px; fill: currentColor; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.portal-hero { min-height: 100svh; position: relative; display: grid; place-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.portal-panels { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.portal-panel { position: relative; overflow: hidden; background-size: cover; background-position: center; transition: transform .5s ease, filter .5s ease; }
.portal-panel.tech { background-image: linear-gradient(90deg, rgba(2,14,24,.9), rgba(5,31,49,.55)), url('../images/hero-tecnologia.jpg'); }
.portal-panel.supply { background-image: linear-gradient(90deg, rgba(12,13,14,.63), rgba(12,13,14,.9)), url('../images/hero-abastecimiento.jpg'); }
.portal-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,17,28,.18), rgba(3,17,28,.82)); }
.portal-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, transparent 0, rgba(3,15,24,.12) 40%, rgba(3,15,24,.62) 100%); pointer-events: none; }
.portal-content { position: relative; z-index: 2; width: min(calc(100% - 2rem), 980px); padding: 8rem 0 4rem; text-align: center; }
.portal-logo { width: min(270px, 58vw); margin: 0 auto 1.5rem; padding: .6rem 1.1rem; border-radius: 1rem; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.portal-content h1 { margin-bottom: .75rem; font-size: clamp(2.5rem, 6vw, 5.5rem); }
.portal-content > p { max-width: 640px; margin: 0 auto 2.4rem; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.division-choices { display: grid; grid-template-columns: 1fr 1fr; text-align: left; border: 1px solid rgba(255,255,255,.34); border-radius: 1.1rem; overflow: hidden; backdrop-filter: blur(12px); background: rgba(4,22,35,.38); }
.division-choice { position: relative; min-height: 170px; padding: 1.65rem; transition: background .25s, transform .25s; }
.division-choice + .division-choice { border-left: 1px solid rgba(255,255,255,.3); }
.division-choice:hover { background: rgba(255,255,255,.12); }
.division-choice .number { color: rgba(255,255,255,.55); font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.division-choice h2 { margin: .65rem 0 .5rem; font-size: clamp(1.25rem, 2.6vw, 1.8rem); }
.division-choice p { margin: 0; color: rgba(255,255,255,.67); font-size: .88rem; }
.division-choice .arrow { position: absolute; right: 1.5rem; bottom: 1.35rem; font-size: 1.5rem; transition: transform .2s; }
.division-choice:hover .arrow { transform: translateX(5px); }
.scroll-cue { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem; color: rgba(255,255,255,.6); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.legacy-portal {
  min-height: 100svh;
  isolation: isolate;
  background: #00131f;
}
.legacy-portal::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(3,39,58,.5),rgba(3,39,58,.58)),url('../images/portal-original.jpg');
  background-size: cover; background-position: center; transform: scale(1);
}
.legacy-portal::after {
  z-index: 1; background: #000; opacity: 0; pointer-events: none;
}
.legacy-portal-content {
  position: relative; z-index: 2; width: min(calc(100% - 2rem), 780px);
  padding: 8.2rem 0 2.5rem; text-align: center;
}
.legacy-emblem {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px;
  margin: 0 auto 3.9rem; border: 1px solid rgba(255,255,255,.8); border-radius: 50%;
  background: rgba(1,36,55,.14); backdrop-filter: blur(5px);
}
.legacy-emblem::after { content: ""; position: absolute; top: 100%; width: 1px; height: 3.9rem; background: rgba(255,255,255,.78); }
.legacy-emblem svg { width: 36px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.legacy-title-block { position: relative; padding: 2.3rem 1rem 1.6rem; border-top: 1px solid rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.78); }
.legacy-title-block::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 3rem; background: rgba(255,255,255,.78); }
.legacy-title-block h1 { margin: 0 0 .35rem; color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.45rem); font-weight: 650; letter-spacing: .28em; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,16,28,.28); }
.legacy-logo-space { width: 100%; height: clamp(190px, 25vh, 255px); }
.legacy-division-nav { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 3rem auto 0; border: 1px solid rgba(255,255,255,.88); border-radius: .25rem; background: rgba(0,39,59,.18); backdrop-filter: blur(6px); text-align: left; }
.legacy-division-nav a { position: relative; display: grid; align-content: center; min-height: 84px; padding: 1rem 3.2rem 1rem 1.4rem; color: #fff; transition: background .22s ease; }
.legacy-division-nav a + a { border-left: 1px solid rgba(255,255,255,.88); }
.legacy-division-nav a:hover { background: rgba(255,255,255,.14); }
.legacy-division-nav strong { font-size: clamp(.78rem, 1.25vw, .98rem); line-height: 1.25; letter-spacing: .12em; text-transform: uppercase; }
.legacy-nav-kicker { margin-bottom: .25rem; color: rgba(255,255,255,.62); font-size: .61rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.legacy-division-nav a > :last-child { position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.25rem; transition: transform .2s; }
.legacy-division-nav a:hover > :last-child { transform: translate(5px,-50%); }
.legacy-tagline { max-width: 600px; margin: 1.35rem auto 0; color: rgba(255,255,255,.77); font-size: .86rem; letter-spacing: .05em; }
.legacy-portal .scroll-cue { margin-top: 1.2rem; }
.js .legacy-portal::before { animation: legacy-background-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
.js .legacy-portal::after { animation: legacy-darkness-out 2.5s ease-in-out .75s both; }
.js .legacy-emblem { animation: legacy-element-in .45s ease .55s both; }
.js .legacy-title-block { animation: legacy-frame-in .75s ease .9s both; }
.js .legacy-division-nav { animation: legacy-element-in .5s ease 1.65s both; }
.js .legacy-tagline { animation: legacy-element-in .45s ease 2s both; }
.js .legacy-portal .scroll-cue { animation: legacy-element-in .45s ease 2.2s both; }
@keyframes legacy-background-in { from { transform: scale(1.125); filter: blur(2px); } to { transform: scale(1); filter: none; } }
@keyframes legacy-darkness-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes legacy-element-in { from { opacity: 0; transform: translateY(10px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes legacy-frame-in { from { opacity: 0; clip-path: inset(0 48%); } to { opacity: 1; clip-path: inset(0); } }
.gateway-hero { position: relative; min-height: 100svh; overflow: hidden; background: #03111b; color: #fff; }
.gateway-panels { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.gateway-panels::after { content: ""; position: absolute; z-index: 4; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent 4%,rgba(255,255,255,.4) 25%,rgba(255,255,255,.4) 76%,transparent 96%); transform-origin: center; pointer-events: none; }
.gateway-panel { position: relative; overflow: hidden; color: #fff; }
.gateway-image, .gateway-shade { position: absolute; inset: 0; }
.gateway-image { transform: scale(1.035); transition: transform 1.1s cubic-bezier(.2,.75,.2,1), filter .6s ease; }
.gateway-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .65s ease; }
.gateway-tech .gateway-slide { object-position: 63% center; }
.gateway-supply .gateway-slide { object-position: 58% center; }
.gateway-slide.is-active { opacity: 1; }
.gateway-carousel-controls { position: absolute; z-index: 6; top: 1.5rem; display: flex; align-items: center; gap: .45rem; padding: .45rem .65rem; border-radius: 999px; }
.gateway-tech-controls { right: calc(50% + 1.25rem); }
.gateway-supply-controls { left: calc(50% + 1.25rem); }
.gateway-carousel-controls button { width: .55rem; height: .55rem; padding: 0; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: width .2s, border-radius .2s, background .2s; }
.gateway-carousel-controls button.is-active { width: 1.35rem; border-radius: 999px; background: #fff; }
.gateway-carousel-controls button:hover { background: #fff; }
.gateway-carousel-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gateway-shade { background: linear-gradient(180deg,rgba(1,14,23,.36),rgba(1,16,27,.45) 45%,rgba(1,15,25,.94)); transition: background .4s ease; }
.gateway-tech .gateway-shade { background-color: rgba(0,64,96,.27); }
.gateway-supply .gateway-shade { background-color: rgba(67,37,13,.25); }
.gateway-panel:hover .gateway-image { transform: scale(1.085); filter: saturate(1.08) brightness(1.04); }
.gateway-panel:hover .gateway-shade { background-color: transparent; }
.gateway-division { position: absolute; z-index: 5; left: clamp(1.5rem,5vw,6rem); right: clamp(1.5rem,5vw,6rem); bottom: clamp(5rem,9vh,7rem); display: grid; grid-template-columns: 1fr auto; align-items: end; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.48); }
.gateway-supply .gateway-division { left: clamp(2.5rem,7vw,8rem); }
.gateway-division small { grid-column: 1 / -1; margin-bottom: .65rem; color: rgba(255,255,255,.62); font-size: .67rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.gateway-division strong { font-size: clamp(1.35rem,2.5vw,2.45rem); line-height: 1.04; letter-spacing: -.02em; text-transform: uppercase; }
.gateway-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 1.25rem; transition: transform .25s, background .25s, color .25s; }
.gateway-panel:hover .gateway-arrow { transform: translate(4px,-4px); background: #fff; color: var(--navy); }
.gateway-summary { grid-column: 1 / -1; max-width: 390px; margin-top: .9rem; color: rgba(255,255,255,.66); font-size: .82rem; }
.gateway-center { position: absolute; z-index: 7; left: 50%; top: 46%; width: min(calc(100% - 2rem),560px); padding: 1.7rem clamp(1rem,3vw,2.2rem) 1.9rem; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.24); border-radius: 1.25rem; background: rgba(2,20,31,.68); box-shadow: 0 28px 80px rgba(0,0,0,.3); backdrop-filter: blur(16px); text-align: center; pointer-events: none; }
.gateway-logo-wrap { width: 150px; height: 92px; margin: -4.4rem auto 1.1rem; overflow: hidden; border: 7px solid rgba(255,255,255,.92); border-radius: 1rem; background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.25); }
.gateway-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.gateway-kicker { margin-bottom: .75rem; color: var(--blue-light); font-size: .69rem; font-weight: 850; letter-spacing: .22em; text-transform: uppercase; }
.gateway-center h1 { margin-bottom: .8rem; font-size: clamp(2.3rem,4.5vw,4.2rem); line-height: .98; letter-spacing: -.045em; }
.gateway-center h1 span { color: #bfe9f7; }
.gateway-center > p:last-child { max-width: 420px; margin: 0 auto; color: rgba(255,255,255,.7); font-size: .9rem; }
.gateway-scroll { position: absolute; z-index: 8; left: 50%; bottom: 1.4rem; display: flex; flex-direction: column; align-items: center; gap: .25rem; transform: translateX(-50%); color: rgba(255,255,255,.62); font-size: .62rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.js .gateway-tech { animation: gateway-left-in .85s cubic-bezier(.2,.75,.2,1) both; }
.js .gateway-supply { animation: gateway-right-in .85s cubic-bezier(.2,.75,.2,1) both; }
.js .gateway-panels::after { animation: gateway-line-in .65s ease .45s both; }
.js .gateway-center { animation: gateway-center-in .65s cubic-bezier(.2,.8,.2,1) .38s both; }
.js .gateway-division { animation: gateway-copy-in .55s ease .75s both; }
.js .gateway-scroll { animation: gateway-copy-in .5s ease 1.05s both; }
@keyframes gateway-left-in { from { opacity: 0; transform: translateX(-3%); } to { opacity: 1; transform: none; } }
@keyframes gateway-right-in { from { opacity: 0; transform: translateX(3%); } to { opacity: 1; transform: none; } }
@keyframes gateway-line-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes gateway-center-in { from { opacity: 0; transform: translate(-50%,calc(-50% + 18px)) scale(.97); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes gateway-copy-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.intro-statement { padding-left: 1.5rem; border-left: 3px solid var(--blue); }
.intro-statement p { margin: 0; font-size: clamp(1.35rem, 3vw, 2.25rem); line-height: 1.3; letter-spacing: -.03em; font-weight: 650; }
.pill-list { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.pill { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .82rem; font-weight: 700; background: #fff; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
.division-card { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius); color: #fff; box-shadow: var(--shadow); background-size: cover; background-position: center; }
.division-card.tech { background-image: url('../images/hero-tecnologia.jpg'); }
.division-card.supply { background-image: url('../images/hero-abastecimiento.jpg'); }
.division-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,17,28,.08) 25%, rgba(3,17,28,.95) 100%); }
.division-card-content { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 2.5rem); }
.division-card .tag { display: inline-flex; padding: .35rem .65rem; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.division-card h3 { font-size: clamp(1.65rem, 3vw, 2.5rem); max-width: 22rem; margin-bottom: .8rem; }
.division-card p { color: rgba(255,255,255,.72); max-width: 30rem; }
.process-grid, .service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.process-card, .service-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.process-card .step { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 1.7rem; border-radius: 50%; background: #e6f3f8; color: var(--blue); font-weight: 850; }
.process-card h3, .service-card h3 { margin-bottom: .6rem; font-size: 1.08rem; letter-spacing: -.01em; }
.process-card p, .service-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.service-card { min-height: 230px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--blue-light); box-shadow: 0 18px 40px rgba(6,24,39,.08); }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.35rem; border-radius: .85rem; background: #e7f4fa; color: var(--blue); font-weight: 900; }
.service-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.supply-theme .service-icon { background: #fff0df; color: var(--amber); }
.brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1rem; align-items: stretch; }
.brand-card { min-height: 118px; display: grid; place-items: center; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.brand-card:hover { transform: translateY(-4px); border-color: #b8cbd4; box-shadow: 0 14px 35px rgba(6,24,39,.08); }
.brand-card img { width: 100%; max-width: 145px; height: 58px; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .2s, opacity .2s; }
.brand-card:hover img { filter: none; opacity: 1; }
.brand-principles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.brand-principle { min-height: 170px; padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--line); background: #fff; }
.brand-principle strong { display: block; margin-bottom: .55rem; font-size: 1.05rem; }
.brand-principle p { margin: 0; color: var(--muted); font-size: .88rem; }
.projects-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fff; transition: transform .22s, box-shadow .22s; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(6,24,39,.1); }
.project-card img { width: 100%; aspect-ratio: 1 / .82; object-fit: cover; }
.project-card-content { padding: 1.25rem; }
.project-card small { display: block; margin-bottom: .4rem; color: var(--blue); font-size: .66rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.supply-theme .project-card small { color: var(--amber); }
.project-card h3 { margin-bottom: .5rem; font-size: 1.05rem; letter-spacing: -.01em; }
.project-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.project-visual { min-height: 190px; background-image: linear-gradient(rgba(13,13,13,.08),rgba(13,13,13,.22)),url('../images/hero-abastecimiento.jpg'); background-size: 210%; }
.project-visual.v1 { background-position: 70% 50%; }
.project-visual.v2 { background-position: 100% 50%; }
.project-visual.v3 { background-position: 38% 50%; }
.project-visual.v4 { background-position: 55% 50%; }
.cta-band { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5rem); border-radius: var(--radius); background: var(--navy); color: #fff; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; right: -100px; top: -170px; border-radius: 50%; border: 80px solid rgba(101,200,232,.09); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 750px; margin-bottom: .8rem; }
.cta-band p { max-width: 630px; color: rgba(255,255,255,.7); }
.page-hero { min-height: 82svh; position: relative; display: flex; align-items: flex-end; padding: 10rem 0 6rem; color: #fff; background-size: cover; background-position: center; }
.page-hero.tech { background-image: linear-gradient(90deg, rgba(2,14,24,.96) 5%, rgba(5,31,49,.65) 58%, rgba(5,31,49,.2)), url('../images/hero-tecnologia.jpg'); }
.page-hero.supply { background-image: linear-gradient(90deg, rgba(10,11,12,.95) 5%, rgba(18,18,18,.63) 58%, rgba(18,18,18,.2)), url('../images/hero-abastecimiento.jpg'); }
.page-hero-content { max-width: 780px; }
.page-hero h1 { max-width: 760px; margin: 0 0 1rem; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.2rem; color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 700; }
.trust-row span::before { content: "✓"; color: var(--blue-light); margin-right: .45rem; }
.supply-theme .trust-row span::before { color: var(--amber-light); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.feature-panel { position: relative; min-height: 460px; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow); overflow: hidden; }
.feature-panel.tech { background-image: url('../images/hero-tecnologia.jpg'); background-position: 70% center; }
.feature-panel.supply { background-image: url('../images/hero-abastecimiento.jpg'); background-position: 70% center; }
.feature-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(3,17,28,.65)); }
.company-panel { min-height: 430px; display: grid; place-items: center; padding: clamp(2rem,5vw,4rem); border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0, #edf7fa 46%, #d7edf4 100%); box-shadow: var(--shadow); }
.company-panel img { width: min(100%, 520px); height: auto; mix-blend-mode: multiply; }
.check-list { display: grid; gap: .9rem; padding: 0; margin: 1.8rem 0 0; list-style: none; }
.check-list li { display: flex; gap: .8rem; color: var(--muted); }
.check-list li::before { content: "✓"; flex: 0 0 25px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #e7f4fa; color: var(--blue); font-weight: 900; }
.supply-theme .check-list li::before { color: var(--amber); background: #fff0df; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.contact-list { display: grid; gap: .65rem; margin-top: 2rem; }
.contact-item { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-item small { display: block; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-item a, .contact-item address { font-weight: 700; font-style: normal; }
.quote-form { padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.quote-form h3 { margin-bottom: .4rem; }
.quote-form > p { color: var(--muted); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .38rem; font-size: .78rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #ccd7dc; border-radius: .7rem; background: #fbfcfc; padding: .8rem .9rem; color: var(--ink); }
.field textarea { min-height: 125px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(8,119,173,.12); }
.form-note { margin: .75rem 0 0; color: var(--muted); font-size: .75rem; }
.site-footer { padding: 4rem 0 1.5rem; background: #04131f; color: rgba(255,255,255,.68); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 3rem; }
.footer-brand { color: #fff; font-size: 1.35rem; font-weight: 850; }
.footer-grid h3 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: .55rem; font-size: .88rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.11); font-size: .75rem; }
.whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: transparent url('../images/whatsapp-icon.png') center / contain no-repeat; color: #fff; filter: drop-shadow(0 10px 16px rgba(18,140,72,.32)); transition: transform .2s ease, filter .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); filter: drop-shadow(0 13px 20px rgba(18,140,72,.4)); }
.whatsapp-float svg { display: none; }
.content-hero { min-height: 470px; display: flex; align-items: flex-end; padding: 10rem 0 4.5rem; color: #fff; background: linear-gradient(115deg,rgba(2,15,25,.97),rgba(5,55,79,.78)),url('../images/hero-tecnologia.jpg') center / cover; }
.content-hero.supply-accent { background-image: linear-gradient(115deg,rgba(8,12,15,.96),rgba(97,53,19,.72)),url('../images/hero-abastecimiento.jpg'); }
.content-hero .container { max-width: var(--max); }
.content-hero h1 { max-width: 850px; margin-bottom: 1rem; font-size: clamp(2.5rem,5.8vw,5rem); }
.content-hero .lead { color: rgba(255,255,255,.76); }
.breadcrumb { margin-bottom: 1.2rem; color: rgba(255,255,255,.64); font-size: .78rem; font-weight: 700; }
.breadcrumb a:hover { color: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1.15rem; background: #fff; transition: transform .22s ease,box-shadow .22s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(6,24,39,.1); }
.blog-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .75rem; color: var(--blue); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.blog-card h2 { margin-bottom: .7rem; font-size: 1.35rem; }
.blog-card p { color: var(--muted); font-size: .9rem; }
.text-link { color: var(--blue); font-size: .84rem; font-weight: 800; }
.text-link:hover { text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: minmax(0,760px) minmax(230px,1fr); gap: clamp(2.5rem,7vw,6rem); align-items: start; }
.article-body { font-size: 1.02rem; }
.article-body h2 { margin: 2.7rem 0 1rem; font-size: clamp(1.65rem,3vw,2.35rem); }
.article-body h3 { margin: 2rem 0 .7rem; font-size: 1.25rem; }
.article-body p,.article-body li { color: #40515c; }
.article-body ul,.article-body ol { padding-left: 1.25rem; }
.article-body li + li { margin-top: .6rem; }
.article-note { margin: 2rem 0; padding: 1.4rem 1.5rem; border-left: 4px solid var(--blue); border-radius: 0 .8rem .8rem 0; background: #edf7fb; }
.article-note p { margin: 0; color: var(--ink); }
.article-aside { position: sticky; top: 105px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--cloud); }
.article-aside h2 { font-size: 1.1rem; }
.article-aside ul { display: grid; gap: .65rem; padding: 0; list-style: none; color: var(--muted); font-size: .86rem; }
.scope-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.scope-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.scope-card span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 1rem; border-radius: 50%; background: #e7f4fa; color: var(--blue); font-weight: 850; }
.scope-card h3 { margin-bottom: .55rem; font-size: 1.05rem; }
.scope-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; width: 100vw; min-height: calc(100vh - 76px); height: calc(100dvh - 76px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 3rem; overflow-y: auto; overscroll-behavior: contain; background: #fff; color: var(--navy); box-shadow: 0 18px 45px rgba(6,24,39,.14); transform: translateX(100%); transition: transform .25s ease; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links .button { margin-top: 1rem; }
  .nav-dropdown { border-bottom: 1px solid var(--line); }
  .nav-dropdown summary { padding: 1rem; color: var(--navy); opacity: 1; }
  .nav-dropdown-menu { position: static; width: auto; padding: 0 0 .6rem 1rem; border: 0; border-radius: 0; box-shadow: none; transform: none; }
  .nav-dropdown-menu a { padding: .7rem 1rem; border: 0; }
  .intro-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .process-grid, .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .brand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .brand-principles, .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-panel { min-height: 360px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 650px) {
  .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .brand small { display: none; }
  .brand-logo-nav { width: 96px; height: 48px; }
  .brand-division { display: none; }
  .portal-panels { grid-template-columns: 1fr; }
  .portal-panel.supply { display: none; }
  .portal-content { padding-top: 6.5rem; }
  .portal-logo { width: 200px; }
  .legacy-portal { min-height: 100svh; background-position: center; }
  .legacy-portal-content { padding-top: 6.8rem; }
  .legacy-emblem { width: 62px; height: 62px; margin-bottom: 2.7rem; }
  .legacy-emblem::after { height: 2.7rem; }
  .legacy-title-block { padding: 1.6rem .4rem 1.1rem; }
  .legacy-title-block h1 { font-size: 1.35rem; letter-spacing: .19em; }
  .legacy-logo-space { height: clamp(135px, 20vh, 180px); }
  .legacy-title-block::after { height: 2rem; }
  .legacy-division-nav { grid-template-columns: 1fr; margin-top: 2rem; }
  .legacy-division-nav a { min-height: 68px; padding: .75rem 3rem .75rem 1rem; }
  .legacy-division-nav a + a { border-left: 0; border-top: 1px solid rgba(255,255,255,.88); }
  .legacy-division-nav strong { font-size: .75rem; }
  .legacy-tagline { font-size: .76rem; }
  .gateway-hero { min-height: 900px; }
  .gateway-panels { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .gateway-panels::after { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; transform-origin: center; }
  .gateway-tech-controls { top: calc(50% - 3.8rem); right: 1rem; }
  .gateway-supply-controls { top: calc(50% + .8rem); left: auto; right: 1rem; }
  .gateway-center { top: 50%; width: min(calc(100% - 2rem),410px); padding: 1.25rem 1rem 1.4rem; }
  .gateway-logo-wrap { width: 118px; height: 73px; margin-top: -3.6rem; margin-bottom: .8rem; }
  .gateway-center h1 { font-size: 2.15rem; }
  .gateway-center > p:last-child { display: none; }
  .gateway-division { left: 1rem; right: 1rem; bottom: auto; top: 1.3rem; padding-top: .75rem; }
  .gateway-supply .gateway-division { left: 1rem; top: auto; bottom: 3.2rem; }
  .gateway-division strong { font-size: 1.05rem; }
  .gateway-summary { display: none; }
  .gateway-arrow { width: 39px; height: 39px; }
  .gateway-scroll { bottom: .75rem; }
  .division-choices, .cards, .process-grid, .service-grid, .brand-principles, .projects-grid, .form-grid, .footer-grid, .blog-grid, .scope-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand-card { min-height: 92px; }
  .division-choice { min-height: auto; padding: 1.25rem 3.5rem 1.25rem 1.25rem; }
  .division-choice + .division-choice { border-left: 0; border-top: 1px solid rgba(255,255,255,.3); }
  .division-card { min-height: 440px; }
  .page-hero { min-height: 88svh; padding-bottom: 4rem; background-position: 64% center; }
  .field.full { grid-column: auto; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .legacy-portal::before, .js .legacy-portal::after, .js .legacy-emblem, .js .legacy-title-block, .js .legacy-division-nav, .js .legacy-tagline, .js .legacy-portal .scroll-cue { animation: none; opacity: 1; transform: none; filter: none; clip-path: none; }
  .js .gateway-tech, .js .gateway-supply, .js .gateway-center, .js .gateway-division, .js .gateway-scroll, .js .gateway-panels::after { animation: none; opacity: 1; }
  .gateway-image { transform: none !important; }
}
