/* =============================================
   Banner / Hero Carousel
   ============================================= */
.ep-banner { background: linear-gradient(135deg, #0f7caf 0%, #001f50 100%); overflow: hidden; }
.ep-banner__slide { min-height: 480px; padding: 60px 0; }
.ep-banner__content { display: flex; flex-direction: column; justify-content: center; }
.ep-banner__title { font-size: 3rem; font-weight: 800; color: #ffffff; line-height: 1.15; margin-bottom: 1.25rem; }
.ep-banner__accent { color: #FF8A00; display: block; }
.ep-banner__subtitle { font-size: 1.1rem; color: #ffffff; margin-bottom: 1.75rem; line-height: 1.7; }
.ep-banner__image { display: flex; align-items: center; justify-content: center; }
.ep-banner__image img { max-height: 420px; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,18,38,.12)); }

.ep-banner__badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ep-badge { display: inline-flex; align-items: center; gap: 7px; border-radius: 10px; padding: 8px 16px; font-size: 0.875rem; font-weight: 600; border: 1.5px solid; }
.ep-badge--shopify { background: #f6fff0; border-color: #96bf48; color: #3d7117; }
.ep-badge--shopify svg { flex-shrink: 0; }
.ep-badge--woo { background: #f7f4ff; border-color: #7f54b3; color: #7f54b3; }
.ep-badge--woo svg { flex-shrink: 0; }
.ep-badge--more { background: #f0f6ff; border-color: #93c5fd; color: #1d4ed8; }

.ep-banner .carousel-control-prev,
.ep-banner .carousel-control-next { width: 5%; opacity: 0.6; }
.ep-banner .carousel-control-prev:hover,
.ep-banner .carousel-control-next:hover { opacity: 1; }
.ep-banner .carousel-indicators [data-bs-target] { background-color: #0d6efd; border-radius: 50%; width: 10px; height: 10px; }

@media (max-width: 991px) {
  .ep-banner__slide { min-height: auto; padding: 40px 0; text-align: center; }
  .ep-banner__title { font-size: 2.2rem; }
  .ep-banner__image { margin-top: 2rem; }
  .ep-banner__badges { justify-content: center; }
}
@media (max-width: 575px) {
  .ep-banner__title { font-size: 1.8rem; }
  .ep-banner__subtitle { font-size: 1rem; }
}

/* =============================================
   Cotizador & Lead Gate
   ============================================= */
#cotizador {
  padding: 60px 0;
}

.cotizar_container {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f7caf 0%, #ff8a00 100%) !important;
  border-radius: 1rem;
  padding: 2.5rem;
}

.cotizar_container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.cotizar_container > * { position: relative; z-index: 1; }

#lead-gate {
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: inherit;
  background: rgba(0, 18, 38, 0.30);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  transition: opacity 0.35s ease;
}

#gate-error { font-size: 0.82rem; }

/* =============================================
   Contact Form
   ============================================= */
#contact .form-control {
    border-radius: 8px;
    font-size: 0.9rem;
}

#contact .form-control:focus,
#contact .form-select:focus {
    background-color: #ffffff !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 138, 0, 0.1);
    border: 1px solid #FF8A00 !important;
    outline: none;
}

.btn-warning {
    background-color: #ff8a00 !important;
    border: none;
    transition: transform 0.2s;
}

.btn-warning:hover {
    transform: translateY(-2px);
    background-color: #e67e00 !important;
}

.hover-lift { transition: all 0.3s ease; }
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 138, 0, 0.3) !important;
    filter: brightness(1.05);
}

.form-floating > label { padding-left: 1rem; }

#mensaje::placeholder {
    color: #6c757d;
    font-size: 0.9rem;
}

/* =============================================
   FAQ Tabs
   ============================================= */
#faqTabs .nav-link { color: #6c757d; padding: 12px 25px; border-radius: 0; transition: all 0.3s; }
#faqTabs .nav-link.active { color: #0d6efd !important; border-bottom: 3px solid #0d6efd !important; }
#faqTabs .nav-link:hover { color: #0d6efd; }
.card { transition: all 0.3s; }
.card:hover { transform: translateY(-5px); }

/* =============================================
   Cómo funciona
   ============================================= */
.ep-funciona-section { background: #f0f6ff; padding: 80px 0; }
.ep-funciona-badge { display: inline-flex; align-items: center; background: #dbeafe; color: #0d6efd; border-radius: 50px; padding: 6px 18px; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 1.25rem; }
.ep-funciona-heading { font-size: 3.5rem; color: #001226; line-height: 1.15; margin-bottom: 1rem; }
.ep-funciona-heading-accent { color: #FF8A00; display: block; }
.ep-funciona-subtitle { color: #6c757d; font-size: 1.25rem; margin-bottom: 1.75rem; }
.ep-funciona-btn-primary { background: #0d6efd; color: #fff !important; border-radius: 50px; padding: 10px 26px; font-size: 0.9rem; transition: all .2s; }
.ep-funciona-btn-primary:hover { background: #0a5fdd; }
.ep-funciona-btn-outline { background: transparent; color: #0a5fdd !important; border-radius: 50px; padding: 10px 26px; border: 2px solid #0a5fdd; font-size: 0.9rem; transition: all .2s; cursor: pointer; }
.ep-funciona-btn-outline:hover { background: #0a5fdd; color: #fff !important; }
.ep-funciona-steps { background: #fff; border-radius: 16px; padding: 28px 40px; display: flex; align-items: center; border: 1px solid #e2e8f0; box-shadow: 0 2px 12px rgba(0,0,0,.04); justify-content: space-around; }
.ep-funciona-step { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1 1 0; min-width: 0; margin: 0; }
.ep-funciona-step-num { width: 32px; height: 32px; border-radius: 50%; background: #0d6efd; color: #fff; font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; align-self: flex-start; margin-left: 8px; }
.ep-funciona-step-icon { width: 58px; height: 58px; border-radius: 50%; border: 2px solid #0d6efd; display: flex; align-items: center; justify-content: center; color: #0d6efd; font-size: 1.4rem; margin-bottom: 12px; }
.ep-funciona-step p { font-size: 0.95rem; font-weight: 600; color: #001226; margin: 0 0 8px; }
.ep-funciona-step p::after { content: ''; display: block; width: 28px; height: 3px; background: #0d6efd; border-radius: 2px; margin: 6px auto 0; }
.ep-funciona-connector { flex: 0 0 120px; height: 4px; margin-bottom: 5px; background-image: linear-gradient(to right, #93c5fd 50%, rgba(255,255,255,0) 0%); background-position: bottom; background-size: 8px 100%; background-repeat: repeat-x; }

@media (max-width: 767px) {
    .ep-funciona-steps { flex-direction: column; gap: 20px; padding: 24px; }
    .ep-funciona-connector { display: none; }
    .ep-funciona-step-num { align-self: center; margin-left: 0; }
}

/* =============================================
   API / Logística
   ============================================= */
.ep-api-section { background: #fff; padding: 80px 0; }
.ep-api-badge { display: inline-flex; align-items: center; gap: 8px; background: #001226; color: #fff; border-radius: 50px; padding: 6px 18px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 1.25rem; }
.ep-api-badge code { color: #63b3ed; background: transparent; font-size: 0.85rem; }
.ep-api-heading { font-size: 2.5rem; color: #001226; line-height: 1.2; margin-bottom: 1rem; }
.ep-api-heading-accent { color: #FF8A00; }
.ep-api-subtitle { color: #6c757d; font-size: 1.25rem; margin-bottom: 1.75rem; }
.ep-api-feature-icon { width: 42px; height: 42px; min-width: 42px; background: #e8f0fe; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #0d6efd; font-size: 1rem; }
.ep-api-feature strong { font-size: 1.1rem; color: #001226; }
.ep-api-feature p { font-size: 0.875rem; }
.ep-api-btn-primary { background: #0d6efd; color: #fff !important; border-radius: 50px; padding: 10px 26px; border: 2px solid #0d6efd; font-size: 0.9rem; transition: all .2s; }
.ep-api-btn-primary:hover { background: #0b5ed7; border-color: #0b5ed7; }
.ep-api-btn-outline { background: transparent; color: #0d6efd !important; border-radius: 50px; padding: 10px 26px; border: 2px solid #0d6efd; font-size: 0.9rem; transition: all .2s; }
.ep-api-btn-outline:hover { background: #0d6efd; color: #fff !important; }
.ep-api-docs-card { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.ep-api-docs-icon { width: 42px; height: 42px; min-width: 42px; background: #001226; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.ep-api-docs-icon code { color: #63b3ed; background: transparent; font-weight: 700; font-size: 0.8rem; }
