/* ===============================================
   PAQUETES PERSONALIZADOS - CSS ESPECÍFICO
   Hereda variables y estilos base de main2.css
   Safe Travel Perú
=============================================== */

/* Este archivo asume que ya tienes cargado main2.css */

/* ===============================================
   PÁGINA PAQUETES PERSONALIZADOS
=============================================== */
.paquetes-personalizados-page {
  background: #f8f9fa;
}

.hero-paquetes-personalizados {
  position: relative;
  height: 80vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-paquetes-personalizados .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.hero-paquetes-personalizados .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.hero-paquetes-personalizados .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.hero-paquetes-personalizados h1 {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
  font-weight: 800;
  line-height: 1.2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-primary, .btn-secondary {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
  display: block;
}

.scroll-indicator span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===============================================
   FORMULARIO PERSONALIZADO
=============================================== */
.formulario-personalizado {
  padding: 80px 20px;
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 204, 113, 0.1);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

.form-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.form-group input.error {
  border-color: #e74c3c;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===============================================
   SELECCIÓN DE TIPO DE PAQUETE
=============================================== */
.form-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title i {
  color: var(--primary);
}

.package-type-selection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.package-option {
  position: relative;
}

.package-option input[type="radio"] {
  display: none;
}

.package-label {
  display: block;
  padding: 25px 20px;
  background: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  height: 100%;
}

.package-label:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.package-option input[type="radio"]:checked + .package-label {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(67, 160, 71, 0.05) 100%);
  box-shadow: 0 5px 20px rgba(46, 204, 113, 0.2);
}

.package-option input[type="radio"]:checked + .package-label::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.package-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-icon i {
  font-size: 2rem;
  color: var(--white);
}

.package-label.vip .package-icon {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.package-label h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 5px;
  font-weight: 700;
}

.package-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.package-label.vip .package-price {
  color: #e67e22;
}

.package-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
}

.vip-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.form-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #e0e0e0, transparent);
  margin: 30px 0;
}

/* ===============================================
   TOURS MÁS COMPACTOS - PASO 2
=============================================== */

/* Grid más compacto con 3 columnas */
.tours-selection {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas en desktop */
  gap: 12px; /* Menos espacio entre tours */
  margin-bottom: 20px;
}

/* Tour más compacto */
.tour-option {
  position: relative;
}

.tour-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 10px; /* Padding reducido */
  background: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 12px; /* Borde más pequeño */
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  height: 100%;
  min-height: auto; /* Eliminar altura mínima */
}

/* Imagen más pequeña */
.tour-image {
  width: 60px; /* Reducido de 100px */
  height: 60px; /* Reducido de 100px */
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 8px; /* Menos margen */
  border: 2px solid var(--primary); /* Borde más fino */
  transition: var(--transition);
  background: #f0f0f0;
  flex-shrink: 0; /* Evitar que se deforme */
}

.tour-checkbox:checked + .tour-label .tour-image {
  border-color: var(--primary-dark);
  box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
  transform: scale(1.05);
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Textos más compactos */
.tour-label h4 {
  font-size: 0.85rem; /* Reducido de 1rem */
  color: var(--dark);
  margin: 6px 0 3px; /* Menos margen */
  font-weight: 600;
  line-height: 1.2;
}

.tour-price {
  font-size: 0.9rem; /* Reducido de 1.1rem */
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px; /* Menos margen */
}

.tour-desc {
  font-size: 0.7rem; /* Reducido de 0.8rem */
  color: var(--gray);
  line-height: 1.2; /* Más compacto */
  margin-top: 2px;
}

/* Check más pequeño */
.tour-checkbox:checked + .tour-label::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px; /* Reducido de 28px */
  height: 22px; /* Reducido de 28px */
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.75rem; /* Reducido de 0.9rem */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Hover más sutil */
.tour-label:hover {
  border-color: var(--primary);
  transform: translateY(-3px); /* Menos elevación */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Seleccionado más sutil */
.tour-checkbox:checked + .tour-label {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(67, 160, 71, 0.08) 100%);
}

/* ===============================================
   RESPONSIVE - TOURS COMPACTOS
=============================================== */

@media (max-width: 768px) {
  .tours-selection {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    gap: 10px;
  }
  
  .tour-image {
    width: 55px;
    height: 55px;
  }
  
  .tour-label {
    padding: 10px 8px;
  }
  
  .tour-label h4 {
    font-size: 0.8rem;
  }
  
  .tour-price {
    font-size: 0.85rem;
  }
  
  .tour-desc {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .tours-selection {
    grid-template-columns: repeat(2, 1fr); /* Mantener 2 columnas */
    gap: 8px;
  }
  
  .tour-image {
    width: 50px;
    height: 50px;
  }
  
  .tour-label {
    padding: 8px 6px;
  }
  
  .tour-label h4 {
    font-size: 0.75rem;
  }
  
  .tour-price {
    font-size: 0.8rem;
  }
  
  .tour-desc {
    font-size: 0.6rem;
    display: none; /* Ocultar descripción en móviles muy pequeños */
  }
  
  .tour-checkbox:checked + .tour-label::after {
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    top: 4px;
    right: 4px;
  }
}

/* Opcional: Grid de 4 columnas en pantallas grandes */
@media (min-width: 1200px) {
  .tours-selection {
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en pantallas grandes */
    gap: 15px;
  }
}
/* ===============================================
   BOTONES DE NAVEGACIÓN
=============================================== */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 15px;
}

.btn-prev,
.btn-next,
.btn-submit {
  padding: 15px 40px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-prev {
  background: #e0e0e0;
  color: var(--dark);
}

.btn-prev:hover {
  background: #d0d0d0;
}

.btn-next,
.btn-submit {
  background: var(--primary);
  color: var(--white);
}

.btn-next:hover,
.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
}

.btn-submit {
  background: #25D366;
}

.btn-submit:hover {
  background: #128C7E;
}

/* ===============================================
   PROGRESO DEL FORMULARIO
=============================================== */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e0e0e0;
  z-index: 0;
}

.progress-bar {
  position: absolute;
  top: 20px;
  left: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s ease;
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.progress-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: 700;
  transition: var(--transition);
}

.progress-step.active .progress-circle {
  background: var(--primary);
  color: var(--white);
}

.progress-step.completed .progress-circle {
  background: var(--primary);
  color: var(--white);
}

.progress-step.completed .progress-circle::after {
  content: "✓";
}

.progress-label {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
}

/* ===============================================
   RESUMEN DEL PAQUETE
=============================================== */
.resumen-paquete {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  border: 2px solid var(--primary);
  margin-bottom: 30px;
}

.summary-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.summary-card h4 {
  color: var(--dark);
  margin-bottom: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.summary-card p {
  margin-bottom: 8px;
  color: var(--gray);
}

.summary-card ul {
  list-style: none;
  padding: 0;
}

.summary-card li {
  padding: 5px 0;
  border-bottom: 1px dashed #e0e0e0;
  color: var(--gray);
}

.summary-card li:last-child {
  border-bottom: none;
}

.summary-total {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(67, 160, 71, 0.1) 100%);
  border-radius: 12px;
}

.summary-total h3 {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.summary-total .note {
  color: var(--gray);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===============================================
   WHATSAPP BUTTON
=============================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  z-index: 999;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #333;
  color: var(--white);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  animation: pulse 2s infinite;
}
/* ===============================================
   FIX COMPLETO: CAMPO DE TELÉFONO LIMPIO
   Sin símbolos raros, sin duplicados
=============================================== */

/* Contenedor principal del input de teléfono */
.phone-input-wrapper {
  position: relative;
  width: 100%;
}

/* Contenedor flex para el botón + input */
.phone-input-container {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  direction: ltr !important;
  unicode-bidi: normal !important;
}

/* Botón del código de país */
.country-code-button {
  position: absolute;
  left: 3px;
  top: 3px;
  bottom: 3px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 28px 0 12px;
  background: #f0f4f0;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  transition: background 0.2s ease;
  direction: ltr !important;
  unicode-bidi: normal !important;
  user-select: none;
  -webkit-user-select: none;
}

.country-code-button:hover {
  background: #e0e8e0;
}

.country-code-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.country-code-button .country-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.country-code-button .country-code-display {
  font-weight: 700;
  color: #1a1a2e;
}

.country-code-button .chevron-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.country-code-button .chevron-icon i {
  font-size: 0.6rem;
  color: #666;
  transition: transform 0.3s ease;
}

/* Input de teléfono */
.phone-input {
  width: 100%;
  padding: 15px 15px 15px 130px !important;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif !important;
  background: #ffffff;
  transition: all 0.3s ease;
  direction: ltr !important;
  unicode-bidi: plaintext !important;
  text-align: left !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.phone-input:focus {
  outline: none;
  border-color: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.phone-input.error {
  border-color: #e74c3c !important;
  background: #fff5f5 !important;
}

.phone-input.valid {
  border-color: #2ecc71 !important;
  background: #f5fff5 !important;
}

/* Placeholder limpio */
.phone-input::placeholder,
.phone-input::-webkit-input-placeholder,
.phone-input::-moz-placeholder,
.phone-input:-ms-input-placeholder {
  direction: ltr !important;
  unicode-bidi: plaintext !important;
  text-align: left !important;
  color: #aaaaaa !important;
  opacity: 1 !important;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif !important;
  letter-spacing: normal !important;
}

/* Prevenir autocompletado con estilos raros */
.phone-input:-webkit-autofill,
.phone-input:-webkit-autofill:hover,
.phone-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #1a1a2e !important;
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Mensaje de ayuda */
.input-helper {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: #888;
  direction: ltr !important;
  text-align: left !important;
}

.input-helper i {
  margin-right: 5px;
  color: #2ecc71;
}

/* Etiqueta del teléfono */
.phone-label-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
}

.phone-label-wrapper label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.label-hint {
  font-size: 0.7rem;
  color: #999;
  font-weight: normal;
}

/* Responsive */
@media (max-width: 768px) {
  .phone-input {
    padding: 12px 12px 12px 105px !important;
    font-size: 0.9rem;
  }
  
  .country-code-button {
    left: 2px;
    top: 2px;
    bottom: 2px;
    padding: 0 24px 0 8px;
    font-size: 0.85rem;
  }
  
  .country-code-button .country-flag {
    font-size: 1rem;
  }
  
  .country-code-button .country-code-display {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .phone-input {
    padding: 10px 8px 10px 95px !important;
    font-size: 0.85rem;
  }
  
  .country-code-button {
    left: 2px;
    top: 2px;
    bottom: 2px;
    padding: 0 20px 0 6px;
    font-size: 0.8rem;
    gap: 3px;
  }
  
  .country-code-button .country-flag {
    font-size: 0.9rem;
  }
  
  .country-code-button .country-code-display {
    font-size: 0.75rem;
  }
  
  .label-hint {
    font-size: 0.6rem;
  }
}
/* ===============================================
   RESPONSIVE
=============================================== */
@media (max-width: 768px) {
  .hero-paquetes-personalizados h1 {
    font-size: 2.5rem;
  }
  .hero-stats {
    gap: 20px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .form-container {
    padding: 30px 20px;
  }
  .tours-selection {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .tour-image {
    width: 80px;
    height: 80px;
  }
  .package-type-selection {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-navigation {
    flex-direction: column;
  }
  .btn-prev, .btn-next, .btn-submit {
    width: 100%;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .phone-input {
    padding: 12px 12px 12px 100px !important;
    font-size: 0.9rem;
  }
  .country-code-button {
    left: 2px;
    top: 2px;
    bottom: 2px;
    padding: 0 10px 0 8px;
    gap: 4px;
  }
  .country-code-button .country-flag {
    font-size: 1rem;
  }
  .country-code-button .country-code-display {
    font-size: 0.8rem;
  }
  .country-modal {
    max-height: 65vh;
  }
  .country-list {
    max-height: calc(65vh - 120px);
  }
  .country-item {
    padding: 10px 16px;
  }
  .country-flag-large {
    font-size: 1.2rem;
    width: 28px;
    margin-right: 12px;
  }
  .country-name {
    font-size: 0.85rem;
  }
  .country-code-value {
    font-size: 0.8rem;
    padding: 3px 12px;
  }
}

@media (max-width: 480px) {
  .hero-paquetes-personalizados h1 {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  .tours-selection {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tour-image {
    width: 70px;
    height: 70px;
  }
  .tour-label h4 {
    font-size: 0.85rem;
  }
  .tour-price {
    font-size: 0.9rem;
  }
  .tour-desc {
    font-size: 0.7rem;
  }
  .package-type-selection {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .package-label {
    padding: 15px 10px;
  }
  .package-icon {
    width: 50px;
    height: 50px;
  }
  .package-icon i {
    font-size: 1.5rem;
  }
  .package-label h4 {
    font-size: 1rem;
  }
  .package-price {
    font-size: 1rem;
  }
  .flatpickr-calendar {
    width: 300px !important;
    max-width: 90vw !important;
    margin: 0 auto;
  }
  .flatpickr-days {
    width: 100% !important;
  }
  .dayContainer {
    width: 100% !important;
    min-width: unset !important;
    max-width: unset !important;
  }
  .flatpickr-day {
    height: 35px !important;
    line-height: 35px !important;
    font-size: 0.9rem !important;
  }
  .flatpickr-current-month {
    font-size: 1.1rem !important;
  }
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .phone-input {
    padding: 10px 8px 10px 90px !important;
    font-size: 0.85rem;
  }
  .country-code-button {
    left: 2px;
    right: auto;
    padding: 0 8px 0 6px;
    gap: 3px;
  }
  .country-code-button .country-flag {
    font-size: 0.9rem;
  }
  .country-code-button .country-code-display {
    font-size: 0.75rem;
  }
  .country-modal {
    max-height: 60vh;
    min-height: 45vh;
  }
  .country-list {
    max-height: calc(60vh - 115px);
    min-height: 180px;
  }
  .country-modal-header h3 {
    font-size: 0.85rem;
  }
  .country-item {
    padding: 8px 14px;
  }
  .country-flag-large {
    font-size: 1rem;
    width: 24px;
    margin-right: 10px;
  }
  .country-name {
    font-size: 0.8rem;
  }
  .country-code-value {
    font-size: 0.75rem;
    padding: 2px 10px;
  }
  .country-search-box input {
    font-size: 0.75rem;
    padding: 8px 12px 8px 35px;
  }
  .label-hint {
    font-size: 0.6rem;
  }
}
/* ===============================================
   PAQUETES PERSONALIZADOS - CSS ESPECÍFICO
   Safe Travel Perú
=============================================== */

/* Estilos generales para la página de paquetes personalizados */

.phone-input-wrapper {
    position: relative;
    width: 100%;
}

.phone-input-container {
    position: relative; 
    display: flex; 
    align-items: stretch; 
    width: 100%; 
}

.country-code-button {
    /* Estilos para el botón del código de país */
}

.phone-input {
    /* Estilos para el input de teléfono */
}

/* Responsividad y estilos adicionales ... */
@media (max-width: 768px) {
    /* Ajustes responsivos */
}

@media (max-width: 480px) {
    /* Ajustes responsivos adicionales */
}
/* ===============================================
   FIX MODAL SELECTOR DE PAÍS (OBLIGATORIO)
=============================================== */

.country-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.country-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.country-modal {
  width: 100%;
  max-width: 500px;
  max-height: 75vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.country-modal-overlay.active .country-modal {
  transform: translateY(0);
}

/* HEADER */
.country-modal-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: center;
  position: relative;
}

.modal-drag-handle {
  width: 40px;
  height: 4px;
  background: #ccc;
  border-radius: 10px;
  margin: 0 auto 10px;
}

.close-modal-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  border: none;
  background: none;
  font-size: 1rem;
  cursor: pointer;
}

.country-modal-header h3 {
  margin: 5px 0 10px;
  font-size: 1rem;
}

/* SEARCH */
.country-search-box {
  position: relative;
}

.country-search-box i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.country-search-box input {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* LIST */
.country-list {
  overflow-y: auto;
  max-height: calc(75vh - 120px);
}

/* ITEM */
.country-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.country-item:hover {
  background: #f5f5f5;
}

.country-item.selected {
  background: #e8f8f0;
}

/* FLAG */
.country-flag-large {
  font-size: 1.4rem;
  margin-right: 10px;
}

/* INFO */
.country-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.country-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.country-digits {
  font-size: 0.75rem;
  color: #888;
}

/* CODE */
.country-code-value {
  font-weight: bold;
  color: #2ecc71;
}