/* =========================================================
   PROCESO + PRODUCTOS
   Este archivo se carga DESPUÉS de styles.css.
   Solo contiene estilos propios de esta página.
========================================================= */

.inner-page {
  padding-top: var(--header-height);
  background: var(--black);
}

.process-section,
.products-section {
  background: var(--black);
}

.process-section {
  padding: 64px 0 72px;
}

.products-section {
  padding: 72px 0 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* =========================
   Encabezados
========================= */

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;

  color: var(--yellow);

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;

  color: var(--white);

  font-size: clamp(2rem, 8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;

  font-weight: 800;
}

.section-heading p {
  max-width: 650px;

  margin: 18px 0 0;

  color: #c8c8c8;

  font-size: 0.94rem;
  line-height: 1.75;
}


/* =========================
   Proceso
========================= */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.process-card {
  position: relative;

  padding: 26px 22px;

  overflow: hidden;

  border: 1px solid rgba(255, 210, 0, 0.35);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.015)
    );
}

.process-card > * {
  position: relative;
  z-index: 1;
}

.process-card--modelado {
  background:
    linear-gradient(
      145deg,
      rgba(5, 7, 7, 0.55),
      rgba(5, 7, 7, 0.40)
    ),
    url("assets/espacio_de_trabajo_3d_cinematografico.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.process-card--impresion {
  background:
    linear-gradient(
      145deg,
      rgba(5, 7, 7, 0.72),
      rgba(5, 7, 7, 0.58)
    ),
    url("assets/artillery-genius-pro.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.process-card--molde {
  background:
    linear-gradient(
      145deg,
      rgba(5, 7, 7, 0.72),
      rgba(5, 7, 7, 0.58)
    ),
    url("assets/molde-silicona-contramolde.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.process-card--pieza-final {
  background:
    linear-gradient(
      145deg,
      rgba(5, 7, 7, 0.72),
      rgba(5, 7, 7, 0.58)
    ),
    url("assets/pieza-final-vela-gato.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.process-number {
  position: absolute;
  top: 14px;
  right: 18px;

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

  font-size: 3.8rem;
  line-height: 1;

  font-weight: 800;
}

.process-icon {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  margin-bottom: 22px;

  color: var(--yellow);

  border: 1px solid rgba(255, 210, 0, 0.30);
  border-radius: 12px;

  background: rgba(255, 210, 0, 0.04);
}

.process-icon svg {
  width: 27px;
  height: 27px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.5;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-card h2 {
  position: relative;

  margin: 0 0 12px;

  color: var(--white);

  font-size: 1.08rem;
  font-weight: 700;
}

.process-card p {
  position: relative;

  margin: 0;

  color: #bdbdbd;

  font-size: 0.84rem;
  line-height: 1.7;
}

.process-service {
  position: relative;

  display: inline-block;

  margin-top: 22px;
  padding-top: 14px;

  color: var(--yellow);

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

  font-size: 0.68rem;
  font-weight: 600;

  letter-spacing: 0.04em;
}

/* =========================
   Productos
========================= */

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

.product-card {
  overflow: hidden;

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

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

.product-image {
  position: relative;

  aspect-ratio: 4 / 3;

  overflow: hidden;

  background: #111;
}

.product-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.product-image-placeholder {
  display: grid;
  place-items: center;

  color: #656565;

  font-size: 0.75rem;

  background:
    linear-gradient(
      145deg,
      #141414,
      #0d0d0d
    );
}


/* =========================
   Flecha galería producto
========================= */

.product-image-next {
  position: absolute;

  top: 50%;
  right: 12px;

  transform: translateY(-50%);

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  padding: 0;

  color: var(--yellow);

  background: rgba(5, 7, 7, 0.75);

  border: 1px solid rgba(255, 210, 0, 0.55);
  border-radius: 50%;

  cursor: pointer;

  backdrop-filter: blur(4px);

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.product-image-next:hover {
  background: rgba(5, 7, 7, 0.95);

  transform:
    translateY(-50%)
    scale(1.08);
}

.product-image-next svg {
  display: block;

  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;
  stroke-width: 2;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================
   Información producto
========================= */

.product-info {
  padding: 22px;
}

.product-type {
  color: var(--yellow);

  font-size: 0.66rem;
  font-weight: 700;

  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 7px 0 10px;

  color: var(--white);

  font-size: 1.08rem;
}

.product-info p {
  margin: 0;

  color: #bdbdbd;

  font-size: 0.82rem;
  line-height: 1.65;
}


/* =========================
   Acciones producto
========================= */

.product-actions {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-top: 18px;
}


/* =========================
   Link consultar
========================= */

.product-link {
  display: inline-flex;

  color: var(--yellow);

  font-size: 0.78rem;
  font-weight: 600;
}

.product-link:hover {
  text-decoration: underline;
}


/* =========================
   Instagram
========================= */

.product-instagram {
  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  display: grid;
  place-items: center;

  color: var(--yellow);

  border: 1px solid rgba(255, 210, 0, 0.45);
  border-radius: 50%;

  background: transparent;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.product-instagram:hover {
  background: rgba(255, 210, 0, 0.10);

  transform: translateY(-2px);
}

.product-instagram svg {
  display: block;

  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================
   Tablet
========================= */

@media (min-width: 640px) {

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================
   Desktop
========================= */

@media (min-width: 900px) {

  .process-section {
    padding: 100px 0 110px;
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .products-section {
    padding: 110px 0 120px;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}
