/* ==================================================
   UKRATOS BRAND SYSTEM
================================================== */

:root {

  --navy:
    #0B1D34;

  --navy-dark:
    #06111F;

  --charcoal:
    #1B1F24;

  --charcoal-light:
    #282D33;

  --lime:
    #A6E22E;

  --lime-soft:
    #B8F044;

  --white:
    #FFFFFF;

  --gray:
    #A7ACB3;

  --gray-dark:
    #666D76;

  --black:
    #050607;

}



/* ==================================================
   RESET
================================================== */

* {
  box-sizing: border-box;
}


html {

  margin: 0;

  padding: 0;

  scroll-behavior: smooth;

}


body {

  margin: 0;

  padding: 0;

  background:
    var(--black);

  color:
    var(--white);

  font-family:
    "Inter",
    Arial,
    sans-serif;

  overflow-x: hidden;

}


a {
  color: inherit;
}


::selection {

  color:
    var(--navy-dark);

  background:
    var(--lime);

}



/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3,
.brand-name {

  font-family:
    "Barlow Condensed",
    Impact,
    sans-serif;

  text-transform:
    uppercase;

}



/* ==================================================
   HEADER
================================================== */

.site-header {

  position:
    fixed;

  top: 0;

  left: 0;

  z-index:
    1000;

  width:
    100%;

  height:
    82px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  padding:
    0
    4vw;

  border-bottom:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

  background:
    rgba(
      5,
      6,
      7,
      0.48
    );

  backdrop-filter:
    blur(16px);

  -webkit-backdrop-filter:
    blur(16px);

}



/* ==================================================
   BRAND
================================================== */

.brand {

  display:
    flex;

  align-items:
    center;

  gap:
    12px;

  text-decoration:
    none;

}


.brand-symbol {

  width:
    36px;

  height:
    36px;

  display:
    grid;

  place-items:
    center;

  color:
    var(--navy-dark);

  background:
    var(--lime);

  font-family:
    "Barlow Condensed";

  font-weight:
    900;

  font-size:
    25px;

  clip-path:
    polygon(
      12% 0,
      88% 0,
      100% 22%,
      72% 100%,
      28% 100%,
      0 22%
    );

}


.brand-name {

  color:
    var(--white);

  font-size:
    28px;

  font-weight:
    800;

  letter-spacing:
    0.08em;

}



/* ==================================================
   NAVIGATION
================================================== */

.desktop-nav {

  display:
    flex;

  gap:
    34px;

}


.desktop-nav a {

  position:
    relative;

  color:
    rgba(
      255,
      255,
      255,
      0.72
    );

  font-size:
    12px;

  font-weight:
    600;

  letter-spacing:
    0.16em;

  text-decoration:
    none;

  text-transform:
    uppercase;

}


.desktop-nav a::after {

  content:
    "";

  position:
    absolute;

  left:
    0;

  bottom:
    -7px;

  width:
    0;

  height:
    1px;

  background:
    var(--lime);

  transition:
    width
    0.25s ease;

}


.desktop-nav a:hover {

  color:
    var(--white);

}


.desktop-nav a:hover::after {

  width:
    100%;

}



/* ==================================================
   HEADER CTA
================================================== */

.header-cta {

  padding:
    13px
    20px;

  border:
    1px solid
    rgba(
      166,
      226,
      46,
      0.65
    );

  color:
    var(--lime);

  font-size:
    11px;

  font-weight:
    700;

  letter-spacing:
    0.15em;

  text-decoration:
    none;

  transition:
    0.25s;

}


.header-cta:hover {

  color:
    var(--navy-dark);

  background:
    var(--lime);

}



/* ==================================================
   MOBILE MENU BUTTON
================================================== */

.menu-button {

  display:
    none;

  width:
    44px;

  height:
    44px;

  padding:
    0;

  border:
    0;

  background:
    transparent;

}


.menu-button span {

  display:
    block;

  width:
    26px;

  height:
    1px;

  margin:
    7px auto;

  background:
    var(--white);

}



/* ==================================================
   MOBILE MENU
================================================== */

.mobile-menu {

  position:
    fixed;

  inset:
    0;

  z-index:
    950;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    28px;

  background:
    rgba(
      6,
      17,
      31,
      0.98
    );

  transform:
    translateY(-100%);

  transition:
    transform
    0.4s ease;

}


.mobile-menu.active {

  transform:
    translateY(0);

}


.mobile-menu a {

  font-family:
    "Barlow Condensed";

  font-size:
    36px;

  font-weight:
    800;

  text-decoration:
    none;

  text-transform:
    uppercase;

}


.mobile-cta {

  color:
    var(--lime);

}



/* ==================================================
   STORY
================================================== */

#ukratos-story {

  position:
    relative;

  width:
    100%;

  padding-bottom:
    100vh;

}



/* ==================================================
   VISUAL LAYER
================================================== */

.visual-layer {

  position:
    sticky;

  top:
    0;

  z-index:
    1;

  width:
    100%;

  height:
    100vh;

  overflow:
    hidden;

  background:
    var(--navy-dark);

}



/* ==================================================
   CANVAS
================================================== */

#sports-canvas {

  position:
    absolute;

  inset:
    0;

  z-index:
    1;

  width:
    100%;

  height:
    100%;

}



/* ==================================================
   DARK OVERLAY
================================================== */

.dark-overlay {

  position:
    absolute;

  inset:
    0;

  z-index:
    2;

  pointer-events:
    none;


  background:

    linear-gradient(
      90deg,

      rgba(
        6,
        17,
        31,
        0.94
      )
      0%,

      rgba(
        6,
        17,
        31,
        0.79
      )
      24%,

      rgba(
        6,
        17,
        31,
        0.48
      )
      46%,

      rgba(
        6,
        17,
        31,
        0.12
      )
      70%,

      rgba(
        6,
        17,
        31,
        0.03
      )
      100%
    ),

    linear-gradient(
      180deg,

      rgba(
        0,
        0,
        0,
        0.35
      ),

      transparent
      34%,

      rgba(
        0,
        0,
        0,
        0.10
      )
      68%,

      rgba(
        0,
        0,
        0,
        0.52
      )
    );

}



/* ==================================================
   GRAIN
================================================== */

.grain {

  position:
    absolute;

  inset:
    0;

  z-index:
    3;

  pointer-events:
    none;

  opacity:
    0.07;

  background-image:

    radial-gradient(
      rgba(
        255,
        255,
        255,
        0.8
      )
      0.5px,

      transparent
      0.5px
    );

  background-size:
    5px
    5px;

}



/* ==================================================
   CAMERAMAN
================================================== */

#cameraman {

  position: absolute;

  right: -1vw;
  bottom: -2px;

  z-index: 5;

  height: 70vh;
  
  width: auto;

  max-width: none;
  max-height: none;

  display: block;

  object-fit: contain;
  object-position: right bottom;

  pointer-events: none;
  user-select: none;

}



/* ==================================================
   STORY PROGRESS
================================================== */

.story-progress {

  position:
    absolute;

  right:
    30px;

  top:
    50%;

  z-index:
    20;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  gap:
    12px;

  transform:
    translateY(-50%);

}


.progress-label {

  color:
    rgba(
      255,
      255,
      255,
      0.45
    );

  font-size:
    9px;

  letter-spacing:
    0.15em;

}


.progress-track {

  position:
    relative;

  width:
    1px;

  height:
    130px;

  background:
    rgba(
      255,
      255,
      255,
      0.18
    );

}


.progress-fill {

  position:
    absolute;

  top:
    0;

  left:
    0;

  width:
    1px;

  height:
    0;

  background:
    var(--lime);

}



/* ==================================================
   CONTENT LAYER
================================================== */

.content-layer {

  position:
    relative;

  z-index:
    10;

  width:
    100%;

  margin-top:
    -100vh;

}



/* ==================================================
   PANELS
================================================== */

.panel {

  position:
    relative;

  width:
    100%;

  height:
    100vh;

  display:
    flex;

  align-items:
    center;

  padding:
    8vh
    7vw;

  color:
    var(--white);

}


.panel-content {

  width:
    min(
      650px,
      45vw
    );

}



/* ==================================================
   SPORT TYPOGRAPHY
================================================== */

.section-number {

  display:
    block;

  margin-bottom:
    12px;

  color:
    var(--lime);

  font-size:
    10px;

  font-weight:
    700;

  letter-spacing:
    0.28em;

}


.sport-name {

  display:
    block;

  margin-bottom:
    20px;

  color:
    var(--gray);

  font-size:
    12px;

  font-weight:
    700;

  letter-spacing:
    0.32em;

  text-transform:
    uppercase;

}


.panel h1,
.panel h2 {

  margin:
    0;

  font-size:
    clamp(
      58px,
      6.6vw,
      115px
    );

  font-weight:
    900;

  line-height:
    0.87;

  letter-spacing:
    -0.025em;

}


.panel h1 span,
.panel h2 span {

  color:
    var(--lime);

}


.panel p {

  max-width:
    500px;

  margin-top:
    30px;

  color:
    rgba(
      255,
      255,
      255,
      0.78
    );

  font-size:
    clamp(
      16px,
      1.2vw,
      20px
    );

  line-height:
    1.65;

}



/* ==================================================
   BUTTONS
================================================== */

.outline-button,
.lime-button {

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    15px;

  margin-top:
    30px;

  padding:
    16px
    26px;

  font-size:
    11px;

  font-weight:
    700;

  letter-spacing:
    0.16em;

  text-decoration:
    none;

  transition:
    0.25s ease;

}


.outline-button {

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.52
    );

  color:
    var(--white);

  background:
    rgba(
      255,
      255,
      255,
      0.02
    );

}


.outline-button:hover {

  color:
    var(--navy-dark);

  border-color:
    var(--lime);

  background:
    var(--lime);

}


.lime-button {

  color:
    var(--navy-dark);

  background:
    var(--lime);

  border:
    1px solid
    var(--lime);

}


.lime-button:hover {

  background:
    var(--lime-soft);

}



/* ==================================================
   SCROLL HINT
================================================== */

.scroll-hint {

  margin-top:
    45px;

  display:
    flex;

  align-items:
    center;

  gap:
    15px;

  color:
    rgba(
      255,
      255,
      255,
      0.45
    );

  font-size:
    9px;

  letter-spacing:
    0.24em;

}


.scroll-arrow {

  color:
    var(--lime);

}



/* ==================================================
   GENERAL SECTIONS
================================================== */

.section {

  position:
    relative;

  z-index:
    30;

  padding:
    140px
    7vw;

}


.dark-section {

  background:

    linear-gradient(
      180deg,
      var(--navy-dark) 0%,
      var(--black) 22%,
      var(--black) 100%
    );

}


.navy-section {

  background:
    var(--navy);

}



/* ==================================================
   SECTION HEADER
================================================== */

.section-header {

  max-width:
    940px;

  margin-bottom:
    80px;

}


.eyebrow {

  display:
    block;

  margin-bottom:
    20px;

  color:
    var(--lime);

  font-size:
    11px;

  font-weight:
    700;

  letter-spacing:
    0.28em;

}


.section-header h2,
.split-copy h2,
.teams-title h2 {

  margin:
    0;

  font-size:
    clamp(
      64px,
      7vw,
      120px
    );

  font-weight:
    900;

  line-height:
    0.86;

  letter-spacing:
    -0.02em;

}


.section-header h2 span,
.split-copy h2 span,
.teams-title h2 span {

  color:
    var(--lime);

}


.section-header > p,
.split-copy > p {

  max-width:
    650px;

  margin-top:
    30px;

  color:
    var(--gray);

  font-size:
    19px;

  line-height:
    1.7;

}



/* ==================================================
   SERVICE GRID
================================================== */

.services-grid {

  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      minmax(
        0,
        1fr
      )
    );

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.12
    );

}


.service-card {

  min-height:
    280px;

  display:
    grid;

  grid-template-columns:
    50px
    1fr
    40px;

  gap:
    25px;

  align-items:
    start;

  padding:
    45px
    40px;

  border-right:
    1px solid
    rgba(
      255,
      255,
      255,
      0.10
    );

  border-bottom:
    1px solid
    rgba(
      255,
      255,
      255,
      0.10
    );

  transition:
    background
    0.3s ease;

}


.service-card:hover {

  background:
    var(--charcoal);

}


.card-number {

  color:
    var(--lime);

  font-size:
    11px;

}


.service-card h3 {

  margin:
    0
    0
    15px;

  font-size:
    clamp(
      40px,
      4vw,
      70px
    );

  line-height:
    1;

}


.service-card p {

  max-width:
    420px;

  margin:
    0;

  color:
    var(--gray);

  line-height:
    1.7;

}


.card-arrow {

  color:
    var(--lime);

  font-size:
    25px;

}



/* ==================================================
   BRAND STATEMENT
================================================== */

.brand-statement {

  position:
    relative;

  overflow:
    hidden;

  padding:
    160px
    7vw;

  background:

    radial-gradient(
      circle at 50% 40%,
      rgba(
        166,
        226,
        46,
        0.08
      ),
      transparent 35%
    ),

    var(--charcoal);

  text-align:
    center;

}


.statement-line {

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    20px;

  margin-bottom:
    45px;

  color:
    var(--lime);

  font-size:
    11px;

  font-weight:
    700;

  letter-spacing:
    0.24em;

}


.statement-line i {

  width:
    50px;

  height:
    1px;

  background:
    rgba(
      166,
      226,
      46,
      0.35
    );

}


.brand-statement h2 {

  margin:
    0;

  font-size:
    clamp(
      65px,
      9vw,
      155px
    );

  font-weight:
    900;

  line-height:
    0.82;

}


.brand-statement h2 span {

  color:
    var(--lime);

}



/* ==================================================
   PERSONALIZATION
================================================== */

.split-layout {

  display:
    grid;

  grid-template-columns:
    1.05fr
    0.95fr;

  gap:
    8vw;

  align-items:
    center;

}


.products-cloud {

  display:
    flex;

  flex-wrap:
    wrap;

  justify-content:
    center;

  gap:
    14px;

}


.product-pill {

  padding:
    24px
    28px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.16
    );

  color:
    var(--gray);

  background:
    rgba(
      255,
      255,
      255,
      0.025
    );

  font-family:
    "Barlow Condensed";

  font-size:
    28px;

  font-weight:
    700;

  transition:
    0.25s ease;

}


.product-pill:hover {

  color:
    var(--white);

  border-color:
    var(--lime);

  transform:
    translateY(-4px);

}


.product-pill.highlight {

  color:
    var(--navy-dark);

  border-color:
    var(--lime);

  background:
    var(--lime);

}



/* ==================================================
   TEAMS
================================================== */

.teams-section {

  display: grid;

  grid-template-columns:
    1.05fr
    0.95fr;

  align-items: center;

  gap: 7vw;

  /*
     Ya no obligamos a ocupar casi
     una pantalla completa.
  */

  min-height: auto;

  padding:
    105px
    7vw;

  background:
    var(--charcoal);

}


.teams-copy {

  max-width: 520px;

  padding-bottom: 0;

}


.teams-copy p {

  margin: 0;

  color: var(--gray);

  font-size:
    clamp(
      17px,
      1.35vw,
      21px
    );

  line-height: 1.65;

}


.text-link {

  display:
    inline-flex;

  gap:
    18px;

  margin-top:
    35px;

  color:
    var(--lime);

  font-size:
    11px;

  font-weight:
    700;

  letter-spacing:
    0.17em;

  text-decoration:
    none;

}
.teams-title h2 {

  margin: 0;

  font-size:
    clamp(
      58px,
      5.7vw,
      96px
    );

  font-weight: 900;

  line-height: 0.88;

  letter-spacing: -0.02em;

}


/* ==================================================
   PROCESS
================================================== */

.process-section {

  background:
    var(--black);

}


.process-grid {

  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.12
    );

}


.process-step {

  min-height:
    340px;

  padding:
    45px;

  border-right:
    1px solid
    rgba(
      255,
      255,
      255,
      0.10
    );

}


.process-step > span {

  color:
    var(--lime);

  font-size:
    11px;

}


.process-step h3 {

  margin:
    80px
    0
    20px;

  font-size:
    55px;

}


.process-step p {

  color:
    var(--gray);

  line-height:
    1.7;

}



/* ==================================================
   FINAL CTA
================================================== */

.final-cta {

  position:
    relative;

  min-height:
    95vh;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  overflow:
    hidden;

  padding:
    120px
    7vw;

  background:
    var(--navy-dark);

  text-align:
    center;

}


.cta-glow {

  position:
    absolute;

  width:
    700px;

  height:
    700px;

  border-radius:
    50%;

  background:
    rgba(
      166,
      226,
      46,
      0.10
    );

  filter:
    blur(150px);

}


.final-content {

  position:
    relative;

  z-index:
    2;

  max-width:
    1200px;

}


.final-content h2 {

  margin:
    0;

  font-size:
    clamp(
      70px,
      9vw,
      155px
    );

  font-weight:
    900;

  line-height:
    0.84;

}


.final-content h2 span {

  color:
    var(--lime);

}


.final-content p {

  margin:
    30px
    auto
    0;

  max-width:
    650px;

  color:
    var(--gray);

  font-size:
    20px;

  line-height:
    1.7;

}


.final-actions {

  display:
    flex;

  justify-content:
    center;

  gap:
    15px;

  margin-top:
    45px;

}


.large {

  min-width:
    210px;

}



/* ==================================================
   FOOTER
================================================== */

.site-footer {

  padding:
    70px
    7vw
    30px;

  background:
    #030405;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

}


.footer-brand {

  display:
    flex;

  flex-direction:
    column;

  align-items:
    flex-start;

}


.footer-symbol {

  width:
    48px;

  height:
    48px;

  display:
    grid;

  place-items:
    center;

  margin-bottom:
    18px;

  color:
    var(--navy-dark);

  background:
    var(--lime);

  font-family:
    "Barlow Condensed";

  font-size:
    32px;

  font-weight:
    900;

}


.footer-brand strong {

  font-family:
    "Barlow Condensed";

  font-size:
    44px;

  letter-spacing:
    0.06em;

}


.footer-brand small {

  margin-top:
    6px;

  color:
    var(--lime);

  font-size:
    8px;

  letter-spacing:
    0.22em;

}


.footer-links {

  display:
    flex;

  gap:
    30px;

  margin:
    60px
    0;

}


.footer-links a {

  color:
    var(--gray);

  font-size:
    11px;

  letter-spacing:
    0.15em;

  text-decoration:
    none;

  text-transform:
    uppercase;

}


.footer-bottom {

  display:
    flex;

  justify-content:
    space-between;

  padding-top:
    25px;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

  color:
    var(--gray-dark);

  font-size:
    10px;

  letter-spacing:
    0.12em;

}



/* ==================================================
   REVEAL ANIMATION
================================================== */

.reveal {

  opacity:
    0;

  transform:
    translateY(45px);

  transition:

    opacity
    0.8s ease,

    transform
    0.8s ease;

}


.reveal.visible {

  opacity:
    1;

  transform:
    translateY(0);

}



/* ==================================================
   TABLET
================================================== */

@media
(max-width: 1000px) {

  .desktop-nav,
  .header-cta {

    display:
      none;

  }


  .menu-button {

    display:
      block;

  }


  @media (max-width: 1000px) {

  #cameraman {

    right: -7vw;
    bottom: -2px;

    height: 68vh;

    width: auto;

    max-width: none;

  }

}


  .panel-content {

    width:
      58vw;

  }


  .services-grid,
  .process-grid {

    grid-template-columns:
      1fr;

  }


  .split-layout,
  .teams-section {

    grid-template-columns:
      1fr;

  }


  .teams-section {

    min-height:
      auto;

  }

}



/* ==================================================
   MOBILE
================================================== */

@media
(max-width: 650px) {

  .site-header {

    height:
      68px;

    padding:
      0
      6vw;

  }


  .brand-name {

    font-size:
      23px;

  }


  @media (max-width: 650px) {

  #cameraman {

    right: -22vw;
    bottom: -2px;

    height: 52vh;

    width: auto;

    max-width: none;

  }

}


  .story-progress {

    display:
      none;

  }


  .panel {

    align-items:
      flex-start;

    padding:
      16vh
      7vw;

  }


  .panel-content {

    width:
      90%;

  }


  .panel h1,
  .panel h2 {

    font-size:
      13vw;

  }


  .section {

    padding:
      100px
      7vw;

  }


  .section-header h2,
  .split-copy h2,
  .teams-title h2 {

    font-size:
      16vw;

  }


  .service-card {

    grid-template-columns:
      35px
      1fr;

  }


  .card-arrow {

    display:
      none;

  }


  .brand-statement {

    padding:
      110px
      7vw;

  }


  .brand-statement h2 {

    font-size:
      17vw;

  }


  .statement-line {

    gap:
      8px;

    font-size:
      8px;

  }


  .statement-line i {

    width:
      20px;

  }


  .product-pill {

    padding:
      16px
      18px;

    font-size:
      22px;

  }


  .final-actions {

    flex-direction:
      column;

  }


  .footer-bottom {

    flex-direction:
      column;

    gap:
      12px;

  }

}
/* ==================================================
   ENLACE ENTRE STORY Y CONTENIDO
================================================== */

#videos {

  position: relative;

  z-index: 30;

  /*
     Absorbe el viewport extra utilizado
     para mantener sticky la escena deportiva.
  */

  margin-top: -100vh;

}
.visual-layer {

  position: sticky;

  top: 0;

  width: 100%;
  height: 100vh;

  overflow: hidden;

  background: var(--navy-dark);

  z-index: 1;

  /*
     Evita pequeños huecos de renderizado
     en Safari/Chrome.
  */

  transform: translateZ(0);

}