/*
 * Homepage hero (public M01) and trajectory (public M02), U6. Elementor owns every word, image
 * and video; this file is presentation only. Measurements follow the official components: the
 * hero is a fixed 734px stage whose percentages and vh values resolve against that stage, and
 * the trajectory a 626px band. Phones (up to 480px) show the official 320px mobile layout scaled
 * to the screen width, so its pixel values are written as px x 100vw / 320.
 *
 * States, set on <html> by inc/hero.php and assets/hero.js:
 *   (none)                 editor preview or no JavaScript: intro splash, then the panel below it
 *   .eiatec-hero-live      the panel lies over the intro; the intro shows its final (flown) state
 *   .eiatec-hero-pending   live and waiting: intro splash shown, panel hidden
 *   .eiatec-hero-animated  the visitor started it: the title flies into the panel
 *   .eiatec-hero-top       the header is transparent over the hero (page scrolled 20px or less)
 */

.home {
  --eiatec-hero-height: 734px;
  --eiatec-hero-dark: #013036;
  --eiatec-hero-teal: #2c6957;
  --eiatec-hero-green: #62b455;
  --eiatec-hero-blue: #1b81c3;
  --eiatec-hero-yellow: #eaad26;
  --eiatec-hero-ease: cubic-bezier(.25, 1, .5, 1);
  /* The official glass panel: inside a wrapper padded by the 8%-of-width top bar plus 1.5% of the
     stage on top and clamp(6px, 1.2vw, 14px) elsewhere, it is 92% of the space left, centred. */
  --eiatec-hero-pad-top: calc(clamp(48px, 8vw, 66px) + clamp(8px, calc(var(--eiatec-hero-height) * .015), 14px));
  --eiatec-hero-pad: clamp(6px, 1.2vw, 14px);
  --eiatec-hero-room: calc(var(--eiatec-hero-height) - var(--eiatec-hero-pad-top) - var(--eiatec-hero-pad));
  --eiatec-hero-panel-height: calc(var(--eiatec-hero-room) * .92);
  --eiatec-hero-panel-top: calc(var(--eiatec-hero-pad-top) + (var(--eiatec-hero-room) - var(--eiatec-hero-panel-height)) / 2);
  --eiatec-hero-gap: 31px;
  --eiatec-traj-after: 52px;
}

/* ── Header over the hero (public .top-nav and .top-nav.scrolled) ── */
.home .eiatec-header {
  background: rgba(1, 30, 36, .92);
  border-bottom-color: rgba(98, 180, 85, .4);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, .5);
}
.eiatec-hero-live.eiatec-hero-top .eiatec-header {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, .07);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.home .eiatec-header .site-brand { opacity: .9; transform: none; pointer-events: auto; }
.home .eiatec-header .site-brand:hover,
.home .eiatec-header .site-brand:focus-visible { opacity: 1; }

/* Positions are counted among the widgets themselves (`:nth-child(n of .class)`): in Elementor's
   editor every container starts with its own overlay and shape elements. */

/* ── Intro stage ── */
.elementor .eiatec-intro {
  position: relative;
  display: block;
  height: var(--eiatec-hero-height);
  min-height: 0;
  margin: calc(-1 * var(--eiatec-header-height, 57px)) 0 0;
  padding: 0;
  overflow: hidden;
  background: var(--eiatec-hero-dark);
  color: #fff;
  text-align: center;
}
.eiatec-hero-pending .elementor .eiatec-intro { cursor: pointer; user-select: none; -webkit-user-select: none; }

.eiatec-hero-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.eiatec-hero-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: .55;
  animation: eiatec-hero-orb 20s ease-in-out infinite alternate;
}
.eiatec-hero-aurora span:nth-child(1) { top: -20%; left: -10%; width: 60%; height: 60%; background: var(--eiatec-hero-teal); }
.eiatec-hero-aurora span:nth-child(2) { right: -10%; bottom: -10%; width: 50%; height: 50%; background: var(--eiatec-hero-blue); animation-delay: -5s; }
.eiatec-hero-aurora span:nth-child(3) { top: 30%; left: 30%; width: 40%; height: 40%; background: var(--eiatec-hero-green); opacity: .35; animation-delay: -10s; }
@keyframes eiatec-hero-orb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 10%) scale(1.1); }
  100% { transform: translate(-5%, -10%) scale(.9); }
}
/* The official stage fades to black over its last 70px, over the panel too. */
.eiatec-hero-fade {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 70px;
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}

.elementor .eiatec-intro > .eiatec-intro-logo,
.elementor .eiatec-intro > .eiatec-intro-heading,
.elementor .eiatec-intro > .eiatec-start {
  position: absolute;
  left: 50%;
  z-index: 100;
  margin: 0;
  transition: all .7s var(--eiatec-hero-ease);
}
.elementor .eiatec-intro > .eiatec-intro-logo {
  top: 24%;
  width: clamp(140px, 16vw, 280px);
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.eiatec-intro .eiatec-intro-logo img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.elementor .eiatec-intro > .eiatec-intro-heading {
  top: 58%;
  width: 88%;
  max-width: 620px;
  padding: 0 16px;
  transform: translate(-50%, -50%) scale(1.7);
  pointer-events: none;
}
.eiatec-intro .eiatec-intro-heading .elementor-heading-title {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: normal;
  text-align: center;
}
.eiatec-intro .eiatec-intro-heading .elementor-heading-title span,
.eiatec-lead > .elementor-widget-heading .elementor-heading-title span { color: var(--eiatec-hero-green); }
.elementor .eiatec-intro > .eiatec-start {
  top: auto;
  bottom: clamp(56px, calc(var(--eiatec-hero-height) * .1), 90px);
  width: auto;
  transform: translateX(-50%);
  animation: eiatec-hero-hint 2s ease-in-out infinite;
}
.eiatec-intro .eiatec-start .elementor-button {
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.eiatec-intro .eiatec-start .elementor-button:hover { color: rgba(255, 255, 255, .85); }
.eiatec-intro .eiatec-start .elementor-button:focus-visible { outline: 2px solid var(--eiatec-hero-green); outline-offset: 3px; color: #fff; }
@keyframes eiatec-hero-hint { 0%, 100% { opacity: .4; } 50% { opacity: .8; } }

/* Live and started (or opened on the panel): the logo rises away, the title has flown into the
   panel's title and the hint is gone. Hidden after the flight, so they leave the reading order. */
.eiatec-hero-live .elementor .eiatec-intro > .eiatec-intro-logo { opacity: 0; transform: translate(-50%, -140px) scale(.65); visibility: hidden; transition: all .7s var(--eiatec-hero-ease), visibility 0s .7s; }
.eiatec-hero-live .elementor .eiatec-intro > .eiatec-intro-heading {
  top: var(--eiatec-hero-target-y, 50%);
  left: var(--eiatec-hero-target-x, 50%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  visibility: hidden;
  transition: all .7s var(--eiatec-hero-ease), visibility 0s .7s;
}
.eiatec-hero-live .elementor .eiatec-intro > .eiatec-start { opacity: 0; visibility: hidden; animation: none; transition: none; }
.eiatec-hero-pending .elementor .eiatec-intro > .eiatec-intro-logo { opacity: 1; transform: translate(-50%, -50%); visibility: visible; transition: none; }
.eiatec-hero-pending .elementor .eiatec-intro > .eiatec-intro-heading { top: 58%; left: 50%; opacity: 1; transform: translate(-50%, -50%) scale(1.7); visibility: visible; transition: none; }
.eiatec-hero-pending .elementor .eiatec-intro > .eiatec-start { opacity: 1; visibility: visible; animation: eiatec-hero-hint 2s ease-in-out infinite; }

/* ── Glass panel: the lead section, two equal columns (visual, then its own widgets) ── */
.elementor .eiatec-lead {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  flex-flow: column wrap;
  align-content: flex-start;
  justify-content: center;
  gap: 0;
  width: calc(100% - 2 * var(--eiatec-hero-pad));
  max-width: 1280px;
  height: var(--eiatec-hero-panel-height);
  min-height: 0;
  margin: var(--eiatec-hero-gap) auto;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, rgba(2, 60, 68, .52), rgba(1, 30, 36, .82));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(98, 180, 85, .38);
  border-top-color: rgba(255, 255, 255, .22);
  border-left-color: rgba(255, 255, 255, .14);
  border-radius: clamp(18px, 2.5vw, 30px) clamp(60px, 9vw, 130px) clamp(18px, 2.5vw, 30px) clamp(60px, 9vw, 130px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, .6), inset 0 0 18px rgba(98, 180, 85, .04);
}
.eiatec-hero-live .elementor .eiatec-intro + .eiatec-lead {
  margin: calc(-1 * var(--eiatec-hero-height) + var(--eiatec-hero-panel-top)) auto
          calc(var(--eiatec-hero-height) - var(--eiatec-hero-panel-top) - var(--eiatec-hero-panel-height) + var(--eiatec-hero-gap));
  transition: opacity .5s ease .22s, transform .7s var(--eiatec-hero-ease), visibility 0s;
}
.eiatec-hero-pending .elementor .eiatec-intro + .eiatec-lead {
  opacity: 0;
  transform: translateY(56px) scale(.94);
  visibility: hidden;
  pointer-events: none;
  transition: none;
}
.eiatec-hero-pending .elementor .eiatec-intro + .eiatec-lead.eiatec-hero-measuring,
.eiatec-hero-live .elementor .eiatec-lead.eiatec-hero-measuring { transform: none; transition: none; }
.elementor .eiatec-lead:focus { outline: none; }

.elementor .eiatec-lead.e-con > .elementor-element { box-sizing: border-box; width: 50%; max-width: 50%; margin: 0; padding-inline: clamp(18px, 4vw, 56px); text-align: center; }
.elementor .eiatec-lead.e-con > .eiatec-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, calc(var(--eiatec-hero-height) * .018), 20px);
  height: 100%;
  padding: clamp(14px, 2.5vw, 38px);
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, .06);
}
.eiatec-lead > .elementor-widget-heading .elementor-heading-title {
  margin: 0 0 clamp(10px, calc(var(--eiatec-hero-height) * .018), 18px);
  color: #fff;
  font-size: clamp(20px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: normal;
  text-align: center;
}
/* The official yellow divider under the panel title. */
.eiatec-lead > .elementor-widget-heading::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 auto clamp(14px, calc(var(--eiatec-hero-height) * .022), 22px);
  border-radius: 2px;
  background: var(--eiatec-hero-yellow);
}
.eiatec-lead > .elementor-widget-text-editor { color: rgba(255, 255, 255, .88); font-size: clamp(12px, 1.5vw, 16px); line-height: 1.65; }
.eiatec-lead > .elementor-widget-text-editor p { margin: 0; }
.elementor .eiatec-lead.e-con > .elementor-widget-button { margin-top: clamp(10px, calc(var(--eiatec-hero-height) * .018), 18px); }
.eiatec-lead > .elementor-widget-button .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(9px, calc(var(--eiatec-hero-height) * .016), 14px) clamp(18px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-family: inherit;
  font-size: clamp(10px, 1.4vw, 13px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all .3s;
}
.eiatec-lead > .elementor-widget-button .elementor-button:hover,
.eiatec-lead > .elementor-widget-button .elementor-button:focus-visible {
  border-color: var(--eiatec-hero-green);
  background: rgba(255, 255, 255, .18);
  color: var(--eiatec-hero-green);
  transform: scale(1.05);
}
.eiatec-lead > .elementor-widget-button .elementor-button:focus-visible { outline: 2px solid var(--eiatec-hero-green); outline-offset: 3px; }

/* ── Reel ("Conoce EIATEC · Ver Reel") ── */
.elementor .eiatec-hero-visual > .eiatec-hero-reel {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 100%;
  max-width: clamp(200px, 36vw, 440px);
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background-color: #000;
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .5);
  transition: transform .3s, border-color .3s;
}
.eiatec-hero-reel.has-reel { cursor: pointer; }
.eiatec-hero-reel.has-reel:hover { transform: scale(1.02); border-color: var(--eiatec-hero-green); }
.eiatec-hero-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(1, 48, 54, .88) 0%, rgba(1, 48, 54, .18) 50%, transparent 100%);
  pointer-events: none;
}
.elementor .eiatec-hero-reel > .eiatec-hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; max-width: none; height: 100%; margin: 0; }
.eiatec-hero-video .elementor-wrapper,
.eiatec-hero-video .e-hosted-video { width: 100%; height: 100%; aspect-ratio: auto; }
.eiatec-hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.elementor .eiatec-hero-reel > .eiatec-hero-reel-title,
.elementor .eiatec-hero-reel > .eiatec-hero-reel-label {
  position: absolute;
  left: clamp(8px, 1.5vw, 16px);
  z-index: 2;
  width: auto;
  max-width: calc(100% - 90px);
  margin: 0;
  text-align: left;
  pointer-events: none;
}
.elementor .eiatec-hero-reel > .eiatec-hero-reel-label { bottom: clamp(8px, 1.5vw, 16px); }
.elementor .eiatec-hero-reel > .eiatec-hero-reel-title { bottom: calc(clamp(8px, 1.5vw, 16px) + 19.5px); }
.eiatec-hero-reel-title .elementor-heading-title { margin: 0; color: #fff; font-size: clamp(10px, 1.4vw, 14px); font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.eiatec-hero-reel-label .elementor-heading-title { margin: 0; color: var(--eiatec-hero-green); font-size: clamp(8px, 1vw, 10px); font-weight: 400; letter-spacing: 1px; line-height: 19.5px; text-transform: uppercase; }
.eiatec-hero-play {
  position: absolute;
  right: clamp(8px, 1.5vw, 16px);
  bottom: clamp(8px, 1.5vw, 16px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(32px, 4.5vw, 44px);
  height: clamp(32px, 4.5vw, 44px);
  padding: 0 0 0 3px;
  border: 0;
  border-radius: 50%;
  background: var(--eiatec-hero-green);
  box-shadow: 0 4px 14px rgba(98, 180, 85, .42);
  color: var(--eiatec-hero-dark);
  font: inherit;
  font-size: clamp(12px, 2vw, 16px);
  line-height: 1;
  cursor: pointer;
  animation: eiatec-hero-play 2s infinite;
}
.eiatec-hero-play.is-playing { padding-left: 0; }
.eiatec-hero-play:focus-visible,
.eiatec-hero-fullscreen:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@keyframes eiatec-hero-play {
  0% { box-shadow: 0 0 0 0 rgba(98, 180, 85, .7); }
  70% { box-shadow: 0 0 0 10px rgba(98, 180, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(98, 180, 85, 0); }
}
.eiatec-hero-fullscreen {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .48);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s;
}
.eiatec-hero-fullscreen svg { width: 12px; height: 12px; }
.eiatec-hero-reel:hover .eiatec-hero-fullscreen,
.eiatec-hero-fullscreen:focus-visible { opacity: .75; }
.eiatec-hero-reel:fullscreen { max-width: none; border: 0; border-radius: 0; }
.eiatec-hero-reel:fullscreen .eiatec-hero-video video { object-fit: contain; }

/* ── Three morphing photo blobs (blue, yellow and green border) ── */
.elementor .eiatec-hero-visual > .eiatec-hero-blobs {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 14px);
  width: 100%;
  min-height: 0;
  padding: 0;
}
.elementor .eiatec-hero-blobs > .eiatec-hero-blob { position: relative; flex: none; width: auto; max-width: none; margin: 0; transition: transform .3s; }
.eiatec-hero-blob:hover { transform: scale(1.07); }
.eiatec-hero-blob img,
.eiatec-hero-blob::after {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: eiatec-hero-morph 8s ease-in-out infinite alternate;
}
.eiatec-hero-blob img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .18);
  border-bottom: 3px solid var(--eiatec-hero-blue);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .36);
}
/* The inner shadow of the official blobs, which an <img> cannot paint over itself. */
.eiatec-hero-blob::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 16px rgba(0, 0, 0, .45); pointer-events: none; }
.elementor .eiatec-hero-blobs > .eiatec-hero-blob:nth-child(1 of .eiatec-hero-blob) { width: clamp(82px, 10vw, 160px); height: clamp(82px, 10vw, 160px); }
.elementor .eiatec-hero-blobs > .eiatec-hero-blob:nth-child(2 of .eiatec-hero-blob) { width: clamp(72px, 9vw, 148px); height: clamp(72px, 9vw, 148px); }
.elementor .eiatec-hero-blobs > .eiatec-hero-blob:nth-child(3 of .eiatec-hero-blob) { width: clamp(64px, 8vw, 130px); height: clamp(64px, 8vw, 130px); }
.eiatec-hero-blob:nth-child(2 of .eiatec-hero-blob) img { border-bottom-color: var(--eiatec-hero-yellow); }
.eiatec-hero-blob:nth-child(3 of .eiatec-hero-blob) img { border-bottom-color: var(--eiatec-hero-green); }
.eiatec-hero-blob:nth-child(2 of .eiatec-hero-blob) img,
.eiatec-hero-blob:nth-child(2 of .eiatec-hero-blob)::after { animation-duration: 9s; animation-delay: -3s; }
.eiatec-hero-blob:nth-child(3 of .eiatec-hero-blob) img,
.eiatec-hero-blob:nth-child(3 of .eiatec-hero-blob)::after { animation-duration: 7s; animation-delay: -5.5s; }
@keyframes eiatec-hero-morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  50% { border-radius: 60% 40% 30% 70% / 50% 60% 30% 60%; }
  100% { border-radius: 50% 50% 60% 40% / 60% 40% 50% 50%; }
}

/* ── Trajectory (public M02) ── */
.elementor .eiatec-trajectory {
  --eiatec-traj-height: 626px;
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* The official band shows a section 95% as high, its content centred in it; content taller
     than that starts at the top and is cut off at the band's bottom edge. */
  justify-content: safe center;
  gap: 0;
  height: var(--eiatec-traj-height);
  min-height: 0;
  padding: clamp(50px, calc(var(--eiatec-traj-height) * .08), 80px) 20px
           calc(clamp(50px, calc(var(--eiatec-traj-height) * .08), 80px) + var(--eiatec-traj-height) * .05);
  overflow: hidden;
  background: #020a0d;
  color: #fff;
  text-align: center;
}
.eiatec-trajectory::before,
.eiatec-trajectory::after { content: ""; position: absolute; left: 0; right: 0; z-index: 5; pointer-events: none; }
.eiatec-trajectory::before { top: 0; height: clamp(50px, calc(var(--eiatec-traj-height) * .08), 80px); background: linear-gradient(to bottom, #000, transparent); }
.eiatec-trajectory::after { bottom: 0; height: clamp(60px, calc(var(--eiatec-traj-height) * .1), 100px); background: linear-gradient(to top, #000, transparent); }
.eiatec-traj-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; filter: blur(60px); opacity: .85; pointer-events: none; }
.eiatec-traj-bg span { position: absolute; border-radius: 50%; opacity: .6; animation: eiatec-traj-morph 15s ease-in-out infinite alternate; }
.eiatec-traj-bg span:nth-child(1) { top: -10%; left: -10%; width: clamp(250px, 50vw, 600px); height: clamp(250px, 50vw, 600px); background: #0d3b45; }
.eiatec-traj-bg span:nth-child(2) { right: -5%; bottom: -10%; width: clamp(200px, 40vw, 500px); height: clamp(200px, 40vw, 500px); background: #2c6957; animation-delay: -5s; }
.eiatec-traj-bg span:nth-child(3) { top: 40%; left: 40%; width: clamp(150px, 30vw, 400px); height: clamp(150px, 30vw, 400px); background: rgba(98, 180, 85, .15); animation-delay: -10s; }
@keyframes eiatec-traj-morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: scale(1) translate(0, 0); }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: scale(1.1) translate(5vw, 5vh); }
}
.eiatec-traj-mountains { position: absolute; bottom: -5%; left: 0; z-index: 0; width: 100%; height: 40%; pointer-events: none; }
.eiatec-traj-mountain {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: linear-gradient(to top, rgba(13, 59, 69, .4), transparent);
  clip-path: polygon(0% 100%, 25% 40%, 50% 80%, 75% 25%, 100% 100%);
  transition: bottom 1.5s cubic-bezier(.165, .84, .44, 1);
}
.eiatec-traj-mountain + .eiatec-traj-mountain {
  background: linear-gradient(to top, rgba(2, 10, 13, .8), transparent);
  clip-path: polygon(10% 100%, 35% 55%, 60% 85%, 85% 45%, 110% 100%);
  transition-delay: .2s;
}

.elementor .eiatec-trajectory > .elementor-widget { position: relative; z-index: 10; width: 100%; max-width: 800px; margin: 0; padding: 0 10px; transition: all 1s ease; }
.elementor .eiatec-trajectory > .eiatec-trajectory-description { margin-bottom: clamp(30px, calc(var(--eiatec-traj-height) * .06), 60px); }
.eiatec-trajectory .eiatec-trajectory-title .elementor-heading-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0, 0, 0, .5);
}
.eiatec-trajectory .eiatec-trajectory-eyebrow .elementor-heading-title {
  margin: 0 0 clamp(15px, calc(var(--eiatec-traj-height) * .03), 25px);
  color: var(--eiatec-hero-green);
  font-size: clamp(.85rem, 1.6vw, 1.1rem);
  font-weight: 700;
  letter-spacing: clamp(3px, .8vw, 5px);
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.eiatec-trajectory .eiatec-trajectory-description p { margin: 0; color: #e2ede8; font-size: clamp(.9rem, 1.4vw, 1.1rem); font-weight: 400; line-height: 1.7; opacity: .9; }

.elementor .eiatec-trajectory > .eiatec-trajectory-metrics {
  position: relative;
  z-index: 10;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 4vw, 40px);
  width: 100%;
  max-width: 1000px;
  margin: 0;
  padding: 0;
  transition: all 1s ease .4s;
}
.elementor .eiatec-trajectory-metrics > .eiatec-trajectory-metric {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: clamp(110px, 20vw, 220px);
  height: clamp(110px, 20vw, 220px);
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .05);
  border-top-color: rgba(255, 255, 255, .15);
  border-left-color: rgba(255, 255, 255, .15);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4), inset 0 0 20px rgba(255, 255, 255, .02);
  animation: eiatec-traj-float 6s ease-in-out infinite;
  transition: transform .4s ease, border-color .4s ease;
}
.elementor .eiatec-trajectory-metrics > .eiatec-trajectory-metric:nth-child(2 of .eiatec-trajectory-metric) { animation-delay: -2s; }
.elementor .eiatec-trajectory-metrics > .eiatec-trajectory-metric:nth-child(3 of .eiatec-trajectory-metric) { animation-delay: -4s; }
.elementor .eiatec-trajectory-metrics > .eiatec-trajectory-metric:hover {
  border-top-color: rgba(98, 180, 85, .5);
  border-left-color: rgba(98, 180, 85, .5);
  transform: translateY(-10px) scale(1.05);
}
@keyframes eiatec-traj-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.eiatec-trajectory-metric .elementor-widget-heading { width: auto; margin: 0; }
.eiatec-trajectory-metric .elementor-widget-heading:nth-child(1 of .elementor-widget-heading) .elementor-heading-title {
  margin: 0;
  color: #e6d070;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: normal;
  text-shadow: 0 0 15px rgba(230, 208, 112, .2);
}
.eiatec-trajectory-metric .elementor-widget-heading:nth-last-child(1 of .elementor-widget-heading) .elementor-heading-title {
  margin: clamp(4px, calc(var(--eiatec-traj-height) * .01), 8px) 0 0;
  color: #fff;
  font-size: clamp(.7rem, 1vw, .85rem);
  font-weight: 600;
  letter-spacing: clamp(1px, .3vw, 2px);
  line-height: 1.2;
  text-transform: uppercase;
  opacity: .8;
}
.eiatec-trajectory .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Until the band scrolls into view (assets/hero.js; never without JavaScript or with reduced
   motion) the mountains wait below it and the copy and figures wait lower down, transparent. */
.eiatec-trajectory.eiatec-traj-ready:not(.is-visible) .eiatec-traj-mountain { bottom: -100%; }
.eiatec-trajectory.eiatec-traj-ready:not(.is-visible) > .elementor-widget { opacity: 0; transform: translateY(30px); }
.eiatec-trajectory.eiatec-traj-ready:not(.is-visible) > .eiatec-trajectory-metrics { opacity: 0; transform: translateY(40px); }

/* Elementor caps every widget in a container with `.elementor.elementor .e-con > .elementor-widget
   { max-width: 100% }`; these official limits need the same weight (this file loads later). */
.elementor.elementor .eiatec-intro > .eiatec-intro-heading { max-width: 620px; }
.elementor.elementor .eiatec-intro > .eiatec-intro-logo,
.elementor.elementor .eiatec-intro > .eiatec-start,
.elementor.elementor .eiatec-hero-reel > .eiatec-hero-video,
.elementor.elementor .eiatec-hero-blobs > .eiatec-hero-blob { max-width: none; }
.elementor.elementor .eiatec-hero-reel > .eiatec-hero-reel-title,
.elementor.elementor .eiatec-hero-reel > .eiatec-hero-reel-label { max-width: calc(100% - 90px); }
.elementor.elementor .eiatec-lead > .elementor-widget { max-width: 50%; }
.elementor.elementor .eiatec-trajectory > .elementor-widget { max-width: 800px; }
/* The official page is black between the 734px hero and the trajectory band (31px) and after
   the band (52px): margins (the gap is the panel's, as sibling margins collapse) painted black
   by shadows outside the band. */
.eiatec-hero-live .elementor .eiatec-lead + .eiatec-trajectory {
  margin-bottom: var(--eiatec-traj-after);
  box-shadow: 0 calc(-1 * var(--eiatec-hero-gap)) 0 #000, 0 var(--eiatec-traj-after) 0 #000;
}

/* Set by assets/hero.js while a section is off screen. */
.eiatec-asleep,
.eiatec-asleep * { animation-play-state: paused !important; }

/* ── Tablets and narrow windows (official 850 / 760 / 420px breakpoints) ── */
@media (max-width: 850px) {
  .elementor .eiatec-trajectory-metrics > .eiatec-trajectory-metric { animation: none; }
  .elementor .eiatec-trajectory-metrics > .eiatec-trajectory-metric:hover { transform: translateY(-5px) scale(1.03); }
  /* The official copy-to-figures space here: its 4% margin plus the section's 2% gap. */
  .elementor .eiatec-trajectory > .eiatec-trajectory-description {
    margin-bottom: calc(clamp(20px, calc(var(--eiatec-traj-height) * .04), 40px) + clamp(10px, calc(var(--eiatec-traj-height) * .02), 20px));
  }
}
@media (max-width: 760px) {
  .elementor .eiatec-lead {
    flex-flow: column nowrap;
    justify-content: flex-start;
    border-radius: 22px 54px 22px 54px;
  }
  .home { --eiatec-hero-panel-height: calc(var(--eiatec-hero-room) * .95); }
  .elementor .eiatec-lead.e-con > .elementor-element { width: 100%; max-width: 100%; padding-inline: clamp(16px, 4vw, 28px); }
  .elementor.elementor .eiatec-lead > .elementor-widget { max-width: 100%; }
  /* The official phone layout caps this column at 46% and cuts the reel off below its title
     bar; here it keeps the whole reel and its play button (deliberate deviation). */
  .elementor .eiatec-lead.e-con > .eiatec-hero-visual {
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 8px;
    height: auto;
    padding: clamp(12px, 3vw, 20px);
    border-right: 0;
  }
  .elementor .eiatec-lead.e-con > .eiatec-hero-visual + .elementor-element {
    padding-top: clamp(14px, 3vw, 22px);
    border-top: 1px solid rgba(255, 255, 255, .06);
  }
  .elementor .eiatec-hero-visual > .eiatec-hero-reel { max-width: clamp(200px, 72vw, 310px); }
  .elementor .eiatec-hero-visual > .eiatec-hero-blobs { gap: 8px; }
  .elementor .eiatec-hero-blobs > .eiatec-hero-blob:nth-child(1 of .eiatec-hero-blob) { width: 68px; height: 68px; }
  .elementor .eiatec-hero-blobs > .eiatec-hero-blob:nth-child(2 of .eiatec-hero-blob) { width: 62px; height: 62px; }
  .elementor .eiatec-hero-blobs > .eiatec-hero-blob:nth-child(3 of .eiatec-hero-blob) { width: 56px; height: 56px; }
  .eiatec-lead > .elementor-widget-heading .elementor-heading-title { font-size: clamp(18px, 5vw, 26px); }
  .eiatec-lead > .elementor-widget-text-editor { font-size: clamp(11px, 3vw, 14px); }
  .elementor .eiatec-intro > .eiatec-intro-logo { top: 14%; width: clamp(90px, 20vw, 130px); }
  .eiatec-intro .eiatec-intro-heading .elementor-heading-title { font-size: clamp(17px, 5vw, 24px); }
  .elementor .eiatec-intro > .eiatec-intro-heading { max-width: 90%; }
  .eiatec-hero-pending .elementor .eiatec-intro > .eiatec-intro-heading { top: 46%; transform: translate(-50%, -50%) scale(1.25); }
  .home { --eiatec-hero-gap: 0px; --eiatec-traj-after: 0px; }
}

/* ── Phones: the official 320px layout scaled to the screen (value px x 100vw / 320) ── */
@media (max-width: 480px) {
  .home {
    --eiatec-hero-height: 185.94vw;           /* 595px */
    --eiatec-hero-pad-top: 17.79vw;           /* 48px bar + 1.5% of 595px */
    --eiatec-hero-pad: 1.875vw;               /* 6px */
    --eiatec-hero-panel-height: calc(var(--eiatec-hero-room) * .96);
  }
  .elementor .eiatec-lead { border-radius: 5.625vw 11.25vw 5.625vw 11.25vw; }
  .elementor .eiatec-lead.e-con > .elementor-element { padding-inline: 5vw; }
  .elementor .eiatec-lead.e-con > .eiatec-hero-visual { gap: 2.5vw; padding: 3.75vw; }
  .elementor .eiatec-lead.e-con > .eiatec-hero-visual + .elementor-element { padding-top: 3.75vw; }
  .elementor .eiatec-lead > .elementor-element:nth-last-child(1 of .elementor-element) { padding-bottom: 5.625vw; }
  .elementor .eiatec-hero-visual > .eiatec-hero-reel { max-width: 80vw; border-radius: 4.375vw; }
  .elementor .eiatec-hero-visual > .eiatec-hero-blobs { gap: 2.5vw; }
  .elementor .eiatec-hero-blobs > .eiatec-hero-blob:nth-child(n of .eiatec-hero-blob) { width: 15vw; height: 15vw; }
  .eiatec-lead > .elementor-widget-heading .elementor-heading-title { margin-bottom: 3.75vw; font-size: 5.5vw; }
  .eiatec-lead > .elementor-widget-heading::after { width: 17.5vw; height: 1.25vw; margin-bottom: 5vw; }
  .eiatec-lead > .elementor-widget-text-editor { font-size: 3.4375vw; }
  .elementor .eiatec-lead.e-con > .elementor-widget-button { margin-top: 3.75vw; }
  .eiatec-lead > .elementor-widget-button .elementor-button { padding: 2.8125vw 6.25vw; font-size: 3.4375vw; }
  .eiatec-hero-reel-title .elementor-heading-title { font-size: 3.125vw; }
  .eiatec-hero-reel-label .elementor-heading-title { font-size: 2.5vw; line-height: 6.1vw; }
  .elementor .eiatec-hero-reel > .eiatec-hero-reel-label { bottom: 2.5vw; }
  .elementor .eiatec-hero-reel > .eiatec-hero-reel-title { bottom: 8.6vw; }
  .eiatec-hero-play { right: 2.5vw; bottom: 2.5vw; }
  .eiatec-hero-play { width: 10vw; height: 10vw; font-size: 3.75vw; }
  .elementor .eiatec-intro > .eiatec-intro-logo { top: 12%; width: 25vw; }
  .eiatec-intro .eiatec-intro-heading .elementor-heading-title { font-size: 5.5vw; }
  .eiatec-hero-pending .elementor .eiatec-intro > .eiatec-intro-heading { top: 44%; transform: translate(-50%, -50%) scale(1.15); }
  .eiatec-intro .eiatec-start .elementor-button { font-size: 3.4375vw; letter-spacing: .78vw; }
  .elementor .eiatec-intro > .eiatec-start { bottom: 18.59vw; }

  .elementor .eiatec-trajectory {
    --eiatec-traj-height: 181.56vw;          /* 581px */
    padding: 12.5vw 4.375vw 30.66vw;         /* 40px, and the band's last 10% below the section */
  }
  .eiatec-trajectory::before { height: 15.625vw; }
  .eiatec-trajectory::after { height: 18.75vw; }
  .elementor .eiatec-trajectory > .elementor-widget { padding: 0 3.125vw; }
  .elementor .eiatec-trajectory > .eiatec-trajectory-description { margin-bottom: 10.89vw; }
  .eiatec-trajectory .eiatec-trajectory-title .elementor-heading-title { margin-bottom: 3.125vw; font-size: 6.5vw; }
  .eiatec-trajectory .eiatec-trajectory-eyebrow .elementor-heading-title { margin-bottom: 5.45vw; font-size: 3.5vw; letter-spacing: .625vw; }
  .eiatec-trajectory .eiatec-trajectory-description p { font-size: 3.75vw; line-height: 1.5; }
  .elementor .eiatec-trajectory > .eiatec-trajectory-metrics { flex-wrap: nowrap; gap: 2.5vw; }
  .elementor .eiatec-trajectory-metrics > .eiatec-trajectory-metric { width: 26.56vw; height: 26.56vw; }
  .eiatec-trajectory-metric .elementor-widget-heading:nth-child(1 of .elementor-widget-heading) .elementor-heading-title { font-size: 7vw; }
  .eiatec-trajectory-metric .elementor-widget-heading:nth-last-child(1 of .elementor-widget-heading) .elementor-heading-title { margin-top: .625vw; font-size: 3vw; letter-spacing: .3125vw; }
}

@media (prefers-reduced-motion: reduce) {
  .eiatec-hero-aurora span,
  .eiatec-hero-blob img,
  .eiatec-hero-blob::after,
  .eiatec-hero-play,
  .eiatec-traj-bg span,
  .elementor .eiatec-trajectory-metrics > .eiatec-trajectory-metric,
  .elementor .eiatec-intro > .eiatec-start { animation: none; }
  .elementor .eiatec-lead,
  .elementor .eiatec-intro > *,
  .eiatec-trajectory > .elementor-widget,
  .eiatec-traj-mountain,
  .eiatec-hero-reel,
  .eiatec-hero-blob { transition: none; }
}
