
/* Título de la sección */

.hero-title {
  width: 100%;
  height: 55vh;
  min-height: 380px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 6%;
  overflow: hidden;
}

.hero-content {
  position: relative;
  width: 100%;
}

.hero-bg {
  font-size: clamp(4rem, 18vw, 7rem);
  font-weight: 700;
  color: #611232;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1;
  user-select: none;
}

.hero-front {
  position: absolute;
  left: 5%;
  bottom: 20%;
  transform: translateY(80px);
}

.hero-subtitle {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  color: #000;
}

.hero-line {
  width: 160px;
  height: 5px;
  background-color: #003366;
  margin-top: 18px;
}

/***********************************/
/******** DISEÑO RESPONSIVO ********/
/***********************************/

@media (max-width: 1023px) and (min-width: 768px) {
  .hero-title {
    height: 50vh;
    padding: 0 5%;
    margin-top: 20px;
  }

  .hero-bg {
    font-size: clamp(4.5rem, 16vw, 6rem);
  }

  .hero-front {
    left: 4%;
    bottom: 14%;
    transform: translateY(80px);
  }

  .hero-subtitle {
    letter-spacing: 0.3em;
  }

  .hero-line {
    width: 130px;
  }
}

@media (max-width: 767px) and (min-width: 481px) {
  .hero-title {
    height: 48vh;
    min-height: 340px;
    padding: 0 6%;
    margin-top: 10px;
  }

  .hero-bg {
    font-size: clamp(4rem, 18vw, 5rem);
  }

  .hero-front {
    left: 4%;
    bottom: 12%;
    transform: translateY(70px);
  }

  .hero-subtitle {
    font-size: 1.6rem;
    letter-spacing: 0.28em;
  }

  .hero-line {
    width: 110px;
  }
}

@media (max-width: 630px) {
  .hero-title {
    height: auto;
    min-height: 340px;
    padding: 90px 6% 48px;
  }

  .hero-bg {
    font-size: clamp(3.8rem, 14vw, 3.8rem);
    line-height: 1.05;
  }

  .hero-front {
    position: relative;
    left: 0;
    bottom: auto;
    transform: none;
    margin-top: 32px;
  }

  .hero-subtitle {
    font-size: 1.45rem;
    letter-spacing: 0.24em;
  }

  .hero-line {
    width: 100px;
    height: 4px;
    margin-top: 14px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    height: auto;
    min-height: 320px;
    padding: 80px 6% 40px;
    margin-top: 10px;
  }

  .hero-bg {
    font-size: 3.5rem;
  }

  .hero-front {
    position: relative;
    left: 0;
    bottom: auto;
    transform: none;
    margin-top: 24px;
  }

  .hero-subtitle {
    font-size: 1.3rem;
    letter-spacing: 0.22em;
  }

  .hero-line {
    width: 90px;
    height: 4px;
    margin-top: 12px;
  }
}

@media (max-width: 436px) {
  .hero-title {
    min-height: 320px;
    padding: 80px 6% 36px;
  }

  .hero-bg {
    font-size: 3rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .hero-front {
    position: relative;
    left: 0;
    bottom: auto;
    transform: none;
    margin-top: 26px;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    letter-spacing: 0.2em;
  }

  .hero-line {
    width: 88px;
    height: 3.5px;
    margin-top: 12px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    min-height: 300px;
    padding: 70px 5% 32px;
    margin-top: 10px;
  }

  .hero-bg {
    font-size: 2.7rem;
    letter-spacing: -0.03em;
  }

  .hero-front {
    margin-top: 20px;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    letter-spacing: 0.18em;
  }

  .hero-line {
    width: 72px;
    height: 3px;
    margin-top: 10px;
  }
}

@media (max-width: 320px) {
  .hero-title {
    min-height: 280px;
    padding: 60px 4% 28px;
  }

  .hero-bg {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    letter-spacing: 0.16em;
  }

  .hero-line {
    width: 64px;
  }
}

/*************************************************************/

/* SECCIÓN IMAGENES */

.split-section {
  position: relative;
  display: flex;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.split-image {
  width: 50%;
  height: 100%;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 2;
}

.split-content h2 {
  font-size: 64px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.split-content p {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
}

.split-content {
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* RESPONSIVE DESIGN */

@media (max-width: 1024px) {
  .split-section {
    height: 420px;
  }

  .split-content h2 {
    font-size: 48px;
  }

  .split-content p {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .split-section {
    height: 380px;
  }

  .split-content h2 {
    font-size: 40px;
  }

  .split-content p {
    font-size: 15px;
    padding: 0 20px;
  }
}

/*************************************************************/

/* SECCIÓN IMPRESIÓN 3D */

.dashboard-section {
  background: #0b0b0b;
  padding: 80px 5%;
  color: #e5e5e5;
  font-family: 'Inter', sans-serif;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
}

/* TARJETAS */
.card {
  border: 1px solid #666;
  background: #111;
  border-radius: 26px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* COLUMNA IZQUIERDA */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* HERO */
.hero-card h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-card p {
  color: #aaa;
  max-width: 480px;
}

/* TARJETAS INFERIORES */
.bottom-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* INSIGHT */
.insight-card h3 {
  font-size: 1.4rem;
}

.big-number {
  display: block;
  font-size: 3.5rem;
  margin: 20px 0;
  color: #4ade80;
}

.insight-card p {
  color: #999;
  max-width: 220px;
}

/* SEMICÍRCULO VERDE */
.green-glow {
  position: absolute;
  bottom: -60%;
  left: -40%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(74,222,128,0.8), transparent 70%);
  border-radius: 50%;
}

/* SERVICIOS */
.services-card ul {
  list-style: none;
  padding: 0;
  margin-top: 60px;
}

.services-card li {
  margin-bottom: 14px;
  padding-left: 26px;
  position: relative;
}

.services-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #4158d0;
}

/* ESFERA WIREFRAME */
.wireframe {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;

  /* profundidad */
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.02) 60%,
    transparent 70%
  );

  /* anillos */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08);

  transform: rotate(20deg);
}

/* MERIDIANOS */
.wireframe::before,
.wireframe::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
}

/* vertical */
.wireframe::before {
  transform: rotateX(65deg);
}

/* horizontal */
.wireframe::after {
  transform: rotateY(65deg);
}

/* LÍNEAS INTERNAS */
.wireframe {
  background-image:
    repeating-radial-gradient(
      circle,
      transparent 0 18px,
      rgba(255,255,255,0.06) 19px 20px
    );
}

/* COLUMNA DERECHA */
.project-card small {
  color: #aaa;
}

.project-card h2 {
  font-size: 3rem;
  margin: 14px 0 24px;
}

.project-card img {
  width: 100%;
  border-radius: 18px;
}

/* ===== ANIMACIONES SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(6px);
  transition: 
    opacity 0.9s ease,
    transform 0.9s ease,
    filter 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/*===========================*/
/***** DISEÑO RESPONSIVO *****/
/*===========================*/

@media (max-width: 1199px) {

  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-card h1 {
    font-size: 2.4rem;
  }

  .project-card h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 900px) {

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .left-column {
    order: 1;
  }

  .project-card {
    order: 2;
  }

  .project-card h2 {
    font-size: 2.2rem;
  }

  .hero-card h1 {
    font-size: 2.2rem;
  }

  .bottom-cards {
    grid-template-columns: 1fr 1fr;
  }

  .wireframe {
    width: 180px;
    height: 180px;
    top: -30px;
    right: -30px;
  }

  .green-glow {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 600px) {

  .dashboard-section {
    padding: 60px 6%;
  }

  .card {
    padding: 28px;
  }

  .hero-card h1 {
    font-size: 1.9rem;
  }

  .project-card h2 {
    font-size: 1.9rem;
  }

  .bottom-cards {
    grid-template-columns: 1fr;
  }

  .big-number {
    font-size: 3rem;
  }

  .services-card ul {
    margin-top: 40px;
  }

  .wireframe {
    width: 150px;
    height: 150px;
    opacity: 0.4;
  }

  .green-glow {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 420px) {

  .dashboard-section {
    padding: 50px 5%;
  }

  .hero-card h1,
  .project-card h2 {
    font-size: 1.7rem;
  }

  .hero-card p,
  .insight-card p,
  .project-card small {
    font-size: 0.95rem;
  }

  .card {
    padding: 24px;
    border-radius: 20px;
  }

  .wireframe,
  .green-glow {
    display: none;
  }
}

/*************************************************************/

/* SECCIÓN IMPRESORAS */

.printers-section {
  width: 100%;
  background: #ffffff;
  padding: 0px 0 80px;
}

.printer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.printer-row.reverse {
  direction: rtl;
}

.printer-row.reverse > * {
  direction: ltr;
}

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

.printer-info {
  background: #ffffff;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.printer-info h2 {
  margin-top: 0;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #000;
}

.printer-info ul {
  list-style: none;
  padding: 0;
}

.printer-info li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #475569;
}

.printer-info strong {
  color: #000;
}

.printer-info p {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #000;
  margin-top: 16px;
  text-align: justify;
}

.printer-row {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.printer-row.show {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 1024px) {
  .printer-info {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .printer-row {
    grid-template-columns: 1fr;
  }

  .printer-row.reverse {
    direction: ltr;
  }

  .printer-image {
    height: 320px;
  }

  .printer-info {
    padding: 50px 30px;
  }

  .printer-info h2 {
    font-size: 2rem;
  }
}
