/* ===========================================
   ISLAND TRAVEL - excursions STYLES
   ===========================================
   Estilos específicos para la página de excursions
   Estilo visual original restaurado
   =========================================== */

/* ========== VARIABLES GLOBALES ========== */
:root {
  --color-bg: #FFFFFF;
  --color-text: #1A1A1A;
  --color-primary: #002D72;
  /* Azul de la bandera dominicana */
  --color-secondary: #CE1126;
  /* Rojo de la bandera dominicana */
  --color-footer: #CE1126;
  /* Footer en rojo dominicano */
  --color-borders: #E0E0E0;
  /* Bordes suaves */
  --color-shadows: rgba(0,45,114,0.1);
  /* Sombras azules dominicanas */
  --color-accent: #ff6b35;
  /* Naranja acento */
  --color-gradient-start: #004080;
  --color-gradient-end: #0066cc;
  --transition: all 0.2s ease;
  --font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --color-accent: #ff6b35;
}

/* ========== ESTILOS GLOBALES ========== */
/* Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  text-align: center;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== HEADER ========== */
.main-header {
  background-color: #004080;
  color: #FFFFFF;
  width: 100%;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 15px 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  position: static;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-start;
}

.nav-link {
  background-color: #FFFFFF;
  color: #004080;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link.active {
  font-weight: 700;
}

.nav-link.active-page {
  display: none;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  cursor: pointer;
  text-align: center;
  flex: 1;
}

.lang-switch {
  position: static;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.lang-btn {
  background-color: #FFFFFF;
  color: #004080;
  border: 2px solid #e0e0e0;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  min-width: 80px;
  text-align: center;
}

.lang-btn:hover {
  box-shadow: 0 2px 8px rgba(0, 45, 114, 0.2);
  transform: translateY(-1px);
}

.lang-btn[aria-pressed="true"] {
  background-color: #004080;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

.lang-btn[aria-pressed="true"] {
  background-color: #004080;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
  text-align: center;
  padding: 10px 15px;
}

.nav-menu {
  justify-content: center;
}

.site-title {
  flex: none;
  margin-bottom: 10px;
}

  .nav-link,
  .lang-btn {
  font-size: 1rem;
  padding: 12px 16px;
}

}

/* ========== CONTAINER ========== */
.container {
  max-width: 600px;
  margin: 32px auto;
  background: #fff;
  padding: clamp(20px, 4vw, 28px);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  flex: 1;
  text-align: center;
}

/* ========== CONFIRMATION ========== */
.confirmation {
  display: none;
}

/* ========== LOGO ========== */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px 0 22px;
}

.logo img {
  max-width: min(220px, 90%);
  height: auto;
  display: block;
}

/* ========== FORMULARIOS ========== */
form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 16px;
  color: #222;
  text-align: left;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  margin-bottom: 14px;
  transition: var(--transition);
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,64,128,0.1);
  outline: none;
  transform: translateY(-1px);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* ========== TITLES ========== */
h2 {
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 18px;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-family);
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ========== FORM GRID ========== */
.form-row, .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

/* Grid layout de 2 columnas cuando el preview de excursion está visible */
.form-grid:has(.excursion-preview[style*="display: block"]) {
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

/* Ajustes para el preview en layout vertical */
.form-grid:has(.excursion-preview[style*="display: block"]) .excursion-preview {
  grid-column: 1;
  grid-row: 2;
  margin: 20px 0 0 0;
  padding: 25px;
  max-width: none;
  width: 100%;
}

.form-grid:has(.excursion-preview[style*="display: block"]) .excursion-content {
  gap: 20px;
}

.form-grid:has(.excursion-preview[style*="display: block"]) .excursion-image-container {
  max-width: 400px;
}

.form-grid:has(.excursion-preview[style*="display: block"]) .excursion-image {
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.form-grid:has(.excursion-preview[style*="display: block"]) .excursion-title {
  font-size: 1.6rem;
}

.form-grid:has(.excursion-preview[style*="display: block"]) .excursion-description {
  font-size: 1rem;
  line-height: 1.6;
}

.form-grid:has(.excursion-preview[style*="display: block"]) .excursion-details {
  padding: 15px;
}

.form-grid:has(.excursion-preview[style*="display: block"]) .includes-list {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
}

.form-grid:has(.excursion-preview[style*="display: block"]) .includes-list li {
  font-size: 0.9rem;
  padding: 8px 10px;
  max-width: none;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

/* ========== BUTTONS ========== */
.form-actions {
  text-align: center;
  margin-top: 24px;
}

.btn-submit {
  width: 100%;
  max-width: 300px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--color-secondary), #b71c1c);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(227,38,54,0.22);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(227,38,54,0.3);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ========== LOADING SPINNER ========== */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-left: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg);
}

}

/* ========== SERVER MESSAGES ========== */
.server-response {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
}

.server-response.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.server-response.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ========== PAYMENT METHODS ========== */
.payment-methods-container {
  display: none;
  margin: 20px 0;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #f9f9f9;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  border: 2px solid #e9ecef;
}

.payment-methods {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  flex-direction: column;
}

.payment-method {
  flex: 1;
  min-width: 200px;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  margin-bottom: 10px;
}

.payment-method:hover {
  border-color: #0077cc;
  background: #f0f8ff;
}

.payment-method.active {
  border-color: #0077cc;
  background: #e6f3ff;
}

.payment-method i {
  font-size: 2em;
  margin-bottom: 10px;
  display: block;
}

.payment-method .fab.fa-paypal {
  color: #0070ba;
}

.payment-method .fas.fa-money-bill-wave {
  color: #28a745;
}

.payment-method strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.payment-method small {
  color: #6c757d;
  font-size: 0.9rem;
}

.payment-summary {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 5px 0;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row.total {
  border-top: 2px solid #0077cc;
  padding-top: 10px;
  font-weight: bold;
  font-size: 1.2em;
  color: #0077cc;
}

.paypal-container {
  margin-top: 20px;
  min-height: 50px;
}

#paypal-button-container {
  margin-top: 15px;
  min-height: 60px;
}

.cash-payment {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

/* ========== INTERNATIONAL PAYMENT INFO ========== */
.international-payment-info {
  background: #e8f4fd;
  border: 1px solid #b8daf5;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.international-payment-info h4 {
  margin: 0 0 10px 0;
  color: #0066cc;
}

.international-payment-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* ========== ALERTS ========== */
.error-alert {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  border: 1px solid #f5c6cb;
}

.success-alert {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  border: 1px solid #c3e6cb;
}

/* ========== BOTONES ========== */
.btn-reservar {
  background: linear-gradient(45deg, var(--color-primary), #0066cc);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  display: block;
}

.btn-reservar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 64, 128, 0.3);
}

.btn-reservar:active {
  transform: translateY(0);
}

/* ========== PRECIOS ========== */
.price-display {
  text-align: center;
  margin: 15px 0;
  font-size: 18px;
  font-weight: bold;
  color: #004080;
}

.precio-total {
  background: #e6f3ff;
  border: 2px solid #0077cc;
  color: #0077cc;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,119,204,0.1);
  animation: fadeIn 0.3s ease-out;
}

/* ========== POPUP ========== */
.thank-you-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/fondo-caribeno.png');
  background-size: cover;
  background-position: center;
  z-index: 3000;
  justify-content: center;
  align-items: center;
}

.thank-you-content {
  background: linear-gradient(135deg, #00a4bd, #00607a);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  max-width: min(90vw, 600px);
  animation: thankYouAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
  color: white;
  width: 100%;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
}

.thank-you-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.thank-you-content p {
  font-size: 16px;
  margin: 15px 0;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.reservation-number {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 12px;
  margin: 25px 0;
  border: 1px solid rgba(255,255,255,0.2);
}

.palm-icon {
  font-size: 60px;
  color: #90EE90;
  margin-bottom: 20px;
  display: block;
  animation: palmSway 3s ease-in-out infinite;
}

.print-pdf-btn, #btn-accept {
  background: linear-gradient(45deg, #FF6B35, #F7931E);
  color: white;
  border: none;
  padding: 12px 24px;
  margin: 8px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.print-pdf-btn:hover, #btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

@keyframes thankYouAppear {
  0% {
    opacity: 0;
  transform: scale(0.8) translateY(50px);
}

100% {
  opacity: 1;
  transform: scale(1);
}

}

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #ff0000;
  opacity: 0;
  z-index: 3001;
}

@keyframes palmSway {
  0%, 100% { transform: rotate(-5deg);
}

50% {
  transform: scale(1.05);
  background-position: 100% 50%;
  opacity: 1;
}

}

/* ========== WHATSAPP ========== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  z-index: 1000001;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--color-footer);
  color: white;
  width: 100%;
  padding: 20px 24px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: auto;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

/* ========== BACK TO TOP ========== */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 1200;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

#backToTop.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--color-primary);
  transform: translateY(-2px) scale(1.1);
}

/* ========== SOCIAL ICONS ========== */
.social-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px) scale(1.1);
}

/* ========== ESTILOS MIGRADOS DE MAIN.CSS ========== */

/* Fieldset y Legend para mejor agrupación de formularios */
fieldset {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  background: #fafafa;
}

legend {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,249,255,0.9));
  border-radius: 12px;
  border: none;
  border-bottom: 3px solid var(--color-primary);
  margin-bottom: 20px;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,64,128,0.08);
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.3s ease;
}

legend:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,64,128,0.12);
  border-bottom-color: var(--color-primary);
}

/* Price Breakdown */
.price-breakdown {
  background: #f0f8ff;
  padding: 15px;
  border-radius: 8px;
  margin: 10px 0;
  font-size: 14px;
}

.price-breakdown div {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

/* Zone Info */
.zone-info {
  background: #e6f2ff;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  font-size: 14px;
}

/* Pickup Time Message */
.pickup-time-message {
  color: #ff0000;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 10px;
  padding: 8px;
  border: 2px solid #ff0000;
  border-radius: 5px;
  background-color: #fff0f0;
}

.pickup-time-message span:last-child {
  font-size: 1.4em;
  font-weight: 900;
  display: inline-block;
  vertical-align: middle;
  animation: pulseTime 2s infinite;
}

@keyframes pulseTime {
  0% { transform: scale(1);
}

}

/* ========== ESTILOS ADICIONALES DE VALIDACIÓN Y UTILIDADES ========== */

/* Validations */
.input-error {
  border-color: #e0e0e0;
  background-color: #f8f9fa;
  box-shadow: none;
  transition: all 0.3s ease;
}

.error-text {
  color: #6b6b6b;
  font-size: 0.8rem;
  margin-top: -10px;
  margin-bottom: 12px;
  padding-left: 4px;
  display: none;
  text-align: left;
  font-weight: normal;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.error-text.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

input.input-error:focus,
select.input-error:focus,
textarea.input-error:focus {
  border-color: #004080;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0,64,128,0.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
  text-align: center;
  padding: 10px 15px;
}

.payment-section h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  text-align: center;
}

select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3cpolyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
  font-size: 16px;
}

.language-selector {
  gap: 4px;
}

.language-selector button {
  padding: 8px 16px;
  font-size: 0.9rem;
  all: unset;
  font-weight: 600;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  background-color: #ffffff;
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
}

.modal button {
  width: 100%;
  max-width: 200px;
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.actions {
  flex-direction: column;
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

}

/* ========== NUEVAS CLASES VISUALES ========== */

/* Form Section */
.form-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border: 2px solid rgba(0, 64, 128, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 64, 128, 0.1);
  margin-bottom: 24px;
}

/* Card */
.card {
  background: #ffffff;
  border: 1px solid rgba(0, 64, 128, 0.15);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 64, 128, 0.08);
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 6px 24px rgba(0, 64, 128, 0.12);
  transform: translateY(-2px);
}

/* Highlight */
.highlight {
  background: linear-gradient(135deg, rgba(0, 64, 128, 0.05), rgba(0, 102, 204, 0.05));
  border: 2px solid rgba(0, 64, 128, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}

.highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 12px 12px 0 0;
}

/* Field Group */
.field-group {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 64, 128, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.field-group legend {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 64, 128, 0.2);
}

/* Client Info */
.client-info {
  background: linear-gradient(135deg, rgba(0, 64, 128, 0.02), rgba(0, 102, 204, 0.02));
  border: 2px solid rgba(0, 64, 128, 0.15);
}

.client-info legend {
  background: linear-gradient(135deg, var(--color-primary), #0066cc);
}

/* Label Group */
.label-group {
  margin-bottom: 8px;
}

.label-group label {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
  display: block;
}

/* Input Wrapper */
.input-wrapper {
  position: relative;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background: #ffffff;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus,
.input-wrapper select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 64, 128, 0.1), 0 4px 12px rgba(0, 64, 128, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.input-wrapper textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

/* Select Wrapper */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 12px;
  pointer-events: none;
}

.select-wrapper select {
  appearance: none;
  background: #ffffff;
  cursor: pointer;
}

/* Payment Box */
.payment-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid rgba(0, 64, 128, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  position: relative;
}

.payment-box::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 20px;
  background: white;
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Popup Box */
.popup-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .form-section {
    padding: 16px;
  margin-bottom: 16px;
}

.card {
  margin-bottom: 16px;
}

.field-group {
  padding: 16px;
  margin-bottom: 16px;
}

.highlight {
  padding: 12px;
  margin: 12px 0;
}

.payment-box {
  padding: 16px;
  margin: 16px 0;
}

.input-wrapper input,
  .input-wrapper textarea,
  .input-wrapper select {
  font-size: 16px;
}

}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== ACCESSIBILITY ========== */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid #004080;
  outline-offset: 2px;
}

/* ========== ANIMATIONS ========== */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  transform: translateY(-5px);
}

to {
  opacity: 1;
  transform: translateY(0);
}

}

@keyframes slideUp {
  from {
    opacity: 0;
  transform: translateY(30px);
}

}

/* ========== ESTILOS ESPECÍFICOS DE excursions.HTML ========== */
.header {
  background-color: var(--color-primary);
  color: #FFFFFF;
  width: 100%;
  margin: 0;
  padding: 12px 16px 20px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.field-warning {
  color: #333333;
  font-size: 0.8rem;
  margin-top: -10px;
  margin-bottom: 12px;
  padding-left: 4px;
  text-align: left;
  font-weight: normal;
  opacity: 0.8;
  font-style: italic;
}

.header-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.header-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 10px;
}

.header-center {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #fff;
  color: var(--color-primary);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid transparent;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 0.95rem;
  line-height: 1;
  transition: var(--transition);
  min-width: 120px;
  white-space: nowrap;
  text-align: center;
}

.btn-home:focus,
.btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: var(--color-secondary);
}

.header-center h1 {
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  color: #fff;
  line-height: 1.2;
}

.header p {
  margin: 6px 0 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1);
  opacity: 0.5;
}

}

.language-selector {
  display: flex;
  gap: 8px;
  align-items: center;
}

.language-selector button:hover,
.language-selector button:focus {
  background-color: #f0f8ff;
  transform: scale(1.05);
}

main {
  max-width: 900px;
  margin: 32px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  flex: 1;
}

.confirmation {
  background: #d4edda;
  color: #155724;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
  transform: translateY(-20px);
}

}

form {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.btn-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: var(--transition);
  z-index: 999;
}

.btn-top:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* ========== ESTILOS VISUALES MIGRADOS DE INDEX.CSS Y TRANSFER.CSS ========== */

/* Variables adicionales de colores */
:root {
  --color-accent: #ff6b35;
  /* Naranja acento de transfer.css */
  --color-gradient-start: #004080;
  --color-gradient-end: #0066cc;
}

/* Enhanced Phone Input Container from transfer.css */
.phone-input-container {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid rgba(0, 64, 128, 0.1);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 64, 128, 0.08);
  transition: all 0.3s ease;
}

.phone-input-container:hover {
  box-shadow: 0 4px 16px rgba(0, 64, 128, 0.12);
  border-color: rgba(0, 64, 128, 0.2);
}

/* Enhanced Error Message for Phone from transfer.css */
.phone-error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 6px;
  padding-left: 2px;
  animation: fadeInError 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-error-message::before {
  content: '';
  font-size: 0.9rem;
}

/* Country Selector from transfer.css */
.country-selector {
  width: 100%;
  padding: 14px 45px 14px 55px;
  border: 2px solid rgba(0, 64, 128, 0.15);
  border-radius: 10px;
  background: white;
  font-size: 1rem;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004080' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3cpolyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.country-selector:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 64, 128, 0.15), 0 2px 8px rgba(0, 64, 128, 0.1);
  background-color: #fefefe;
}

.country-selector:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(0, 64, 128, 0.1);
}

/* Country Code Selector Container - Form Flow Integration */
.country-code-selector {
  margin-bottom: 15px;
  width: 100%;
}

.country-selector-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.country-selector-help {
  display: block;
  margin-top: 6px;
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
}

/* Additional Button Class from index.css */
.btn-enhanced {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.btn-enhanced:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Enhanced Social Icons from index.css */
.social-icons-enhanced a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--color-primary);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icons-enhanced a:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* Additional Animations from transfer.css */
@keyframes fadeInError {
  0% {
    opacity: 0;
  transform: translateY(-5px);
}

}

@keyframes shake {
  0%, 100% { transform: translateX(0);
}

25% {
  transform: translateX(-3px);
}

75% {
  transform: translateX(3px);
}

}

/* Enhanced Input Styling from transfer.css */
input[type="tel"].telefono-simple {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(0, 64, 128, 0.15);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  color: #2c3e50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

input[type="tel"].telefono-simple:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 64, 128, 0.15), 0 2px 8px rgba(0, 64, 128, 0.1);
  background-color: #fefefe;
}

input[type="tel"].telefono-simple:hover {
  border-color: rgba(0, 64, 128, 0.3);
}

input[type="tel"].telefono-simple.telefono-error-input {
  border-color: #e74c3c;
  background-color: #fdf2f2;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.15), 0 2px 8px rgba(231, 76, 60, 0.1);
  animation: shake 0.5s ease-in-out;
}

/* ========== ESTILOS MIGRADOS DE ARCHIVOS LEGACY ========== */

/* Glass Effect Container from legacy process-email.css */
.glass-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

/* Enhanced Popup with Glass Effect */
.thank-you-popup .glass-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Additional Spinner from legacy process-email.css */
.spinner-legacy {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

/* Error and Success Messages from legacy process-email.css */
.error-message-legacy {
  color: #ff6b6b;
  background: rgba(255, 0, 0, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

.success-message-legacy {
  color: #51cf66;
  background: rgba(0, 255, 0, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

/* ========== ESTILOS DE EXCURSION MIGRADOS DE MAIN.CSS ========== */

/* Contenedor principal del preview de excursion */
.excursion-preview {
  display: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border: 1px solid rgba(0, 64, 128, 0.2);
  border-radius: 20px;
  padding: 25px;
  margin: 20px 0 30px 0;
  box-shadow: 0 10px 40px rgba(0, 64, 128, 0.1);
  animation: slideUp 0.6s ease-out;
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
}

.excursion-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), #0066cc, var(--color-primary));
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%;
}

}

/* Diseño moderno del contenido - SIEMPRE VERTICAL Y CENTRADO */
.excursion-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  position: relative;
}

.excursion-image-container {
  flex: 0 0 auto;
  width: 100%;
  max-width: 320px;
  position: relative;
}

.excursion-image-container::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, rgba(0, 64, 128, 0.1), rgba(0, 102, 204, 0.1));
  border-radius: 20px;
  z-index: -1;
  animation: pulse 2s ease-in-out infinite;
}

.excursion-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.excursion-image:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.excursion-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.excursion-title {
  color: var(--color-primary);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, var(--color-primary), #0066cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.excursion-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #0066cc);
  border-radius: 2px;
}

.excursion-description {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
  text-align: center;
}

.excursion-details {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 255, 0.9));
  border: 1px solid rgba(0, 64, 128, 0.1);
  border-radius: 15px;
  padding: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
  color: #555;
  font-weight: 500;
  background: rgba(255,255,255,0.1);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  flex-direction: column;
  text-align: left;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item i {
  color: var(--color-primary);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 64, 128, 0.1), rgba(0, 102, 204, 0.1));
  border-radius: 50%;
  font-size: 0.9rem;
}

.detail-item strong {
  color: var(--color-primary);
  font-weight: 700;
}

.includes-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-items: center;
}

.includes-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #666;
  padding: 8px 12px;
  background: rgba(0, 64, 128, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: 100%;
  max-width: 300px;
}

.includes-list li:hover {
  background: rgba(0, 64, 128, 0.1);
  transform: translateY(-2px);
}

.includes-list li::before {
  content: '';
  color: #28a745;
  font-weight: bold;
  font-size: 1rem;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
}

/* Responsive solo para ajustes de tamaño */
@media (max-width: 480px) {
  .excursion-preview {
    padding: 15px 10px;
}

}

/* ========== TAWK.TO CHAT WIDGET ========== */
@media (max-width: 900px) {
  /* WhatsApp flotante - IZQUIERDA en móviles */
  .whatsapp-float {
    left: 20px !important;
    right: auto !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    /* bottom será controlado dinámicamente por JavaScript */
  }

  /* Posicionamiento agresivo del widget flotante - MÚLTIPLES SELECTORES CON CALCULO DINÁMICO */
  #tawkchat-container,
  div[id*="tawk"],
  div[class*="tawk"],
  iframe[src*="tawk.to"],
  [data-tawk-id],
  .tawk-min-container,
  .tawk-chat-container,
  div[style*="position"][style*="fixed"],
  div[style*="bottom"][style*="20px"],
  div[style*="right"][style*="20px"],
  [style*="position: fixed"],
  [style*="bottom"] {
    position: fixed !important;
    right: 20px !important;
    left: auto !important;
    z-index: 10000 !important;
    transform: none !important;
    top: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    /* La propiedad bottom se calcula dinámicamente via JavaScript */
  }
}

/* Posicionar widget flotante a la derecha abajo en desktop */
#tawkchat-container {
  right: 20px !important;
  bottom: 20px !important;
  left: auto !important;
}

/* ========== HOVER EFFECTS FOR EXCURSION IMAGES ========== */
.excursion-img {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.excursion-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 64, 128, 0.25), 0 0 20px rgba(255, 107, 53, 0.1);
  opacity: 0.95;
  border-color: rgba(255, 107, 53, 0.3);
}

/* ========== LOADER SPINNER ========== */
.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #00695c; /* verde caribeño */
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}