/* Tipografías locales: sin dependencias de Google Fonts. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   1. Variables globales y tipografía base
   ========================================================= */
:root {
  --ink: #10243b;
  --muted: #607389;
  --line: #dce5ef;
  --blue: #087fc6;
  --navy: #071b36;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid #0ba5ef;
  outline-offset: 5px;
}

::selection {
  background: #7bd4ff;
  color: #061b35;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
}

/* =========================================================
   2. Accesibilidad, encabezado y navegación
   ========================================================= */
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  padding: 15px;
  background: #fff;
}

.skip:focus {
  top: 10px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 6%;
  background: #fff;
  box-shadow: 0 3px 20px #001b3510;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.original-brand {
  font: 700 22px Manrope, Arial, sans-serif;
  letter-spacing: -.7px;
}

nav {
  display: flex;
  align-items: center;
  gap: 33px;
  font-size: 13px;
  font-weight: 500;
}

nav > a:hover {
  color: var(--blue);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px 18px;
  border-radius: 5px;
  background: #087bc0;
  color: #fff;
}

nav > .nav-cta:hover {
  background: #055e95;
  color: #fff;
}

/* =========================================================
   3. Hero: fondo, capas visuales y mensaje principal
   ========================================================= */
.eyebrow {
  margin: 0 0 28px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 1.8px;
}

.hero {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  background: #061a32;
  color: #fff;
}

.hero-media,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #02132bf5, #031831a6 47%, #010f251a), linear-gradient(0deg, #061a32, transparent 28%);
  content: '';
}

.hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .7;
}

.hero-grid {
  pointer-events: none;
  background-image: linear-gradient(#74caff09 1px, transparent 1px), linear-gradient(90deg, #74caff09 1px, transparent 1px);
  background-size: 85px 85px;
  mask-image: linear-gradient(90deg, transparent 40%, #000);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  padding: 75px 6% 115px;
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b9dcf9;
  letter-spacing: 2px;
}

.live-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #32c1ff;
  box-shadow: 0 0 0 6px #27bbff20;
}

h1 {
  margin-bottom: 27px;
  font-size: clamp(64px, 6.4vw, 94px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -4px;
}

h1 > span {
  color: #39bcff;
}

.hero-description {
  margin-bottom: 14px;
  font-size: 21px;
  line-height: 1.4;
}

.hero-detail {
  margin-bottom: 30px;
  color: #c5d6e9;
  font-size: 14px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Botones y enlaces de acción del hero. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 23px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 24px #006cbd20;
}

.button:hover {
  background: #05679f;
}

.hero-secondary {
  padding: 15px 0;
  color: #d0e4f6;
  font-size: 12px;
}

.hero-secondary span {
  margin-left: 15px;
}

.hero-secondary:hover {
  color: #fff;
}

.hero-bottom {
  position: absolute;
  right: 6%;
  bottom: 28px;
  left: 6%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b9d1e7;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 8px;
  letter-spacing: 1.7px;
}

.scroll-cue span {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid #87b0d550;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
}

.hero-side {
  position: absolute;
  top: 50%;
  right: 25px;
  color: #c1dcf3;
  font: 9px monospace;
  letter-spacing: 3px;
  writing-mode: vertical-rl;
}

/* =========================================================
   4. Franja de presencia geográfica
   ========================================================= */
.presence {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 6%;
  background: #f0f6fc;
  color: #345c82;
}

.presence .eyebrow {
  margin: 0;
  color: #6684a2;
  font-size: 9px;
}

.presence > span:not(.eyebrow) {
  font: 500 19px Manrope, Arial, sans-serif;
}

.presence i {
  margin-left: 24px;
  color: #0f8fd5;
  font-style: normal;
}

/* =========================================================
   5. Estructura general y tarjetas de soluciones
   ========================================================= */
.section {
  padding: 85px 6%;
  scroll-margin-top: 15px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2.05fr;
  margin-bottom: 45px;
}

.section-heading > .eyebrow {
  padding-top: 10px;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -2px;
}

.muted {
  color: #168cca;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.solution {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid #e1eaf4;
  border-radius: 10px;
  background: #f7faff;
}

.solution:hover {
  border-color: #9ed5f5;
  box-shadow: 0 18px 38px #18365412;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 35px;
}

.card-top svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #0f8cd1;
  stroke-width: 1.3;
}

.solution h3 {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.8px;
}

.solution p {
  flex: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid #dde7f2;
  color: #087ac0;
  font-size: 8px;
  letter-spacing: 1.2px;
}

.card-footer > span {
  font-size: 23px;
}

/* =========================================================
   6. Perfil de la empresa y estadísticas
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 9%;
  background: radial-gradient(ellipse at 85% 20%, #103e67, #061b35 70%);
  color: #fff;
}

.about .eyebrow {
  color: #38bdff;
}

.about h2 {
  font-size: 42px;
  line-height: 1.2;
}

.about h2 .accent {
  color: #48bdff;
}

.about-story > p:not(.eyebrow) {
  max-width: 460px;
  color: #adc4df;
  font-size: 19px;
  line-height: 1.65;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
}

.stats > article {
  padding: 26px 20px;
  border-bottom: 1px solid #29425f;
}

.stats > article:nth-child(2n) {
  border-left: 1px solid #29425f;
}

.stats strong {
  font: 400 70px Manrope, Arial, sans-serif;
  letter-spacing: -4px;
}

.stats strong > span {
  color: #38bdff;
  font-size: 35px;
  vertical-align: top;
}

.stats h3 {
  margin: 0;
  color: #e5f2ff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.stats p {
  margin: 7px 0 0;
  color: #adc4df;
  font-size: 12px;
  line-height: 1.65;
}

/* =========================================================
   7. Alianzas y acreditaciones
   ========================================================= */
.alliances {
  background: #f2f7fc;
}

.alliances-heading {
  display: grid;
  grid-template-columns: 1fr 2.05fr;
  margin-bottom: 42px;
}

.alliances-heading > .eyebrow {
  padding-top: 10px;
  color: #168cca;
}

.alliances-heading h2 {
  margin-bottom: 14px;
}

.alliances-heading p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.partner-card,
.partner-banner {
  border: 1px solid #dce6f0;
  border-radius: 10px;
  background: #fff;
}

.partner-card {
  display: flex;
  min-height: 250px;
  padding: 18px;
  flex-direction: column;
}

.partner-logo {
  display: grid;
  min-height: 140px;
  margin-bottom: 18px;
  place-items: center;
}

.partner-logo img {
  display: block;
  width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.partner-card h3,
.partner-banner p {
  margin: 0;
  color: var(--ink);
  font: 600 15px Manrope, Arial, sans-serif;
}

.partner-card p {
  margin: 5px 0 0;
  color: #5d7892;
  font-size: 13px;
}

.partner-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.partner-banner {
  padding: 16px;
}

.partner-banner img {
  display: block;
  width: 100%;
  height: 142px;
  object-fit: contain;
}

.partner-banner p {
  padding-top: 10px;
  border-top: 1px solid #e4ebf2;
}

/* =========================================================
   8. Experiencia: propuesta de valor y principios
   ========================================================= */

/* La escena visual y los principios se animan en animations.css. */
.approach {
  background: #f2f7fc;
}

.approach-content {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: start;
  gap: 9%;
}

.approach h2 {
  font-size: 39px;
}

.approach .accent {
  color: var(--blue);
}

.principles > div {
  display: grid;
  min-height: 270px;
  padding: 55px 0;
  align-content: center;
  border-bottom: 1px solid var(--line);
}

.principles > div:first-child {
  padding-top: 55px;
}

.principles h3 {
  margin-bottom: 8px;
  color: #12578b;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -1.3px;
}

.principles p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* =========================================================
   9. Contacto y pie de página
   ========================================================= */
.project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(120deg, #066eb5, #063663);
  color: #fff;
}

.project h2 {
  font-size: clamp(38px, 4.2vw, 62px);
  letter-spacing: -2px;
}

.project p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
}

.button-dark {
  margin-top: 13px;
  background: #fff;
  color: #075888;
}

.button-dark:hover {
  background: #e1f1ff;
}

.project-arrow {
  width: 180px;
  height: 180px;
  margin-right: 3%;
  color: #79cfff;
  font: 180px/1 Arial, sans-serif;
  stroke-width: 1.4;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin-top: 24px;
  font-size: 12px;
}

.contact-details a {
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-details a:hover {
  color: #bce4ff;
}

footer {
  padding: 45px 6% 20px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 40px;
}

.footer-top > p {
  margin: 0;
  color: #527397;
  font: 500 14px Manrope, Arial, sans-serif;
}

.footer-top > a:last-child {
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .5px;
}

/* =========================================================
   10. Ilustración base de infraestructura
   ========================================================= */
.approach-visual {
  position: sticky;
  top: 125px;
  align-self: start;
}

.infrastructure-art {
  position: relative;
  max-width: 480px;
  height: 300px;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(ellipse at 65% 40%, #124d76, #071b36 75%);
}

.infrastructure-art::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#61c6ff10 1px, transparent 1px), linear-gradient(90deg, #61c6ff10 1px, transparent 1px);
  background-size: 34px 34px;
  content: '';
}

.rack {
  position: absolute;
  width: 136px;
  padding: 14px;
  border: 1px solid #64c9ff5c;
  border-radius: 12px;
  background: linear-gradient(130deg, #174566, #081c34);
  box-shadow: 12px 18px 24px #0003;
  transform: skewY(-7deg);
}

.rack-back {
  top: 35px;
  left: 24%;
  opacity: .55;
  transform: scale(.86) skewY(-7deg);
}

.rack-front {
  top: 63px;
  left: 48%;
}

.rack-side {
  display: none;
}

.rack i {
  position: relative;
  display: block;
  height: 31px;
  margin: 7px 0;
  border: 1px solid #5588a961;
  border-radius: 4px;
  background: linear-gradient(90deg, #153956, #0b253e);
}

.rack i::before {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #60dbff;
  box-shadow: 0 0 9px #4bc6ff;
  content: '';
}

.rack i::after {
  position: absolute;
  top: 10px;
  right: 8px;
  width: 40px;
  height: 8px;
  background: repeating-linear-gradient(90deg, #5292b570 0 2px, transparent 2px 5px);
  content: '';
}

.art-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  color: #91b6cf;
  font: 8px monospace;
  letter-spacing: 1.5px;
}

.arrow-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.15em;
}

.approach-stage {
  width: 100%;
}
