
/* =========================================
   BOLTING SERVICES — NOSOTROS
========================================= */

.nosotros-page {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: transparent;
  overflow: clip;
}

.nosotros-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.65)
    ),
    url("../assets/imagenes/fondo_nosotros.png") center / cover no-repeat;
  pointer-events: none;
}

.nosotros-page h1,
.nosotros-page h2,
.nosotros-page h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.nosotros-page h2 {
  font-size: clamp(46px, 5vw, 76px);
  line-height: .98;
  letter-spacing: -.5px;
}

.nosotros-page h1 span,
.nosotros-page h2 span {
  color: #ff343b;
}

.nosotros-page p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: #c7c7c7;
}

.nos-section {
  padding: 115px 0;
}


/* =========================================
   HERO
========================================= */

.nos-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 760px;
  padding: 130px 0 110px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.35) 40%,
    rgba(0,0,0,0) 85%
  );
}

.nos-hero-content {
  position: relative;
  z-index: 1;
}

.nos-hero h1 {
  max-width: 1050px;
  font-size: clamp(37px, 4.5vw, 70px);
  line-height: 1;
  letter-spacing: -1px;
}

.nos-hero p {
  max-width: 620px;
  margin-top: 35px;
  font-size: 18px;
}

.nos-hero-actions {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}


/* =========================================
   QUIÉNES SOMOS
========================================= */

.nos-about {
  background: rgba(12,12,12,.68);
}

.nos-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}

.nos-image-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #252525, #101010);
  border: 1px solid rgba(255,255,255,.12);
}

.nos-image-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.nos-image-slot:hover img {
  transform: scale(1.05);
}

.nos-about-image {
  height: 600px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 90%,
    90% 100%,
    0 100%
  );
}

.nos-about-content h2 {
  margin-bottom: 30px;
}

.nos-about-content .nos-lead {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.nos-about-content p + p {
  margin-top: 18px;
}

/* LISTA DE ESPECIALIDADES */

.nos-expertise-list {
  list-style: none;
  margin-top: 35px;
  padding: 0;
  border-top: 1px solid #555;
}

.nos-expertise-list li {
  position: relative;
  padding: 17px 0 17px 27px;
  border-bottom: 1px solid #444;
  font-size: 13px;
  font-weight: 600;
}

.nos-expertise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #d71920;
  transform: translateY(-50%) rotate(45deg);
}


/* =========================================
   EXPERIENCIA Y ESTÁNDARES
========================================= */

.nos-standards {
  background: rgba(0,0,0,.35);
}

.nos-standards-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 70px;
  margin-bottom: 60px;
}

.nos-standards-heading > p {
  max-width: 430px;
}

.nos-standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.nos-stat {
  min-height: 290px;
  padding: 40px 35px;
  background: rgba(25,25,25,.88);
  border: 1px solid #393939;
  border-top: 3px solid #d71920;
  transition:
    opacity .85s ease,
    transform .85s ease,
    background .3s ease;
}

.nos-stat:hover {
  background: rgba(48,20,20,.94);
}

.nos-stat strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.nos-stat > span {
  display: block;
  margin: 18px 0;
  color: #ff4949;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}


/* =========================================
   MISIÓN Y VISIÓN
========================================= */

.nos-purpose {
  background: rgba(16,16,16,.82);
}

.nos-purpose-heading {
  margin-bottom: 55px;
}

.nos-purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.nos-purpose-card {
  min-height: 470px;
  padding: 48px;
  background: linear-gradient(145deg, #242424, #111);
  border: 1px solid #414141;
  transition:
    opacity .85s ease,
    transform .85s ease;
}

.nos-purpose-card-accent {
  background: linear-gradient(
    145deg,
    #420b10,
    #1b1113 65%,
    #111
  );
}

.nos-purpose-card h3 {
  margin: 0 0 28px;
  font-size: 65px;
  line-height: 1;
}

.nos-purpose-card p + p {
  margin-top: 20px;
}


/* =========================================
   VALORES — COMPOSICIÓN ORBITAL
========================================= */

.nos-values {
  position: relative;
  overflow: hidden;
  padding: 20px 0 100px;
  background: rgba(0,0,0,.55);
}

.nos-values-orbit {
  position: relative;
  width: 100%;
  height: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TÍTULO CENTRAL */

.nos-values-center {
  position: relative;
  z-index: 2;
  max-width: 470px;
  text-align: center;
  pointer-events: none;
}

.nos-values-center h2 {
  font-size: 68px;
  line-height: .95;
}

.nos-values-center p {
  max-width: 350px;
  margin: 22px auto 0;
  font-size: 13px;
}

/* CÍRCULO DE ROTACIÓN */

.nos-orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 760px;
  height: 760px;
  margin-left: -380px;
  margin-top: -380px;
  border: 1px solid rgba(215,25,32,.28);
  border-radius: 50%;
  animation: nos-orbit-spin 95s linear infinite;
}

.nos-orbit-ring::before {
  content: "";
  position: absolute;
  inset: 100px;
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 50%;
  pointer-events: none;
}

/* POSICIONAMIENTO DE LOS 9 VALORES */

.nos-orbit-item {
  --angle: calc(var(--i) * 40deg);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform:
    rotate(var(--angle))
    translateX(380px);
}

/* TARJETAS */

.nos-value {
  position: absolute;
  left: -100px;
  top: -66px;
  width: 200px;
  min-height: 132px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(22,22,22,.96);
  border: 1px solid rgba(215,25,32,.6);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  animation: nos-orbit-counter 95s linear infinite;
  transition:
    background .3s ease,
    border-color .3s ease;
}

.nos-value h3 {
  font-size: 22px;
  line-height: 1.05;
  color: #fff;
}

.nos-value p {
  display: none;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.55;
  color: #eee;
}

/* HOVER */

.nos-value:hover {
  background: #64131a;
  border-color: #ff5353;
  z-index: 5;
}

.nos-value:hover p {
  display: block;
}

/* PAUSAR AL INTERACTUAR */

.nos-orbit-ring:hover,
.nos-orbit-ring:hover .nos-value {
  animation-play-state: paused;
}

/* ANIMACIONES */

@keyframes nos-orbit-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes nos-orbit-counter {
  from {
    transform: rotate(calc(-1 * var(--angle)));
  }

  to {
    transform: rotate(calc(-1 * var(--angle) - 360deg));
  }
}


/* =========================================
   CAPACITACIÓN
========================================= */

.nos-training {
  background: rgba(15,15,15,.88);
}

.nos-training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}

.nos-training-content h2 {
  margin-bottom: 30px;
}

.nos-training-content p + p {
  margin-top: 18px;
}

.nos-training-content .btn {
  margin-top: 35px;
}

.nos-training-image {
  height: 530px;
  clip-path: polygon(
    10% 0,
    100% 0,
    100% 100%,
    0 100%,
    0 10%
  );
}


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

.nos-final-cta {
  position: relative;
  padding: 125px 0;
  text-align: center;
  background: linear-gradient(
    110deg,
    rgba(25,0,0,.94),
    rgba(10,10,10,.95)
  );
  border-top: 1px solid rgba(255,60,60,.35);
}

.nos-final-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nos-final-cta h2 {
  max-width: 1050px;
  font-size: clamp(55px, 6.5vw, 100px);
}

.nos-final-cta p {
  max-width: 620px;
  margin: 25px 0 35px;
  font-size: 16px;
}


/* =========================================
   REVELADO AL HACER SCROLL
========================================= */

.nos-reveal {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity .85s ease,
    transform .85s ease;
}

.nos-reveal.nos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ENTRADA ESCALONADA */

.nos-standards-grid > :nth-child(2),
.nos-purpose-grid > :nth-child(2) {
  transition-delay: .15s;
}

.nos-standards-grid > :nth-child(3) {
  transition-delay: .3s;
}

/* HOVER SIN INTERFERIR CON EL REVELADO */

.nos-stat.nos-visible:hover,
.nos-purpose-card.nos-visible:hover {
  transform: translateY(-7px);
}


/* =========================================
   ACCESIBILIDAD — MOVIMIENTO REDUCIDO
========================================= */

@media (prefers-reduced-motion: reduce) {
  .nos-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nos-orbit-ring,
  .nos-value {
    animation: none;
  }

  .nos-value {
    transform: rotate(calc(-1 * var(--angle)));
  }
}
