:root {
  --navy: #050518;
  --navy-2: #0b0b24;
  --white: #f7f7f8;
  --ink: #11111b;
  --muted: #656575;
  --orange: #ff3b20;
  --blue: #087cff;
  --green: #00df32;
  --font: "DM Sans", Arial, sans-serif;
  --display: "Montserrat", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  height: 82px;
  padding: 0 6%;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 8px 24px #0002;
}
.brand img {
  display: block;
  width: 175px;
  max-height: 52px;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  color: #f4f4f7;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  transition: 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: white;
}
/*
.main-nav a.active:before {
  content: "";
  position: absolute;
  top: -31px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
}
*/
.main-nav .nav-contact {
  border: 1px solid #ffffff55;
  padding: 11px 16px;
  border-radius: 3px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 26px;
}
.hero {
  height: min(760px, calc(100vh - 82px));
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-photo {
  object-fit: cover;
  object-position: center 42%;
}
.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(4, 5, 22, 0.91),
      rgba(4, 5, 22, 0.62) 48%,
      rgba(4, 5, 22, 0.12)
    ),
    linear-gradient(0deg, rgba(4, 5, 22, 0.55), transparent 38%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  margin-left: 9%;
  max-width: 760px;
  padding: 60px 24px 70px 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2.3px;
  font-weight: 800;
  color: #80aaff;
}
.eyebrow.dark {
  color: #5d6476;
}
.hero h1 {
  font: 900 clamp(42px, 6vw, 82px)/1.03 var(--display);
  letter-spacing: -3px;
  margin: 22px 0 30px;
}
.hero h1 span {
  color: var(--orange);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 4px;
  padding: 15px 22px;
  font: 700 13px var(--font);
  cursor: pointer;
  transition: 0.2s;
}
.button:hover {
  transform: translateY(-3px);
}
.button-light {
  background: #fff;
  color: var(--navy);
}
.button-dark {
  background: var(--navy);
  color: white;
  margin-top: 38px;
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  color: white;
}
.hero-bottom {
  position: absolute;
  z-index: 1;
  bottom: 25px;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  color: #ffffffa8;
  font-size: 10px;
  letter-spacing: 2px;
}
.section {
  padding: 110px 8%;
}
.intro {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8%;
  min-height: 590px;
  overflow: hidden;
}
.intro-copy {
  max-width: 560px;
}
.intro h2,
.section-heading h2 {
  font: 800 clamp(34px, 4vw, 54px)/1.12 var(--display);
  letter-spacing: -1.8px;
  margin: 20px 0;
  z-index: 2;
}
.intro h2 span,
.section-heading h2 span {
  color: var(--blue);
}
.intro-copy p,
.section-heading > p {
  font-size: 16px;
  line-height: 1.8;
  color: #565665;
  max-width: 540px;
}
.intro-image {
  height: 430px;
  position: relative;
  z-index: 1;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .intro-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #e9eaf0;
} */

.image-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--navy);
  color: white;
  padding: 12px 15px;
  font-size: 10px;
  letter-spacing: 1.5px;
}
/* .color-block {
  position: absolute;
  width: 130px;
  height: 130px;
  right: 2%;
  top: 15%;
  background: var(--orange);
} */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  color: white;
  padding: 85px 10%;
  gap: 12%;
}
.mv-card {
  max-width: 500px;
}
.mv-card h3 {
  font: 800 clamp(28px, 3.4vw, 43px)/1.2 var(--display);
  margin: 20px 0;
}
.mv-card h3 em {
  color: var(--orange);
  font-style: normal;
}
.mv-card p {
  color: #c6c6d0;
  line-height: 1.8;
  font-size: 15px;
}
.vision {
  border-left: 1px solid #ffffff2c;
  padding-left: 12%;
}
.vision h3 {
  color: white;
}
.about-video {
  background: #f1f2f5;
  padding: 78px 8% 105px;
}
.about-video-heading {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}
.about-video-heading h2 {
  font: 800 clamp(30px, 4vw, 48px)/1.12 var(--display);
  letter-spacing: -1.5px;
  margin: 16px 0 0;
  color: var(--ink);
}
.about-video-heading h2 span {
  color: var(--blue);
}
.about-video-frame {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #050518;
  box-shadow: 0 22px 55px #0b0b2426;
  aspect-ratio: 16/9;
}
.about-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-sound-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid #ffffff55;
  border-radius: 4px;
  padding: 11px 15px;
  background: #050518d9;
  color: #fff;
  font: 700 12px var(--font);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    background 0.2s,
    transform 0.2s;
}
.video-sound-toggle:hover {
  background: #087cff;
  transform: translateY(-2px);
}
.video-sound-toggle:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.services {
  background: #f1f2f5;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8%;
  align-items: end;
  margin-bottom: 60px;
}
.section-heading h2 {
  max-width: 660px;
  margin-bottom: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  /* align-items: start;
  min-height: auto; */
  box-shadow: 0 12px 35px #0b0b2410;
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}
/* 
.service-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  object-position: center;
  background-color: #e9eaf0;
}

.service-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
} */

.service-copy {
  padding: 28px 25px;
  align-self: center;
}
.service-copy > span {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--blue);
  font-weight: 800;
}
.service-copy h3 {
  font: 800 22px/1.2 var(--display);
  margin: 14px 0;
}
.service-copy p {
  font-size: 13px;
  line-height: 1.7;
  color: #666675;
}
.brands {
  background: var(--navy);
  color: white;
  text-align: center;
  overflow: hidden;
}
.brands h2 {
  font: 800 clamp(34px, 4vw, 52px)/1.1 var(--display);
  margin: 18px 0;
}
.brands h2 span {
  color: var(--orange);
}
.brands > p {
  max-width: 650px;
  margin: 0 auto;
  color: #c5c5d0;
  line-height: 1.7;
}
.brand-window {
  overflow: hidden;
  margin: 65px 0 35px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}
.brand-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.brand-track:hover {
  animation-play-state: paused;
}
.brand-track img {
  width: 170px;
  height: 90px;
  object-fit: contain;
  background: white;
  padding: 12px;
  border-radius: 3px;
}
.brand-colors {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.brand-colors i {
  width: 34px;
  height: 8px;
  background: var(--orange);
}
.brand-colors i:nth-child(2) {
  background: var(--green);
}
.brand-colors i:nth-child(3) {
  background: var(--blue);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  background: #f3f4f7;
}
.contact-info h2 {
  font: 900 clamp(42px, 5vw, 64px)/1 var(--display);
  margin: 20px 0;
}
.contact-info h2 span {
  color: var(--orange);
}
.contact-info p {
  color: #666675;
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-info > a {
  display: block;
  margin: 14px 0;
  font-weight: 700;
}
.contact-form {
  background: var(--navy);
  padding: 38px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form label {
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #d4d6df;
  background: white;
  font: 14px var(--font);
  border-radius: 2px;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .button {
  align-self: flex-start;
  margin-top: 12px;
}
.form-note {
  font-size: 11px;
  color: #a9a9b8;
}
.site-footer {
  background: var(--navy);
  color: white;
  padding: 55px 8% 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 3px solid var(--orange);
}
.site-footer .brand img {
  width: 150px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a,
.footer-contact {
  font-size: 12px;
  color: #d3d3dc;
}
.site-footer small {
  width: 100%;
  text-align: center;
  color: #777789;
  padding-top: 25px;
  border-top: 1px solid #ffffff20;
}
@media (max-width: 900px) {
  .section {
    padding: 80px 6%;
  }
  .main-nav {
    gap: 18px;
  }
  .main-nav a {
    font-size: 12px;
  }
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 220px;
    min-height: 220px;
  }

  /*   .service-card img {
    width: 100%;
    height: 240px;
    min-height: 240px;
    object-fit: contain;
    object-position: center;
  } */
  /* 
  .service-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    object-fit: cover;
  } */

  .service-copy {
    padding: 24px;
  }
  .service-card.reverse img {
    order: 0;
  }
  .intro {
    gap: 5%;
  }
  .mission-vision {
    padding: 70px 7%;
    gap: 8%;
  }
  .vision {
    padding-left: 8%;
  }
  .footer-contact {
    width: 100%;
  }
}
@media (max-width: 900px) {
  .about-video {
    padding: 70px 6% 85px;
  }
}
@media (max-width: 680px) {
  html {
    scroll-padding-top: 72px;
  }
  .site-header {
    height: 72px;
    padding: 0 5%;
  }
  .brand img {
    width: 145px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 22px 6% 28px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 2px solid var(--orange);
  }
  .main-nav.open {
    display: flex;
  }

  .main-nav {
    width: 100%;
    box-sizing: border-box;
  }

  .main-nav .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .nav-indicator {
    display: none;
  }

  .main-nav a.active:before {
    top: auto;
    bottom: -6px;
  }
  .hero {
    min-height: 650px;
    height: calc(100vh - 72px);
  }
  .hero-content {
    margin-left: 6%;
    padding-right: 6%;
  }
  .hero h1 {
    font-size: clamp(40px, 12vw, 62px);
    letter-spacing: -2px;
  }
  .hero-bottom {
    left: 6%;
    right: 6%;
    font-size: 8px;
    gap: 15px;
  }
  .about-video {
    padding: 60px 5% 70px;
  }
  .about-video-frame {
    aspect-ratio: 4/3;
  }
  .video-sound-toggle {
    top: 10px;
    right: 10px;
    padding: 9px 11px;
    font-size: 11px;
  }
  .intro {
    grid-template-columns: 1fr;
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .intro-image {
    height: 320px;
  }
  .color-block {
    width: 75px;
    height: 75px;
    right: 5%;
    top: 8%;
  }
  .mission-vision {
    grid-template-columns: 1fr;
    padding: 65px 7%;
    gap: 45px;
  }
  .vision {
    border-left: 0;
    border-top: 1px solid #ffffff2c;
    padding: 40px 0 0;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 230px;
  }

  /*   .service-card img {
    width: 100%;
    height: 230px;
    min-height: 230px;
    object-fit: contain;
    object-position: center;
  } */

  .brands {
    padding-left: 0;
    padding-right: 0;
  }
  .brands h2,
  .brands > p,
  .brands > .eyebrow {
    margin-left: 6%;
    margin-right: 6%;
  }
  .brand-track {
    gap: 30px;
  }
  .brand-track img {
    width: 140px;
    height: 75px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-form {
    padding: 26px 22px;
  }
  .site-footer {
    padding: 45px 6% 22px;
    justify-content: center;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-contact {
    line-height: 2;
  }
  .site-footer .brand {
    width: 100%;
  }
}

/**/
.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links {
  position: relative;
  align-items: center;
  gap: 40px;
  display: flex;
}

.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: #00e65c;
  transition:
    left 0.35s ease,
    width 0.35s ease;
  pointer-events: none;
  z-index: 10;
}

/* BARRA DE REDES SOCIALES */

.social-sidebar {
  position: fixed;
  right: 0;
  top: 25%;
  z-index: 9999;

  display: flex;
  flex-direction: column;

  overflow: hidden;
  border-radius: 20px 0 0 20px;
}

/* BOTONES */

.social-btn {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 30px;

  text-decoration: none;
  transition: all 0.3s ease;
}

/* COLORES */

.facebook {
  background-color: #30477e;
}

.youtube {
  background-color: #f02d26;
}

.instagram {
  background-color: #ffb900;
}

.whatsapp {
  background-color: #00c900;
}

/* EFECTO AL PASAR EL MOUSE */

.social-btn:hover {
  transform: translateX(-7px);
  filter: brightness(1.15);
  color: white;
}

/* RESPONSIVE */

/* TABLETS Y CELULARES */

@media screen and (max-width: 768px) {
  .social-sidebar {
    position: fixed;
    right: 0;
    top: 35%;
    z-index: 9999;
  }

  .social-btn {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }

  .social-btn:hover {
    transform: none;
  }
}

/* CELULARES PEQUEÑOS */

@media screen and (max-width: 380px) {
  .social-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/*
@media (max-width: 768px) {
  .social-btn {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .social-sidebar {
    top: 30%;
  }
}
*/

/* =================================
   FONDO GEOMÉTRICO - SERVICIOS
================================= */

.services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Capa exclusiva para los cuadrados */

.services-background-shapes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Figuras geométricas */

.services-background-shapes .shape {
  position: absolute;
  display: block;
  width: 230px;
  height: 230px;
  opacity: 0.25;
  pointer-events: none;
}

.shape-orange {
  background: #f13f23;
  top: 40px;
  left: -115px;
  transform: rotate(15deg);
}

.shape-blue {
  background: #227aff;
  top: 42%;
  right: -115px;
  transform: rotate(-12deg);
}

.shape-green {
  background: #1ae21f;
  bottom: -90px;
  left: 12%;
  transform: rotate(20deg);
}

/* Todo el contenido permanece por encima */

.services > *:not(.services-background-shapes) {
  position: relative;
  z-index: 1;
}

/* Adaptación móvil */

@media (max-width: 680px) {
  .services-background-shapes .shape {
    width: 130px;
    height: 130px;
    opacity: 0.22;
  }

  .shape-orange {
    top: 20px;
    left: -75px;
  }

  .shape-blue {
    top: 45%;
    right: -75px;
  }

  .shape-green {
    bottom: 20px;
    left: 5%;
  }
}
