/* ============================================
   VISA AMERICANA - ESTILOS ESPECÍFICOS
   ============================================ */

/* Hero Section Específica para Visa */
.visa-hero {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.visa-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.visa-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out reverse;
}

.visa-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.visa-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.visa-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 700;
}

.visa-hero-content h1 span {
  color: var(--accent);
  display: block;
}

.visa-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.visa-hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 90%;
}

.visa-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.visa-hero-stats .stat {
  text-align: left;
}

.visa-hero-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.visa-hero-stats .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.3rem;
  display: block;
}

.visa-hero-image {
  position: relative;
}

.visa-hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
  /* Ajuste para imagen de Estatua de la Libertad */
  object-fit: cover;
  min-height: 400px;
}

/* Badge Popular en tarjetas */
.popular-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--accent);
  color: white;
  padding: 8px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.service-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.02);
  position: relative;
  overflow: hidden;
}

.service-card.featured::before {
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.service-icon i {
  font-size: 2.0rem;
  /* aumenta el tamaño del ícono */
  color: white;
  /* cambia el color del ícono */
}

/* PROCESO - IGUAL QUE INDEX con iconos elegantes */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

/* Flechas entre pasos (igual que index) */
.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -1rem;
  top: 40%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
}

/* Número/Icono elegante combinado */
.step-number-elegant {
  width: 90px;
  height: 90px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.step-icon-elegant {
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

/* Efecto hover elegante */
.process-step:hover .step-number-elegant {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
  background: #4781bc;
}

.process-step:hover .step-icon-elegant {
  transform: rotate(10deg);
}

/* Título y descripción del paso */
.process-step h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CONTACTO SOLO FORMULARIO */
.contact-solo-formulario {
  padding: 6rem 2rem;
  background: var(--bg-alt);
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-solo {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form-solo .form-group {
  margin-bottom: 1.5rem;
}

.contact-form-solo .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-form-solo .form-group input,
.contact-form-solo .form-group select,
.contact-form-solo .form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fafafa;
}

.contact-form-solo .form-group input:focus,
.contact-form-solo .form-group select:focus,
.contact-form-solo .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.contact-form-solo .form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1.2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* CTA Azul (como el hero) */
.visa-cta-blue {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  position: relative;
  overflow: hidden;
}

.visa-cta-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.visa-cta-blue .cta-content {
  position: relative;
  z-index: 1;
}

/* Animaciones suaves para tarjetas */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover::after {
  left: 100%;
}

.service-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
}

/* Responsive */
@media (max-width: 992px) {
  .visa-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .visa-hero-content h1 {
    font-size: 2.5rem;
  }

  .visa-hero-stats {
    justify-content: center;
  }

  .visa-hero-stats .stat {
    text-align: center;
  }

  .visa-hero-description {
    max-width: 100%;
  }

  .visa-hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  /* Ocultar flechas en móvil */
  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .visa-hero {
    padding: 4rem 1.5rem;
    min-height: auto;
  }

  .visa-hero-content h1 {
    font-size: 2rem;
  }

  .visa-hero-subtitle {
    font-size: 1.2rem;
  }

  .visa-hero-image img {
    min-height: 300px;
  }

  /* Proceso en columna en móvil */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-step {
    padding: 1.5rem;
  }

  .step-number-elegant {
    width: 80px;
    height: 80px;
  }

  .step-icon-elegant {
    font-size: 1.8rem;
  }

  /* Formulario en columna */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-solo {
    padding: 2rem;
  }

  .popular-badge {
    right: -30px;
    padding: 6px 30px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .visa-hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .step-number-elegant {
    width: 70px;
    height: 70px;
  }

  .step-icon-elegant {
    font-size: 1.5rem;
  }

  .contact-form-solo {
    padding: 1.5rem;
  }
}

footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%) !important;
}