/* ==========================================================================
   VIAJES SAMSER - COMPONENTS CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Top Announcement Bar (Deprecated)
   -------------------------------------------------------------------------- */
.top-bar {
  display: none !important;
}

/* --------------------------------------------------------------------------
   2. Main Header & Navbar (Clean White & High Legibility)
   -------------------------------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 3.5px solid var(--samser-gold-500);
  box-shadow: 0 2px 14px rgba(2, 29, 118, 0.04);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2px 0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(2, 29, 118, 0.04);
  border-bottom-color: rgba(226, 232, 240, 0.95);
}

.site-header .container {
  max-width: 1420px;
  width: 100%;
  padding: 0 24px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.nav-brand:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-link {
  color: var(--samser-navy-700);
  font-weight: 700;
  font-size: 0.94rem;
  position: relative;
  padding: 8px 2px;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--samser-gold-500);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--samser-gold-600);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.social-icons-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1.5px solid rgba(203, 213, 225, 0.7);
  margin-left: 4px;
  flex-shrink: 0;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--samser-navy-700);
  transition: all var(--transition-fast);
  text-decoration: none;
  flex-shrink: 0;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
}

/* Colores Oficiales de Redes Sociales */
.social-icon-btn.social-facebook {
  background: #1877F2;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.35);
}

.social-icon-btn.social-facebook:hover {
  background: #166fe5;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.6);
  transform: translateY(-2px) scale(1.08);
}

.social-icon-btn.social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(220, 39, 67, 0.35);
}

.social-icon-btn.social-instagram:hover {
  filter: brightness(1.12);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.65);
  transform: translateY(-2px) scale(1.08);
}

.social-icon-btn.social-tiktok {
  background: #010101;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.social-icon-btn.social-tiktok:hover {
  background: #000000;
  color: #ffffff;
  box-shadow: -2px -1px 8px rgba(37, 244, 238, 0.65), 2px 1px 8px rgba(254, 44, 85, 0.65);
  transform: translateY(-2px) scale(1.08);
}

.social-icon-btn.social-youtube {
  background: #FF0000;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.35);
}

.social-icon-btn.social-youtube:hover {
  background: #e60000;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.6);
  transform: translateY(-2px) scale(1.08);
}

.header-call-btn {
  background: linear-gradient(135deg, var(--samser-gold-400) 0%, var(--samser-gold-500) 100%);
  color: var(--samser-navy-900);
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(251, 184, 1, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 7px 15px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-call-btn:hover {
  background: linear-gradient(135deg, var(--samser-gold-500) 0%, var(--samser-gold-600) 100%);
  color: var(--samser-navy-900);
  box-shadow: 0 6px 18px rgba(251, 184, 1, 0.45);
}

/* Mobile Hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--samser-navy-700);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION — Boutique SaaS Canvas (Cotizador Centrado como Protagonista)
   -------------------------------------------------------------------------- */

.hero-section {
  position: relative;
  background: #f9fafb;
  background-image: radial-gradient(ellipse 80% 60% at 50% 15%, rgba(2, 29, 118, 0.04) 0%, transparent 70%),
                    radial-gradient(ellipse 60% 40% at 50% 85%, rgba(251, 184, 1, 0.04) 0%, transparent 65%);
  display: block;
  padding: 32px 0 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-overlay { display: none; }

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ── Top Meta Bar: 22+ Años, Región & Status en Vivo ── */
.hero-top-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 860px;
  margin: 0 auto 20px;
  padding: 0 4px;
}

.floating-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid rgba(251, 184, 1, 0.8);
  box-shadow: 0 8px 24px rgba(2, 29, 118, 0.07), 0 2px 6px rgba(251, 184, 1, 0.15);
  border-radius: var(--radius-full);
  padding: 6px 16px 6px 7px;
  animation: floatTrustBadge 3.6s ease-in-out infinite;
  transition: all var(--transition-fast);
  cursor: default;
}

.floating-trust-badge:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(2, 29, 118, 0.12), 0 4px 12px rgba(251, 184, 1, 0.25);
  border-color: var(--samser-gold-500);
}

@keyframes floatTrustBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.trust-badge-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--samser-gold-400) 0%, var(--samser-gold-500) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--samser-navy-900);
  box-shadow: 0 2px 6px rgba(251, 184, 1, 0.35);
  flex-shrink: 0;
}

.trust-badge-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.trust-badge-years {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--samser-navy-700);
  letter-spacing: -0.2px;
}

.trust-badge-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 29, 118, 0.06);
  color: var(--samser-navy-700);
  border: 1px solid rgba(2, 29, 118, 0.12);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--samser-gold-500);
  border-radius: 50%;
  animation: pulseGlow 2.2s infinite;
}

.hero-fast-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--samser-navy-700);
  background: rgba(2, 29, 118, 0.05);
  border: 1px solid rgba(2, 29, 118, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.status-live-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulseGlow 2s infinite;
}

/* ==========================================================================
   BOUTIQUE SEARCH WIDGET — Cotizador Centrado como Protagonista
   ========================================================================== */

.search-widget-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-widget);
  padding: 28px 36px 30px;
  color: var(--text-main);
  position: relative;
  border: 1.5px solid var(--border-light);
  border-top: none;
  max-width: 860px;
  margin: 0 auto;
}

.search-widget-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--samser-navy-700), var(--samser-gold-500));
  border-radius: 0 0 3px 3px;
}

.widget-header {
  margin-bottom: 22px;
  text-align: center;
}

.widget-header-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.widget-header-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

/* ── Pill Tab Selector with Sliding Indicator ── */
.trip-type-selector {
  position: relative;
  display: flex;
  background: var(--neutral-100);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 0;
  margin-bottom: 26px;
  overflow: hidden;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.trip-type-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  background: var(--samser-navy-700);
  border-radius: var(--radius-full);
  transition: left var(--duration-spring) var(--ease-spring),
              width var(--duration-spring) var(--ease-spring);
  pointer-events: none;
  z-index: 0;
}

.trip-type-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  background: transparent;
  border: none;
  padding: 9px 12px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: color var(--duration-normal) var(--ease-in-out);
  white-space: nowrap;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.trip-type-btn.active {
  color: #ffffff;
}

.trip-type-btn .tab-svg-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-out);
}

.trip-type-btn:hover .tab-svg-icon {
  transform: scale(1.08);
}

/* ── Widget Form Grid ── */
.widget-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  align-items: start;
}

.widget-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.widget-field.full-width {
  grid-column: 1 / -1;
}

.widget-field label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding-left: 2px;
}

.widget-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.btn-swap-locations {
  background: transparent;
  border: none;
  color: var(--samser-navy-700);
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 1px 6px;
  border-radius: 4px;
  transition: all var(--duration-fast) var(--ease-in-out);
  opacity: 0.8;
  line-height: 1;
}

.btn-swap-locations:hover {
  opacity: 1;
  background: rgba(2, 29, 118, 0.08);
  color: var(--samser-navy-900);
  transform: translateY(-1px);
}

.field-input-box {
  display: flex;
  align-items: center;
  position: relative;
  background: #f9fafb;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-in-out),
              box-shadow var(--duration-fast) var(--ease-in-out),
              background var(--duration-fast) var(--ease-in-out),
              transform var(--duration-fast) var(--ease-spring);
}

.field-input-box:hover {
  border-color: var(--neutral-300);
  background: #ffffff;
}

.field-input-box:focus-within {
  border-color: var(--samser-navy-700);
  background: #ffffff;
  box-shadow: var(--shadow-input-focus);
  transform: translateY(-1px);
}

.field-svg-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--neutral-400);
  pointer-events: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration-fast) var(--ease-in-out);
  z-index: 2;
}

.field-input-box:focus-within .field-svg-icon {
  color: var(--samser-navy-700);
}

.field-input-box input,
.field-input-box select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px 12px 44px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom on focus */
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  -webkit-appearance: none;
  appearance: none;
}

.field-input-box select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23021d76' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.field-input-box input[type="text"],
.field-input-box input[type="date"] {
  cursor: text;
}

.field-input-box input::placeholder {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.92rem;
}

/* ── Passenger Counter ── */
.passenger-counter-wrap {
  background: #f9fafb;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  transition: border-color var(--duration-fast) var(--ease-in-out),
              box-shadow var(--duration-fast) var(--ease-in-out),
              transform var(--duration-fast) var(--ease-spring);
}

.passenger-counter-wrap:focus-within {
  border-color: var(--samser-navy-700);
  box-shadow: var(--shadow-input-focus);
  transform: translateY(-1px);
}

.pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pax-row + .pax-row {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  border-left: 1px solid var(--border-light);
  padding-left: 20px;
}

.pax-label-group {}

.pax-label-title {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.pax-label-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 1px;
}

.pax-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pax-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.pax-btn:hover {
  border-color: var(--samser-navy-700);
  background: var(--samser-navy-700);
  color: #ffffff;
  transform: scale(1.08);
}

.pax-btn:active { transform: scale(0.94); }

.pax-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.pax-count {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  min-width: 18px;
  text-align: center;
  letter-spacing: -0.02em;
  transition: transform var(--duration-fast) var(--ease-spring);
}

.pax-count.bump {
  animation: paxBump 200ms var(--ease-spring);
}

@keyframes paxBump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.28); color: var(--samser-navy-700); }
  100% { transform: scale(1); }
}

#selectPassengers { display: none; }

/* ── Widget Action Row ── */
.widget-action-row {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.btn-quote-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--samser-gold-400) 0%, var(--samser-gold-500) 100%);
  color: var(--samser-navy-900);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(251, 184, 1, 0.4);
  transition: all var(--duration-fast) var(--ease-spring);
}

.btn-quote-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, transparent 60%);
  pointer-events: none;
}

.btn-quote-submit:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 30px rgba(251, 184, 1, 0.52);
  background: linear-gradient(135deg, var(--samser-gold-300) 0%, var(--samser-gold-500) 100%);
}

.btn-quote-submit .btn-arrow-icon {
  transition: transform var(--duration-normal) var(--ease-spring);
}

.btn-quote-submit:hover .btn-arrow-icon {
  transform: translateX(5px);
}

.widget-terms-acceptance {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.terms-checkbox-label input[type="checkbox"],
.samser-terms-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--samser-navy-700);
  cursor: pointer;
  flex-shrink: 0;
}

.terms-checkbox-label span {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.terms-checkbox-label a {
  color: var(--samser-navy-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.terms-error-feedback {
  font-size: 0.74rem;
  color: var(--samser-red-500);
  font-weight: 600;
  display: none;
}

.widget-terms-acceptance.has-error .terms-error-feedback {
  display: block;
  animation: fadeInUp 0.2s var(--ease-spring);
}

.widget-bottom-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 8px;
}

.agent-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 600;
}

.widget-tabs { display: none !important; }
.widget-tab-btn { display: none !important; }

/* ── Hero responsive ── */
@media (max-width: 880px) {
  .hero-section { padding: 20px 0 32px; }
  .hero-top-meta { justify-content: center; gap: 10px; margin-bottom: 14px; }
  .search-widget-box { padding: 22px 18px 18px; margin-bottom: 0; border-radius: var(--radius-lg); }
  .widget-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .passenger-counter-wrap { grid-template-columns: 1fr; gap: 12px; }
  .pax-row + .pax-row { border-left: none; border-top: 1px solid var(--border-light); padding-left: 0; padding-top: 10px; }
}

@media (max-width: 520px) {
  .hero-top-meta { flex-direction: column; align-items: center; gap: 8px; }
  .search-widget-box { padding: 18px 14px 16px; }
}

/* --------------------------------------------------------------------------
   HALCON-INSPIRED REASSURANCE STRIP
   -------------------------------------------------------------------------- */
.reassurance-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px auto 44px;
  max-width: 1160px;
  padding: 24px 28px;
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 8px 24px rgba(2, 29, 118, 0.05);
}
.reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.reassurance-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(2, 29, 118, 0.06);
  border: 1px solid rgba(2, 29, 118, 0.12);
  color: var(--samser-navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.reassurance-item:hover .reassurance-icon-wrap {
  background: var(--samser-gold-500);
  color: var(--samser-navy-900);
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(251, 184, 1, 0.35);
}
.reassurance-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--samser-navy-700);
  margin-bottom: 3px;
  line-height: 1.25;
}
.reassurance-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 992px) {
  .reassurance-strip { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 580px) {
  .reassurance-strip { grid-template-columns: 1fr; padding: 18px 20px; }
}


/* Hero legacy aliases */
.hero-headline-wrap,
.hero-tag-pill,
.hero-trust-highlights,
.trust-highlight-pill { display: none; }

/* --------------------------------------------------------------------------
   4. Dynamic Promotions & Propagandas Section (From External Repo)
   -------------------------------------------------------------------------- */
.promotions-section {
  background: #ffffff;
  position: relative;
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.promo-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(2, 29, 118, 0.04);
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, border-color 0.4s ease-out;
  display: flex;
  flex-direction: column;
  position: relative;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(2, 29, 118, 0.12), 0 6px 14px -4px rgba(0, 0, 0, 0.04);
  border-color: rgba(251, 184, 1, 0.6);
}

.promo-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--samser-navy-900);
}

.promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
  will-change: transform;
}

.promo-card:hover .promo-media img {
  transform: scale(1.04);
}

.promo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.promo-badge.danger { background: var(--samser-red-500); }
.promo-badge.warning { background: #d97706; }
.promo-badge.success { background: var(--samser-navy-700); }
.promo-badge.info { background: var(--samser-blue-accent); }

.promo-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.promo-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--samser-navy-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--samser-navy-700);
  margin-bottom: 8px;
  line-height: 1.3;
}

.promo-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.promo-includes {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-includes li {
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.promo-includes li::before {
  content: "✓";
  color: var(--samser-navy-700);
  font-weight: 900;
  background: rgba(2, 29, 118, 0.08);
  border: 1px solid rgba(2, 29, 118, 0.15);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.promo-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.promo-price-group {
  display: flex;
  flex-direction: column;
}

.promo-price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.promo-price-number {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--samser-navy-700);
  line-height: 1;
}

.promo-price-old {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 6px;
}

.promo-actions {
  margin-top: 16px;
}

.btn-book-promo {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. Destinos por Sede (Gaithersburg, Wheaton, Frederick, Virginia)
   -------------------------------------------------------------------------- */
.destinations-section {
  background: #f8fafc;
}

.office-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.office-tab-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.office-tab-btn:hover {
  border-color: var(--samser-navy-700);
  transform: translateY(-2px);
}

.office-tab-btn.active {
  background: var(--samser-navy-700);
  color: #ffffff;
  border-color: var(--samser-navy-700);
  box-shadow: 0 6px 18px rgba(2, 29, 118, 0.25);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.dest-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(2, 29, 118, 0.04);
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, border-color 0.4s ease-out;
  display: flex;
  flex-direction: column;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(2, 29, 118, 0.12), 0 6px 14px -4px rgba(0, 0, 0, 0.04);
  border-color: rgba(251, 184, 1, 0.5);
}

.dest-card-media {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.dest-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
  will-change: transform;
}

.dest-card:hover .dest-card-media img {
  transform: scale(1.04);
}

.dest-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(2, 29, 118, 0.85);
  backdrop-filter: blur(4px);
  color: var(--samser-gold-400);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
}

.dest-card-content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dest-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--samser-navy-700);
  margin-bottom: 4px;
}

.dest-card-origin {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.dest-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.dest-card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--samser-navy-700);
}

.dest-card-price small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

/* --------------------------------------------------------------------------
   6. Paquetes Estrella Todo Incluido
   -------------------------------------------------------------------------- */
.packages-section {
  background: #ffffff;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.package-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(2, 29, 118, 0.05);
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, border-color 0.4s ease-out;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(2, 29, 118, 0.12), 0 6px 14px -4px rgba(0, 0, 0, 0.04);
  border-color: rgba(251, 184, 1, 0.5);
}

.package-media {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.package-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
  will-change: transform;
}

.package-card:hover .package-media img {
  transform: scale(1.04);
}

.package-duration-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--samser-gold-500);
  color: var(--samser-navy-900);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.package-content {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.package-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--samser-navy-700);
  margin-bottom: 6px;
}

.package-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.package-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.package-features-list li {
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-features-list li span.check {
  color: var(--samser-navy-700);
  font-weight: 800;
  background: rgba(2, 29, 118, 0.08);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. 4 Sedes Físicas y Asesores (Humanized Experience)
   -------------------------------------------------------------------------- */
.branches-section {
  background: #fbfcfd;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.branches-section .container {
  max-width: 1320px;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.branch-card {
  min-width: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px 18px;
  box-shadow: 0 4px 18px rgba(2, 29, 118, 0.04);
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, border-color 0.4s ease-out;
  display: flex;
  flex-direction: column;
  position: relative;
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(2, 29, 118, 0.12), 0 6px 14px -4px rgba(0, 0, 0, 0.04);
  border-color: var(--samser-gold-500);
}

.branch-city {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--samser-navy-700);
  margin-bottom: 8px;
}

.branch-address {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 42px;
}

.branch-address.branch-address-link {
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.branch-address.branch-address-link:hover {
  color: var(--samser-blue-600);
}

.branch-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 600;
}

.contact-row svg {
  color: var(--samser-navy-700);
  flex-shrink: 0;
}

.contact-link {
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

.contact-link:hover {
  color: var(--samser-blue-600);
}

.contact-email-row {
  margin-top: 3px;
}

.contact-email-link {
  color: var(--samser-navy-900);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin: -2px 0;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
}

.contact-email-link:hover {
  background: rgba(37, 99, 235, 0.07);
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--samser-blue-700);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.contact-email-link .email-text {
  font-size: 0.80rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.email-click-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--samser-blue-600);
  background: #ffffff;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

.contact-email-link:hover .email-click-badge {
  background: var(--samser-blue-600);
  color: #ffffff;
  border-color: var(--samser-blue-600);
}

/* Branch Google Maps Component */
.branch-map-wrapper {
  margin: 10px 0 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition-fast);
}

.branch-card:hover .branch-map-wrapper {
  border-color: rgba(37, 99, 235, 0.25);
}

.branch-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-light);
}

.branch-map-label {
  font-weight: 700;
  color: var(--samser-navy-700);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.branch-map-link-btn {
  font-weight: 700;
  color: var(--samser-blue-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all var(--transition-fast);
}

.branch-map-link-btn:hover {
  background: var(--samser-blue-600);
  color: #ffffff;
  border-color: var(--samser-blue-600);
  text-decoration: none;
}

.branch-map-frame-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  background: #e2e8f0;
}

.branch-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.branch-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.branch-actions .btn {
  flex: 1;
  min-width: 0;
  padding: 8px 8px;
  font-size: 0.82rem;
  justify-content: center;
  white-space: nowrap;
}


/* --------------------------------------------------------------------------
   8. Trust Proof & Testimonials Carousel
   -------------------------------------------------------------------------- */
.trust-section {
  background: #ffffff;
}

.stats-counter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
  padding: 40px 32px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(2, 29, 118, 0.04);
  margin-bottom: 60px;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--samser-navy-700);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item h3 span {
  color: var(--samser-gold-500);
}

.stat-item p {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars-row {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.94rem;
  color: #334155;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--samser-navy-700);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--samser-navy-700);
}

.author-meta p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Google Reviews Enhancements & Trust Integration
   -------------------------------------------------------------------------- */
.google-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(2, 29, 118, 0.04);
}

.google-rating-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.google-brand-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.google-svg-icon {
  flex-shrink: 0;
}

.google-score-meta {
  display: flex;
  flex-direction: column;
}

.google-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.1;
}

.google-score-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: #1e293b;
  letter-spacing: -0.5px;
}

.google-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.google-count-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.btn-google-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-google-review:hover {
  border-color: #4285F4;
  color: #1a73e8;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.15);
  transform: translateY(-2px);
}

.reviews-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.reviews-tab-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.reviews-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.reviews-tab-btn.active {
  background: var(--samser-navy-700);
  color: #ffffff;
  border-color: var(--samser-navy-700);
  box-shadow: 0 4px 12px rgba(2, 29, 118, 0.2);
}

.google-review-card {
  position: relative;
  background: #ffffff;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.review-g-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}

.review-relative-time {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
}

.review-branch-pill {
  display: inline-block;
  align-self: flex-start;
  background: rgba(2, 29, 118, 0.06);
  color: var(--samser-navy-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.testimonial-owner-reply {
  background: #f8fafc;
  border-left: 3px solid var(--samser-gold-500);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.owner-reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.owner-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--samser-navy-700);
}

.owner-time {
  font-size: 0.72rem;
  color: #94a3b8;
}

.owner-reply-text {
  font-size: 0.82rem;
  color: #475569;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .google-reviews-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .google-brand-badge {
    justify-content: center;
  }
  .btn-google-review {
    justify-content: center;
    width: 100%;
  }
  .reviews-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .reviews-tab-btn {
    flex-shrink: 0;
  }
}


/* --------------------------------------------------------------------------
   9. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-section {
  background: #f8fafc;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--samser-navy-700);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--samser-gold-500);
  transition: transform var(--transition-fast);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 24px;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--samser-navy-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--samser-gold-500);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--samser-gold-400);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   11. Floating WhatsApp Multi-Option Widget
   -------------------------------------------------------------------------- */
.floating-whatsapp-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.floating-whatsapp-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-ripple {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulseGlow 2s infinite;
}

.whatsapp-drawer {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 320px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: slideUp 0.25s ease;
}

.whatsapp-drawer.open {
  display: flex;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.drawer-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--samser-navy-700);
}

.drawer-branches-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-branch-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.drawer-branch-link:hover {
  background: var(--samser-gold-100);
  color: #b45309;
}

/* --------------------------------------------------------------------------
   12. Responsive Media Queries (Laptops, Tablets & Celulares)
   -------------------------------------------------------------------------- */

/* Base desktop visibility for mobile menu elements */
.mobile-only-link,
.mobile-drawer-extra {
  display: none !important;
}

/* Medium screens & Tablets Landscape (<= 1140px): 4 Sedes en 2 parejas (2x2) */
@media (max-width: 1140px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Laptops & Tablets Landscape (<= 1024px) */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .promotions-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Ocultar iconos de redes en el header en pantallas menores a 1240px para garantizar holgura y evitar colisiones */
@media (max-width: 1240px) {
  .social-icons-nav {
    display: none !important;
  }
}

/* Navbar responsive para Tablets y Smartphones (<= 992px) */
@media (max-width: 992px) {
  .navbar {
    position: relative;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-brand img {
    height: 44px;
    max-width: 185px;
    object-fit: contain;
  }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  /* Ocultar iconos de redes y botón llamar del header en móviles y tablets */
  .social-icons-nav,
  .header-call-dropdown-wrap {
    display: none !important;
  }

  /* Botón hamburguesa moderno y accesible */
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    background: rgba(2, 29, 118, 0.06);
    border: 1.5px solid rgba(2, 29, 118, 0.12);
    color: var(--samser-navy-700);
    font-size: 1.45rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .mobile-menu-btn:active {
    background: var(--samser-navy-700);
    color: #ffffff;
    transform: scale(0.96);
  }

  /* Menú desplegable móvil */
  .nav-menu { display: none; }
  .nav-menu.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 18px 20px 24px;
    gap: 6px;
    box-shadow: 0 20px 45px rgba(2, 29, 118, 0.16);
    border-top: 1px solid var(--border-light);
    border-bottom: 4px solid var(--samser-gold-500);
    border-radius: 0 0 20px 20px;
    z-index: 1000;
    animation: slideDown 0.22s ease forwards;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  
  .nav-menu.mobile-open .nav-link {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--samser-navy-700);
    padding: 11px 14px;
    border-radius: 10px;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    background: #f8fafc;
    width: 100%;
    text-decoration: none;
  }
  .nav-menu.mobile-open .nav-link:active,
  .nav-menu.mobile-open .nav-link.active {
    background: var(--samser-navy-700);
    color: #ffffff;
  }

  .mobile-only-link {
    display: block !important;
  }

  .mobile-drawer-extra {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1.5px dashed #e2e8f0;
  }
  .mobile-drawer-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-bottom: 6px;
    display: block;
  }
  .mobile-drawer-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mobile-branch-chip {
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: var(--samser-navy-700);
    transition: all 0.2s ease;
  }
  .mobile-branch-chip span {
    font-size: 0.74rem;
    font-weight: 700;
  }
  .mobile-branch-chip strong {
    font-size: 0.76rem;
    color: var(--samser-blue-600);
    margin-top: 2px;
  }
  .mobile-branch-chip:active {
    background: var(--samser-navy-700);
    color: #ffffff;
    border-color: var(--samser-navy-700);
  }
  .mobile-branch-chip:active strong {
    color: var(--samser-gold-400);
  }

  .mobile-drawer-socials {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .mobile-social-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .mobile-soc-pill {
    flex: 1 1 calc(50% - 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }
  .mobile-soc-pill.fb { background: #1877f2; }
  .mobile-soc-pill.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
  .mobile-soc-pill.tt { background: #000000; }
  .mobile-soc-pill.yt { background: #ff0000; }
}

/* Tablets Portrait & SmartPhones (<= 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }

  .top-bar-content { justify-content: center; text-align: center; }
  .top-bar-actions { display: none; }
  .top-bar-ticker { font-size: 0.82rem; justify-content: center; }

  /* Hero & Cotizador */
  .hero-section { min-height: auto; padding: 18px 0 32px; }
  .hero-top-meta { justify-content: center; gap: 8px; margin-bottom: 14px; }
  .floating-trust-badge { padding: 5px 14px 5px 6px; }
  .trust-badge-years { font-size: 0.88rem; }
  
  .search-widget-box {
    padding: 20px 16px 18px;
    border-radius: 20px;
    margin-bottom: 0;
    box-shadow: 0 10px 30px rgba(2, 29, 118, 0.08);
    border: 1.5px solid rgba(2, 29, 118, 0.06);
  }
  .widget-tabs { display: none !important; }
  .widget-tab-btn { display: none !important; }
  .widget-form-grid { grid-template-columns: 1fr; gap: 12px; }

  .promotions-grid { grid-template-columns: 1fr; gap: 20px; }
  .destinations-grid { grid-template-columns: 1fr; gap: 20px; }
  .packages-grid { grid-template-columns: 1fr; gap: 20px; }
  .branches-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  
  /* Se oculta el botón flotante en móviles para no estorbar los campos ni tapar el selector de fecha */
  .floating-whatsapp-wrap { display: none !important; }
}

/* Celulares y Móviles (<= 640px) */
@media (max-width: 640px) {
  /* Selector de Tipo de Viaje responsivo en 2x2 para máxima legibilidad y comodidad táctil */
  .trip-type-selector {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    background: #edf2f7 !important;
    padding: 6px !important;
    border-radius: 14px !important;
    max-width: 100% !important;
    margin-bottom: 18px !important;
    overflow: visible !important;
  }
  .trip-type-indicator {
    display: none !important;
  }
  .trip-type-btn {
    border-radius: 10px !important;
    padding: 10px 8px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    background: #ffffff !important;
    color: var(--samser-navy-700) !important;
    border: 1px solid rgba(2, 29, 118, 0.08) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 42px !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
  }
  .trip-type-btn.active {
    background: var(--samser-navy-700) !important;
    color: #ffffff !important;
    border-color: var(--samser-navy-700) !important;
    box-shadow: 0 3px 10px rgba(2, 29, 118, 0.25) !important;
  }
  .trip-type-btn .tab-svg-icon {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
  }
  .trip-type-btn span {
    display: inline-block !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  .branches-grid { grid-template-columns: 1fr !important; gap: 18px; }
  .passenger-counter-wrap {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 12px;
  }
  .btn-quote-submit {
    min-height: 50px;
    font-size: 1rem;
    padding: 14px 20px;
  }
}

/* Small SmartPhones (<= 480px) */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .nav-brand img { height: 40px; max-width: 165px; }
  .nav-right { gap: 6px; }
  
  .hero-top-meta { flex-direction: column; align-items: center; }
  .hero-fast-status { font-size: 0.76rem; padding: 4px 10px; }
  .hero-trust-highlights { flex-direction: column; gap: 8px; }
  .trust-highlight-pill { width: 100%; justify-content: center; font-size: 0.8rem; }
  .hero-badges { gap: 8px; justify-content: center; }
  .hero-badge-item { font-size: 0.78rem; padding: 6px 12px; }

  .office-tabs { gap: 8px; }
  .office-tab-btn { padding: 9px 14px; font-size: 0.84rem; flex: 1 1 45%; justify-content: center; }

  .branch-card { padding: 20px 16px; }
  .branch-map-iframe { height: 160px; }
  
  .footer-brand img { height: 40px; }
}

/* --------------------------------------------------------------------------
   13. Admin Auth Modal (Acceso Administrativo Seguro)
   -------------------------------------------------------------------------- */
.auth-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(1, 13, 51, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.auth-modal-overlay.active {
  display: flex;
}

.auth-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 36px 32px;
  box-shadow: 0 25px 50px -12px rgba(1, 13, 51, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  text-align: center;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.auth-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--samser-gold-100);
  color: var(--samser-navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.auth-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--samser-navy-700);
  margin-bottom: 6px;
}

.auth-modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.4;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.auth-form-group label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--samser-navy-700);
  text-transform: uppercase;
}

.auth-form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.auth-form-group input:focus {
  border-color: var(--samser-navy-700);
  box-shadow: 0 0 0 3px rgba(2, 29, 118, 0.12);
}

.auth-error-msg {
  color: var(--samser-red-500);
  font-size: 0.82rem;
  font-weight: 600;
  display: none;
  text-align: center;
}

.auth-hint {
  margin-top: 14px;
  font-size: 0.76rem;
  color: #64748b;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-light);
  text-align: center;
}

/* Humanized Advisor Quotes */
.advisor-quote-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fdfaf0;
  border-left: 3px solid var(--samser-gold-500);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.84rem;
  color: #475569;
  font-style: italic;
  margin: 12px 0 16px;
}


/* ==========================================================================
   12. TÉRMINOS Y CONDICIONES - CHECKBOXES Y MODAL POPUP BILINGÜE
   ========================================================================== */

/* Bloqueo de scroll cuando el modal está abierto */
body.samser-modal-open {
  overflow: hidden !important;
  padding-right: 0px;
}

/* Envoltorio de aceptación en el formulario de vuelos */
.widget-terms-acceptance {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition-fast);
}

.widget-terms-acceptance.has-error,
.card-terms-acceptance.has-error,
.terms-acceptance-wrap.has-error {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
  animation: shakeTerms 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeTerms {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(3px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.terms-error-feedback {
  display: none;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 600;
  padding-left: 26px;
}

.has-error .terms-error-feedback {
  display: inline-block;
  animation: fadeInTerms 0.2s ease-in;
}

@keyframes fadeInTerms {
  from { opacity: 0; transform: translateY(-2px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Checkbox personalizado */
.terms-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 0.86rem;
  color: var(--samser-navy-900);
  line-height: 1.4;
}

.terms-checkbox-label-sm {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.card-terms-acceptance {
  padding: 8px 10px;
  margin: 10px 0 6px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  transition: all var(--transition-fast);
}

.samser-terms-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid #94a3b8;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  outline: none;
  margin: 0;
}

.samser-terms-checkbox:hover {
  border-color: var(--samser-navy-700);
}

.samser-terms-checkbox:focus {
  box-shadow: 0 0 0 3px rgba(2, 29, 118, 0.15);
  border-color: var(--samser-navy-700);
}

.samser-terms-checkbox:checked {
  background-color: var(--samser-navy-700);
  border-color: var(--samser-navy-700);
}

.samser-terms-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.open-terms-modal-btn,
.terms-inline-link {
  color: var(--samser-navy-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  display: inline;
  transition: color var(--transition-fast);
}

.open-terms-modal-btn:hover,
.terms-inline-link:hover {
  color: var(--samser-gold-600);
}

/* ==========================================================================
   MODAL PRINCIPAL DE TÉRMINOS Y CONDICIONES (FULL POPUP)
   ========================================================================== */
.samser-terms-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(1, 13, 51, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInOverlay 0.25s ease-out;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.samser-terms-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: zoomInModal 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomInModal {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Cabecera del modal */
.samser-terms-header {
  background: linear-gradient(135deg, var(--samser-navy-900) 0%, var(--samser-navy-700) 100%);
  color: #ffffff;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  border-bottom: 2px solid var(--samser-gold-500);
}

.samser-terms-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.samser-brand-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(251, 184, 1, 0.5);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--samser-gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.samser-terms-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.samser-terms-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 4px 0 0;
}

.samser-terms-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Conmutador de Idioma ES / EN */
.samser-lang-switcher {
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-pill {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.lang-pill:hover {
  color: #ffffff;
}

.lang-pill.active {
  background: var(--samser-gold-500);
  color: var(--samser-navy-900);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.samser-terms-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.samser-terms-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: rotate(90deg);
}

/* Barra de navegación rápida y búsqueda interna */
.samser-terms-nav-bar {
  background: #f1f5f9;
  padding: 10px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.samser-terms-nav-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.terms-nav-tab {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.terms-nav-tab:hover {
  border-color: var(--samser-navy-700);
  color: var(--samser-navy-700);
}

.terms-nav-tab.active {
  background: var(--samser-navy-700);
  color: #ffffff;
  border-color: var(--samser-navy-700);
}

.samser-terms-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  width: 260px;
  color: #64748b;
  transition: all var(--transition-fast);
}

.samser-terms-search-box:focus-within {
  border-color: var(--samser-navy-700);
  box-shadow: 0 0 0 3px rgba(2, 29, 118, 0.1);
}

.samser-terms-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  color: var(--text-main);
  width: 100%;
}

#clearTermsSearch {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 2px;
}

/* Cuerpo con Scroll */
.samser-terms-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background-color: #fafbfc;
}

.samser-terms-body::-webkit-scrollbar {
  width: 8px;
}

.samser-terms-body::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.samser-terms-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.samser-terms-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Secciones individuales */
.terms-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.terms-section-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.terms-section-badge {
  display: inline-block;
  background: rgba(2, 29, 118, 0.08);
  color: var(--samser-navy-700);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.terms-section-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--samser-navy-900);
  line-height: 1.25;
}

.terms-section-content {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.65;
}

.terms-section-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--samser-navy-700);
  margin: 18px 0 8px;
}

.terms-section-content p {
  margin-bottom: 12px;
}

.terms-bullet-list {
  padding-left: 20px;
  margin: 10px 0 16px;
}

.terms-bullet-list li {
  margin-bottom: 6px;
}

.terms-callout {
  background: #f0f7ff;
  border-left: 4px solid var(--samser-navy-600);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 14px 0;
}

.terms-contact-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terms-contact-box a {
  color: var(--samser-navy-700);
  font-weight: 700;
}

.terms-card-point {
  background: #fdfdfd;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 14px;
}

.terms-card-point h4 {
  margin-top: 0;
  color: var(--samser-navy-900);
}

.terms-highlight-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--samser-gold-500);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 12px 0;
  font-size: 0.88rem;
  color: #92400e;
}

.terms-example-box {
  background: #f1f5f9;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #475569;
  margin: 10px 0;
  font-style: italic;
}

.terms-note {
  font-weight: 700;
  color: var(--samser-navy-700);
  margin-top: 14px;
}

/* Pie del modal */
.samser-terms-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
}

.samser-terms-accept-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--samser-navy-900);
  flex: 1;
  min-width: 260px;
}

.samser-terms-footer-btns {
  display: flex;
  gap: 12px;
}

.btn-secondary-terms {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary-terms:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.btn-primary-terms {
  background: linear-gradient(135deg, var(--samser-navy-700) 0%, var(--samser-navy-900) 100%);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 29, 118, 0.25);
  transition: all var(--transition-fast);
}

.btn-primary-terms:hover {
  background: linear-gradient(135deg, var(--samser-navy-600) 0%, var(--samser-navy-800) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 29, 118, 0.35);
}

/* ==========================================================================
   DIÁLOGO DE CONFIRMACIÓN RÁPIDA (QUICK PROMPT)
   ========================================================================== */
.samser-quick-prompt-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(1, 13, 51, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInOverlay 0.2s ease-out;
}

.samser-quick-prompt-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.4);
  max-width: 480px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: zoomInModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-prompt-icon {
  width: 56px;
  height: 56px;
  background: #fef3c7;
  color: #d97706;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.quick-prompt-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--samser-navy-900);
  margin-bottom: 8px;
}

.quick-prompt-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.5;
}

.quick-prompt-check-wrap {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.quick-prompt-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #64748b;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-ghost:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

/* Responsividad para Móviles */
@media (max-width: 768px) {
  .samser-terms-modal-card {
    max-height: 95vh;
  }

  .samser-terms-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .samser-terms-header-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
  }

  .samser-terms-nav-bar {
    padding: 10px 16px;
  }

  .samser-terms-search-box {
    width: 100%;
  }

  .samser-terms-body {
    padding: 16px;
    gap: 18px;
  }

  .terms-section {
    padding: 16px;
  }

  .samser-terms-footer {
    padding: 14px 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .samser-terms-footer-btns {
    width: 100%;
    justify-content: space-between;
  }

  .btn-primary-terms,
  .btn-secondary-terms {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}


/* ==========================================================================
   13. SELECTOR DE LLAMADAS A SUCURSALES EN EL ENCABEZADO (HEADER CALL DRAWER)
   ========================================================================== */

.header-call-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.88rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  animation: callBtnPulseGlow 3s infinite ease-in-out;
  box-shadow: 0 4px 16px rgba(251, 184, 1, 0.45);
}

/* Efecto de destello de luz (Shimmer) deslizándose sobre el botón */
.header-call-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: callShimmer 3.6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes callShimmer {
  0%, 25% { left: -75%; }
  50%, 100% { left: 145%; }
}

/* Vibración periódica del auricular simulando un timbrado */
.header-call-icon {
  display: inline-block;
  transform-origin: center center;
  animation: phoneRingShake 3.6s infinite ease-in-out;
}

@keyframes phoneRingShake {
  0%, 100%, 26% {
    transform: rotate(0deg) scale(1);
  }
  28% {
    transform: rotate(18deg) scale(1.18);
  }
  31% {
    transform: rotate(-18deg) scale(1.18);
  }
  34% {
    transform: rotate(15deg) scale(1.15);
  }
  37% {
    transform: rotate(-15deg) scale(1.15);
  }
  40% {
    transform: rotate(10deg) scale(1.1);
  }
  43% {
    transform: rotate(-10deg) scale(1.1);
  }
  46% {
    transform: rotate(0deg) scale(1);
  }
}

/* Pulso dorado envolvente y respiración del botón */
@keyframes callBtnPulseGlow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(251, 184, 1, 0.4), 0 0 0 0 rgba(251, 184, 1, 0.55);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 26px rgba(251, 184, 1, 0.7), 0 0 0 8px rgba(251, 184, 1, 0);
    transform: scale(1.025);
  }
}

/* Micro-indicador de líneas en vivo */
.call-live-beacon {
  width: 7px;
  height: 7px;
  background-color: var(--samser-gold-500);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(251, 184, 1, 0.8);
  animation: beaconPulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(251, 184, 1, 0.75);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 6px rgba(251, 184, 1, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(251, 184, 1, 0);
  }
}

.header-call-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 30px rgba(251, 184, 1, 0.65);
}

.header-call-btn:hover .header-call-icon {
  animation: phoneRingShake 0.9s infinite ease-in-out;
}

.header-call-btn .call-chevron {
  transition: transform var(--transition-fast);
}

.header-call-btn.active .call-chevron {
  transform: rotate(180deg);
}

.header-call-drawer {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 330px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px -8px rgba(1, 13, 51, 0.28), 0 0 0 1px rgba(1, 13, 51, 0.08);
  border: 1px solid var(--border-light);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 1050;
  animation: slideDownCall 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownCall {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-call-drawer.open {
  display: flex;
}

.close-call-drawer-btn {
  background: none;
  border: none;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.close-call-drawer-btn:hover {
  color: #dc2626;
  background: #fee2e2;
}

.call-branch-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.call-branch-item:hover {
  background: var(--samser-gold-50, #fffdf5);
  border-color: var(--samser-gold-400, #fcc733);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 29, 118, 0.08);
}

.call-branch-item .branch-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.call-branch-item .branch-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--samser-navy-900);
}

.call-branch-item .branch-tel-sub {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}

.call-branch-item .branch-call-action {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--samser-navy-700);
  background: rgba(2, 29, 118, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.call-branch-item:hover .branch-call-action {
  background: var(--samser-navy-700);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 29, 118, 0.25);
}

/* Responsividad para móviles */
@media (max-width: 480px) {
  .header-call-btn span,
  .header-call-btn .call-chevron {
    display: none;
  }
  .header-call-btn {
    padding: 8px 10px;
    border-radius: 50%;
  }
  .header-call-drawer {
    width: calc(100vw - 32px);
    right: -10px;
  }
}

/* ==========================================================================
   14. DETECCIÓN Y RESALTADO DE SEDE MÁS CERCANA (GEOLOCALIZACIÓN)
   ========================================================================== */

/* Banner de recomendación de sede */
/* ==========================================================================
   RESALTADO DE LA TARJETA DE SEDE RECOMENDADA
   ========================================================================== */
.branch-card.is-nearest-branch {
  border: 2px solid var(--samser-gold-500) !important;
  box-shadow: 0 12px 30px rgba(251, 184, 1, 0.22) !important;
  transform: translateY(-5px);
  position: relative;
  background: #ffffff;
  transition: all var(--transition-normal);
}

.nearest-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: linear-gradient(135deg, var(--samser-gold-500) 0%, #f59e0b 100%);
  color: var(--samser-navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(251, 184, 1, 0.35);
  z-index: 5;
  white-space: nowrap;
}

.nearest-distance-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(2, 29, 118, 0.05);
  color: var(--samser-navy-700);
  border: 1px solid rgba(2, 29, 118, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-top: 10px;
  width: fit-content;
}

/* Indicador en el selector de llamadas del header */
.call-branch-item.is-nearest-call {
  background: var(--samser-gold-50, #fffdf5) !important;
  border-color: var(--samser-gold-400, #fcc733) !important;
}

.nearest-call-indicator {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--samser-navy-900);
  background: var(--samser-gold-100, #fff8e1);
  border: 1px solid rgba(251, 184, 1, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 3px;
  text-transform: uppercase;
}

/* ==========================================================================
   15. MODAL DE SELECCIÓN MANUAL Y OBLIGATORIA DE SEDE FÍSICA (VIAJES SAMSER)
   ========================================================================== */

/* Animación de pulso del badge */
@keyframes branchPulse {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 184, 1, 0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 8px rgba(251, 184, 1, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 184, 1, 0); }
}

@keyframes branchShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes branchShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* --- Backdrop --- */
.branch-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(1, 10, 42, 0.84);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px;
  overflow-y: auto;
}

.branch-modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* --- Card del modal --- */
.branch-modal-card {
  background: linear-gradient(172deg, #ffffff 0%, #f8faff 100%);
  border-radius: 24px;
  width: 100%;
  max-width: 820px;
  max-height: 94vh;
  overflow-y: auto;
  box-shadow:
    0 35px 90px -15px rgba(1, 21, 89, 0.45),
    0 0 0 1px rgba(226, 232, 240, 0.8),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95);
  position: relative;
  transform: translateY(28px) scale(0.94);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  display: flex;
  flex-direction: column;
}

.branch-modal-backdrop.is-visible .branch-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.branch-modal-card.shake-modal {
  animation: branchShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Barra decorativa superior Samser */
.branch-modal-accent-bar {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #021d76 0%, #0055d4 25%, #00b4d8 50%, var(--samser-gold-500) 75%, #021d76 100%);
  background-size: 200% 100%;
  animation: branchShimmer 4s linear infinite;
}

/* Botón cerrar (solo visible cuando se abre vía "Cambiar Sede") */
.branch-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(226, 232, 240, 0.7);
  font-size: 1.3rem;
  color: #64748b;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s ease;
  z-index: 10;
  line-height: 1;
}

.branch-modal-close-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
  transform: rotate(90deg) scale(1.05);
}

/* Cuerpo del modal */
.branch-modal-body {
  padding: 30px 32px 28px;
  display: flex;
  flex-direction: column;
}

/* Header del modal */
.branch-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.branch-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 29, 118, 0.06);
  color: var(--samser-navy-700);
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(2, 29, 118, 0.16);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.branch-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--samser-gold-500);
  border-radius: 50%;
  animation: branchPulse 1.6s infinite;
}

.branch-modal-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: #011559;
  margin: 0 0 8px 0;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.branch-modal-subtitle {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 auto;
  line-height: 1.55;
  max-width: 620px;
}

.branch-modal-subtitle strong {
  color: #0f172a;
}

/* --- Cuadrícula 2x2 de Selección de Sedes --- */
.branch-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.branch-pick-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 18px 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  user-select: none;
  box-shadow: 0 2px 8px rgba(1, 21, 89, 0.03);
}

.branch-pick-card:hover {
  transform: translateY(-2px);
  border-color: #0055d4;
  box-shadow: 0 8px 24px rgba(2, 29, 118, 0.1);
  background: #fbfdff;
}

.branch-pick-card.is-selected {
  border-color: var(--samser-navy-700);
  background: linear-gradient(155deg, #ffffff 0%, #f0f4ff 100%);
  box-shadow: 0 10px 28px rgba(2, 29, 118, 0.16);
  outline: 2px solid rgba(2, 29, 118, 0.15);
}

/* Encabezado de la tarjeta */
.branch-pick-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.branch-pick-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.branch-pick-region {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.branch-pick-name {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #011559;
  margin: 0;
  line-height: 1.2;
}

.branch-pick-card.is-selected .branch-pick-name {
  color: var(--samser-navy-700);
}

/* Radio button con checkmark */
.branch-pick-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.branch-pick-card.is-selected .branch-pick-radio {
  background: var(--samser-navy-700);
  border-color: var(--samser-navy-700);
  color: var(--samser-gold-500);
  box-shadow: 0 2px 8px rgba(2, 29, 118, 0.25);
}

/* Detalles de dirección, teléfono y WhatsApp */
.branch-pick-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.35;
}

.detail-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #0055d4;
}

.detail-row strong {
  color: #0f172a;
}

.detail-row.channel-row {
  margin-top: 4px;
}

.pill-wa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Botón de acción al pie de la tarjeta */
.branch-pick-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.btn-pick-action {
  display: block;
  text-align: center;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  color: #0055d4;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f0f7ff;
  transition: all 0.2s ease;
}

.branch-pick-card:hover .btn-pick-action {
  background: #e0effe;
}

.branch-pick-card.is-selected .btn-pick-action {
  background: var(--samser-navy-700);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 29, 118, 0.2);
}

/* --- Botón Confirmar Selección --- */
.branch-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.btn-confirm-branch {
  width: 100%;
  background: linear-gradient(135deg, #021d76 0%, #0044cc 100%);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 16px 28px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(2, 29, 118, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-confirm-branch[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  background: #94a3b8;
  box-shadow: none;
}

.btn-confirm-branch:not([disabled]):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(2, 29, 118, 0.4);
}

.btn-confirm-branch:not([disabled]):active {
  transform: translateY(0);
}

.branch-modal-guarantee {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.72rem;
  color: #94a3b8;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.branch-modal-guarantee svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   16. ESTILOS DE SEDE ACTIVA EN TODA LA PLATAFORMA (SINGLE BRANCH MODE)
   ========================================================================== */

/* --- Pill de Sede Activa en el Navbar --- */
.header-active-branch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), #f8faff);
  border: 1.5px solid rgba(2, 29, 118, 0.16);
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body, 'Poppins', sans-serif);
  box-shadow: 0 2px 8px rgba(1, 21, 89, 0.05);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-active-branch-btn:hover {
  border-color: var(--samser-navy-700);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 29, 118, 0.14);
  transform: translateY(-1px);
}

.header-branch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.header-branch-text {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 500;
}

.header-branch-text strong {
  color: #011559;
  font-weight: 800;
}

.header-branch-swap-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #0055d4;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* --- Botón "Cambiar Sede" en Cotizador --- */
.btn-change-branch-text {
  background: none;
  border: none;
  color: #0055d4;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-change-branch-text:hover {
  color: #021d76;
  background: rgba(0, 85, 212, 0.06);
}

/* --- Barra de Estado en Sección #sedes --- */
.sedes-active-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%);
  border: 1.5px solid rgba(2, 29, 118, 0.16);
  border-radius: 16px;
  padding: 12px 20px;
  margin: 18px auto 0;
  max-width: 680px;
  box-shadow: 0 4px 16px rgba(2, 29, 118, 0.06);
}

.sedes-active-bar-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.sedes-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  color: #011559;
}

.sedes-active-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.sedes-active-hint {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.72rem;
  color: #64748b;
}

.btn-change-branch-btn {
  background: #ffffff;
  border: 1.5px solid var(--samser-navy-700);
  color: var(--samser-navy-700);
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(2, 29, 118, 0.08);
}

.btn-change-branch-btn:hover {
  background: var(--samser-navy-700);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 29, 118, 0.18);
}

/* --- MODO SEDE ÚNICA EN #sedes --- */
.branches-grid.single-branch-mode {
  display: flex !important;
  justify-content: center;
  align-items: stretch;
  max-width: 680px;
  margin: 0 auto 24px;
  width: 100%;
}

.branch-card.is-hidden-branch {
  display: none !important;
}

.branch-card.is-single-active {
  display: flex !important;
  width: 100%;
  max-width: 680px;
  border: 2px solid var(--samser-navy-700) !important;
  border-radius: 22px;
  box-shadow: 0 16px 45px rgba(1, 21, 89, 0.12) !important;
  padding: 28px 24px;
  background: #ffffff;
  position: relative;
}

.active-branch-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--samser-gold-500) 0%, #f59e0b 100%);
  color: var(--samser-navy-900);
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  width: fit-content;
  box-shadow: 0 3px 10px rgba(251, 184, 1, 0.35);
}

/* --- Botón Cambiar Sede en Pestañas de Destinos --- */
.office-tab-change-btn {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  color: #475569;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.office-tab-change-btn:hover {
  border-color: var(--samser-navy-700);
  color: var(--samser-navy-700);
  background: #ffffff;
}

/* --- Botón Cambiar Sede en Drawers (Call y WhatsApp) --- */
.drawer-change-branch-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.btn-drawer-change-branch {
  background: none;
  border: none;
  color: #0055d4;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-drawer-change-branch:hover {
  background: #f0f7ff;
  color: #021d76;
}

/* --- Responsive Modal --- */
@media (max-width: 640px) {
  .branch-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .branch-modal-body {
    padding: 22px 18px 20px;
  }

  .branch-modal-title {
    font-size: 1.3rem;
  }

  .branch-modal-subtitle {
    font-size: 0.8rem;
  }

  .sedes-active-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-change-branch-btn {
    width: 100%;
    justify-content: center;
  }

  .header-active-branch-btn {
    display: none; /* En pantallas pequeñas se maneja desde el menú móvil */
  }
}


/* ==========================================================================
   14. Trabaja con Nosotros - Modal Popup de Empleo & Postulaciones
   ========================================================================== */
.careers-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(1, 13, 51, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: fadeIn 0.25s ease;
}

.careers-modal-overlay.active {
  display: flex;
}

.careers-modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl, 20px);
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 38px 36px;
  box-shadow: 0 25px 60px -15px rgba(1, 13, 51, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
  position: relative;
  animation: slideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

.careers-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  z-index: 10;
}

.careers-modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: scale(1.08);
}

.careers-modal-header {
  text-align: center;
  margin-bottom: 20px;
  padding: 0 24px;
}

.careers-modal-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--samser-navy-700);
  margin: 10px 0 8px;
  line-height: 1.25;
}

.careers-modal-subtitle {
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.55;
}

.badge-hiring {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 184, 1, 0.2);
  color: #b45309;
  border: 1px solid rgba(251, 184, 1, 0.5);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.careers-modal-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.modal-perk-pill {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--samser-navy-700);
}

.modal-perk-pill span {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.modal-perk-pill strong {
  font-weight: 700;
  line-height: 1.25;
  display: block;
}

.careers-modal-hr-badge {
  background: var(--samser-gold-50, #fffdf5);
  border: 1px solid var(--samser-gold-400, #fcc733);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 0.86rem;
  color: var(--samser-navy-900);
  flex-wrap: wrap;
  gap: 8px;
}

.careers-modal-hr-badge a {
  color: var(--samser-navy-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.careers-modal-hr-badge a:hover {
  color: var(--samser-gold-600);
}

/* Formulario */
.careers-form {
  position: relative;
}

.form-header-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 10px;
}

.required-note-badge {
  font-size: 0.75rem;
  color: #dc2626;
  font-weight: 700;
  background: rgba(220, 38, 38, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.careers-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.careers-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.career-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.career-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--samser-navy-700);
  letter-spacing: 0.2px;
}

.career-field input,
.career-field select,
.career-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  background-color: #f8fafc;
  outline: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.career-field input:focus,
.career-field select:focus,
.career-field textarea:focus {
  border-color: var(--samser-navy-700);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 29, 118, 0.1);
}

.career-terms-wrap {
  margin: 14px 0 18px;
}

.career-terms-wrap .terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.career-terms-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--samser-navy-700);
  flex-shrink: 0;
  cursor: pointer;
}

.career-terms-wrap a {
  color: var(--samser-navy-700);
  font-weight: 600;
  text-decoration: underline;
}

.career-error-feedback {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  animation: fadeIn 0.2s ease;
}

.career-mailto-fallback {
  background: var(--samser-gold-50, #fffdf5);
  border: 1px solid var(--samser-gold-400, #fcc733);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  text-align: center;
}

.career-mailto-fallback p {
  font-size: 0.85rem;
  color: var(--samser-navy-800);
  margin-bottom: 10px;
  font-weight: 500;
}

.btn-career-submit {
  width: 100%;
  padding: 15px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
}

.btn-career-submit.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

.career-submit-guarantee {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.career-submit-guarantee strong {
  color: var(--samser-navy-700);
}

/* Estado de Éxito */
.careers-success-state {
  text-align: center;
  padding: 30px 10px;
  animation: fadeIn 0.3s ease;
}

.success-icon-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(251, 184, 1, 0.15);
  color: var(--samser-gold-600);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.careers-success-state h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--samser-navy-700);
  margin-bottom: 8px;
}

.success-candidate-intro {
  font-size: 1rem;
  color: #334155;
  max-width: 540px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.success-details-pill {
  background: #f8fafc;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  max-width: 480px;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.success-pill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.pill-label {
  color: var(--text-muted);
}

.pill-val {
  color: var(--samser-navy-700);
  font-weight: 700;
}

.success-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.btn-outline-navy {
  background: transparent;
  border: 1.5px solid var(--samser-navy-700);
  color: var(--samser-navy-700);
}

.btn-outline-navy:hover {
  background: rgba(2, 29, 118, 0.05);
}

/* Spinner */
.spinner-icon {
  animation: spinRotate 1s linear infinite;
}

@keyframes spinRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Careers Modal */
@media (max-width: 820px) {
  .careers-modal-card {
    padding: 28px 20px 32px;
    max-height: 94vh;
  }
  .careers-modal-header {
    padding: 0;
  }
  .careers-modal-title {
    font-size: 1.45rem;
  }
  .careers-modal-perks {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .careers-modal-overlay {
    padding: 10px;
  }
  .careers-modal-card {
    padding: 24px 16px 28px;
    border-radius: var(--radius-lg, 16px);
  }
  .careers-grid-2,
  .careers-grid-3 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-header-badge {
    flex-direction: column;
    align-items: flex-start;
  }
  .careers-modal-hr-badge {
    flex-direction: column;
    align-items: flex-start;
  }
  .success-pill-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

/* --------------------------------------------------------------------------
   CHECK-ICON STYLES FOR PACKAGE LISTS
   -------------------------------------------------------------------------- */
.package-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 8px;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(2, 29, 118, 0.08);
  color: var(--samser-navy-700);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   MOBILE BOTTOM QUICK ACTION BAR (Benchmark Halcón Viajes)
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 -4px 20px rgba(2, 29, 118, 0.08);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px calc(env(safe-area-inset-bottom, 0px) + 2px);
  }

  .bottom-bar-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--samser-navy-700);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .bottom-bar-action:hover,
  .bottom-bar-action:active {
    color: var(--samser-gold-600);
  }

  .bottom-bar-action.bottom-bar-whatsapp {
    color: #16a34a;
  }

  /* El botón flotante de WhatsApp se oculta en móviles para no tapar los campos del cotizador,
     ya que la barra inferior proporciona acceso directo permanente en 1 toque */
  .floating-whatsapp-wrap {
    display: none !important;
  }
}

