/* ====STALYNP - GLOBAL================================= */

.st-section {
  position: relative;
  width: 100%;
  padding: 130px 7%;
  background: #353535;
  color: #fff;
  overflow: hidden;
}

.st-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1450px;
  margin: auto;
}

/* ====== NÚMERO GIGANTE DE FONDO ============================ */

.st-section-bg-number {
  position: absolute;
  right: -20px;
  top: 20px;

  font-size: clamp(180px, 30vw, 500px);
  line-height: 0.8;

  font-weight: 900;

  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.035);

  pointer-events: none;

  user-select: none;
}

/* =  LABEL ======================================== */

.st-section-label {
  display: flex;
  align-items: center;
  gap: 25px;

  margin-bottom: 80px;
}

.st-section-label span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 45px;
  height: 45px;

  border: 1px solid #b67e17;

  color: #b67e17;

  font-size: 13px;
  font-weight: 700;
}

.st-section-label p {
  margin: 0;

  color: #777;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 3px;
}

/* =========================================================
   TEXTOS GENERALES
========================================================= */

.st-mini-title {
  display: block;

  margin-bottom: 20px;

  color: #b67e17;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 4px;
}

.st-content h2,
.st-services-heading h2,
.st-projects-heading h2,
.st-contact-content h2 {
  margin: 0;

  font-size: clamp(45px, 6vw, 90px);

  line-height: 0.95;

  letter-spacing: -4px;

  font-weight: 700;
}

.st-content h2 span,
.st-services-heading h2 span,
.st-projects-heading h2 span,
.st-contact-content h2 span {
  color: #b67e17;
}

.st-content p {
  max-width: 620px;

  color: #929292;

  font-size: 16px;
  line-height: 1.8;

  margin-top: 28px;
}

.st-content strong {
  color: #fff;
}

/* =========================================================
   BOTÓN
========================================================= */

.st-btn {
  display: inline-flex;

  align-items: center;
  justify-content: space-between;

  gap: 35px;

  margin-top: 35px;

  padding: 16px 20px;

  border: 1px solid #fdfdfd;

  color: #fff;

  text-decoration: none;

  font-size: 12px;
  font-weight: 700;

  transition: 0.4s ease;
}

.st-btn span {
  color: #b67e17;

  font-size: 20px;

  transition: 0.4s ease;
}

.st-btn:hover {
  background: #a6a4a1;

  color: #050505;

  border-color: #b67e17;

  transform: translateY(-4px);
}

.st-btn:hover span {
  color: #050505;
  transform: translate(5px, -5px);
}

/* =========================================================
   NOSOTROS
========================================================= */

.st-about {
  min-height: 850px;
}

.st-about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 100px;
}

/* IMAGEN */

.st-about-image {
  position: relative;

  padding: 25px;
}

.st-image-frame {
  position: relative;

  height: 600px;

  overflow: hidden;
}

.st-image-frame img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: grayscale(20%);

  transition: transform 1.2s ease;
}

.st-about-image:hover img {
  transform: scale(1.07);
}

.st-image-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
}

.st-floating-info {
  position: absolute;

  left: 30px;
  bottom: 30px;

  display: flex;
  flex-direction: column;

  gap: 7px;
}

.st-floating-info span {
  color: #0a0a09;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 3px;
}

.st-floating-info strong {
  font-size: 15px;
  letter-spacing: 2px;
}

.st-image-decoration {
  position: absolute;

  top: 0;
  right: 0;

  width: 100px;
  height: 100px;

  border-top: 2px solid #b67e17;
  border-right: 2px solid #b67e17;

  pointer-events: none;
}

/* =========================================================
   SERVICIOS
========================================================= */

.st-services {
  background: #0c0c0c;
}

.st-services-heading {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 80px;

  align-items: end;

  margin-bottom: 70px;
}

.st-services-heading > p {
  margin: 0;

  max-width: 450px;

  color: #888;

  line-height: 1.8;

  font-size: 15px;
}

/* LAYOUT */

.st-services-layout {
  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 60px;

  align-items: start;
}

/* IMAGEN */

.st-services-image {
  position: relative;

  height: 650px;

  overflow: hidden;
}

.st-services-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: grayscale(100%);

  transition: 1s ease;
}

.st-services-image:hover img {
  transform: scale(1.08);

  filter: grayscale(0%);
}

.st-services-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
}

.st-services-image-text {
  position: absolute;

  left: 35px;
  bottom: 35px;

  z-index: 2;

  display: flex;
  flex-direction: column;

  gap: 8px;
}

.st-services-image-text span {
  color: #b67e17;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 4px;
}

.st-services-image-text strong {
  font-size: 25px;

  line-height: 1.1;

  letter-spacing: 2px;
}

/* SERVICE CARDS */

.st-service-card {
  display: grid;

  grid-template-columns: 60px 1fr 30px;

  gap: 20px;

  align-items: center;

  padding: 27px 0;

  border-top: 1px solid #252525;

  transition: 0.4s ease;
}

.st-service-card:last-child {
  border-bottom: 1px solid #252525;
}

.st-service-card > span {
  color: #555;

  font-size: 12px;
}

.st-service-card h3 {
  margin: 0 0 8px;

  font-size: 20px;

  transition: 0.3s ease;
}

.st-service-card p {
  margin: 0;

  color: #777;

  font-size: 13px;

  line-height: 1.6;
}

.st-service-card b {
  color: #555;

  font-size: 20px;

  transition: 0.4s ease;
}

.st-service-card:hover {
  padding-left: 20px;
}

.st-service-card:hover h3 {
  color: #b67e17;
}

.st-service-card:hover b {
  color: #8cff00;

  transform: translate(5px, -5px);
}

/* =========================================================
   PROYECTOS
========================================================= */

.st-projects {
  background: #353535;
}

.st-projects-heading {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 80px;

  align-items: end;

  margin-bottom: 70px;
}

.st-projects-heading p {
  max-width: 450px;

  color: #888;

  line-height: 1.8;

  margin: 0;
}

/* GRID */

.st-project-grid {
  display: grid;

  grid-template-columns: 1.4fr 1fr;

  grid-template-rows: 330px 330px;

  gap: 20px;
}

.st-project-card {
  position: relative;

  overflow: hidden;

  background: #111;
}

.st-project-large {
  grid-row: span 2;
}

.st-project-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 1s ease;
}

.st-project-card:hover img {
  transform: scale(1.08);

  filter: grayscale(20%);
}

.st-project-gradient {
  position: absolute;

  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 65%);
}

.st-project-info {
  position: absolute;

  left: 30px;
  right: 30px;
  bottom: 30px;

  z-index: 2;
}

.st-project-info span {
  color: #dfd516;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 3px;
}

.st-project-info h3 {
  margin: 10px 0 18px;

  font-size: 30px;

  line-height: 1;

  letter-spacing: -1px;
}

.st-project-info a {
  color: #fff;

  font-size: 12px;

  text-decoration: none;

  border-bottom: 1px solid #b67e17;

  padding-bottom: 5px;
}

.st-project-bottom {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 40px;

  margin-top: 60px;

  padding-top: 30px;

  border-top: 1px solid #252525;
}

.st-project-bottom p {
  max-width: 600px;

  color: #777;

  font-size: 14px;

  line-height: 1.7;
}

.st-project-bottom strong {
  color: #fff;
}

/* CONTACT FOOTER */

.st-contact-footer {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-top: 90px;

  padding-top: 25px;

  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.st-contact-footer span {
  font-size: 11px;

  font-weight: 800;

  letter-spacing: 3px;
}

.st-contact-footer p {
  margin: 0;

  font-size: 10px;

  opacity: 0.6;

  letter-spacing: 1px;
}

/* =========================================================
   ANIMACIONES SCROLL
========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(50px);

  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.active {
  opacity: 1;

  transform: translateY(0);
}

/* =========================================================
   ANIMACIÓN DE IMÁGENES
========================================================= */

.st-image-frame,
.st-services-image,
.st-project-card {
  clip-path: inset(0 0 0 0);

  transition: clip-path 1s cubic-bezier(0.77, 0, 0.18, 1);
}

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

@media (max-width: 1000px) {
  .st-section {
    padding: 100px 6%;
  }

  .st-about-grid,
  .st-services-layout,
  .st-contact-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .st-services-heading,
  .st-projects-heading {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .st-about-image {
    max-width: 700px;
    margin: auto;
    width: 100%;
  }

  .st-services-image {
    height: 500px;
  }

  .st-project-grid {
    grid-template-columns: 1fr 1fr;

    grid-template-rows: 400px 300px;
  }

  .st-project-large {
    grid-column: span 2;
    grid-row: auto;
  }
}

/* =========================================================
   RESPONSIVE CELULAR
========================================================= */

@media (max-width: 650px) {
  .st-section {
    padding: 80px 5%;
  }

  .st-section-label {
    margin-bottom: 50px;
  }

  .st-section-label p {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .st-content h2,
  .st-services-heading h2,
  .st-projects-heading h2,
  .st-contact-content h2 {
    font-size: 48px;

    letter-spacing: -2px;
  }

  .st-about-image {
    padding: 10px;
  }

  .st-image-frame {
    height: 430px;
  }

  .st-services-image {
    height: 400px;
  }

  .st-service-card {
    grid-template-columns: 35px 1fr 20px;

    gap: 10px;
  }

  .st-service-card h3 {
    font-size: 17px;
  }

  .st-project-grid {
    display: flex;

    flex-direction: column;
  }

  .st-project-card,
  .st-project-large {
    height: 380px;
  }

  .st-project-bottom {
    flex-direction: column;

    align-items: flex-start;
  }

  .st-contact-box {
    padding: 25px;
  }
}
