:root {
  --navy: #061735;
  --navy-2: #0b214a;
  --navy-3: #10295a;
  --yellow: #ffb703;
  --yellow-2: #ffc933;
  --white: #ffffff;
  --ink: #0a1835;
  --text: #4e5870;
  --muted: #8d96a8;
  --surface: #f5f7fb;
  --line: rgba(9, 25, 56, 0.12);
  --shadow: 0 24px 70px rgba(7, 24, 54, 0.12);
  --radius: 24px;
  --container: 1180px;
}


/* CONFIGURACIÓN GENERAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 105px 0;
}


/* TEXTOS */

.eyebrow {
  margin: 0 0 12px;

  color: #e49b00;

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Manrope", "Inter", sans-serif;
}

h2 {
  margin-bottom: 20px;

  font-size: clamp(2.1rem, 4.1vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}


/* BOTONES */

.btn {
  min-height: 48px;
  padding: 0 22px;

  border: 1px solid transparent;
  border-radius: 9px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--navy);

  background:
    linear-gradient(
      135deg,
      var(--yellow),
      var(--yellow-2)
    );

  box-shadow:
    0 10px 28px rgba(255, 183, 3, 0.25);
}

.btn-primary:hover {
  box-shadow:
    0 15px 34px rgba(255, 183, 3, 0.34);
}

.btn-outline {
  color: #ffffff;

  border-color: rgba(255, 255, 255, 0.5);

  background:
    rgba(4, 16, 40, 0.3);

  backdrop-filter: blur(8px);
}

.btn-outline svg {
  width: 18px;
  fill: currentColor;
}


/* MENÚ */

.site-header {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;

  z-index: 20;

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.site-header.is-sticky {
  position: fixed;

  background:
    rgba(4, 17, 42, 0.92);

  backdrop-filter: blur(16px);

  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.15);
}

.nav-wrap {
  min-height: 82px;

  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  margin-right: auto;
}

.brand img {
  width: 124px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 31px;
}

.main-nav a {
  color:
    rgba(255, 255, 255, 0.9);

  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.main-nav a:hover {
  color: var(--yellow);
}

.nav-cta {
  min-height: 42px;
  padding-inline: 19px;
}

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  border: 0;

  background: transparent;

  padding: 8px;
}

.menu-toggle span {
  display: block;

  height: 2px;
  margin: 6px 0;

  background: #ffffff;

  transition: 0.25s ease;
}


/* PORTADA */

.hero {
  min-height: 720px;
  height: min(94vh, 900px);

  position: relative;

  display: flex;
  align-items: center;

  color: #ffffff;

  overflow: hidden;

  background: var(--navy);
}

.hero-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  z-index: 0;

  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(3, 13, 34, 0.97) 0%,
      rgba(3, 13, 34, 0.90) 34%,
      rgba(3, 13, 34, 0.42) 72%,
      rgba(3, 13, 34, 0.15) 100%
    ),
    linear-gradient(
      0deg,
      rgba(3, 13, 34, 0.62),
      transparent 55%
    );
}

.hero-glow {
  position: absolute;

  width: 480px;
  height: 480px;

  left: -190px;
  bottom: -240px;

  border-radius: 50%;

  background:
    rgba(255, 183, 3, 0.18);

  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 2;

  padding-top: 70px;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 24px;

  font-size: clamp(4rem, 8.7vw, 8rem);
  line-height: 0.82;
  letter-spacing: -0.075em;

  text-transform: uppercase;
}

.hero h1 span {
  color: var(--yellow);
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 30px;

  font-size:
    clamp(1rem, 1.6vw, 1.25rem);

  line-height: 1.65;

  color:
    rgba(255, 255, 255, 0.83);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;

  left: 50%;
  bottom: 35px;

  z-index: 3;

  width: 26px;
  height: 42px;

  border:
    2px solid rgba(255, 255, 255, 0.7);

  border-radius: 18px;

  transform:
    translateX(-50%);
}

.scroll-hint span {
  width: 4px;
  height: 8px;

  border-radius: 10px;

  background: var(--yellow);

  position: absolute;
  top: 8px;
  left: 9px;

  animation:
    scrollDot 1.7s infinite;
}


/* CINTA ANIMADA */

.ticker {
  overflow: hidden;

  background: var(--navy);
  color: #ffffff;

  border-top:
    1px solid rgba(255, 255, 255, 0.12);
}

.ticker-track {
  width: max-content;
  min-height: 64px;

  display: flex;
  align-items: center;
  gap: 25px;

  white-space: nowrap;

  animation:
    ticker 28s linear infinite;
}

.ticker span {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ticker b {
  color: var(--yellow);
}


/* NOSOTROS */

.intro {
  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(255, 183, 3, 0.08),
      transparent 30%
    ),
    #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns:
    1.02fr 0.98fr;

  align-items: center;

  gap: 74px;
}

.intro-copy > p:not(.eyebrow) {
  max-width: 620px;

  color: var(--text);

  font-size: 1rem;
  line-height: 1.75;
}

.value-grid {
  display: grid;
  grid-template-columns:
    repeat(3, 1fr);

  gap: 25px;

  margin-top: 42px;
}

.value-item {
  padding-top: 18px;

  border-top:
    1px solid var(--line);
}

.value-icon {
  display: inline-grid;
  place-items: center;

  width: 44px;
  height: 44px;

  margin-bottom: 18px;

  border:
    1px solid rgba(255, 183, 3, 0.45);

  border-radius: 50%;

  color: #dc9500;

  font-size: 1.45rem;
}

.value-item h3 {
  margin-bottom: 9px;

  font-size: 0.95rem;

  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.value-item p {
  margin: 0;

  color: var(--text);

  font-size: 0.84rem;
  line-height: 1.55;
}

.media-card {
  min-height: 480px;

  position: relative;

  overflow: hidden;

  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.media-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(4, 17, 42, 0.7),
      transparent 60%
    );
}

.media-card img,
.media-card video {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.8s ease;
}

.media-card:hover img,
.media-card:hover video {
  transform: scale(1.05);
}
.media-video {
  width: 100%;
  height: 100%;

  position: absolute;
  inset: 0;

  object-fit: cover;
}
.play-button {
  position: absolute;

  z-index: 2;

  top: 50%;
  left: 50%;

  width: 76px;
  height: 76px;

  border: 0;
  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.94);

  color: var(--navy);

  font-size: 1.5rem;

  transform:
    translate(-50%, -50%);

  cursor: pointer;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.24);
}

.media-label {
  position: absolute;

  z-index: 2;

  left: 28px;
  bottom: 24px;

  color: #ffffff;

  font-size: 0.9rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.09em;
}


/* SERVICIOS */

.services {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;

  margin:
    0 auto 50px;

  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading > p:last-child {
  margin: 0 auto;

  max-width: 620px;

  color: var(--text);

  line-height: 1.7;
}

.service-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 24px;
}

.service-card {
  position: relative;

  overflow: hidden;

  border:
    1px solid rgba(8, 25, 56, 0.08);

  border-radius: 18px;

  background: #ffffff;

  box-shadow:
    0 15px 45px rgba(6, 23, 53, 0.07);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-9px);

  box-shadow:
    0 25px 60px rgba(6, 23, 53, 0.14);
}

.service-card img {
  width: 100%;

  aspect-ratio: 1.55;

  object-fit: cover;
}

.service-body {
  position: relative;

  min-height: 210px;

  padding: 25px;
}

.service-number {
  position: absolute;

  top: -27px;
  left: 25px;

  display: grid;
  place-items: center;

  width: 54px;
  height: 54px;

  border: 5px solid #ffffff;
  border-radius: 50%;

  color: var(--yellow);
  background: var(--navy);

  font-size: 0.75rem;
  font-weight: 900;
}

.service-body h3 {
  margin:
    16px 0 10px;

  font-size: 1.12rem;

  text-transform: uppercase;
}

.service-body p {
  color: var(--text);

  font-size: 0.9rem;
  line-height: 1.6;
}

.service-body a {
  position: absolute;

  right: 24px;
  bottom: 22px;

  color: #dc9500;

  font-size: 1.5rem;
  font-weight: 900;
}


/* PROCESO */

.process {
  position: relative;

  overflow: hidden;

  color: #ffffff;

  background:
    linear-gradient(
      140deg,
      #071a3f,
      #030d22 72%
    );
}

.process-pattern {
  position: absolute;
  inset: 0;

  opacity: 0.18;

  background-image:
    radial-gradient(
      circle at 1px 1px,
      rgba(255, 255, 255, 0.22) 1px,
      transparent 0
    );

  background-size:
    28px 28px;

  mask-image:
    linear-gradient(
      90deg,
      black,
      transparent
    );
}

.section-heading-light {
  position: relative;
  z-index: 1;
}

.section-heading-light p:last-child {
  color:
    rgba(255, 255, 255, 0.64);
}

.steps {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap: 26px;
}

.step {
  position: relative;

  text-align: center;
}

.step:not(:last-child)::after {
  content: "";

  position: absolute;

  top: 38px;
  left: calc(50% + 47px);

  width: calc(100% - 68px);

  border-top:
    2px dotted rgba(255, 183, 3, 0.7);
}

.step-icon {
  position: relative;

  z-index: 2;

  width: 76px;
  height: 76px;

  margin:
    0 auto 20px;

  display: grid;
  place-items: center;

  border:
    1px solid rgba(255, 255, 255, 0.14);

  border-radius: 50%;

  color: var(--yellow);
  background: #0d2858;

  font-size: 1.08rem;
  font-weight: 900;

  box-shadow:
    0 0 0 10px rgba(13, 40, 88, 0.26);
}

.step h3 {
  margin-bottom: 9px;

  font-size: 1rem;

  text-transform: uppercase;
}

.step p {
  margin: 0 auto;

  max-width: 180px;

  color:
    rgba(255, 255, 255, 0.62);

  font-size: 0.82rem;
  line-height: 1.55;
}


/* PROYECTOS */

.projects {
  background: #ffffff;
}

.project-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  grid-auto-rows: 285px;

  gap: 22px;
}

.project-card {
  position: relative;

  margin: 0;

  overflow: hidden;

  border-radius: 18px;

  background: var(--navy);
}

.project-card-wide {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.6s ease;
}

.project-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(2, 11, 29, 0.92),
      transparent 60%
    );
}

.project-card:hover img {
  transform: scale(1.07);
}

.project-card figcaption {
  position: absolute;

  z-index: 2;

  left: 24px;
  right: 24px;
  bottom: 22px;

  color: #ffffff;
}

.project-card figcaption span {
  display: block;

  margin-bottom: 5px;

  color: var(--yellow);

  font-size: 0.7rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.project-card figcaption strong {
  font-size: 1.25rem;
}


/* CONTACTO */

.contact {
  position: relative;

  padding:
    100px 0;

  color: #ffffff;

  background:
    linear-gradient(
      120deg,
      #071b43,
      #020b1e
    );

  overflow: hidden;
}

.contact::before {
  content: "";

  position: absolute;

  left: -110px;
  bottom: -180px;

  width: 480px;
  height: 480px;

  border-radius: 50%;

  background:
    rgba(255, 183, 3, 0.18);

  filter: blur(90px);
}

.contact-grid {
  position: relative;

  display: grid;

  grid-template-columns:
    0.85fr 1.15fr;

  gap: 80px;

  align-items: start;
}

.contact-copy h2 {
  font-size:
    clamp(3.2rem, 6vw, 6rem);

  text-transform: uppercase;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 500px;

  color:
    rgba(255, 255, 255, 0.7);

  line-height: 1.7;
}

.contact-list {
  display: grid;

  gap: 15px;

  margin-top: 38px;
}

.contact-list > * {
  display: flex;

  align-items: center;

  gap: 15px;
}

.contact-list > * > span {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border:
    1px solid rgba(255, 183, 3, 0.35);

  border-radius: 50%;

  color: var(--yellow);
}

.contact-list small {
  display: block;

  margin-bottom: 3px;

  color:
    rgba(255, 255, 255, 0.5);
}

.contact-list strong {
  font-size: 0.9rem;
}

.contact-form {
  padding: 28px;

  border:
    1px solid rgba(255, 255, 255, 0.12);

  border-radius: 20px;

  background:
    rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(14px);
}

.form-row {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 15px;
}

.contact-form label {
  display: grid;

  gap: 8px;

  margin-bottom: 15px;

  color:
    rgba(255, 255, 255, 0.78);

  font-size: 0.75rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;

  border:
    1px solid rgba(255, 255, 255, 0.14);

  border-radius: 8px;

  outline: 0;

  color: #ffffff;

  background:
    rgba(0, 0, 0, 0.22);

  padding:
    14px 15px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);

  box-shadow:
    0 0 0 3px rgba(255, 183, 3, 0.12);
}

.contact-form option {
  color: #111111;
}

.btn-submit {
  width: 100%;

  border: 0;

  cursor: pointer;
}

.form-status {
  min-height: 20px;

  margin:
    12px 0 0;

  text-align: center;

  color: var(--yellow);

  font-size: 0.85rem;
}


/* FOOTER */

.footer {
  padding:
    62px 0 26px;

  color: #ffffff;

  background: #020817;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.35fr repeat(3, 1fr);

  gap: 50px;
}

.footer-logo {
  width: 140px;

  margin-bottom: 18px;
}

.footer p {
  max-width: 280px;

  color:
    rgba(255, 255, 255, 0.5);

  line-height: 1.6;
}

.footer h3 {
  margin-bottom: 18px;

  color: var(--yellow);

  font-size: 0.78rem;

  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer a {
  display: block;

  margin:
    10px 0;

  color:
    rgba(255, 255, 255, 0.62);

  font-size: 0.86rem;
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 45px;

  padding-top: 22px;

  border-top:
    1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  justify-content: space-between;

  color:
    rgba(255, 255, 255, 0.38);

  font-size: 0.76rem;
}


/* ANIMACIONES AL BAJAR */

.reveal {
  opacity: 0;

  transform:
    translateY(28px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.in-view {
  opacity: 1;

  transform:
    translateY(0);
}


/* ANIMACIONES */

@keyframes heroZoom {
  to {
    transform: scale(1.15);
  }
}

@keyframes scrollDot {
  0% {
    transform:
      translateY(0);

    opacity: 1;
  }

  100% {
    transform:
      translateY(16px);

    opacity: 0;
  }
}

@keyframes ticker {
  to {
    transform:
      translateX(-50%);
  }
}


/* TABLET */

@media (max-width: 1020px) {

  .main-nav {
    display: none;

    position: absolute;

    top: 78px;
    left: 20px;
    right: 20px;

    padding: 25px;

    border-radius: 14px;

    background:
      rgba(4, 17, 42, 0.98);

    box-shadow:
      0 18px 50px rgba(0, 0, 0, 0.25);
  }

  .main-nav.is-open {
    display: grid;

    gap: 18px;
  }

  .menu-toggle {
    display: block;

    order: 2;
  }

  .nav-cta {
    display: none;
  }

  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .media-card {
    min-height: 420px;
  }

  .service-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .steps {
    grid-template-columns:
      repeat(3, 1fr);

    row-gap: 48px;
  }

  .step::after {
    display: none;
  }

  .project-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .project-card-wide {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns:
      1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    display: none;
  }
}


/* CELULAR */

@media (max-width: 700px) {

  .container {
    width:
      min(
        calc(100% - 28px),
        var(--container)
      );
  }

  .section {
    padding:
      78px 0;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 105px;
  }

  .hero {
    min-height: 690px;
    height: 92vh;

    align-items: flex-end;

    padding-bottom: 105px;
  }

  .hero-media {
    background-position:
      65% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(3, 13, 34, 0.96),
        rgba(3, 13, 34, 0.64)
      ),
      linear-gradient(
        0deg,
        rgba(3, 13, 34, 0.88),
        transparent
      );
  }

  .hero-content {
    padding-top: 0;
  }

  .hero h1 {
    font-size:
      clamp(
        3.3rem,
        17vw,
        5.2rem
      );
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .scroll-hint {
    display: none;
  }

  .ticker-track {
    min-height: 56px;

    gap: 19px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .media-card {
    min-height: 330px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    display: grid;

    grid-template-columns:
      72px 1fr;

    text-align: left;

    column-gap: 18px;
  }

  .step-icon {
    grid-row:
      1 / span 2;

    width: 64px;
    height: 64px;

    margin: 0;
  }

  .step h3 {
    align-self: end;

    margin-bottom: 5px;
  }

  .step p {
    margin: 0;

    max-width: none;
  }

  .project-grid {
    display: grid;

    grid-template-columns: 1fr;

    grid-auto-rows: 255px;
  }

  .form-row {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns:
      1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column:
      1 / -1;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 8px;
  }
}


/* PERSONAS QUE DESACTIVAN ANIMACIONES */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;

    transform: none;
  }
}