/* Estilos globales para páginas de couriers */
/* Estos estilos se aplican a todas las páginas de paqueterías */

.courier-hero-title {
  letter-spacing: -0.03em;
}

.courier-hero-badge {
  font-size: 0.75rem;
  font-weight: 700;
}

.courier-hero-lead {
  font-size: 1.375rem;
  line-height: 1.5;
}

.courier-hero-decor {
  transform: translate(10%, -10%);
  pointer-events: none;
}

/* Tabs de servicios */
.service-tab {
  border: none;
  background: transparent;
  color: var(--brand);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  border: 2px solid transparent;
}

.service-tab:hover {
  background: #eef2ff;
  border-color: var(--brand);
  border-radius: 999px;
}

.service-tab.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  border-radius: 999px;
}

.service-tabs-container {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 2rem;
}

.service-tabs-container-secondary {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .service-tabs-container,
  .service-tabs-container-secondary {
    flex-direction: column;
    gap: 0.75rem;
  }

  .service-tab {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

/* Tarjeta de detalle de servicio */
.service-card-detail {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
  border: 1px solid #e5e7eb;
}

/* Tarjeta de información de sección */
.info-section-card {
  background: #f8fcff;
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
}

.info-section-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink);
}

/* Tarjeta de información (Suplementos, Recargos, Destinos) */
.info-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.info-card-title {
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-card-subtitle {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.info-card-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.info-card-button {
  margin-top: auto;
  padding-top: 1.5rem;
}

.info-card-button .btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Tarjeta de blog para couriers */
.blog-card-courier {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.blog-card-courier:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10, 14, 26, 0.12);
}

.blog-card-courier img {
  max-height: 150px;
}

/* Contenido de servicios (oculto por defecto, se muestra con JavaScript) */
.service-content {
  display: none;
}

.service-content-secondary {
  display: none;
}

/* Imagen de logo de servicio */
.service-logo-img {
  max-width: 350px;
  width: 100%;
  max-height: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Icono grande de servicio (opcional) */
.service-icon-large {
  font-size: 4rem;
  color: #ffc107;
}

/* -------------------------------------------------------------------------
   Páginas Suplementos / Recargos / Destinos (service_extra_index_page)
   Diseño: suplementos-recargos-destino.pen
   ------------------------------------------------------------------------- */

.service-extra-hero {
  background: linear-gradient(135deg, #f8fcff 0%, #ffffff 100%);
}

.service-extra-breadcrumb,
.service-extra-breadcrumb a {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.5;
}

.service-extra-breadcrumb .breadcrumb-item.active {
  color: #6c757d;
}

.service-extra-title {
  font-size: 2.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.service-extra-intro {
  color: #6c757d;
  font-size: 1.25rem;
  line-height: 1.5;
}

.service-extra-items-section {
  background-color: #f8fcff;
}

.service-extra-items-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.service-extra-card {
  border-radius: 10px;
  box-shadow: 0 2px 3.5px rgba(205, 205, 205, 0.25);
  background: #fff;
  overflow: visible;
}

.service-extra-card-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.25rem;
}

.service-extra-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  min-width: 0;
}

.service-extra-card-desc {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #6c757d;
}

.service-extra-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.service-extra-badge--primary {
  background-color: #d8e9fa;
  color: var(--brand);
}

/* Checklist (suplementos/recargos/destinos) */
.service-extra-checklist-box {
  background: #fff;
  border: 1px solid #d8e9fa;
  border-radius: 16px;
  overflow: hidden;
}

.service-extra-checklist-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background-color: #f8fcff;
  border-bottom: 1px solid #d8e9fa;
}

.service-extra-checklist-icon {
  font-size: 1.5rem;
  color: var(--brand);
  flex-shrink: 0;
}

.service-extra-checklist-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.service-extra-checklist-list {
  padding: 1.5rem 1.5rem 1rem;
}

.service-extra-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #000;
}

.service-extra-checklist-item-icon {
  font-size: 1.25rem;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.service-extra-checklist-item-text {
  flex: 1;
}

.service-extra-checklist-divider {
  margin: 0 1.5rem;
  border: 0;
  border-top: 1px solid #d8e9fa;
}

.service-extra-checklist-footer {
  padding: 1rem 1.5rem 1.25rem;
  font-size: 1rem;
  color: #6c757d;
}
