/**
 * PORTOCARRERO WEB - GRACIAS CSS
 * Página de confirmación profesional
 * Hero-simple con icono de éxito en blanco
 */

/* ============================================
   HERO INDUSTRIAL PREMIUM
   Background image + Overlay oscuro + Grid pattern
   ============================================ */
.hero-simple {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80px + 2rem) 2rem 8rem;
  background: linear-gradient(135deg, rgba(0, 10, 20, 0.85) 0%, rgba(0, 31, 63, 0.9) 100%);
  overflow: hidden;
  padding-bottom: 20vh;
}

/* Imagen hero desde HTML */
.hero-simple .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

/* Grid tecnológico sutil */
.hero-simple::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 194, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 194, 248, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: -1px -1px;
  z-index: 0;
  opacity: 0.4;
}

.hero-simple .container,
.hero-simple .container-narrow {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.hero-simple h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   SUCCESS ICON - PROFESIONAL BLANCO
   ============================================ */
.success-icon {
  margin: 0 auto 3rem auto;
  width: 120px;
  height: 120px;
  color: #ffffff;
  animation: scaleIn 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.2));
}

.success-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero-simple {
    min-height: 80vh;
    padding: calc(80px + 3rem) 1.5rem 3rem;
  }

  .hero-simple::before {
    background-size: 30px 30px;
  }

  .success-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-simple {
    min-height: 70vh;
    padding: calc(80px + 2rem) 1rem 2rem;
  }

  .success-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
  }
}
